Merge pull request #6040 from matthewbauer/allow-missing-override-input

Allow missing flake.nix for --override-input target
This commit is contained in:
Eelco Dolstra 2022-02-06 13:22:41 +01:00 committed by GitHub
commit 4369771870
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -97,7 +97,7 @@ MixFlakeOptions::MixFlakeOptions()
lockFlags.writeLockFile = false;
lockFlags.inputOverrides.insert_or_assign(
flake::parseInputPath(inputPath),
parseFlakeRef(flakeRef, absPath(".")));
parseFlakeRef(flakeRef, absPath("."), true));
}}
});