mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 13:57:10 +03:00
6 lines
162 B
Plaintext
6 lines
162 B
Plaintext
|
#! /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
|