diff --git a/flake.nix b/flake.nix index 33635f6..e115c65 100644 --- a/flake.nix +++ b/flake.nix @@ -59,6 +59,9 @@ cmakeFlags = [ "-DCMAKE_BUILD_TYPE=Release" + "-DCMAKE_INSTALL_PREFIX=${placeholder "out"}" + "-DPACKAGE_MANAGER_MANAGED=ON" + "-DPACKAGE_MANAGER_HINT=nix" ]; }; }); diff --git a/nix/package.nix b/nix/package.nix index f6be7f3..8c3c146 100644 --- a/nix/package.nix +++ b/nix/package.nix @@ -78,6 +78,9 @@ pkgs.stdenv.mkDerivation rec { cmakeFlags = [ "-DCMAKE_BUILD_TYPE=Release" + "-DCMAKE_INSTALL_PREFIX=${placeholder "out"}" + "-DPACKAGE_MANAGER_MANAGED=ON" + "-DPACKAGE_MANAGER_HINT=nix" ]; preBuild = ''