gcc/{11,12}: use lib.pipe

This commit has no effect on eval.  It simply reorganizes the
`gcc11` and `gcc12` expressions so they apply a list of
`overrideAttrs`.  The list is currently empty.
This commit is contained in:
Adam Joseph
2023-02-22 22:27:37 -08:00
parent 70d34589bd
commit fdd49f1bcd
2 changed files with 9 additions and 4 deletions

View File

@@ -159,7 +159,7 @@ let majorVersion = "11";
in
stdenv.mkDerivation ({
lib.pipe (stdenv.mkDerivation ({
pname = "${crossNameAddon}${name}";
inherit version;
@@ -310,4 +310,6 @@ stdenv.mkDerivation ({
}
// optionalAttrs (enableMultilib) { dontMoveLib64 = true; }
)
))
[
]

View File

@@ -194,7 +194,7 @@ let majorVersion = "12";
in
stdenv.mkDerivation ({
lib.pipe (stdenv.mkDerivation ({
pname = "${crossNameAddon}${name}";
inherit version;
@@ -344,4 +344,7 @@ stdenv.mkDerivation ({
}
// optionalAttrs (enableMultilib) { dontMoveLib64 = true; }
)
))
[
]