Merge pull request #110946 from pmahoney/pm/qrcode

qrcode: build on darwin
This commit is contained in:
Jörg Thalheim 2021-01-27 21:54:19 +00:00 committed by GitHub
commit 5547b2f670
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,6 +13,8 @@ stdenv.mkDerivation {
NIX_CFLAGS_COMPILE = "-Wno-error=unused-result";
makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ];
installPhase = ''
mkdir -p "$out"/{bin,share/doc/qrcode}
cp qrcode "$out/bin"
@ -23,6 +25,6 @@ stdenv.mkDerivation {
description = "A small QR-code tool";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ raskin ];
platforms = with platforms; linux;
platforms = with platforms; unix;
};
}