mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
5 lines
153 B
Bash
Executable file
5 lines
153 B
Bash
Executable file
#! /bin/sh
|
|
|
|
echo "let pkgs = import <nixpkgs$2> {}; x = pkgs.callPackage $1 { $3 }; in ${4:-x}" |
|
|
nix-instantiate --show-trace - |
|
|
xargs nix-store -r -K
|