Skip to content

Commit

Permalink
don't hardcode the flake subcommand
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianHicks committed Jul 8, 2021
1 parent 274eb9d commit 07aec1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions darwin/default.nix
Expand Up @@ -7,8 +7,8 @@
# $ nix-env -qaP | grep wget
environment.systemPackages = [
# https://nixos.wiki/wiki/Flakes#Installation_as_an_extra_command
(pkgs.writeShellScriptBin "nix-flake" ''
exec ${pkgs.nixUnstable}/bin/nix --experimental-features "nix-command flakes" flake "$@"
(pkgs.writeShellScriptBin "flix" ''
exec ${pkgs.nixUnstable}/bin/nix --experimental-features "nix-command flakes" "$@"
'')
];

Expand Down

0 comments on commit 07aec1d

Please sign in to comment.