mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 08:16:15 +02:00
* nix-push generated invalid (old-style) slices.
* nar.sh needs a path.
This commit is contained in:
parent
31be53cd0a
commit
c4f1f49574
2 changed files with 3 additions and 1 deletions
|
@ -1,5 +1,7 @@
|
||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
|
|
||||||
|
export PATH=/bin:/usr/bin
|
||||||
|
|
||||||
echo "packing $path into $out..."
|
echo "packing $path into $out..."
|
||||||
mkdir $out || exit 1
|
mkdir $out || exit 1
|
||||||
tmp=$out/tmp
|
tmp=$out/tmp
|
||||||
|
|
|
@ -52,7 +52,7 @@ foreach my $id (@ARGV) {
|
||||||
# Construct a Fix expression that creates a Nix archive.
|
# Construct a Fix expression that creates a Nix archive.
|
||||||
my $fixexpr =
|
my $fixexpr =
|
||||||
"App(IncludeFix(\"nar/nar.fix\"), " .
|
"App(IncludeFix(\"nar/nar.fix\"), " .
|
||||||
"[ (\"path\", Slice([\"$pathid\"], [(\"$path\", \"$pathid\", [])]))" .
|
"[ (\"path\", Slice([\"$path\"], [(\"$path\", \"$pathid\", [])]))" .
|
||||||
"])";
|
"])";
|
||||||
|
|
||||||
print FIX "," unless ($first);
|
print FIX "," unless ($first);
|
||||||
|
|
Loading…
Reference in a new issue