From 676e68e3394eeb07a02745d1cf191db9fee9e610 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Fri, 26 Apr 2019 13:52:30 +0200 Subject: Use overlays for package overrides --- overlays/nixops/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 overlays/nixops/default.nix (limited to 'overlays/nixops/default.nix') diff --git a/overlays/nixops/default.nix b/overlays/nixops/default.nix new file mode 100644 index 0000000..eb29ecd --- /dev/null +++ b/overlays/nixops/default.nix @@ -0,0 +1,7 @@ +self: super: { + nixops = super.nixops.overrideAttrs (old: { + preConfigure = (old.preConfigure or "") + '' + sed -i -e "/'keyFile'/s/'path'/'string'/" nixops/backends/__init__.py + ''; + }); +} -- cgit v1.2.3