From 72a2251beced8d6d34b8f3821a5f5a3dc920b9ab Mon Sep 17 00:00:00 2001 From: Antoine Date: Wed, 9 Oct 2024 11:05:18 +0200 Subject: [PATCH] Update nix flake --- flake.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index 70a9bf0..3000d43 100644 --- a/flake.nix +++ b/flake.nix @@ -17,9 +17,12 @@ package = stdenv.mkDerivation { name = "blackmagic"; - src = self; - installPhase = - "mkdir --parents $out/include && cp -r include $out"; + src = ./.; + installPhase = '' + runHook preInstall + mkdir --parents $out/include && cp -r include $out; + runHook postInstall + ''; }; in {