diff options
Diffstat (limited to 'overlays')
-rw-r--r-- | overlays/nixops/default.nix | 1 | ||||
-rw-r--r-- | overlays/nixops/fix_glibc.patch | 15 |
2 files changed, 16 insertions, 0 deletions
diff --git a/overlays/nixops/default.nix b/overlays/nixops/default.nix index 781fc11..b9b2f15 100644 --- a/overlays/nixops/default.nix +++ b/overlays/nixops/default.nix | |||
@@ -1,6 +1,7 @@ | |||
1 | self: super: { | 1 | self: super: { |
2 | nixops = super.nixops.overrideAttrs (old: { | 2 | nixops = super.nixops.overrideAttrs (old: { |
3 | patches = [ | 3 | patches = [ |
4 | ./fix_glibc.patch | ||
4 | (self.fetchpatch { | 5 | (self.fetchpatch { |
5 | name = "hetzner_cloud.patch"; | 6 | name = "hetzner_cloud.patch"; |
6 | url = "https://github.com/goodraven/nixops/commit/272e50d0b0262e49cdcaad42cdab57aad183d1c2.patch"; | 7 | url = "https://github.com/goodraven/nixops/commit/272e50d0b0262e49cdcaad42cdab57aad183d1c2.patch"; |
diff --git a/overlays/nixops/fix_glibc.patch b/overlays/nixops/fix_glibc.patch new file mode 100644 index 0000000..1aeb093 --- /dev/null +++ b/overlays/nixops/fix_glibc.patch | |||
@@ -0,0 +1,15 @@ | |||
1 | diff --git a/nix/hetzner-bootstrap.nix b/nix/hetzner-bootstrap.nix | ||
2 | index 035e6f9..def42a1 100644 | ||
3 | --- a/nix/hetzner-bootstrap.nix | ||
4 | +++ b/nix/hetzner-bootstrap.nix | ||
5 | @@ -3,9 +3,7 @@ with import <nixpkgs> { system = "x86_64-linux"; }; | ||
6 | let | ||
7 | pkgsNative = import <nixpkgs> {}; | ||
8 | |||
9 | - nixpart = python2Packages.nixpart0.override { | ||
10 | - useNixUdev = false; | ||
11 | - }; | ||
12 | + nixpart = python2Packages.nixpart0; | ||
13 | |||
14 | generateConfig = (import <nixpkgs/nixos> { | ||
15 | configuration = {}; | ||