-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Simplify flake.nix by creating generic callPackage-able package.nix #9535
Merged
Merged
Changes from 24 commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
c982198
First step
tfc c64190e
Run statix
tfc f55ee7c
little refactoring
tfc eff9b12
Further changes
tfc 2c3749a
Fix cross builds
tfc ca59832
Fix coverage.nix
tfc 118fa96
Create internal-api-docs.nix
tfc 19d41fb
Fix stuff
tfc 0ca49b0
Add installing unit test flags
Ericson2314 ce598ba
WIP
Ericson2314 3d47e02
WIP
Ericson2314 c9838bb
Merge remote-tracking branch 'upstream/master' into package-nix
Ericson2314 c71d987
Fix incorrect flag name
Ericson2314 7b51086
More fixes
Ericson2314 c160c62
Fix underlying build system so `--disable-build` works better
Ericson2314 7a7ad7c
Remove uneeded file
Ericson2314 e275f0a
Move `binary-tarball.nix` to scripts dir
Ericson2314 60fe4dd
Expose `boehmgc-nix` in overlay
Ericson2314 77003a4
Factor out the installer script
Ericson2314 f586155
Add documenting comments to `package.nix`
Ericson2314 a5a45e6
Don't expose file sets anymore
Ericson2314 7e2b1cc
Slap on `perl-bindings` in the caller
Ericson2314 6e0656c
Add another configure flag assertion
Ericson2314 14c26d6
Clean up two comments
Ericson2314 2220a4a
Merge remote-tracking branch 'upstream/master' into package-nix
Ericson2314 ff992f8
Merge remote-tracking branch 'upstream/master' into package-nix
Ericson2314 d904f64
Merge remote-tracking branch 'upstream/master' into package-nix
Ericson2314 19573f1
Restore comment
Ericson2314 f10f0f1
Move `lowdown.nix` to `misc/`
Ericson2314 bf5804d
flake.nix: Delete uneeded `attrs0` binding
Ericson2314 28f2f31
Delete stray `install_name_tool` call
Ericson2314 2d24875
package.nix: Avoid `${..}` for conditional strings
Ericson2314 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Why does this need to include non-Nix changes? If it's only Nix changes, you should be able to verify correctness by making sure you get the same derivations. It's probably also cleaner that way.
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 configure script changes are because the configure script wrongly still checks for a bunch of would-be mandatory stuff when passing
--disable-build
.I could PR that separately before the rest, but note that due to switching to things like
lib.enableFeature
I wasn't going for 100% preserved hashes.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.
nix-diff
is your friend in that case. (EDIT: on derivation paths)