From ca5478c652a7c04d4e28205c732e77f729d8b3ea Mon Sep 17 00:00:00 2001 From: =?utf8?q?Isma=C3=ABl=20Bouya?= Date: Thu, 27 Aug 2020 23:02:48 +0200 Subject: [PATCH] Upgrade home-manager --- environments/immae-eu.nix | 4 ++-- nix/sources.json | 12 ++++++------ overlays/default.nix | 1 + overlays/nix-direnv/default.nix | 7 +++++++ 4 files changed, 16 insertions(+), 8 deletions(-) create mode 100644 overlays/nix-direnv/default.nix diff --git a/environments/immae-eu.nix b/environments/immae-eu.nix index 05ac857..c2e317b 100644 --- a/environments/immae-eu.nix +++ b/environments/immae-eu.nix @@ -18,7 +18,7 @@ let # cryptocurrencies cardano cardano-cli sia monero - xmr-stak + # failing xmr-stak solc iota-cli-app @@ -55,7 +55,7 @@ let cnagios mtop pg_activity nagios-cli mtr iftop htop iotop iperf bonfire goaccess tcpdump tshark tcpflow - # failing mitmproxy + mitmproxy # nagnu # messaging/forums/news diff --git a/nix/sources.json b/nix/sources.json index 016b8c4..265552f 100644 --- a/nix/sources.json +++ b/nix/sources.json @@ -63,10 +63,10 @@ "homepage": "https://rycee.gitlab.io/home-manager/", "owner": "rycee", "repo": "home-manager", - "rev": "223e3c38a13fb45726c7a9d97e2612ae53ab4f98", - "sha256": "10svwspmsf46rijzsh0h9nmz1mq2998wcml8yp36mwksgi8695pc", + "rev": "6cf6b587b575493e7718bf08b209013d7dcf4d58", + "sha256": "0666ayxazbphjn5xcrczv8m7k2q62k224fvf0kz1lx9qjn93wkvr", "type": "tarball", - "url": "https://github.com/rycee/home-manager/archive/223e3c38a13fb45726c7a9d97e2612ae53ab4f98.tar.gz", + "url": "https://github.com/rycee/home-manager/archive/6cf6b587b575493e7718bf08b209013d7dcf4d58.tar.gz", "url_template": "https://github.com///archive/.tar.gz" }, "niv": { @@ -99,10 +99,10 @@ "homepage": "https://github.com/NixOS/nixpkgs", "owner": "NixOS", "repo": "nixpkgs-channels", - "rev": "840c782d507d60aaa49aa9e3f6d0b0e780912742", - "sha256": "14q3kvnmgz19pgwyq52gxx0cs90ddf24pnplmq33pdddbb6c51zn", + "rev": "c59ea8b8a0e7f927e7291c14ea6cd1bd3a16ff38", + "sha256": "1ak7jqx94fjhc68xh1lh35kh3w3ndbadprrb762qgvcfb8351x8v", "type": "tarball", - "url": "https://github.com/NixOS/nixpkgs-channels/archive/840c782d507d60aaa49aa9e3f6d0b0e780912742.tar.gz", + "url": "https://github.com/NixOS/nixpkgs-channels/archive/c59ea8b8a0e7f927e7291c14ea6cd1bd3a16ff38.tar.gz", "url_template": "https://github.com///archive/.tar.gz" }, "nixpkgs-nixops": { diff --git a/overlays/default.nix b/overlays/default.nix index b875899..0c7c738 100644 --- a/overlays/default.nix +++ b/overlays/default.nix @@ -31,5 +31,6 @@ ympd = import ./ympd; doing = import ./doing; khal = import ./khal; + nix-direnv = import ./nix-direnv; } // import ./python-packages diff --git a/overlays/nix-direnv/default.nix b/overlays/nix-direnv/default.nix new file mode 100644 index 0000000..c4c96e2 --- /dev/null +++ b/overlays/nix-direnv/default.nix @@ -0,0 +1,7 @@ +self: super: { + nix-direnv = super.nix-direnv.overrideAttrs (old: { + postPatch = old.postPatch + '' + sed -i -e 's/TEMPDIR "$old_tmp"/TEMPDIR "$old_tmpdir"/' direnvrc + ''; + }); +} -- 2.41.0