From 1fc9dcec8d2c762f5c72830d0dacacd2090a5724 Mon Sep 17 00:00:00 2001 From: Marc Coquand Date: Tue, 7 May 2024 07:19:53 -0500 Subject: Nix install hook --- hooks/pre-up/nix | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 hooks/pre-up/nix diff --git a/hooks/pre-up/nix b/hooks/pre-up/nix new file mode 100755 index 0000000..84c077e --- /dev/null +++ b/hooks/pre-up/nix @@ -0,0 +1,6 @@ +#!/bin/bash + +if ! [ -x "$(command -v nix)" ]; then + sh <(curl -L https://nixos.org/nix/install) --no-daemon +fi + -- cgit v1.2.3