arion: Fix name-setting patch

"Cabal"'s pname must be original for edited cabal file fetching
to work.
main
Robert Hensing 2 years ago
parent f5c34205ad
commit c2c0e150da
  1. 12
      pkgs/applications/virtualization/arion/default.nix

@ -16,11 +16,16 @@ let
- make it self-contained by including docker-compose
*/
arion =
justStaticExecutables (
(justStaticExecutables (
overrideCabal
cabalOverrides
arion-compose
);
)
).overrideAttrs (o: {
# Patch away the arion-compose name. Unlike the Haskell library, the program
# is called arion (arion was already taken on hackage).
pname = "arion";
});
inherit (haskell.lib.compose) justStaticExecutables overrideCabal;
@ -31,9 +36,6 @@ let
passthru = (o.passthru or {}) // {
inherit eval build;
};
# Patch away the arion-compose name. Unlike the Haskell library, the program
# is called arion (arion was already taken on hackage).
pname = "arion";
src = arion-compose.src;
# PYTHONPATH

Loading…
Cancel
Save