Skip to content

Commit

Permalink
add git to installer environment
Browse files Browse the repository at this point in the history
there seems to be a hidden dependency on `git` in `builtins.fetchGit`:
<NixOS/nixpkgs#46603>

<NixOS/nixpkgs#46603 (comment)>:

> > This is intentional. git is not a hard dependency since it's only
    needed if you use fetchGit. Since Git is a sizeable dependency, we
    don't want to pull it in unconditionally. (Likewise for Mercurial).

> This line of argument seems to throw the entire purpose and
  practicality of nix into question...

I completely agree.
  • Loading branch information
fricklerhandwerk committed Sep 11, 2022
1 parent 252eae3 commit 9677591
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#! /usr/bin/env nix-shell
#! nix-shell -i fish -p fish
#! nix-shell -i fish -p fish -p git

set current (dirname (readlink -f (status -f)))
# TODO: proper command line options, e.g. `install <machine> [--root <root>]`
Expand Down

0 comments on commit 9677591

Please sign in to comment.