mach-nix icon indicating copy to clipboard operation
mach-nix copied to clipboard

update the version of yt-dlp

Open srghma opened this issue 2 years ago • 1 comments

the requirements.txt has new version

https://github.com/srghma/khan-dl/commit/dea89357bf78fd428c84a0d906d2b36879eae35f#diff-4d7c51b1efe9043e44439a949dfd92e5827321b34082903477fd04876edb7552R15

I have tried to override version manually, but couldnt

https://github.com/srghma/khan-dl/commit/dea89357bf78fd428c84a0d906d2b36879eae35f#diff-206b9ce276ab5971a2489d75eb1b12999d4bf3843b7988cbe8d687cfde61dea0R25-R28

How to reproduce

nix flake update
nix build

Expected

cat ./result/nix-support/propagated-build-inputs should show that version of yt-dlp is 2023.07.06

Actual

cat ./result/nix-support/propagated-build-inputs should show that version of yt-dlp is 2023.3.4

/nix/store/bm1a8y0fvq8iqmh9kq8xr1v4nkvn3yc0-python3.9-art-5.9 /nix/store/5dnzmq5r0zf65wh7cni2prca7yzjc3ii-python3.9-beautifulsoup4-4.12.2 /nix/store/fjd3d3v7fhvas93vvarc05d7xdm229vi-python3.9-lxml-4.9.2 /nix/store/x4ajqm32i6kv664r0cpzrsbmdcga2a3n-python3.9-prompt-toolkit-3.0.38 /nix/store/amgziqm1dsirg2k707ai060r3y32gaqb-python3.9-requests-2.31.0 /nix/store/llfnhfxzi75xhl54k1kx5nig6vz82pn4-python3.9-yt-dlp-2023.3.4 /nix/store/x24kxyqwqg2ln8kh9ky342kdcmhbng3h-python3-3.9.9

srghma avatar Aug 23 '23 18:08 srghma

when I change smth in flake.nix (eg add packagesExtra = [ (mach.buildPythonPackage ... ] and there is an error

Expected:

nix build should throw error
nix develop should throw error

Actual:

nix build doesnt throw error
nix develop throws error

srghma avatar Aug 24 '23 06:08 srghma