nixpkgs/pkgs/build-support
Adam Joseph 84a75e9488 fetchYarnDeps: fix broken fetching logic for github releases
When a dependency references a github *release* URL, that dependency must be
fetched using https rather than git, since github does not require that
release tarballs have any relationship whatsoever to the git history.

This commit causes them to be fetched using https, not git.

A test case (which fails prior to this commit, and passes afterwards) is included.
2024-07-25 11:37:39 +02:00
..
add-driver-runpath addDriverRunpath: init 2023-12-03 07:22:51 -08:00
add-opengl-runpath
agda build-support/agda: expose mkLibraryFile 2024-07-04 14:51:30 +02:00
alternatives treewide: simplify exec format conditionals 2024-01-07 17:43:33 -08:00
appimage Merge remote-tracking branch 'origin/master' into staging-next 2024-07-02 12:08:49 +02:00
binary-cache pkgs/build-support: refactor drvs using __structuredAttrs = true 2023-10-04 18:37:00 +02:00
bintools-wrapper Merge remote-tracking branch 'upstream/master' into openbsd-static 2024-07-09 18:18:47 -04:00
build-bazel-package
build-fhsenv-bubblewrap buildFHSEnv: export GST_PLUGIN_SYSTEM_PATH_1_0 2024-06-20 13:30:28 -05:00
build-fhsenv-chroot treewide: remove yana from meta.maintainers [orphans] 2024-07-22 16:22:39 -03:00
build-graalvm-native-image buildGraalvmNativeImage: fix UTF-8 encoding issue for JVM dependencies 2024-01-26 11:12:54 +00:00
buildenv build-support/buildenv: Hoist builder instantiation 2023-12-29 03:04:46 +13:00
cc-wrapper Merge pull request #318256 from risicle/ris-stack-clash-protection 2024-06-19 19:54:30 +02:00
coq mkCoqDerivation: fix install path of ML plug-in built w/ dune 2024-06-25 21:07:57 +02:00
dart dartHooks.dartInstallHook: Add trailing newline 2024-01-18 12:17:43 +11:00
deterministic-uname Merge master into staging-next 2024-06-07 00:02:15 +00:00
dev-shell-tools devShellTools.{stringValue -> valueToString} 2024-06-29 17:22:57 +02:00
dhall
dlang dub-to-nix,buildDubPackage: allow git-type dependencies 2024-05-08 14:01:35 +02:00
docker Merge pull request #308822 from yorickvP/yorickvp/streamLayeredImage-overridable 2024-07-24 16:02:35 +02:00
dotnet dotnet: fix fetchDeps null handling 2024-07-16 08:34:23 +01:00
expand-response-params expand-response-params: add description 2024-04-18 20:49:13 +02:00
fake-nss
fetch9front
fetchbitbucket
fetchbower
fetchbzr treewide: refactor .attrs.sh detection 2023-10-04 18:36:57 +02:00
fetchcvs treewide: refactor .attrs.sh detection 2023-10-04 18:36:57 +02:00
fetchdarcs treewide: refactor .attrs.sh detection 2023-10-04 18:36:57 +02:00
fetchdebianpatch
fetchdocker Merge staging-next into staging 2023-10-21 00:02:49 +00:00
fetchfirefoxaddon
fetchfossil fetchfossil: support SRI hashes 2023-11-22 09:47:57 +01:00
fetchgit fetchgit: Support fetching signed tags over dumb http transport 2024-04-22 02:16:02 +02:00
fetchgitea
fetchgithub fetchFromGitHub: fix compatibility issue with nix-prefetch 2024-01-30 12:21:13 +01:00
fetchgitiles
fetchgitlab Merge pull request #268304 from panicgh/fetchgitlab-sparse-forcegit 2023-12-17 03:34:52 +01:00
fetchgitlocal
fetchgx
fetchhg treewide: refactor .attrs.sh detection 2023-10-04 18:36:57 +02:00
fetchipfs treewide: refactor .attrs.sh detection 2023-10-04 18:36:57 +02:00
fetchmavenartifact
fetchmtn treewide: refactor .attrs.sh detection 2023-10-04 18:36:57 +02:00
fetchnextcloudapp fetchNextcloudApp: support passing hash to fetchzip 2024-03-21 16:24:29 +00:00
fetchpatch fetchpatch: add patchutils to nativeBuildInputs 2024-07-01 18:09:00 +03:00
fetchpijul build-support/fetchpijul: Enable strictDeps 2023-12-06 18:40:07 +01:00
fetchpypi
fetchpypilegacy fetchPypiLegacy: add test 2024-02-17 17:11:59 +13:00
fetchrepoorcz
fetchrepoproject Avoid top-level with ...; in pkgs/build-support/fetchrepoproject/default.nix 2024-03-19 22:31:19 +01:00
fetchs3
fetchsavannah
fetchsourcehut Avoid top-level with ...; in pkgs/build-support/fetchsourcehut/default.nix 2024-03-19 22:31:19 +01:00
fetchsvn treewide: refactor .attrs.sh detection 2023-10-04 18:36:57 +02:00
fetchsvnrevision
fetchsvnssh treewide: refactor .attrs.sh detection 2023-10-04 18:36:57 +02:00
fetchtorrent transmission_3: rename from transmission 2024-06-21 12:33:37 +03:00
fetchurl fetchurl: add codemirror.dlang.org to the list of dub mirrors 2024-04-21 18:51:45 +10:00
fetchzip fetchzip: allow dropping unzip 2024-01-12 20:26:16 +01:00
flutter buildFlutterApplication: use the engine 2024-06-14 21:01:19 -07:00
go buildGoPackage: deprecate 2024-07-21 12:50:54 +02:00
icon-conv-tools
install-shell-files
kernel makeModulesClosure: include /lib/firmware/edid 2024-07-18 16:57:18 +03:00
lib build-support/meson: explicitly use ambiant CMake during cross compilation 2024-05-11 13:32:14 +02:00
libredirect treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
make-darwin-bundle
make-desktopitem make-desktopitem: fix file extension for type directory 2024-07-03 23:23:30 +08:00
make-hardcode-gsettings-patch makeHardcodeGsettingsPatch: Support applying patches 2023-11-21 08:42:47 +01:00
make-pkgconfigitem treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
make-startupitem
mitm-cache mitm-cache: init at 0.1.1 2024-07-12 18:24:47 +07:00
mkshell doc: add explanatory code comment 2023-11-13 20:59:33 +01:00
mono-dll-fixer
nix-gitignore Avoid top-level with ...; in pkgs/build-support/nix-gitignore/default.nix 2024-03-19 22:31:19 +01:00
node fetchYarnDeps: fix broken fetching logic for github releases 2024-07-25 11:37:39 +02:00
nuke-references nuke-references: add meta.mainProgram 2024-01-05 15:04:14 -05:00
ocaml build-support/ocaml: deprecate minimumOCamlVersion (#319907) 2024-06-21 10:29:31 +02:00
oci-tools ociTools.buildContainer: writeReferencesToFile -> writeClosure 2024-03-19 05:30:54 +08:00
php php.packages.composer: do not use buildComposerProject 2024-05-19 22:10:03 +02:00
pkg-config-wrapper pkg-config: set prefixed mainProgram for cross compilation 2024-04-04 14:55:10 -04:00
portable-service
prefer-remote-fetch prefer-remote-fetch: add more fetchers which prefer local builds 2023-11-29 10:25:20 +01:00
references-by-popularity referenceByPopularity: rename in comment writeReferencesToFile -> writeClosure 2024-03-19 05:30:53 +08:00
release Avoid top-level with ...; in pkgs/build-support/release/default.nix 2024-03-19 22:31:19 +01:00
remove-references-to treewide: add meta.mainProgram to packages with a single binary 2024-03-19 03:14:51 +01:00
replace-secret replace-secret: add mainProgram 2023-11-26 16:27:42 +02:00
rust defaultCrateOverrides: add extraLinkFlags to zlib 2024-07-09 18:12:38 +03:00
setup-hooks Merge master into staging-next 2024-06-28 00:02:11 +00:00
singularity-tools singularity-tools.buildImage: increase default memSize 2024-04-26 14:56:52 +08:00
src-only Reapply "srcOnly: reflink if possible and preserve attributes" 2024-05-27 13:41:36 +02:00
substitute Merge pull request #291569 from Luflosi/fix-substituteAll-typo 2024-04-04 18:07:15 +08:00
substitute-files
testers test.testers: update tests for testers.testEqualContents 2024-07-20 04:32:20 +03:00
trivial-builders doc: fixup doc/build-helpers references 2024-07-18 14:15:53 +03:00
vm vmTools: allow qemu to be overridden via customQemu argument 2024-07-08 19:47:08 +01:00
wrapper-common
writers uglify-js: remove remaining aliases, entry from nodePackages 2024-07-03 21:25:54 +02:00
checkpoint-build.nix checkpointBuildTools.prepareCheckpointBuild: stop at install 2024-03-13 20:11:31 +08:00
closure-info.nix closureInfo: handle empty path set explicitly 2023-11-04 09:54:41 +01:00
make-impure-test.nix
plugins.nix
replace-dependency.nix Avoid top-level with ...; in pkgs/build-support/replace-dependency.nix 2024-03-19 22:31:19 +01:00
setup-systemd-units.nix
source-from-head-fun.nix