nixpkgs/pkgs/build-support
Antoine Eiche df589a438e dockerTools.buildImageWithNixDb: populate the Nix Db of the image Nix store
Currently, the contents closure is copied to the layer but there is no
nix database initialization. If pkgs.nix is added in the contents,
nix-store doesn't work because there is no nix database.

From the contents of the layer, this commit generates and loads the
database in the nix store of the container. This only works if there
is no parent layer that already have a nix store (to support several
nix layers, we would have to merge nix databases of parent layers).

We also add an example to play with the nix store inside the
container. Note it seems `more` is a missing dependency of the nix
package!
2017-09-20 20:14:24 +02:00
..
agda
binutils-wrapper Revert "Merge pull request #28557 from obsidiansystems/binutils-wrapper" 2017-09-07 12:51:21 +02:00
build-dotnet-package buildDotnetPackage: don't depend on invalid quoting in makeWrapper 2017-03-27 18:24:08 +03:00
build-fhs-userenv build-fhs-userenv: Propagate $XAUTHORITY 2017-07-18 00:03:22 -07:00
buildenv Merge pull request #27780 from tilpner/overridable-buildenv 2017-09-14 17:26:33 +02:00
cc-wrapper cc-wrapper, cc-wrapper-old: Simplify shell logic 2017-09-19 16:45:24 -04:00
docker dockerTools.buildImageWithNixDb: populate the Nix Db of the image Nix store 2017-09-20 20:14:24 +02:00
dotnetbuildhelpers Replace hard coded /bin/bash occurrences 2016-10-04 20:15:37 +02:00
dotnetenv
emacs Fix emacs wrapper expression to honor bash array use 2017-08-04 07:52:18 -04:00
expand-response-params expand-response-params: Build more normally 2017-08-25 15:10:02 -04:00
fetchadc lib/fetchers.nix: factor out impure proxy vars (#18702) 2016-09-17 21:50:01 +02:00
fetchbower fetchbower: handle packages with slashes in their name 2017-07-27 21:18:43 +01:00
fetchbzr
fetchcvs
fetchdarcs fetchdarcs: Use NIX_SSL_CERT_FILE 2017-06-03 20:35:37 +01:00
fetchegg fetch-*: remove md5 support 2017-03-20 22:23:41 +01:00
fetchfossil fetchfossil: Don't support MD5. 2016-08-21 11:53:40 -07:00
fetchgit Merge: more compatibility for git* fetchers 2017-07-09 10:31:24 +02:00
fetchgitlocal
fetchgitrevision
fetchgx ipfs: 0.4.6 -> 0.4.9 2017-05-24 16:31:17 +02:00
fetchhg fetch-*: remove md5 support 2017-03-20 22:23:41 +01:00
fetchmavenartifact fetchMavenArtifact: init (#16825) 2016-07-19 09:48:36 +02:00
fetchmtn lib/fetchers.nix: factor out impure proxy vars (#18702) 2016-09-17 21:50:01 +02:00
fetchnuget fetch-*: remove md5 support 2017-03-20 22:23:41 +01:00
fetchpatch fetchpatch: add excludes parameter 2017-07-26 13:32:59 +02:00
fetchrepoproject fetchRepoProject: Fetch into $out and make it deterministic 2017-09-17 23:16:33 +02:00
fetchs3 fetchs3: init simple S3 downloader 2017-04-25 22:01:32 -04:00
fetchsvn fetchsvn: set LC_ALL in builder to allow svn to handle unicode filenames 2017-06-04 13:41:28 +01:00
fetchsvnrevision
fetchsvnssh fetch-*: remove md5 support 2017-03-20 22:23:41 +01:00
fetchurl mirrors: update apache and cpan mirrors 2017-08-24 04:22:07 +00:00
fetchzip Fix #27448 argument list too long in fetchzip for darwin. 2017-07-17 11:23:20 -04:00
gcc-wrapper-old cc-wrapper, cc-wrapper-old: Simplify shell logic 2017-09-19 16:45:24 -04:00
icon-conv-tools treewide: Add lots of meta.platforms 2016-08-02 21:42:43 +03:00
kernel make-initrd: Don't use stdenv.cross 2017-06-28 18:21:05 -04:00
libredirect libredirect: allow null paths 2017-05-24 11:29:06 -03:00
make-desktopitem
make-startupitem make-autostartitem: Use the right path for storing the desktop files 2017-07-06 00:44:41 +02:00
make-symlinks
mono-dll-fixer treewide: Some EOF-whitespace fixes 2016-08-02 21:17:44 +03:00
nuke-references
ocaml OCaml modules: make explicit some dependencies to ocamlbuild 2016-10-09 11:55:19 +02:00
release Merge pull request #17681 from ericsagnes/feat/releaseTools.channel 2017-07-02 09:46:17 +01:00
remove-references-to Add removeReferencesTo for removing specific refs 2017-03-09 12:01:55 +00:00
rust rustRegistry: switch to mkDerivation 2017-06-25 11:56:29 +01:00
setup-hooks autoreconfHook: Simplify by avoiding findInputs 2017-09-14 13:16:12 -04:00
singularity-tools singularity: init 2.2 2016-11-15 09:11:53 +11:00
src-only
substitute Add stdenvNoCC 2016-09-29 13:06:41 +02:00
substitute-files
templaterpm
upstream-updater Fix #4210: Remove builderDefs 2016-08-31 11:34:46 +02:00
vm vm: remove trusty-updates hash as it changes too often 2017-09-14 11:29:10 +02:00
vsenv
build-maven.nix
build-pecl.nix
dhall-to-nix.nix Add a pkgs.dhallToNix utility 2017-01-26 20:11:49 -08:00
plugins.nix Ultrastar (#26524) 2017-06-14 11:29:31 +02:00
replace-dependency.nix replaceDependency: fix syntax error 2016-10-28 01:00:04 +02:00
setup-systemd-units.nix Add setupSystemdUnits function. 2017-03-24 15:47:51 -04:00
source-from-head-fun.nix
trivial-builders.nix trivial-builders.nix: add writeShellScriptBin builder 2017-08-01 20:23:08 -04:00