mirror of
https://github.com/hyprwm/hyprcursor.git
synced 2024-11-16 18:25:58 +01:00
Nix: add hyprcursor-with-tests
This commit is contained in:
parent
53a23e4b41
commit
572cb49bb7
2 changed files with 5 additions and 1 deletions
|
@ -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});
|
||||
|
|
|
@ -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)];
|
||||
});
|
||||
})
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue