Set strictDeps=true on our top level packages #192
Reference in New Issue
Block a user
Delete Branch "enableStrictDeps"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
rarias/bscpkgs#12
WIP: Set strictDeps=true on our top level packagesto Set strictDeps=true on our top level packagesI was planning to add another job to the CI to run the cross compilation target. Wouldn't that cover what this patch is trying to solve?
We already discussed it bscpkgs: rarias/bscpkgs#10 (comment)
TL;DR: I think it's preferable to enforce
strictDepsso our derivations are correct before wasting time and resources cross-compiling something that we could already have known would fail beforehand.I have two issues with strictDeps:
If you think it is still useful to have it, I would need to review how it works internally. If that point is clear, I won't oppose enabling it for those derivations that you have worked on. Not sure if we want to enable it for all where is not set.
I have taken a look in stdenv and there the two takeaways are:
f00b180ed4/pkgs/stdenv/generic/make-derivation.nix (L225)strictDeps = falsewill affect cross compilation (I may be wrong)I think that explicitly setting it to false could also have unintended consequences (see above).
I agree that adding it by default magically to all our packages is a bit of a hack. Maybe we can add it as a ci target, but that would mean a lot of rebuilds.
755e6dd1a7to1cb632a1701cb632a170to61ed93c951fb653b7d98to0ac3d3e5150ac3d3e515to9c6f2e0097View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.