mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 04:02:10 +00:00
snac2: build on darwin
This commit is contained in:
parent
7c5d126b21
commit
f56ad9d7de
|
@ -24,6 +24,11 @@ stdenv.mkDerivation rec {
|
|||
|
||||
makeFlags = [ "PREFIX=$(out)" ];
|
||||
|
||||
env.NIX_CFLAGS_COMPILE = toString (lib.optionals stdenv.isDarwin [
|
||||
"-Dst_mtim=st_mtimespec"
|
||||
"-Dst_ctim=st_ctimespec"
|
||||
]);
|
||||
|
||||
passthru = {
|
||||
tests.version = testers.testVersion {
|
||||
package = snac2;
|
||||
|
@ -38,7 +43,7 @@ stdenv.mkDerivation rec {
|
|||
changelog = "https://codeberg.org/grunfink/snac2/src/tag/${version}/RELEASE_NOTES.md";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ misuzu ];
|
||||
platforms = platforms.linux;
|
||||
platforms = platforms.unix;
|
||||
mainProgram = "snac";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue