nixpkgs/maintainers/scripts/nix-call-package

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

6 lines
153 B
Text
Raw Normal View History

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