diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/nix-push.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/nix-push.in b/scripts/nix-push.in index 1c910438fdb2..8ac31d50165e 100644 --- a/scripts/nix-push.in +++ b/scripts/nix-push.in @@ -107,7 +107,7 @@ foreach my $storePath (@storePaths) { # Construct a Nix expression that creates a Nix archive. my $nixexpr = "((import $dataDir/nix/corepkgs/nar/nar.nix) " . - "{storePath = builtins.toPath \"$storePath\"; system = \"@system@\"; hashAlgo = \"$hashAlgo\";}) "; + "{storePath = builtins.storePath \"$storePath\"; system = \"@system@\"; hashAlgo = \"$hashAlgo\";}) "; print NIX $nixexpr; } |