diff options
author | Adam Joseph <adam@westernsemico.com> | 2023-06-14 19:45:26 -0700 |
---|---|---|
committer | Adam Joseph <adam@westernsemico.com> | 2023-07-07 05:55:15 -0700 |
commit | e3f05c22aa70784b146d681b68bec8aab86c8e39 (patch) | |
tree | 6bad18b0ec11fb562fa89219b90782be1fa4811b /pkgs/development/compilers/gcc/10/default.nix | |
parent | c413f5a6c104ab62c41fb1abba919858a8fac56a (diff) |
gcc: use common/builder.nix
This commit replaces `stdenv.mkDerivation` with `(callPackage ../common/builder.nix {})` in all versions of gcc.
Diffstat (limited to 'pkgs/development/compilers/gcc/10/default.nix')
-rw-r--r-- | pkgs/development/compilers/gcc/10/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/compilers/gcc/10/default.nix b/pkgs/development/compilers/gcc/10/default.nix index 1069ab96b1317..31b35b49cdf3b 100644 --- a/pkgs/development/compilers/gcc/10/default.nix +++ b/pkgs/development/compilers/gcc/10/default.nix @@ -144,7 +144,7 @@ let majorVersion = "10"; in -lib.pipe (stdenv.mkDerivation ({ +lib.pipe ((callPackage ../common/builder.nix {}) ({ pname = "${crossNameAddon}${name}"; inherit version; |