Adding a script to use callPackage on a package not mentioned in the all-packages.nix

svn path=/nixpkgs/trunk/; revision=25138
This commit is contained in:
Michael Raskin 2010-12-15 07:21:21 +00:00
parent 77eb09e9cb
commit ae0da179c7

View file

@ -0,0 +1,5 @@
#! /bin/sh
echo "let pkgs = import /etc/nixos/nixpkgs$2 {}; x = pkgs.callPackage $1 { $3 }; in ${4:-x}" |
nix-instantiate --show-trace - |
xargs nix-store -r -K