-
-
Notifications
You must be signed in to change notification settings - Fork 15.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding Darwin support for barcode package #105060
Conversation
configureFlags = stdenv.lib.optional stdenv.isDarwin "ac_cv_func_calloc_0_nonnull=yes" ; | ||
patches = stdenv.lib.optional stdenv.isDarwin [ ./patches/darwin.patch ]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please move this above meta under hardening disabled. The patch should be directly under src.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The patch should be sent upstream
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please move those two lines (configureFlags = ...
and patches = ...
) above the line meta = ...
. meta
should be the last argument to mkDerivation
for readability.
Result of |
Result of 1 package marked as broken and skipped:
1 package built:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the commit message should be barcode: add darwin support
as per https://github.com/NixOS/nixpkgs/blob/master/.github/CONTRIBUTING.md
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
@Hx0S please change the commit message according to prusnak. |
I marked this as stale due to inactivity. → More info |
Motivation for this change
I needed barcode package on my macOS machine
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)