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
theft: init at 0.4.3 #30568
theft: init at 0.4.3 #30568
Conversation
install -m644 vendor/greatest.h $out/include/ | ||
''; | ||
|
||
meta = { |
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.
If you change this to meta = with stdenv.lib; {
you can get rid of all the stdenv.lib
stuff below.
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.
Understood, but are you indicating this as a helpful hint, or is this a requirement for acceptance of this package? If it's not required, my preference would be for the current explicit form, but I will make this change if required.
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.
It's pretty subjective, so no, not a requirement. I however, find it easier to read.
}; | ||
|
||
preConfigure = "patchShebangs ./scripts/mk_bits_lut"; | ||
# doCheck = true; |
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.
Any particular reason checks are not enabled? Please document that.
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.
checks are now enabled
preConfigure = "patchShebangs ./scripts/mk_bits_lut"; | ||
# doCheck = true; | ||
|
||
propagatedBuildInputs = [ ]; |
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.
Get rid of this
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.
removed
|
||
propagatedBuildInputs = [ ]; | ||
|
||
buildInputs = [ ]; |
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.
Get rid of this
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.
removed
|
||
buildInputs = [ ]; | ||
|
||
installFlags = [ "PREFIX=$(out)" ]; |
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.
This should be passed to the configure phase automatically. Are you sure this is needed?
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.
This package does not use autoconf or any other configuration option. The --prefix option is supplied during the configurePhase, but no corresponding specification is normally provided during the installPhase. The Makefile for this project assumes the older-style convention of specifying PREFIX when running the install target, which is what the above is intended to accomplish. This is necessary and works correctly in my testing of this derivation.
@peterhoeg, thank you for the initial review. I have update the pull request and would appreciate your feedback and re-review. |
installFlags = [ "PREFIX=$(out)" ]; | ||
postInstall = '' | ||
install -m644 vendor/greatest.h $out/include/ | ||
''; |
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.
indentation is off here
Thanks @kquick ! |
Motivation for this change
Package is not currently in nixpkgs.
Depends on pull request #30565
Things done
build-use-sandbox
innix.conf
on non-NixOS)N/A
nix-shell -p nox --run "nox-review wip"
N/A
./result/bin/
)N/A