diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2020-12-20 06:11:26 +0000 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2021-01-03 19:18:16 +0000 |
commit | f52263ced0937e72453e7fbce9fefb5f425f650b (patch) | |
tree | 55b8627bc37cfdc7ce683f14b6180609fa7e3dbe /pkgs/tools/filesystems | |
parent | 0df75bc04e14e4af11e0124791bfd41bbff51b88 (diff) | |
download | nixpkgs-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/tools/filesystems')
-rw-r--r-- | pkgs/tools/filesystems/nixpart/0.4/parted.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/tools/filesystems/nixpart/0.4/parted.nix b/pkgs/tools/filesystems/nixpart/0.4/parted.nix index 7fe1b745466..d3fc9ce96f5 100644 --- a/pkgs/tools/filesystems/nixpart/0.4/parted.nix +++ b/pkgs/tools/filesystems/nixpart/0.4/parted.nix @@ -1,5 +1,7 @@ { stdenv, fetchurl, fetchpatch, lvm2, libuuid, gettext, readline -, util-linux, check, enableStatic ? false }: +, util-linux, check +, enableStatic ? stdenv.hostPlatform.isStatic +}: stdenv.mkDerivation rec { name = "parted-3.1"; |