diff options
Diffstat (limited to '')
-rw-r--r-- | packages/nixfiles.nix | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/packages/nixfiles.nix b/packages/nixfiles.nix index 7a4c3db..8fdd419 100644 --- a/packages/nixfiles.nix +++ b/packages/nixfiles.nix @@ -64,16 +64,6 @@ let end ') ;; - update) - if (( $# )); then - args=() - for input do args+=(--update-input "$input"); done - exec nix flake lock --refresh "''${args[@]}" "$nixfiles" - else - # https://github.com/NixOS/nix/issues/6095 - exec nix flake update -v --refresh "$nixfiles" - fi - ;; rev) if (( $# )); then expr=inputs.''${1//'/'/.inputs.}.rev @@ -146,10 +136,10 @@ let if [[ $cur == @* ]]; then _known_hosts_real -a -- "$cur" else - __compreply -W 'compare update repl eval nix-build specialise revert home boot build build-vm build-vm-with-bootloader dry-activate dry-build edit switch test' + __compreply -W 'compare repl eval nix-build specialise revert home boot build build-vm build-vm-with-bootloader dry-activate dry-build edit switch test' fi else case ''${words[1]} in - compare|update|rev) + compare|rev) __complete_nix_cmd "$cword" nix flake lock "$nixfiles" --update-input ;; repl|eval|nix-build) |