summary refs log tree commit diff
path: root/pkgs/stdenv/darwin
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2021-01-24 22:51:12 +0000
committerJohn Ericson <John.Ericson@Obsidian.Systems>2021-01-24 22:51:12 +0000
commitfa204a97d8e0b1256483528350b743fddcedb207 (patch)
tree2ae715d3f632d453c9fe201fd45176811bac836d /pkgs/stdenv/darwin
parentebf40134f437952d6fb3f1907b4c5583b71bf792 (diff)
downloadnixpkgs-fa204a97d8e0b1256483528350b743fddcedb207.tar
nixpkgs-fa204a97d8e0b1256483528350b743fddcedb207.tar.gz
nixpkgs-fa204a97d8e0b1256483528350b743fddcedb207.tar.bz2
nixpkgs-fa204a97d8e0b1256483528350b743fddcedb207.tar.lz
nixpkgs-fa204a97d8e0b1256483528350b743fddcedb207.tar.xz
nixpkgs-fa204a97d8e0b1256483528350b743fddcedb207.tar.zst
nixpkgs-fa204a97d8e0b1256483528350b743fddcedb207.zip
stdenv: Remove stdenv.platform
This was not working after #110544 as caught by @r-burns in
https://github.com/NixOS/nixpkgs/pull/110544#issuecomment-766444647.
Thankfully it isn't used anymore and I believe wasn't documented either.
(I at least did not remember it existed.)
Diffstat (limited to 'pkgs/stdenv/darwin')
-rw-r--r--pkgs/stdenv/darwin/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/stdenv/darwin/default.nix b/pkgs/stdenv/darwin/default.nix
index 30c38168fd1..6e1967281b3 100644
--- a/pkgs/stdenv/darwin/default.nix
+++ b/pkgs/stdenv/darwin/default.nix
@@ -20,7 +20,7 @@
 assert crossSystem == localSystem;
 
 let
-  inherit (localSystem) system platform;
+  inherit (localSystem) system;
 
   bootstrapClangVersion = "7.1.0";
 
@@ -148,7 +148,7 @@ in rec {
         __extraImpureHostDeps = commonImpureHostDeps;
 
         extraAttrs = {
-          inherit macosVersionMin platform;
+          inherit macosVersionMin;
         };
         overrides  = self: super: (overrides self super) // {
           inherit ccNoLibcxx;
@@ -522,7 +522,7 @@ in rec {
     extraAttrs = {
       libc = pkgs.darwin.Libsystem;
       shellPackage = pkgs.bash;
-      inherit macosVersionMin platform bootstrapTools;
+      inherit macosVersionMin bootstrapTools;
     };
 
     allowedRequisites = (with pkgs; [