Skip to content

Commit

Permalink
fix(modules > devshell): filter out non-derivation dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
deemp committed Apr 18, 2024
1 parent 2c8e04e commit cbd803c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions modules/devshell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -216,10 +216,11 @@ let

# Returns a list of all the input derivation ... for a derivation.
inputsOf = drv:
(drv.buildInputs or [ ]) ++
(drv.nativeBuildInputs or [ ]) ++
(drv.propagatedBuildInputs or [ ]) ++
(drv.propagatedNativeBuildInputs or [ ])
filter lib.isDerivation
((drv.buildInputs or [ ]) ++
(drv.nativeBuildInputs or [ ]) ++
(drv.propagatedBuildInputs or [ ]) ++
(drv.propagatedNativeBuildInputs or [ ]))
;

in
Expand Down

0 comments on commit cbd803c

Please sign in to comment.