nixpkgs/pkgs/build-support
Silvan Mosberger 33ffb05d39 writers: Allow string paths
Before this change, it was not possible to use string paths,
because then the `types.str.check` would succeed. So the only paths that
could be used were ones from the local filesystem via e.g.
`./some/path`.

We can easily fix this by using `types.path.check` instead to determine
whether we are dealing with a path.

This notably also allows using Nix-fetched sources as the content, e.g.
`fetchFromGitHub { ... } + "/some/file"`
2021-06-25 14:39:59 +02: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 wrapBintoolsWith: fix final stage NetBSD 2021-06-07 11:49:31 +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 treewide: All the linker to be chosen independently 2021-05-14 21:29:51 +00:00
coq mkCoqDerivation: fix useDune2 2021-06-10 21:52:03 +02:00
docker Merge pull request #125223 from hercules-ci/fix-dockerTools-example-fetch-sha 2021-06-10 10:10:18 +02: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 emacs: adapt to renamed native-comp variables 2021-05-06 16:47:21 -03: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 fetchgit: document --fetch-lfs flag 2021-05-07 15:38:54 -07: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 Merge pull request #122158 from danieldk/import-cargo-lock 2021-05-28 12:07:25 +02: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 tests.trivial: Add emptyFile, emptyDirectory to samples 2021-06-12 17:29:27 +02:00
upstream-updater
vm vmTools: update current maintained debian versions 2021-05-27 07:33:11 +02:00
wrapper-common pkg-config-wrapper: mangle PKG_CONFIG_PATH{,_FOR_BUILD} correctly 2021-05-18 00:13:27 +02:00
writers writers: Allow string paths 2021-06-25 14:39:59 +02:00
build-maven.nix
build-pecl.nix php.buildPecl: Add checkPhase 2021-05-27 12:19:14 -04: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 emptyFile, emptyDirectory: init 2021-06-12 17:28:00 +02:00