summary refs log tree commit diff
diff options
context:
space:
mode:
authorArtturin <Artturin@artturin.com>2022-12-08 04:30:26 +0200
committerArtturin <Artturin@artturin.com>2022-12-08 21:09:02 +0200
commit02e3f51d27417f2775982281fc39e31a4978ae39 (patch)
tree446a798997b9950678af27d1455308e9bdb7a35d
parentc01f509e4438fd50faae0fa0175277b7b16728dc (diff)
downloadnixpkgs-02e3f51d27417f2775982281fc39e31a4978ae39.tar
nixpkgs-02e3f51d27417f2775982281fc39e31a4978ae39.tar.gz
nixpkgs-02e3f51d27417f2775982281fc39e31a4978ae39.tar.bz2
nixpkgs-02e3f51d27417f2775982281fc39e31a4978ae39.tar.lz
nixpkgs-02e3f51d27417f2775982281fc39e31a4978ae39.tar.xz
nixpkgs-02e3f51d27417f2775982281fc39e31a4978ae39.tar.zst
nixpkgs-02e3f51d27417f2775982281fc39e31a4978ae39.zip
darwin: use // for binutils-unwrapped and cctools to preserve the other
attributes
-rw-r--r--pkgs/stdenv/darwin/default.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/stdenv/darwin/default.nix b/pkgs/stdenv/darwin/default.nix
index 9a7cd9aa9de..76c44870f4a 100644
--- a/pkgs/stdenv/darwin/default.nix
+++ b/pkgs/stdenv/darwin/default.nix
@@ -262,11 +262,12 @@ rec {
           ln -s ${bootstrapTools}/bin/rewrite-tbd $out/bin
         '';
 
-        binutils-unwrapped = { name = "bootstrap-stage0-binutils"; outPath = bootstrapTools; };
+        binutils-unwrapped = bootstrapTools // {
+          name = "bootstrap-stage0-binutils";
+        };
 
-        cctools = {
+        cctools = bootstrapTools // {
           name = "bootstrap-stage0-cctools";
-          outPath = bootstrapTools;
           targetPrefix = "";
         };