Skip to content

Commit 26a589f

Browse files
committed
Use concatStringsSep from Nix builtins
Suggested by @zimbatm.
1 parent c704eb3 commit 26a589f

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

deploy_nixos/nixos-instantiate.sh

+2-5
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,14 @@ command=(nix-instantiate --show-trace --expr '
1919
if hermetic
2020
then import configuration
2121
else import <nixpkgs/nixos> { inherit system configuration; };
22-
23-
inherit (os.pkgs) lib;
24-
2522
in {
2623
inherit (builtins) currentSystem;
2724
2825
substituters =
29-
lib.concatStringsSep " " os.config.nix.binaryCaches;
26+
builtins.concatStringsSep " " os.config.nix.binaryCaches;
3027
3128
trusted-public-keys =
32-
lib.concatStringsSep " " os.config.nix.binaryCachePublicKeys;
29+
builtins.concatStringsSep " " os.config.nix.binaryCachePublicKeys;
3330
3431
drv_path = os.system.drvPath;
3532
out_path = os.system;

0 commit comments

Comments
 (0)