1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2024-12-14 11:57:34 +00:00

Don't reset experimental features

This commit is contained in:
Sandro Stikić 2022-02-04 16:16:08 +08:00 committed by GitHub
parent bcdb6022b3
commit ae73fc3b03
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -112,7 +112,7 @@ done
if [ -z "$action" ]; then showSyntax; fi if [ -z "$action" ]; then showSyntax; fi
flakeFlags=(--experimental-features 'nix-command flakes') flakeFlags=(--extra-experimental-features 'nix-command flakes')
if [ -n "$flake" ]; then if [ -n "$flake" ]; then
if [[ $flake =~ ^(.*)\#([^\#\"]*)$ ]]; then if [[ $flake =~ ^(.*)\#([^\#\"]*)$ ]]; then