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
pe-parse: init at 1.2.0 #107506
pe-parse: init at 1.2.0 #107506
Conversation
0710dcd
to
dfd1662
Compare
}; | ||
|
||
nativeBuildInputs = [ cmake ]; | ||
|
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.
Could be a candidate for multiple outputs if you wish to reduce dependers' closure size
outputs = [ "out" "dev" "bin" ];
postInstall = ''
moveToOutput bin $bin
'';
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.
I had some trouble building another library this way. Maybe I'll leave the single output for now as it's not big and refactor that later if 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.
Result of nixpkgs-review pr 107506
run on x86_64-linux 1
1 package built:
- pe-parse
Result of 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.
Tested with a random Windows binary, seems to work.
However I think leaving this in pkgs/development/libraries/
kinda strange. Wouldn't it make more sense to put this in pkgs/development/tools/
? 🤔
pe-parse is a library, the dump-pe program is rather an extra thing |
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.
Motivation for this change
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)