From d7b841cdf5deb7485ba7e57376c59475aa608d2c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Isma=C3=ABl=20Bouya?= Date: Sat, 25 Jan 2020 16:37:14 +0100 Subject: [PATCH] Add fix for glib in nixops --- overlays/nixops/default.nix | 1 + overlays/nixops/fix_glibc.patch | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 overlays/nixops/fix_glibc.patch diff --git a/overlays/nixops/default.nix b/overlays/nixops/default.nix index 781fc11a..b9b2f15c 100644 --- a/overlays/nixops/default.nix +++ b/overlays/nixops/default.nix @@ -1,6 +1,7 @@ self: super: { nixops = super.nixops.overrideAttrs (old: { patches = [ + ./fix_glibc.patch (self.fetchpatch { name = "hetzner_cloud.patch"; 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 00000000..1aeb093e --- /dev/null +++ b/overlays/nixops/fix_glibc.patch @@ -0,0 +1,15 @@ +diff --git a/nix/hetzner-bootstrap.nix b/nix/hetzner-bootstrap.nix +index 035e6f9..def42a1 100644 +--- a/nix/hetzner-bootstrap.nix ++++ b/nix/hetzner-bootstrap.nix +@@ -3,9 +3,7 @@ with import { system = "x86_64-linux"; }; + let + pkgsNative = import {}; + +- nixpart = python2Packages.nixpart0.override { +- useNixUdev = false; +- }; ++ nixpart = python2Packages.nixpart0; + + generateConfig = (import { + configuration = {}; -- 2.41.0