nix-da/home/sway/waybar/tocss.nix

7 lines
133 B
Nix

{ pkgs, file, ... }:
pkgs.stdenv.mkDerivation {
name = "toCSS";
buildCommand = ''
${pkgs.sass}/bin/scss ${file} $out
'';
}