Commit Diff


commit - 1b17a8ee853eb2964687a29913df103373341a70
commit + 01ed6bcbe73bc6f67194caaea2487687281bd88b
blob - 70561dbe5bda0449b02008f917439265a5b89cdd
blob + 800ac8229e74b0cbc4e15912f98ef082309f288a
--- flake.nix
+++ flake.nix
@@ -45,12 +45,15 @@
 
         strictDeps = true;
         nativeBuildInputs = baseNativeBuildInputs;
-        buildInputs = with pkgs; [sqlite.dev openssl.dev dbus.dev];
+        buildInputs = with pkgs; [sqlite openssl dbus];
       };
 
       hakuna = craneLib.buildPackage (commonArgs
         // {
           cargoArtifacts = craneLib.buildDepsOnly commonArgs;
+          postFixup = ''
+            patchelf --set-rpath ${pkgs.lib.makeLibraryPath (with pkgs; [openssl sqlite dbus])} $out/bin/hakuna
+          '';
         });
     in {
       packages = {