summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-sql
diff options
context:
space:
mode:
authorAntoine Eiche <lewo@abesis.fr>2017-08-25 11:47:28 +0200
committerAntoine Eiche <lewo@abesis.fr>2017-09-20 20:14:24 +0200
commitdf589a438e01c06a6661cbd18bfe8f568d8b7f83 (patch)
treed9df86717f18f6b90aa424ecdb7e062119c8dc30 /pkgs/development/python-modules/python-sql
parent2c2cd34b54733d788fdace2c90d29c5ada32913f (diff)
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!
Diffstat (limited to 'pkgs/development/python-modules/python-sql')
0 files changed, 0 insertions, 0 deletions