Skip to content
Open
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
8 changes: 6 additions & 2 deletions survey/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -1709,11 +1709,15 @@ let
])
]);
in
final.lib.mapAttrs
(final.lib.mapAttrs
(name: value:
if (isProperHaskellPackage value && isExecutable value) then statify value else value
)
super
super) // {
Comment on lines +1712 to +1716
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was hoping I could get rid of this map, as the callPackage override would take over its functionality. That doesn't appear to happen, though, and leaving this out will cause any regular executables to be dynamically linked.

callPackage = path: args:
let value = super.callPackage path args; in
if (isProperHaskellPackage value && isExecutable value) then statify value else value;
}
);
});
};
Expand Down