diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2021-07-08 12:35:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-08 12:35:08 +0200 |
commit | 156666de3da4a754582259bcc2fe68018ed2d3a5 (patch) | |
tree | 6caef4f76ba34c2fe0a3981055f813af9af4e57c /src/nix | |
parent | 6060ea1b0e4346a632b218d74b68ab18c20e100e (diff) | |
parent | e756a59c72e3e793ed01dec04749fa356f263315 (diff) |
Merge pull request #4969 from serokell/balsoft/fix-nixConfig-flake-registry
flake.nixConfig: fix flake-registry config settings
Diffstat (limited to 'src/nix')
-rw-r--r-- | src/nix/flake.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nix/flake.cc b/src/nix/flake.cc index 64fcfc000..9055b07eb 100644 --- a/src/nix/flake.cc +++ b/src/nix/flake.cc @@ -84,6 +84,7 @@ struct CmdFlakeUpdate : FlakeCommand lockFlags.recreateLockFile = true; lockFlags.writeLockFile = true; + lockFlags.applyNixConfig = true; lockFlake(); } @@ -114,6 +115,7 @@ struct CmdFlakeLock : FlakeCommand settings.tarballTtl = 0; lockFlags.writeLockFile = true; + lockFlags.applyNixConfig = true; lockFlake(); } @@ -270,6 +272,8 @@ struct CmdFlakeCheck : FlakeCommand settings.readOnlyMode = !build; auto state = getEvalState(); + + lockFlags.applyNixConfig = true; auto flake = lockFlake(); bool hasErrors = false; |