summary refs log tree commit diff
path: root/pkgs/os-specific/linux/busybox
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2020-12-20 06:11:26 +0000
committerJohn Ericson <John.Ericson@Obsidian.Systems>2021-01-03 19:18:16 +0000
commitf52263ced0937e72453e7fbce9fefb5f425f650b (patch)
tree55b8627bc37cfdc7ce683f14b6180609fa7e3dbe /pkgs/os-specific/linux/busybox
parent0df75bc04e14e4af11e0124791bfd41bbff51b88 (diff)
downloadnixpkgs-f52263ced0937e72453e7fbce9fefb5f425f650b.tar
nixpkgs-f52263ced0937e72453e7fbce9fefb5f425f650b.tar.gz
nixpkgs-f52263ced0937e72453e7fbce9fefb5f425f650b.tar.bz2
nixpkgs-f52263ced0937e72453e7fbce9fefb5f425f650b.tar.lz
nixpkgs-f52263ced0937e72453e7fbce9fefb5f425f650b.tar.xz
nixpkgs-f52263ced0937e72453e7fbce9fefb5f425f650b.tar.zst
nixpkgs-f52263ced0937e72453e7fbce9fefb5f425f650b.zip
treewide: Start to break up static overlay
We can use use `stdenv.hostPlatform.isStatic` instead, and move the
logic per package. The least opionated benefit of this is that it makes
it much easier to replace packages with modified ones, as there is no
longer any issue of overlay order.

CC @FRidh @matthewbauer
Diffstat (limited to 'pkgs/os-specific/linux/busybox')
-rw-r--r--pkgs/os-specific/linux/busybox/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/busybox/default.nix b/pkgs/os-specific/linux/busybox/default.nix
index 026ea6fd2e8..99909e6262e 100644
--- a/pkgs/os-specific/linux/busybox/default.nix
+++ b/pkgs/os-specific/linux/busybox/default.nix
@@ -1,5 +1,5 @@
 { stdenv, lib, buildPackages, fetchurl, fetchFromGitLab
-, enableStatic ? false
+, enableStatic ? stdenv.hostPlatform.isStatic
 , enableMinimal ? false
 # Allow forcing musl without switching stdenv itself, e.g. for our bootstrapping:
 # nix build -f pkgs/top-level/release.nix stdenvBootstrapTools.x86_64-linux.dist