Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions survey/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -1259,12 +1259,12 @@ let
# (which is the case in `pkgsStatic` only):
"--extra-lib-dirs=${final.libffi}/lib"
]);

statifyIfExecutable = drv: if isExecutable drv then statify drv else drv;
in
final.lib.mapAttrs
(name: value:
if (isProperHaskellPackage value && isExecutable value) then statify value else value
)
super
{
callPackage = drv: args: statifyIfExecutable (super.callPackage drv args);
}
);
});
};
Expand Down