diff options
author | aszlig <aszlig@redmoonstudios.org> | 2016-05-29 20:19:50 +0200 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2016-05-29 20:19:50 +0200 |
commit | 576e94798ded05bb8eaf6e88c3fd1919eb14088d (patch) | |
tree | 0405296dca3c8ea935d7d32fc35ce72760d9ea4c /pkgs/default.nix | |
parent | 53e5da6c11b9fb00b460363e0ff670f5454c00e5 (diff) |
pkgs: Add new script git-detach
It's a small helper tool which I specifically use for running NixOS tests (especially the installer ones) that require <nixpkgs> to be copied to the store. What git-detach does is creating a temporary working directory which only contains a trimmed-down (without untracked files and .git directory) version of the current Git repository. So in case of <nixpkgs> this is especially useful to keep down the closure size whenever the working dir is going to be exported to the store. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'pkgs/default.nix')
-rw-r--r-- | pkgs/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/default.nix b/pkgs/default.nix index 674ae29d..074f1130 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -10,6 +10,7 @@ let axbo = callPackage ./axbo { }; beehive = callPackage ./beehive { }; blop = callPackage ./blop { }; + git-detach = callPackage ./git-detach { }; grandpa = callPackage ./grandpa { }; greybird-xfce-theme = callPackage ./greybird-xfce-theme { }; nixops = callPackage ./nixops { }; |