From b48c4d423bfcbf83f656d09c7dc15318aeab74b4 Mon Sep 17 00:00:00 2001 From: mawalu Date: Fri, 23 Jun 2023 15:31:08 +0200 Subject: [PATCH] Add runtime dependencies to flake --- flake.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/flake.nix b/flake.nix index 2ae5ead..4885db0 100644 --- a/flake.nix +++ b/flake.nix @@ -9,6 +9,12 @@ nimPackages.buildNimPackage { name = "bwbox"; src = self; + nativeBuildInputs = [pkgs.makeWrapper]; + postInstall = '' + wrapProgram $out/bin/bwbox \ + --prefix PATH ':' ${pkgs.bubblewrap}/bin \ + --prefix PATH ':' ${pkgs.xdg-dbus-proxy}/bin + ''; }; }; }