Skip to content

Commit

Permalink
enable flakes by default in the repo
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianHicks committed Sep 14, 2021
1 parent 26c1362 commit 8f179dd
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion flake.nix
Expand Up @@ -68,7 +68,14 @@
in {
name = system;
value = pkgs.mkShell {
buildInputs = with pkgs; [ git terraform graphviz nixFlakes ];
buildInputs = with pkgs; [
git
terraform
graphviz
(pkgs.writeShellScriptBin "nix" ''
exec ${pkgs.nixUnstable}/bin/nix --experimental-features "nix-command flakes" "$@"
'')
];
};
}) [ "x86_64-linux" "x86_64-darwin" ]);
};
Expand Down

0 comments on commit 8f179dd

Please sign in to comment.