arion: Fix name-setting patch
"Cabal"'s pname must be original for edited cabal file fetching to work.
This commit is contained in:
parent
f5c34205ad
commit
c2c0e150da
|
@ -16,11 +16,16 @@ let
|
||||||
- make it self-contained by including docker-compose
|
- make it self-contained by including docker-compose
|
||||||
*/
|
*/
|
||||||
arion =
|
arion =
|
||||||
justStaticExecutables (
|
(justStaticExecutables (
|
||||||
overrideCabal
|
overrideCabal
|
||||||
cabalOverrides
|
cabalOverrides
|
||||||
arion-compose
|
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;
|
inherit (haskell.lib.compose) justStaticExecutables overrideCabal;
|
||||||
|
|
||||||
|
@ -31,9 +36,6 @@ let
|
||||||
passthru = (o.passthru or {}) // {
|
passthru = (o.passthru or {}) // {
|
||||||
inherit eval build;
|
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;
|
src = arion-compose.src;
|
||||||
|
|
||||||
# PYTHONPATH
|
# PYTHONPATH
|
||||||
|
|
Loading…
Reference in a new issue