nixpkgs/pkgs/build-support
Romanos Skiadas 23dd37dd5e rustPlatform.importCargoLock: add an assert for old Cargo.locks
near the end of 2019, the default Cargo.lock format was changed to
[[package]]
checksum = ...

This is what importCargoLock assumes. If the crate had not been `cargo
update`'d with a more recent toolchain than the one with the new
format as default, importCargoLock would fail when trying to access
pkg.checksum.

I ran into such a case (shamefully, in my own crate) and it took me a
while to figure out what was going on, so here is an assert with a
more user friendly message and a hint.
2021-07-18 18:19:50 +03:00
..
add-opengl-runpath
agda mkShell: introduce packages argument (#122180) 2021-05-13 19:17:29 +02:00
alternatives treewide: stdenv.lib -> lib 2021-01-24 01:49:49 +01:00
appimage Change all alsaLib references to alsa-lib 2021-06-10 01:12:49 -03:00
bintools-wrapper Merge staging-next into staging 2021-06-07 18:48:37 +00:00
build-bazel-package buildBazelPackage: set fetchConfigured default to true 2021-06-07 02:04:01 +00:00
build-dotnet-package treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix 2021-01-19 01:16:25 -08:00
build-fhs-userenv buildFhsUserenv: don't leak mounts to other processes 2021-06-05 16:47:44 +02:00
build-fhs-userenv-bubblewrap buildFHSUserEnvBubblewrap: add dieWithParent option, and /etc/nix 2021-05-02 13:38:52 -07:00
build-setupcfg
buildenv trivial-builders: merge passAsFile with env in runCommand' 2021-03-18 19:56:40 +01:00
cc-wrapper cc-wrapper: don't set rpath on static-pie executables 2021-05-23 17:38:17 +00:00
coq mkCoqDerivation: fix useDune2 2021-06-10 21:52:03 +02:00
docker dockerTools.tarsum: use current go 2021-07-08 16:31:33 +10:00
dotnetbuildhelpers treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix 2021-01-19 01:16:25 -08:00
dotnetenv treewide: stdenv.lib -> lib 2021-01-24 01:49:49 +01:00
emacs Merge pull request #127980 from matthewbauer/darwin-emacs-native-comp 2021-07-15 20:03:57 -05:00
expand-response-params responsie file logic 2021-02-09 09:46:47 +08:00
fetchbitbucket fetchFromBitbucket: remove hack for Mercurial 2021-02-08 17:54:12 +00:00
fetchbower
fetchbzr treewide: editorconfig fixes 2021-01-20 09:11:11 +10:00
fetchcvs fetchcvs: fix ssh wrapper failing due to missing /usr/bin/env 2021-02-08 19:18:17 +01:00
fetchdarcs
fetchdocker fix: fetchdocker call signature 2021-05-08 23:57:32 +02:00
fetchfirefoxaddon Merge pull request #106481 from tadfisher/patch-3 2021-01-30 22:31:24 +09:00
fetchfossil
fetchgit nix-prefetch-git: don't fetch everything when given a hash 2021-07-12 20:50:52 +02:00
fetchgitea fetchFromGitea: init 2021-05-27 09:35:56 +02:00
fetchgithub
fetchgitiles
fetchgitlab
fetchgitlocal
fetchgx
fetchhg treewide: stdenvNoCC.lib -> lib 2021-01-27 13:01:51 +07:00
fetchipfs
fetchmavenartifact treewide: stdenv.lib -> lib 2021-01-24 01:49:49 +01:00
fetchmtn treewide: stdenvNoCC.lib -> lib 2021-01-27 13:01:51 +07:00
fetchnuget treewide: unzip buildInputs to nativeBuildInputs (#112302) 2021-02-20 16:01:53 -05:00
fetchpatch
fetchrepoorcz
fetchrepoproject treewide: stdenvNoCC.lib -> lib 2021-01-27 13:01:51 +07:00
fetchs3 treewide: remove stdenv where not needed 2021-03-04 19:54:50 +07:00
fetchsavannah
fetchsourcehut fetchFromSourcehut: init 2021-03-08 15:51:24 +01:00
fetchsvn treewide: stdenvNoCC.lib -> lib 2021-01-27 13:01:51 +07:00
fetchsvnrevision
fetchsvnssh
fetchurl fetchurl: add testpypi mirror (#123146) 2021-05-24 22:24:30 +02:00
fetchzip fetchzip: accept urls 2021-04-07 02:41:25 +02:00
go garble: fix aarch64 build 2021-02-20 21:13:46 +10:00
icon-conv-tools treewide: stdenv.lib -> lib 2021-01-24 01:49:49 +01:00
install-shell-files
kernel treewide: stdenvNoCC.lib -> lib 2021-01-27 13:01:51 +07:00
libredirect brscan5: init at 1.2.6-0 2021-05-21 12:59:30 -05:00
make-desktopitem build-support/make-desktopitem: add some missing fields 2021-06-04 17:48:46 +02:00
make-startupitem
make-symlinks
mkshell mkShell: introduce packages argument (#122180) 2021-05-13 19:17:29 +02:00
mono-dll-fixer
nix-gitignore
nuke-references nukeReferences: fix code signatures on aarch64-darwin 2021-05-17 00:27:03 +09:00
ocaml build-support.ocaml.dune: handle minimalOCamlVersion typo 2021-06-11 11:08:12 +02:00
oci-tools
pkg-config-wrapper pkg-config-wrapper: mangle PKG_CONFIG_PATH{,_FOR_BUILD} correctly 2021-05-18 00:13:27 +02:00
prefer-remote-fetch
references-by-popularity
release releaseTools: fix nixBuild function 2021-03-29 21:24:00 +02:00
remove-references-to removeReferencesTo: fix code signatures on aarch64-darwin 2021-05-17 00:27:03 +09:00
replace-secret replace-secret: Init 2021-05-19 09:32:00 +02:00
rust rustPlatform.importCargoLock: add an assert for old Cargo.locks 2021-07-18 18:19:50 +03:00
setup-hooks fixDarwinDylibNames: set name of install_name_tool 2021-05-17 00:27:01 +09:00
singularity-tools treewide: stdenv.lib -> lib 2021-01-24 01:49:49 +01:00
skaware skawarePackages.buildPackage: add me as maintainer 2021-06-16 07:59:51 +00:00
snap
src-only
substitute
substitute-files treewide: stdenv.lib -> lib 2021-01-24 01:49:49 +01:00
templaterpm treewide: makeWrapper buildInputs to nativeBuildInputs 2021-02-19 20:09:16 +07:00
trivial-builders trivial-builders: refactor writeTextFile to be overridable 2021-06-18 01:39:59 +02:00
upstream-updater
vm vmTools: update current maintained debian versions 2021-05-27 07:33:11 +02:00
wrapper-common Merge pull request #123989 from Mic92/static-pie 2021-05-25 06:32:25 +01:00
writers tests.writers: also expose path via passthru 2021-07-13 15:22:34 +02:00
build-maven.nix
build-pecl.nix php: Run nixpkgs-fmt on all php related files 2021-06-26 20:07:56 +02:00
closure-info.nix
dhall-to-nix.nix
plugins.nix treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
replace-dependency.nix
setup-systemd-units.nix setupSystemdUnits: use /nix/var/nix/profiles/default/lib/systemd/system as fallback 2021-02-12 12:53:20 +01:00
source-from-head-fun.nix
trivial-builders.nix trivial-builders: refactor writeTextFile to be overridable 2021-06-18 01:39:59 +02:00