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