parent
6bf080c26c
commit
5b017ae4ff
2 changed files with 12 additions and 7 deletions
|
@ -7,13 +7,7 @@
|
|||
flake-utils.lib.eachDefaultSystem (system:
|
||||
let pkgs = nixpkgs.legacyPackages.${system}; in
|
||||
rec {
|
||||
devShell = pkgs.mkShell {
|
||||
buildInputs = with pkgs; [ lessc minify ];
|
||||
|
||||
shellHook = ''
|
||||
echo "shell with lessc and minify"
|
||||
'';
|
||||
};
|
||||
devShell = import ./shell.nix {inherit pkgs; };
|
||||
}
|
||||
);
|
||||
}
|
||||
|
|
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