mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-10 08:39:08 +03:00
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 New Issue
Block a user