nix: use self as src (#339)

This commit is contained in:
conneroisu 2025-06-09 05:55:40 -05:00 committed by GitHub
parent 44bf29f1df
commit f4e0ab5317
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View File

@ -24,12 +24,13 @@
wayland-scanner,
debug ? false,
version ? "git",
src,
}:
stdenv.mkDerivation {
pname = "xdg-desktop-portal-hyprland" + lib.optionalString debug "-debug";
inherit version;
src = ../.;
inherit src;
depsBuildBuild = [
pkg-config

View File

@ -29,6 +29,7 @@ in {
stdenv = prev.gcc15Stdenv;
inherit (final.qt6) qtbase qttools wrapQtAppsHook qtwayland;
inherit version;
src = self;
};
})
];