mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-12-23 14:31:55 +03:00
feat(ui): add .lock attribute
This allows updating the lock file via `nix run .#{package}.lock` instead of ` nix run .#{package}.config.lock.refresh` This is better as it's shorter, and the keyword `lock` is widely understood to lock dependencies.
This commit is contained in:
parent
08d414a359
commit
2ab0222416
@ -5,4 +5,10 @@
|
||||
|
||||
config.public.name = config.name;
|
||||
config.public.version = config.version;
|
||||
config.public.${
|
||||
if config ? lock
|
||||
then "lock"
|
||||
else null
|
||||
} =
|
||||
config.lock.refresh;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user