Nix: add hyprcursor-with-tests

This commit is contained in:
Mihai Fufezan 2024-10-08 23:45:47 +03:00
parent 53a23e4b41
commit 572cb49bb7
Signed by: fufexan
SSH key fingerprint: SHA256:SdnKmEpJrDu1+2UO1QpB/Eg4HKcdDi6n+xSRqFNJVpg
2 changed files with 5 additions and 1 deletions

View file

@ -30,7 +30,7 @@
packages = eachSystem (system: {
default = self.packages.${system}.hyprcursor;
inherit (pkgsFor.${system}) hyprcursor;
inherit (pkgsFor.${system}) hyprcursor hyprcursor-with-tests;
});
checks = eachSystem (system: self.packages.${system});

View file

@ -19,6 +19,10 @@ in {
version = version + "+date=" + (mkDate (inputs.self.lastModifiedDate or "19700101")) + "_" + (inputs.self.shortRev or "dirty");
inherit (final) hyprlang;
};
hyprcursor-with-tests = final.hyprcursor.overrideAttrs (_: _: {
cmakeFlags = [(lib.cmakeBool "INSTALL_TESTS" true)];
});
})
];
}