aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--flake.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix
index 8214933..8a1ef59 100644
--- a/flake.nix
+++ b/flake.nix
@@ -17,7 +17,7 @@
...
}: {
packages = {
- boobbot = pkgs.buildDubPackage {
+ boobbot = pkgs.buildDubPackage rec {
pname = "boobbot";
version = "0.0.0";
src = ./.;
@@ -25,6 +25,7 @@
installPhase = ''
runHook preInstall
install -Dm755 boobbot -t $out/bin
+ patchelf --set-rpath ${pkgs.lib.makeLibraryPath buildInputs} $out/bin/boobbot
runHook postInstall
'';
buildInputs = [pkgs.openssl];