From: Ismaƫl Bouya Date: Sat, 25 Jan 2020 15:37:14 +0000 (+0100) Subject: Add fix for glib in nixops X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=d7b841cdf5deb7485ba7e57376c59475aa608d2c;p=perso%2FImmae%2FConfig%2FNix%2FNUR.git Add fix for glib in nixops --- 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 = {};