haskell.compiler.ghc966DebianBinary: fix evaling pname
pname needs to always be evaluable so that our package index can be correctly generatedw
This commit is contained in:
@@ -24,7 +24,6 @@ let
|
||||
# We're using Debian's binary package, and patching it into a usable-in-Nixpkgs state.
|
||||
ghcDebs = {
|
||||
powerpc64-linux = {
|
||||
variantSuffix = "";
|
||||
src = {
|
||||
url = "http://ftp.ports.debian.org/debian-ports/pool-ppc64/main/g/ghc/ghc_9.6.6-4_ppc64.deb";
|
||||
sha256 = "722cc301b6ba70b342e5e3d9d0671440bcd749cd2f13dcccbd23c3f6a6060171";
|
||||
@@ -76,7 +75,7 @@ in
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
inherit version;
|
||||
pname = "ghc-debian-binary${debUsed.variantSuffix}";
|
||||
pname = "ghc-debian-binary";
|
||||
|
||||
src = fetchurl debUsed.src;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user