-
-
Notifications
You must be signed in to change notification settings - Fork 13.6k
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
yubioath-flutter: 6.1.0 -> 6.2.0 #230674
yubioath-flutter: 6.1.0 -> 6.2.0 #230674
Conversation
|
Do we also have to substitute this? |
Probably yes, good find @Aleksanaa. As I'm out and about it'll take me until tomorrow before I'm able to update the PR. |
Can't you relax that's dependency? With pythonRelaxDeps or whatever that's called |
bf98976
to
1baf7a0
Compare
Thanks for the suggestion, @Kranzes. I didn't know such thing existed in nixpkgs (TIL!). I've made related changes to try that out. |
hmm, no changes in build errors but eval now takes 10x longer
|
I think for pythonRelaxDeps to work, you'll need to add the python3.pkgs.pythonRelaxDepsHook to nativeBuildInputs. |
1baf7a0
to
248d72b
Compare
Thanks for the suggestions @lukegb. Where can I learn more about the difference between |
248d72b
to
36fb23c
Compare
9b8821c
to
ddd20cb
Compare
Ah, sorry, I missed that this was in
|
Thanks for the explanation, @lukegb, it verifies my assumption that I did try and use only Unfortunately something seems to be missing since the test run for the latest changes with Any other ideas to approach this? |
Ah. My advice then is to extend the existing |
I am clearly seeing it being used across nixpkgs with pyproject. |
Oh, you're right. Looking more closely at the implementation, it's because our pname and version don't match our wheel output - we'd have to set pname to |
Thanks everyone for chiming in, very help- and insightful! As a non-native speaker I'm having a bit of trouble "deciphering" the preferred approach from the comments above and kindly request a vote on the issue: 🚀 Change 👀 add A question about approach 👀 I have is: Would a change in |
It seems yubioath-flutter still does not build as of today. Would anyone be able to report on the status of this PR? How far is it from being merged? Thanks. |
It should still build, and is indeed successfully being built by Hydra. Can you please explain where you're seeing build failures and what system type you're on?
|
It seems that I can build it correctly now. False positive then, I am not sure what happened last time I tried. Sorry about that. |
I think it's just the 👀 suggestion, that's mostly what I've been waiting on. I've got some local commits that'll fix this up so I'll push them up to your branch and rebase closer to head. |
…0a6fd5db59314 Using fetchurl like this means that, if you build the `flutter` derivation first, you will get a file named "LICENSE" in your store with the correct hash. `flutter37` will then build because this file is already in your store, even though the LICENSE to which _it_ refers is different. This is dangerous in this case - but an intentional design decision in the way fetchurl works to allow artifacts which are the same to be fetched from arbitrary sources, or even pre-populated into the store. To avoid this, explicitly tag the fetchurl with a name and the commit hash we're fetching from. This means we _must_ fetch these separately for each flutter version and avoids the problem of accidentally reusing artifacts for a different build.
6e5f0d1
to
19cd58a
Compare
Thanks again for your contribution and sorry it's taken such a long time to get it landed. |
Thanks for merging, @lukegb. All good, sometimes things take a bit more time and that's perfectly alright, better than moving (too) fast and breaking things :) |
yubioath-flutter: 6.1.0 -> 6.2.0 (cherry picked from commit 5601964)
Description of changes
This is a follow-up on #228372 with a kind request to @Lassulus to test the changes on my behalf on Linux.
❓ Is it possible to make the
substituteInPlace
more generic by using a regex, e.g.:--replace 'yubikey-manager = ".*"'…
ℹ️ I'm not sure whether the
vendorHash
would need / benefit from an update too.Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)