mirror of
https://github.com/NixOS/nix.git
synced 2025-11-19 16:59:35 +01:00
nix run: Support overriding module options
E.g. $ nix run /home/eelco/Tweag/nix-ux/configs#hello --argstr who Everybody warning: creating lock file '/tmp/nix-shell.Jr8WDs/nix-9520-0/flake.lock' Hello Everybody
This commit is contained in:
parent
dc4a280318
commit
8f50523c38
1 changed files with 1 additions and 2 deletions
|
|
@ -534,8 +534,7 @@ std::pair<Value *, Pos> InstallableFlake::toValue(EvalState & state)
|
|||
std::vector<std::pair<std::shared_ptr<eval_cache::AttrCursor>, std::string>>
|
||||
InstallableFlake::getCursors(EvalState & state)
|
||||
{
|
||||
auto evalCache = openEvalCache(state,
|
||||
std::make_shared<flake::LockedFlake>(lockFlake(state, flakeRef, lockFlags)));
|
||||
auto evalCache = openEvalCache(state, getLockedFlake());
|
||||
|
||||
auto root = evalCache->getRoot();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue