File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -10,10 +10,10 @@ pkgs:
10
10
lookupAttrsIn = x : __mapAttrs ( _pname : names :
11
11
# The first entry is should be used for the version by allPkgConfigWrapper
12
12
# so we need it to be present.
13
- with pkgs . lib ; optionals ( __length names != 0 && x ? ${ __head names } )
13
+ with lib ; optionals ( __length names != 0 && x ? ${ __head names } )
14
14
( concatMap
15
15
( name : optionals ( x ? ${ name } )
16
- ( let p = __tryEval ( x . ${ name } ) ; in optionals p . success p . value ) )
16
+ ( let p = __tryEval ( x . ${ name } ) ; in optional p . success p . value ) )
17
17
names ) ) ;
18
18
in lookupAttrsIn pkgs ( {
19
19
# Based on https://github.com/NixOS/cabal2nix/blob/11c68fdc79461fb74fa1dfe2217c3709168ad752/src/Distribution/Nixpkgs/Haskell/FromCabal/Name.hs#L23
You can’t perform that action at this time.
0 commit comments