* Get rid of the `(import (__toPath ((toString

./JustNothing/.. )+"/"+args.version+".nix")))' hack, you can also just
  write `import (./path/to/pkg + "/${version}.nix)'.

svn path=/nixpkgs/trunk/; revision=9792
This commit is contained in:
Eelco Dolstra
2007-11-26 13:24:56 +00:00
parent d794ae6cbc
commit c54b75c959
19 changed files with 51 additions and 108 deletions

View File

@@ -1,9 +0,0 @@
let
realPath=y: (__toPath ((toString ./JustNothing/.. )+"/"+y.version+".nix"));
dispatch=(x: ((import (realPath x)) x));
in
args :
with args;
with builderDefs {src="";} null;
let eater=(lib.sumArgs dispatch args); in
eater

View File

@@ -1,2 +0,0 @@
args :
(import (__toPath ((toString ./JustNothing/.. )+"/"+args.version+".nix"))) args