parent
6bf080c26c
commit
5b017ae4ff
2 changed files with 12 additions and 7 deletions
|
@ -7,13 +7,7 @@
|
||||||
flake-utils.lib.eachDefaultSystem (system:
|
flake-utils.lib.eachDefaultSystem (system:
|
||||||
let pkgs = nixpkgs.legacyPackages.${system}; in
|
let pkgs = nixpkgs.legacyPackages.${system}; in
|
||||||
rec {
|
rec {
|
||||||
devShell = pkgs.mkShell {
|
devShell = import ./shell.nix {inherit pkgs; };
|
||||||
buildInputs = with pkgs; [ lessc minify ];
|
|
||||||
|
|
||||||
shellHook = ''
|
|
||||||
echo "shell with lessc and minify"
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
11
shell.nix
Normal file
11
shell.nix
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
{ pkgs ? import <nixpkgs> {} }:
|
||||||
|
with pkgs;
|
||||||
|
mkShell {
|
||||||
|
buildInputs = [
|
||||||
|
lessc
|
||||||
|
minify
|
||||||
|
];
|
||||||
|
shellHook = ''
|
||||||
|
echo "shell with lessc and minify"
|
||||||
|
'';
|
||||||
|
}
|
Loading…
Reference in a new issue