fix: move environment out of nix
This commit is contained in:
parent
24ffd6d7ce
commit
8f12b248d5
1 changed files with 12 additions and 12 deletions
|
@ -51,18 +51,18 @@
|
||||||
|
|
||||||
# Garbage collection.
|
# Garbage collection.
|
||||||
gc.automatic = true;
|
gc.automatic = true;
|
||||||
|
|
||||||
# More useful repl.
|
|
||||||
environment.systemPackages = let
|
|
||||||
nrepl =
|
|
||||||
pkgs.writeShellScriptBin "nrepl"
|
|
||||||
# sh
|
|
||||||
''
|
|
||||||
nix repl "${toString ./.}/repl.nix" "$@"
|
|
||||||
'';
|
|
||||||
in [
|
|
||||||
nrepl
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# More useful repl.
|
||||||
|
environment.systemPackages = let
|
||||||
|
nrepl =
|
||||||
|
pkgs.writeShellScriptBin "nrepl"
|
||||||
|
# sh
|
||||||
|
''
|
||||||
|
nix repl "${toString ./.}/repl.nix" "$@"
|
||||||
|
'';
|
||||||
|
in [
|
||||||
|
nrepl
|
||||||
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue