diff options
author | Shea Levy <shea@shealevy.com> | 2014-12-26 12:38:18 -0500 |
---|---|---|
committer | Shea Levy <shea@shealevy.com> | 2014-12-26 12:38:18 -0500 |
commit | bbd2be60756c50a02822fd4c4bc0c74a625b7418 (patch) | |
tree | c0592e0728bb89f06ac539ea20e4c630edf38847 /pkgs/stdenv/adapters.nix | |
parent | 7e0a5c38f3564a07134d60182446fbfc0e0a257f (diff) |
Restore accidentally-dropped stdenv adapter
Diffstat (limited to 'pkgs/stdenv/adapters.nix')
-rw-r--r-- | pkgs/stdenv/adapters.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/stdenv/adapters.nix b/pkgs/stdenv/adapters.nix index c50db3bc04d20..6d8ca55a0fcd2 100644 --- a/pkgs/stdenv/adapters.nix +++ b/pkgs/stdenv/adapters.nix @@ -235,4 +235,9 @@ rec { }); }; + dropCxx = drv: drv.override { + stdenv = if pkgs.stdenv.isDarwin + then pkgs.allStdenvs.stdenvDarwinNaked + else pkgs.stdenv; + }; } |