kicad-unstable-small: init to build kicad-unstable's base on hydra#82634
kicad-unstable-small: init to build kicad-unstable's base on hydra#82634Mic92 merged 4 commits intoNixOS:masterfrom
Conversation
|
@GrahamcOfBorg build kicad-unstable |
veprbl
left a comment
There was a problem hiding this comment.
This is three different changes. Please split them into separate commits.
|
mkLib needs to be updated to use [1] Lines 405 to 427 in fbafe7c |
|
@veprbl i've changed it to use |
dffdab6 to
32e3bd1
Compare
9840c4b to
189f66f
Compare
6189d40 to
6bd32c2
Compare
and some more suggestions from veprbl warn if an empty item gets through anyway and use UTC time cc #82634
the -small packages depend on all hydra buildable dependencies the non-small ones depend on packages3d which exceeds hydra's limit set platforms to all (kicad is cross-platform) clarify package differences in the description set maintainers on just the top level derivation switch -unstable to not save debug symbols indicate patch in version string note broken dependencies
|
Result of 2 packages built:- kicad-small - kicad-unstable-small |
| substituteInPlace CMakeModules/KiCadVersion.cmake \ | ||
| --replace "unknown" ${builtins.substring 0 10 src.rev} | ||
| --replace "unknown" "${builtins.substring 0 10 src.rev}-1" \ | ||
| --replace "${version}" "${version}-1" |
There was a problem hiding this comment.
We don't use patchlevels in nixpkgs because the build process of a package can be amended in many different ways, and all those changes can be tracked by looking at the store paths hashes and inside drv files. Patchlevels can't keep up with they, they will quickly become outdated.
There was a problem hiding this comment.
my goal with this was to make it clear in a kicad bug report (which contains that string) which commit the package was based on, while still making it clear a patch was added
|
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
Motivation for this change
kicad-unstabledoes not get built by hydraThings done
kicad-unstable-smallso the components ofkicad-unstablethat hydra can build, get buildlibrariesandbaseout of theletblock so they can be addressed directlysandboxinnix.confon non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"./result/bin/)nix path-info -Sbefore and after)