1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 23:20:55 +00:00
nixpkgs/maintainers/scripts/nix-call-package

6 lines
153 B
Plaintext
Raw Normal View History

#! /bin/sh
2016-02-20 15:12:32 +00:00
echo "let pkgs = import <nixpkgs$2> {}; x = pkgs.callPackage $1 { $3 }; in ${4:-x}" |
nix-instantiate --show-trace - |
xargs nix-store -r -K