forked from lix-project/lix
* nix-push generated invalid (old-style) slices.
* nar.sh needs a path.
This commit is contained in:
parent
31be53cd0a
commit
c4f1f49574
|
@ -1,5 +1,7 @@
|
|||
#! /bin/sh
|
||||
|
||||
export PATH=/bin:/usr/bin
|
||||
|
||||
echo "packing $path into $out..."
|
||||
mkdir $out || exit 1
|
||||
tmp=$out/tmp
|
||||
|
|
|
@ -52,7 +52,7 @@ foreach my $id (@ARGV) {
|
|||
# Construct a Fix expression that creates a Nix archive.
|
||||
my $fixexpr =
|
||||
"App(IncludeFix(\"nar/nar.fix\"), " .
|
||||
"[ (\"path\", Slice([\"$pathid\"], [(\"$path\", \"$pathid\", [])]))" .
|
||||
"[ (\"path\", Slice([\"$path\"], [(\"$path\", \"$pathid\", [])]))" .
|
||||
"])";
|
||||
|
||||
print FIX "," unless ($first);
|
||||
|
|
Loading…
Reference in a new issue