aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2025-05-12 21:13:04 +0200
committerLinnea Gräf <nea@nea.moe>2025-05-12 21:13:04 +0200
commitb4a21508c8f2923af488256d42b807bdfe3a6b34 (patch)
treefe9a15b47294fa816ffef65904aca4d601a67007
parent54a586d295e3069447dfd47e97948a71a791a456 (diff)
downloadboobbot-b4a21508c8f2923af488256d42b807bdfe3a6b34.tar.gz
boobbot-b4a21508c8f2923af488256d42b807bdfe3a6b34.tar.bz2
boobbot-b4a21508c8f2923af488256d42b807bdfe3a6b34.zip
fix nix run .#boobbot
-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];