forked from mirrors/nixpkgs
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:
parent
77eb09e9cb
commit
ae0da179c7
5
maintainers/scripts/nix-call-package
Executable file
5
maintainers/scripts/nix-call-package
Executable 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
|
Loading…
Reference in a new issue