* Get `nix-push' working again. It now uses Nix/Fix to create Nix

archives (using the package in corepkgs/nar).
* queryPathByHash -> expandHash, and it takes an argument specifying
  the target path (which may be empty).
* Install the core Fix packages in $prefix/share/fix.  TODO: bootstrap
  Nix and install Nix as a Fix package.
This commit is contained in:
Eelco Dolstra 2003-07-10 13:41:28 +00:00
parent 5d4b90b689
commit d072485d28
16 changed files with 154 additions and 54 deletions

8
corepkgs/nar/nar.fix Normal file
View file

@ -0,0 +1,8 @@
Function(["path", "name"],
Package(
[ ("name", Var("name"))
, ("build", Relative("nar/nar.sh"))
, ("path", Var("path"))
]
)
)

3
corepkgs/nar/nar.sh Normal file
View file

@ -0,0 +1,3 @@
#! /bin/sh
/tmp/nix/bin/nix --dump --file "$path" > $out || exit 1