-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
Description
Describe the bug
trying to check for non-existing drv file
Steps To Reproduce
$ nix derivation show "/nix/store/8s38l1yxwmqgb6xadlm1a23akbsdkj39-doesnotexist.drv"
[1] 12406 segmentation fault (core dumped) nix derivation show
$ nix run "github:nixos/nix/2.32.4" derivation show "/nix/store/8s38l1yxwmqgb6xadlm1a23akbsdkj39-doesnotexist.drv"
[1] 12605 segmentation fault (core dumped) nix run "github:nixos/nix/2.32.4" derivation show
Expected behavior
$ nix run "github:nixos/nix/2.30.3" derivation show "/nix/store/8s38l1yxwmqgb6xadlm1a23akbsdkj39-doesnotexist.drv"
error: path '/nix/store/8s38l1yxwmqgb6xadlm1a23akbsdkj39-doesnotexist.drv' is not a valid store path
Metadata
$ nix-env --version
nix-env (Nix) 2.32.3
Additional context
Checklist
- checked latest Nix manual (source)
- checked open bug issues and pull requests for possible duplicates
Add 👍 to issues you find important.
Reactions are currently unavailable