nix-community / home-manager

Manage a user environment using Nix [maintainer=@rycee]
https://nix-community.github.io/home-manager/
MIT License
7.02k stars 1.81k forks source link

Installation in an OCI container #5258

Open drupol opened 6 months ago

drupol commented 6 months ago

Hello,

I'm looking for a way to install a Home Manager profile in an OCI container built with Nix. So far, none of the stuff I tried are working. Here's my flake.nix, where I stripped out all the irrelevant part:

```nix { description = "A Nix flake for development environments using Nix and Home Manager"; inputs = { nixpkgs.url = "github:/nixos/nixpkgs/nixpkgs-unstable"; home-manager.url = "github:nix-community/home-manager"; home-manager.inputs.nixpkgs.follows = "nixpkgs"; systems.url = "github:nix-systems/default"; }; outputs = inputs@{ self, nixpkgs, home-manager, ... }: { packages.x86_64-linux.oci-nix-shell = let system = "x86_64-linux"; pkgs = import nixpkgs { inherit system; }; profile = (home-manager.lib.homeManagerConfiguration { pkgs = import nixpkgs { }; modules = [ ({ home.stateVersion = "23.11"; home.username = "nixbld"; home.homeDirectory = "/build"; }) ]; extraSpecialArgs = { inherit inputs system; username = "nixbld"; homeDirectory = "/build"; }; }); in pkgs.dockerTools.streamNixShellImage { name = "oci-nix-shell"; tag = "latest"; drv = pkgs.mkShell { nativeBuildInputs = [ pkgs.hello pkgs.nix profile.activationPackage profile.activation-script ]; shellHook = '' USER=nixbld ${profile.activation-script}/activate ''; }; }; }; } ```

To build it:

  1. Build it: nix build .#oci-nix-shell
  2. Load in Docker: ./result | docker load
  3. Run: nix run -it oci-nix-shell:latest

Here's the full log:

``` ❯ nix build .#oci-nix-shell -L --impure closure-paths> structuredAttrs is enabled oci-nix-shell-conf.json> { oci-nix-shell-conf.json> "architecture": "amd64", oci-nix-shell-conf.json> "config": { oci-nix-shell-conf.json> "Cmd": [ oci-nix-shell-conf.json> "/nix/store/41l3q7yi1ab5s1830k2pi023s5c5vhrl-bash-interactive-5.2p26/bin/bash", oci-nix-shell-conf.json> "--rcfile", oci-nix-shell-conf.json> "/nix/store/0h67l5nk0fzmw321fxyyswn5pp2hdyvc-nix-shell-rc" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> "Env": [ oci-nix-shell-conf.json> "HOME=/build", oci-nix-shell-conf.json> "NIX_BUILD_CORES=1", oci-nix-shell-conf.json> "NIX_BUILD_TOP=/build", oci-nix-shell-conf.json> "NIX_SSL_CERT_FILE=/nix/store/rl43g47sf8h4p8cjbxi62bhbj6bz0vfl-nss-cacert-3.98/etc/ssl/certs/ca-bundle.crt", oci-nix-shell-conf.json> "NIX_STORE=/nix/store", oci-nix-shell-conf.json> "PATH=/nix/store/41l3q7yi1ab5s1830k2pi023s5c5vhrl-bash-interactive-5.2p26/bin:/nix/store/d8031v3v453byx248g7qdvryyxbi13kc-buildDerivation/bin", oci-nix-shell-conf.json> "PWD=/build", oci-nix-shell-conf.json> "SSL_CERT_FILE=/nix/store/rl43g47sf8h4p8cjbxi62bhbj6bz0vfl-nss-cacert-3.98/etc/ssl/certs/ca-bundle.crt", oci-nix-shell-conf.json> "TEMP=/build", oci-nix-shell-conf.json> "TEMPDIR=/build", oci-nix-shell-conf.json> "TERM=xterm-256color", oci-nix-shell-conf.json> "TMP=/build", oci-nix-shell-conf.json> "TMPDIR=/build", oci-nix-shell-conf.json> "__ignoreNulls=1", oci-nix-shell-conf.json> "__structuredAttrs=", oci-nix-shell-conf.json> "args=-e /nix/store/v6x3cs394jgqfbi0a42pam708flxaphh-default-builder.sh", oci-nix-shell-conf.json> "buildInputs=", oci-nix-shell-conf.json> "buildPhase={ echo \"------------------------------------------------------------\";\n echo \" WARNING: the existence of this path is not guaranteed.\";\n echo \" It is an internal implementation detail for pkgs.mkShell.\";\n echo \"------------------------------------------------------------\";\n echo;\n # Record all build inputs as runtime dependencies\n export;\n} >> \"$out\"\n", oci-nix-shell-conf.json> "builder=/nix/store/5lr5n3qa4day8l1ivbwlcby2nknczqkq-bash-5.2p26/bin/bash", oci-nix-shell-conf.json> "cmakeFlags=", oci-nix-shell-conf.json> "configureFlags=", oci-nix-shell-conf.json> "depsBuildBuild=", oci-nix-shell-conf.json> "depsBuildBuildPropagated=", oci-nix-shell-conf.json> "depsBuildTarget=", oci-nix-shell-conf.json> "depsBuildTargetPropagated=", oci-nix-shell-conf.json> "depsHostHost=", oci-nix-shell-conf.json> "depsHostHostPropagated=", oci-nix-shell-conf.json> "depsTargetTarget=", oci-nix-shell-conf.json> "depsTargetTargetPropagated=", oci-nix-shell-conf.json> "doCheck=", oci-nix-shell-conf.json> "doInstallCheck=", oci-nix-shell-conf.json> "mesonFlags=", oci-nix-shell-conf.json> "name=nix-shell", oci-nix-shell-conf.json> "nativeBuildInputs=/nix/store/rnxji3jf6fb0nx2v0svdqpj9ml53gyqh-hello-2.12.1 /nix/store/crg277a2q85zgsz2599d3x0nmz9vf709-nix-2.18.2-dev /nix/store/43vww4hqmypkxj3crcw70pqm1lmg2dpi-home-manager-generation /nix/store/43vww4hqmypkxj3crcw70pqm1lmg2dpi-home-manager-generation", oci-nix-shell-conf.json> "out=/nix/store/a81hrsklbvi313pzzh3frzn4ngj57vxy-nix-shell", oci-nix-shell-conf.json> "outputs=out", oci-nix-shell-conf.json> "patches=", oci-nix-shell-conf.json> "phases=buildPhase", oci-nix-shell-conf.json> "preferLocalBuild=1", oci-nix-shell-conf.json> "propagatedBuildInputs=", oci-nix-shell-conf.json> "propagatedNativeBuildInputs=", oci-nix-shell-conf.json> "shellHook=USER=nixbld /nix/store/43vww4hqmypkxj3crcw70pqm1lmg2dpi-home-manager-generation/activate\n", oci-nix-shell-conf.json> "stdenv=/nix/store/c8dj731bkcdzhgrpawhc8qvdgls4xfjv-stdenv-linux", oci-nix-shell-conf.json> "strictDeps=", oci-nix-shell-conf.json> "system=x86_64-linux", oci-nix-shell-conf.json> "userHook=" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> "User": "1000:1000", oci-nix-shell-conf.json> "WorkingDir": "/build" oci-nix-shell-conf.json> }, oci-nix-shell-conf.json> "os": "linux", oci-nix-shell-conf.json> "store_dir": "/nix/store", oci-nix-shell-conf.json> "from_image": null, oci-nix-shell-conf.json> "store_layers": [ oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/77yhmwrwism02371kzyda4d127kdwdnf-libunistring-1.1" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/n9sq1bvghs9z0qg6cmwg27y4jmszwgqi-libidn2-2.3.7" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/3sxwxqzkkrgpgaibkm27ggb9kjbzdy31-xgcc-13.2.0-libgcc" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/1rm6sr6ixxzipv5358x0cmaw8rs84g2j-glibc-2.38-44" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/7nmrrad8skxr47f9hfl3xc0pfqmwq51b-openssl-3.0.13" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/c6l9badak7sp1sl2vhny57hfnfv07in2-aws-c-common-0.9.10" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/6k373ff6rgylb9w6l2qlagb5xdv0fcsf-gcc-13.2.0-libgcc" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/agp6lqznayysqvqkx4k1ggr8n1rsyi8c-gcc-13.2.0-lib" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/9q68k1q0baqph134mi2c3mag5v6fa98j-aws-c-cal-0.6.10" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/yymknbfs51dv9wddas60flynpczyb14l-s2n-tls-1.4.6" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/5lr5n3qa4day8l1ivbwlcby2nknczqkq-bash-5.2p26" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/zbaajn0dk65kwvrcglhli1j4xx4vhvvj-zlib-1.3.1" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/9v67dgmg1r9sb92h4c0drh35j2z5cnv4-attr-2.5.2" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/n50hsxw4z8y04pa9hdb6wpacdv16xgfz-aws-c-io-0.13.36" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/iz251c49qmnm0fjnxaxrrq7lxqy8aaiy-aws-c-compression-0.2.18" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/kq60cqfd2kb7mr6mlbbqbb8li7bkznrb-acl-2.3.2" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/cbg7fz3cd0jbh79fpi72h0zwvvqgjzpd-zstd-1.5.5" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/5pyacja52fxmx0k1b27c44nl40v82gbk-gmp-with-cxx-6.3.0" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/7w57k6i6h2166ggppih6jnkp6abnyn3b-aws-c-http-0.7.14" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/65h1sjgjajn326djk4y6n2vidh20d8zh-keyutils-1.6.3-lib" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/0xlln0w88b6xhlszr4qm78jfcis33i8h-publicsuffix-list-0-unstable-2024-01-07" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/fi63jgmvn2wv35iyqhkz0x7q4n583d5k-aws-c-sdkutils-0.1.12" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/q3wiyzfhghb8spcsb1hcqcnsvgn57226-pcre2-10.43" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/0cgs7y6qfn64wvj1wk37zadniq2dqkg4-brotli-1.1.0-lib" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/43dnc4h7x0p8ybaq38aaxkhy722kzrx2-coreutils-9.4" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/yyqzw7xvsrn3h2zrvincbs1b291yzx8c-xz-5.6.1" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/9x51r0c2ramc6p9rrcqgl35rqhfvcb64-libkrb5-1.21.2" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/k70k9x394f47dsm55hzxffbgbz0sciyl-libpsl-0.21.5" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/x8nbl7jdymzrk8jwv7c7b744r87b0qcs-libssh2-1.11.0" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/1n8dg5f4435qm73m4b9m0479igx7iq7l-ncurses-6.4" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/v2aswwg4mshc14236hv0ni3r7k2vn0p9-nghttp2-1.60.0-lib" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/vbqr5kdjaahds9wr29iz798j3bjv3dqv-aws-checksums-0.1.18" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/vwrm7xc2fha9imwzyz4xm5cvdm45l8m6-bzip2-1.0.8" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/x5brjfprnjinb71nm7fvagsp133h3wxn-curl-8.6.0" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/ak8fchpv6xkkz59blbj6i0yvyddmh2sv-util-linux-minimal-2.39.3-lib" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/2c7mmv7ygmna4qmx6z16d75zzd4rrbv1-aws-c-auth-0.7.10" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/nk45h8dy9zlx4d0b9ghf5xnj9pypyqgh-gnugrep-3.11" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/2ksh88m9fnnmj8xn5a2a0z2q9vakbjpj-glibc-2.38-44-bin" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/04qi91bvjwn9s0p23wqy2gjnmshk6h11-gmp-6.3.0" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/wb7d5iw5f08qbm6p72pz1mdd4qgcb7gs-libffi-3.4.6" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/zvb6aqqivjvgf34981fk7qldm1nv74dh-readline-8.2p10" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/bhfwvw0h09nvkaj4vr2pcrfm9i758c54-gmp-with-cxx-6.3.0" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/1km29gfwqdi1n5xw0vjr6zx75q9frvbr-libgpg-error-1.48" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/4lmqbzw96a6n07a6mx11n2dffsan60vx-libcap-2.69-lib" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/kp31zcpazmiawg1n7xspnsp86x9rhmhf-libxcrypt-4.4.36" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/zb3gzfab3v2q5bib8chihr2k885zj1n4-linux-headers-6.7" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/dwxz2p17xwmivwl55qkfji1dp2qd2846-gzip-1.13" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/f5hd5l5xfzn4cyizadkhr9wmlg3qcq2v-libtasn1-4.19.0" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/y9p605m57g0np393rmf2wpm7yjan0jnn-audit-3.1.2" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/yhhks8bs588z5baiy4aml3hg89cw46w5-aws-c-event-stream-0.3.2" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/z2yjhf13h2jrvwc1anqhgls37rm1mycz-aws-c-mqtt-0.9.10" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/j25lj0982bvbgw1c6ghnjz1gi4fxhlzb-aws-c-s3-0.4.0" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/41l3q7yi1ab5s1830k2pi023s5c5vhrl-bash-interactive-5.2p26" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/4kp0p52a1cx34vl097mi72d0rczrr6bm-hm-modules-messages" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/zhrjg6wxrxmdlpn6iapzpp2z2vylpvw5-home-manager.sh" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/1j15np3j991f3sgpgbw30hgb5pwqz9h9-libmnl-1.0.5" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/6wfv81r4danww91b2p3i7i46l7n1lcs1-libxml2-2.12.5" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/48fg1lbh6hfv5gd6gp7qppbym3fi3lyz-db-4.8.30" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/6jk1d1m5j9d8gjyq79zqlgqqs9j3gcwn-glibc-2.38-44-dev" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/0jh79bkd9wfzxih1ci476b71x1b5jclc-glibc-locales-2.38-44" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/hpzgps0yqfjyfkiwl69za687zrp7bb61-nettle-3.9.1" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/f64g1pahb9x41b0bh9l3zaxd7av5p6lj-systemd-minimal-libs-255.2" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/4mpdci50vmgrvy1581i4ng5h82vam74c-zstd-1.5.5-bin" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/q5ggwzjigzwqy4vjd6gvbs9jh4z33mrb-bzip2-1.0.8-bin" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/v6x3cs394jgqfbi0a42pam708flxaphh-default-builder.sh" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/1mykacpn4ahwl6p0dbp1bzbwnin41cad-json-c-0.17" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/m5g3j7a7nknfi7qizb3384zz6hq79dpy-libevent-2.1.12" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/pn62xq0p7qgc0p2zksbf1qk97j9bjy7d-libnfnetlink-1.0.2" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/8z7xdywm2bryk2hq9iwdzbywlar9kq53-libseccomp-2.5.5-lib" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/w5x48fqsx3lvgx7s2i5mx5s901w5d7p0-mpfr-4.2.1" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/szyc35hzgw0d176gii99ykjpq6xziark-p11-kit-0.25.3" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/2zvi5q6fvrmznavnqgzc947wssilv9vy-xz-5.6.1-bin" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/v4lf9sva5wn9wnwj83p0sh1r4r033k26-aws-crt-cpp-0.24.7" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/k9479b5zabc5ncvb3dmvk2jpqq4avjs0-binutils-2.41-lib" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/j7wbld5zvy0q8xs3426621a0a67w2vqd-boehm-gc-8.2.4" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/kmsqwvfmqfwvhb0bzs7yhsq8h02pcy6k-dns-root-data-2023-11-27" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/s2d4y6k2lanq8v8vg3skaxhmdflv12px-elfutils-0.190" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/n0k7d16gi7mj7bwwm1vlrvhcd1bs3qcd-expand-response-params" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/n40cmp7fqdx66pfxpwqxmgq9card3dma-gnutar-1.35" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/mkjcg99qf8fdgik2jvy958hqigwbnm29-libgcrypt-1.10.3" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/2df2qz3fizxws260d33fn6q2m7wwpy4i-libnl-3.8.0" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/7kg0x3izdnvannkxjjr0kn9rb47dl1xj-libselinux-3.6" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/ma1pk2a0s8cklv1pgpjb54wwc70cg532-linux-pam-1.6.0" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/xp62w63dqjzcs7vgysr6dxwdrar00kzl-oniguruma-6.9.9-lib" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/37pn6j1hzs56phgknnb9lxdwlsdp7vn4-unbound-1.19.2-lib" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/j2y057vz3i19yh4zjsan1s3q256q15rd-binutils-2.41" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/inrn3746nyqxblbs7vjl0zw1mwl81lvv-cracklib-2.9.11" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/61vziizgxaqzd1myqdw0maq8yw5k5z5a-db-5.3.28" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/y6lacwx4602ah1nafpm7jfm5bwlafhg4-diffutils-3.10" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/6xyv6b1l5zvzd23scbim221rxkcp8g9w-findutils-4.9.0" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/gkkabfk5kccd5j8fm1hlrb71pmpcbw1p-glib-2.78.4" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/088jnrpd2d6vqzyddm07x6wjfgjgmv2d-glibc-2.38-44-getent" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/kqb7yncgd6a17nlgbixhcvcwync0nqg0-gnused-4.9" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/z65607h741rpf7yl6n7j40dw338kx4n4-gnutls-3.8.3" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/lhrclmbrjw5cbfmvxsf6c1rd33wyki9m-groff-1.23.0" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/vrj0g16ci387zm1sapqh764qqjf85hk0-isl-0.20" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/fkljgzz0wb4v6b28yg13khqm1j49irs1-libargon2-20190702" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/dz8kqn2m2ggwrhg7q6dlwjh0ksm377c7-libassuan-2.5.7" oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> [ oci-nix-shell-conf.json> "/nix/store/csblc1g7ihhw4vpdjzn8r7b9mfnsqnk1-libcbor-0.11.0", oci-nix-shell-conf.json> "/nix/store/dw1k0g9b40x79258qc7gy5sx6m2kd8w2-libmpc-1.3.1", oci-nix-shell-conf.json> "/nix/store/8z079nvap5nlfaql3ramaa3xm99sdghn-libnetfilter_conntrack-1.0.9", oci-nix-shell-conf.json> "/nix/store/kixlbwzg34q79mjcn4gi2ck9zcdsiznv-libnftnl-1.2.6", oci-nix-shell-conf.json> "/nix/store/dp5iln04a4853fff71l01l7hchw2zfz6-libpcap-1.10.4", oci-nix-shell-conf.json> "/nix/store/w2dg133x82qqkyv821nv7dzddygifr09-libpipeline-1.5.7", oci-nix-shell-conf.json> "/nix/store/7innzshr03x2xjzyap9qv5x76acwhf7s-lvm2-2.03.23-lib", oci-nix-shell-conf.json> "/nix/store/fdvj4gmm22asa3glllr5izly0kgihq6h-npth-1.7", oci-nix-shell-conf.json> "/nix/store/m1a5hyjq46fybcc9zi3bq65jqnrhy597-pcsclite-2.0.3-lib", oci-nix-shell-conf.json> "/nix/store/fahykydvq1dfxdkr30vhydz4kd4xc4d7-aws-sdk-cpp-1.11.207", oci-nix-shell-conf.json> "/nix/store/5ac6jr3asky426rc5qaxrf3wkhzpw1cm-binutils-wrapper-2.41", oci-nix-shell-conf.json> "/nix/store/d8031v3v453byx248g7qdvryyxbi13kc-buildDerivation", oci-nix-shell-conf.json> "/nix/store/j7d9731ymq5p64srjc4668s5rr07k5gb-busybox-static-x86_64-unknown-linux-musl-1.36.1", oci-nix-shell-conf.json> "/nix/store/z9kgcx5b8kkv0cf9dssikmm3zdmcfi8p-cryptsetup-2.7.0", oci-nix-shell-conf.json> "/nix/store/900m2vcva703m9vwnip1fbl0fpwwq722-ed-1.20.1", oci-nix-shell-conf.json> "/nix/store/d28086h303yxmanj11i2myfmbw0pmfrp-editline-1.17.1", oci-nix-shell-conf.json> "/nix/store/rqga421d43q40blrrgmiw820p01a4nba-gcc-13.2.0", oci-nix-shell-conf.json> "/nix/store/qbnwj17dgd29hy985yfina8swr08zfsk-getent-glibc-2.38-44", oci-nix-shell-conf.json> "/nix/store/8dqbwvzppprxjy98ryh30zrbjhh7g25k-gnu-config-2023-09-19", oci-nix-shell-conf.json> "/nix/store/580wjhskbaxl81qhx7vdj9n7d078czdk-gnupg-2.4.4", oci-nix-shell-conf.json> "/nix/store/w15dnap0ljmmq7l5ff546g6cj435fq0k-hm-session-vars.sh", oci-nix-shell-conf.json> "/nix/store/djvgjszyd0p3m6qm56wfp46y2jbhcpsv-hm_build.cache.keep", oci-nix-shell-conf.json> "/nix/store/wgia7h89z6lx1q8qf0k0z2300d730v9v-hm_environment.d10homemanager.conf", oci-nix-shell-conf.json> "/nix/store/8wz1vh3pwcndcjzdmlymvvi2b89ir055-home-configuration-reference-manpage", oci-nix-shell-conf.json> "/nix/store/7jjp1dr68yfpm3sbmd5rq75cm6cz1vsi-iptables-1.8.10", oci-nix-shell-conf.json> "/nix/store/bgvg4yihsf8dgwk2g4mfi7k3gfsfxv4c-jq-1.7.1", oci-nix-shell-conf.json> "/nix/store/53fg9kn3ry6m71p1c7ghaci6zygisxfz-jq-1.7.1-doc", oci-nix-shell-conf.json> "/nix/store/qaggw36kdv2n7k6rivii9ylr8205yaqz-jq-1.7.1-lib", oci-nix-shell-conf.json> "/nix/store/dy82v8zpcrmkjhlxrq42jccjvnf8ljvr-jq-1.7.1-man", oci-nix-shell-conf.json> "/nix/store/vzc06av6dpq778wy9m8h31c0dbhan7sn-kbd-2.6.4", oci-nix-shell-conf.json> "/nix/store/pzxcfmkaaq8a9ijwfzk7yhyjbqsdlmbc-kexec-tools-2.0.26", oci-nix-shell-conf.json> "/nix/store/0v0wrr6ngh9d487lhwicwr5z61kz40zw-kmod-31", oci-nix-shell-conf.json> "/nix/store/b4hxc9cg3700ac8p50gcj6hrcp17f9c3-kmod-31-lib", oci-nix-shell-conf.json> "/nix/store/7zcz79akgwx4mws9gvh0k945h585pk5i-libapparmor-3.1.7", oci-nix-shell-conf.json> "/nix/store/plxvn2qhfa298rvwnazflvf1a8can4ih-libarchive-3.7.2-lib", oci-nix-shell-conf.json> "/nix/store/hwamkk1467ymc6rywr953yvyvwv2kip2-libbpf-1.3.0", oci-nix-shell-conf.json> "/nix/store/caqi6ddn448cc611ws6zz3gv2yhdnpwp-libcpuid-0.6.4", oci-nix-shell-conf.json> "/nix/store/vibdfy6xyw92127dizaanbh15pm9d2ss-libfido2-1.14.0", oci-nix-shell-conf.json> "/nix/store/1bba12pdgp27mjv2jbnmdjay8rq6ia6g-libmicrohttpd-0.9.77", oci-nix-shell-conf.json> "/nix/store/yr8wy29z3vbr4grp2pfcpaw8fgbrr189-libpwquality-1.4.5-lib", oci-nix-shell-conf.json> "/nix/store/1rj3qz0jhx6ljks9ayy8mmwyypqdzp4z-libsodium-1.0.19", oci-nix-shell-conf.json> "/nix/store/5mm269blx1zrsjz2smhw037c22lgvwbm-lowdown-1.1.0-lib", oci-nix-shell-conf.json> "/nix/store/sj8gp2vhjfx2zcjzia7n7qk83w6nvsxb-lz4-1.9.4", oci-nix-shell-conf.json> "/nix/store/0h52zkyqhw9qc7i847mzi7jh0qpq75qs-man-db-2.12.0", oci-nix-shell-conf.json> "/nix/store/61msb6wz589zf9qkk98n952s136yzj7w-nix-2.18.2-man", oci-nix-shell-conf.json> "/nix/store/7hvfg00g01qrflfi2gw8dq314ayx6f6m-qrencode-4.1.1", oci-nix-shell-conf.json> "/nix/store/qcg4680bkx4hz523pppb8jxyla880q3j-shared-mime-info-2.4", oci-nix-shell-conf.json> "/nix/store/s9g027wh7cvcnq47vhkd5bssnwlqnny0-sqlite-3.45.1", oci-nix-shell-conf.json> "/nix/store/75z00k9y509iiyx1yyd2a0bs806vg1ky-tpm2-tss-4.0.1", oci-nix-shell-conf.json> "/nix/store/7qnp47ijvn3kqqfad2yv0faawb3akivg-util-linux-minimal-2.39.3-login", oci-nix-shell-conf.json> "/nix/store/q3kq90k17mayivjwpwjwgm7rf87y84qm-util-linux-minimal-2.39.3-mount", oci-nix-shell-conf.json> "/nix/store/90gld7mskh3crj4z3q1s9zi570nlrjgs-util-linux-minimal-2.39.3-swap", oci-nix-shell-conf.json> "/nix/store/h9lc1dpi14z7is86ffhl3ld569138595-audit-tmpdir.sh", oci-nix-shell-conf.json> "/nix/store/ll16pmvigp32d8wka451jh7l18h0dcgi-boehm-gc-8.2.4-dev", oci-nix-shell-conf.json> "/nix/store/81jlxhj0xvw2441xna07mlycvj52iz0x-check", oci-nix-shell-conf.json> "/nix/store/sb5sax45x1y9a7sj1v3qgmy8kqfvddkk-cleanup", oci-nix-shell-conf.json> "/nix/store/m54bmrhj6fqz8nds5zcj97w9s9bckc9v-compress-man-pages.sh", oci-nix-shell-conf.json> "/nix/store/a0abh546l9zbx6wf12m8ncwgngvw55y8-file-5.45", oci-nix-shell-conf.json> "/nix/store/n2lgzbb7gcy48br83cyzbm3f1k3jkip9-gawk-5.2.2", oci-nix-shell-conf.json> "/nix/store/kvlhk0gpm2iz1asbw1xjac2ch0r8kyw9-gcc-wrapper-13.2.0", oci-nix-shell-conf.json> "/nix/store/vpnjryq35yw1mm7p3885nzkzbk6hzgf8-gettext-0.21.1", oci-nix-shell-conf.json> "/nix/store/19zx24xlq03ljfill0173a8fn046pvk8-gnumake-4.4.1", oci-nix-shell-conf.json> "/nix/store/d59286z92v74v9ym2ipw55bgrwyddv43-home-manager-files", oci-nix-shell-conf.json> "/nix/store/wd0plsii98v8cxazjiic9x9n3vhrfikm-home-manager-path", oci-nix-shell-conf.json> "/nix/store/1kql9l6sh9qwkfac720fl9a2d4lf78r3-jq-1.7.1-bin", oci-nix-shell-conf.json> "/nix/store/l1qrmrcaly4mpchcz5b8n42y2kl5lmap-link", oci-nix-shell-conf.json> "/nix/store/wgrbkkaldkrlrni33ccvm3b6vbxzb656-make-symlinks-relative.sh", oci-nix-shell-conf.json> "/nix/store/5yzw0vhkyszf2d179m0qfkgxmp5wjjx4-move-docs.sh", oci-nix-shell-conf.json> "/nix/store/fyaryjvghbkpfnsyw97hb3lyb37s1pd6-move-lib64.sh", oci-nix-shell-conf.json> "/nix/store/kd4xwxjpjxi71jkm6ka0np72if9rm3y0-move-sbin.sh", oci-nix-shell-conf.json> "/nix/store/pag6l61paj1dc9sv15l7bm5c17xn5kyk-move-systemd-user-units.sh", oci-nix-shell-conf.json> "/nix/store/jivxp510zxakaaic7qkrb7v1dd2rdbw9-multiple-outputs.sh", oci-nix-shell-conf.json> "/nix/store/cydbsmqkxk30didm1rlz8ffk5wfa9gva-nix-2.18.2", oci-nix-shell-conf.json> "/nix/store/v5bxv4dabg5zzpa9bnhrbb7klc9rdy99-nlohmann_json-3.11.3", oci-nix-shell-conf.json> "/nix/store/fd127i4i2bcswx22gqhvwdbapwj4jq5s-patch-2.7.6", oci-nix-shell-conf.json> "/nix/store/ilaf1w22bxi6jsi45alhmvvdgy4ly3zs-patch-shebangs.sh", oci-nix-shell-conf.json> "/nix/store/spiwhs9xa145l8qa5i51f1rcpkfd5jvq-patchelf-0.15.0", oci-nix-shell-conf.json> "/nix/store/cickvswrvann041nqxb0rxilc46svw1n-prune-libtool-files.sh", oci-nix-shell-conf.json> "/nix/store/xyff06pkhki3qy1ls77w10s0v79c9il0-reproducible-builds.sh", oci-nix-shell-conf.json> "/nix/store/ngg1cv31c8c7bcm2n8ww4g06nq7s4zhm-set-source-date-epoch-to-latest.sh", oci-nix-shell-conf.json> "/nix/store/wmknncrif06fqxa16hpdldhixk95nds0-strip.sh", oci-nix-shell-conf.json> "/nix/store/3np3qw5y5xarl4hxbhk9vj2d5kmgqsir-systemd-255.2", oci-nix-shell-conf.json> "/nix/store/nljhp4w0cl0aqrg6xvw9p01cm5qkikpg-systemd-activate.sh", oci-nix-shell-conf.json> "/nix/store/4xwfmpljvazd1zbp9f179i33n1acq0cy-update-autotools-gnu-config-scripts-hook", oci-nix-shell-conf.json> "/nix/store/dg53bjks9q9bccfljzj869aknqj8lcj8-group", oci-nix-shell-conf.json> "/nix/store/rnxji3jf6fb0nx2v0svdqpj9ml53gyqh-hello-2.12.1", oci-nix-shell-conf.json> "/nix/store/43vww4hqmypkxj3crcw70pqm1lmg2dpi-home-manager-generation", oci-nix-shell-conf.json> "/nix/store/crg277a2q85zgsz2599d3x0nmz9vf709-nix-2.18.2-dev", oci-nix-shell-conf.json> "/nix/store/0h67l5nk0fzmw321fxyyswn5pp2hdyvc-nix-shell-rc", oci-nix-shell-conf.json> "/nix/store/rl43g47sf8h4p8cjbxi62bhbj6bz0vfl-nss-cacert-3.98", oci-nix-shell-conf.json> "/nix/store/6gmmifddf6c9i51bwvas4iypmhn4is25-nsswitch.conf", oci-nix-shell-conf.json> "/nix/store/bn090qq4l1ps4k2p274fdv06v85djpkv-passwd", oci-nix-shell-conf.json> "/nix/store/c8dj731bkcdzhgrpawhc8qvdgls4xfjv-stdenv-linux" oci-nix-shell-conf.json> ] oci-nix-shell-conf.json> ], oci-nix-shell-conf.json> "customisation_layer": "/nix/store/w0fhz2bypq518ad4n1bkckz5y77pcss0-oci-nix-shell-customisation-layer", oci-nix-shell-conf.json> "repo_tag": "oci-nix-shell:latest", oci-nix-shell-conf.json> "created": "1970-01-01T00:00:01+00:00", oci-nix-shell-conf.json> "uid": "0", oci-nix-shell-conf.json> "gid": "0", oci-nix-shell-conf.json> "uname": "root", oci-nix-shell-conf.json> "gname": "root" oci-nix-shell-conf.json> } ~/C/c/devs-profile > add-oci-images +92 -100 [!↑] ❯ nix build .#oci-nix-shell -L --impure^C 192.168.2.188 | 4s673ms | ❄ ❯ ./result | docker load No 'fromImage' provided Creating layer 1 from paths: ['/nix/store/77yhmwrwism02371kzyda4d127kdwdnf-libunistring-1.1'] Creating layer 2 from paths: ['/nix/store/n9sq1bvghs9z0qg6cmwg27y4jmszwgqi-libidn2-2.3.7'] Creating layer 3 from paths: ['/nix/store/3sxwxqzkkrgpgaibkm27ggb9kjbzdy31-xgcc-13.2.0-libgcc'] Creating layer 4 from paths: ['/nix/store/1rm6sr6ixxzipv5358x0cmaw8rs84g2j-glibc-2.38-44'] Creating layer 5 from paths: ['/nix/store/7nmrrad8skxr47f9hfl3xc0pfqmwq51b-openssl-3.0.13'] Creating layer 6 from paths: ['/nix/store/c6l9badak7sp1sl2vhny57hfnfv07in2-aws-c-common-0.9.10'] Creating layer 7 from paths: ['/nix/store/6k373ff6rgylb9w6l2qlagb5xdv0fcsf-gcc-13.2.0-libgcc'] Creating layer 8 from paths: ['/nix/store/agp6lqznayysqvqkx4k1ggr8n1rsyi8c-gcc-13.2.0-lib'] Creating layer 9 from paths: ['/nix/store/9q68k1q0baqph134mi2c3mag5v6fa98j-aws-c-cal-0.6.10'] Creating layer 10 from paths: ['/nix/store/yymknbfs51dv9wddas60flynpczyb14l-s2n-tls-1.4.6'] Creating layer 11 from paths: ['/nix/store/5lr5n3qa4day8l1ivbwlcby2nknczqkq-bash-5.2p26'] Creating layer 12 from paths: ['/nix/store/zbaajn0dk65kwvrcglhli1j4xx4vhvvj-zlib-1.3.1'] Creating layer 13 from paths: ['/nix/store/9v67dgmg1r9sb92h4c0drh35j2z5cnv4-attr-2.5.2'] Creating layer 14 from paths: ['/nix/store/n50hsxw4z8y04pa9hdb6wpacdv16xgfz-aws-c-io-0.13.36'] Creating layer 15 from paths: ['/nix/store/iz251c49qmnm0fjnxaxrrq7lxqy8aaiy-aws-c-compression-0.2.18'] Creating layer 16 from paths: ['/nix/store/kq60cqfd2kb7mr6mlbbqbb8li7bkznrb-acl-2.3.2'] Creating layer 17 from paths: ['/nix/store/cbg7fz3cd0jbh79fpi72h0zwvvqgjzpd-zstd-1.5.5'] Creating layer 18 from paths: ['/nix/store/5pyacja52fxmx0k1b27c44nl40v82gbk-gmp-with-cxx-6.3.0'] Creating layer 19 from paths: ['/nix/store/7w57k6i6h2166ggppih6jnkp6abnyn3b-aws-c-http-0.7.14'] Creating layer 20 from paths: ['/nix/store/65h1sjgjajn326djk4y6n2vidh20d8zh-keyutils-1.6.3-lib'] Creating layer 21 from paths: ['/nix/store/0xlln0w88b6xhlszr4qm78jfcis33i8h-publicsuffix-list-0-unstable-2024-01-07'] Creating layer 22 from paths: ['/nix/store/fi63jgmvn2wv35iyqhkz0x7q4n583d5k-aws-c-sdkutils-0.1.12'] Creating layer 23 from paths: ['/nix/store/q3wiyzfhghb8spcsb1hcqcnsvgn57226-pcre2-10.43'] Creating layer 24 from paths: ['/nix/store/0cgs7y6qfn64wvj1wk37zadniq2dqkg4-brotli-1.1.0-lib'] Creating layer 25 from paths: ['/nix/store/43dnc4h7x0p8ybaq38aaxkhy722kzrx2-coreutils-9.4'] Creating layer 26 from paths: ['/nix/store/yyqzw7xvsrn3h2zrvincbs1b291yzx8c-xz-5.6.1'] Creating layer 27 from paths: ['/nix/store/9x51r0c2ramc6p9rrcqgl35rqhfvcb64-libkrb5-1.21.2'] Creating layer 28 from paths: ['/nix/store/k70k9x394f47dsm55hzxffbgbz0sciyl-libpsl-0.21.5'] Creating layer 29 from paths: ['/nix/store/x8nbl7jdymzrk8jwv7c7b744r87b0qcs-libssh2-1.11.0'] Creating layer 30 from paths: ['/nix/store/1n8dg5f4435qm73m4b9m0479igx7iq7l-ncurses-6.4'] Creating layer 31 from paths: ['/nix/store/v2aswwg4mshc14236hv0ni3r7k2vn0p9-nghttp2-1.60.0-lib'] Creating layer 32 from paths: ['/nix/store/vbqr5kdjaahds9wr29iz798j3bjv3dqv-aws-checksums-0.1.18'] Creating layer 33 from paths: ['/nix/store/vwrm7xc2fha9imwzyz4xm5cvdm45l8m6-bzip2-1.0.8'] Creating layer 34 from paths: ['/nix/store/x5brjfprnjinb71nm7fvagsp133h3wxn-curl-8.6.0'] Creating layer 35 from paths: ['/nix/store/ak8fchpv6xkkz59blbj6i0yvyddmh2sv-util-linux-minimal-2.39.3-lib'] Creating layer 36 from paths: ['/nix/store/2c7mmv7ygmna4qmx6z16d75zzd4rrbv1-aws-c-auth-0.7.10'] Creating layer 37 from paths: ['/nix/store/nk45h8dy9zlx4d0b9ghf5xnj9pypyqgh-gnugrep-3.11'] Creating layer 38 from paths: ['/nix/store/2ksh88m9fnnmj8xn5a2a0z2q9vakbjpj-glibc-2.38-44-bin'] Creating layer 39 from paths: ['/nix/store/04qi91bvjwn9s0p23wqy2gjnmshk6h11-gmp-6.3.0'] Creating layer 40 from paths: ['/nix/store/wb7d5iw5f08qbm6p72pz1mdd4qgcb7gs-libffi-3.4.6'] Creating layer 41 from paths: ['/nix/store/zvb6aqqivjvgf34981fk7qldm1nv74dh-readline-8.2p10'] Creating layer 42 from paths: ['/nix/store/bhfwvw0h09nvkaj4vr2pcrfm9i758c54-gmp-with-cxx-6.3.0'] Creating layer 43 from paths: ['/nix/store/1km29gfwqdi1n5xw0vjr6zx75q9frvbr-libgpg-error-1.48'] Creating layer 44 from paths: ['/nix/store/4lmqbzw96a6n07a6mx11n2dffsan60vx-libcap-2.69-lib'] Creating layer 45 from paths: ['/nix/store/kp31zcpazmiawg1n7xspnsp86x9rhmhf-libxcrypt-4.4.36'] Creating layer 46 from paths: ['/nix/store/zb3gzfab3v2q5bib8chihr2k885zj1n4-linux-headers-6.7'] Creating layer 47 from paths: ['/nix/store/dwxz2p17xwmivwl55qkfji1dp2qd2846-gzip-1.13'] Creating layer 48 from paths: ['/nix/store/f5hd5l5xfzn4cyizadkhr9wmlg3qcq2v-libtasn1-4.19.0'] Creating layer 49 from paths: ['/nix/store/y9p605m57g0np393rmf2wpm7yjan0jnn-audit-3.1.2'] Creating layer 50 from paths: ['/nix/store/yhhks8bs588z5baiy4aml3hg89cw46w5-aws-c-event-stream-0.3.2'] Creating layer 51 from paths: ['/nix/store/z2yjhf13h2jrvwc1anqhgls37rm1mycz-aws-c-mqtt-0.9.10'] Creating layer 52 from paths: ['/nix/store/j25lj0982bvbgw1c6ghnjz1gi4fxhlzb-aws-c-s3-0.4.0'] Creating layer 53 from paths: ['/nix/store/41l3q7yi1ab5s1830k2pi023s5c5vhrl-bash-interactive-5.2p26'] Creating layer 54 from paths: ['/nix/store/4kp0p52a1cx34vl097mi72d0rczrr6bm-hm-modules-messages'] Creating layer 55 from paths: ['/nix/store/zhrjg6wxrxmdlpn6iapzpp2z2vylpvw5-home-manager.sh'] Creating layer 56 from paths: ['/nix/store/1j15np3j991f3sgpgbw30hgb5pwqz9h9-libmnl-1.0.5'] Creating layer 57 from paths: ['/nix/store/6wfv81r4danww91b2p3i7i46l7n1lcs1-libxml2-2.12.5'] Creating layer 58 from paths: ['/nix/store/48fg1lbh6hfv5gd6gp7qppbym3fi3lyz-db-4.8.30'] Creating layer 59 from paths: ['/nix/store/6jk1d1m5j9d8gjyq79zqlgqqs9j3gcwn-glibc-2.38-44-dev'] Creating layer 60 from paths: ['/nix/store/0jh79bkd9wfzxih1ci476b71x1b5jclc-glibc-locales-2.38-44'] Creating layer 61 from paths: ['/nix/store/hpzgps0yqfjyfkiwl69za687zrp7bb61-nettle-3.9.1'] Creating layer 62 from paths: ['/nix/store/f64g1pahb9x41b0bh9l3zaxd7av5p6lj-systemd-minimal-libs-255.2'] Creating layer 63 from paths: ['/nix/store/4mpdci50vmgrvy1581i4ng5h82vam74c-zstd-1.5.5-bin'] Creating layer 64 from paths: ['/nix/store/q5ggwzjigzwqy4vjd6gvbs9jh4z33mrb-bzip2-1.0.8-bin'] Creating layer 65 from paths: ['/nix/store/v6x3cs394jgqfbi0a42pam708flxaphh-default-builder.sh'] Creating layer 66 from paths: ['/nix/store/1mykacpn4ahwl6p0dbp1bzbwnin41cad-json-c-0.17'] Creating layer 67 from paths: ['/nix/store/m5g3j7a7nknfi7qizb3384zz6hq79dpy-libevent-2.1.12'] Creating layer 68 from paths: ['/nix/store/pn62xq0p7qgc0p2zksbf1qk97j9bjy7d-libnfnetlink-1.0.2'] Creating layer 69 from paths: ['/nix/store/8z7xdywm2bryk2hq9iwdzbywlar9kq53-libseccomp-2.5.5-lib'] Creating layer 70 from paths: ['/nix/store/w5x48fqsx3lvgx7s2i5mx5s901w5d7p0-mpfr-4.2.1'] Creating layer 71 from paths: ['/nix/store/szyc35hzgw0d176gii99ykjpq6xziark-p11-kit-0.25.3'] Creating layer 72 from paths: ['/nix/store/2zvi5q6fvrmznavnqgzc947wssilv9vy-xz-5.6.1-bin'] Creating layer 73 from paths: ['/nix/store/v4lf9sva5wn9wnwj83p0sh1r4r033k26-aws-crt-cpp-0.24.7'] Creating layer 74 from paths: ['/nix/store/k9479b5zabc5ncvb3dmvk2jpqq4avjs0-binutils-2.41-lib'] Creating layer 75 from paths: ['/nix/store/j7wbld5zvy0q8xs3426621a0a67w2vqd-boehm-gc-8.2.4'] Creating layer 76 from paths: ['/nix/store/kmsqwvfmqfwvhb0bzs7yhsq8h02pcy6k-dns-root-data-2023-11-27'] Creating layer 77 from paths: ['/nix/store/s2d4y6k2lanq8v8vg3skaxhmdflv12px-elfutils-0.190'] Creating layer 78 from paths: ['/nix/store/n0k7d16gi7mj7bwwm1vlrvhcd1bs3qcd-expand-response-params'] Creating layer 79 from paths: ['/nix/store/n40cmp7fqdx66pfxpwqxmgq9card3dma-gnutar-1.35'] Creating layer 80 from paths: ['/nix/store/mkjcg99qf8fdgik2jvy958hqigwbnm29-libgcrypt-1.10.3'] Creating layer 81 from paths: ['/nix/store/2df2qz3fizxws260d33fn6q2m7wwpy4i-libnl-3.8.0'] Creating layer 82 from paths: ['/nix/store/7kg0x3izdnvannkxjjr0kn9rb47dl1xj-libselinux-3.6'] Creating layer 83 from paths: ['/nix/store/ma1pk2a0s8cklv1pgpjb54wwc70cg532-linux-pam-1.6.0'] Creating layer 84 from paths: ['/nix/store/xp62w63dqjzcs7vgysr6dxwdrar00kzl-oniguruma-6.9.9-lib'] Creating layer 85 from paths: ['/nix/store/37pn6j1hzs56phgknnb9lxdwlsdp7vn4-unbound-1.19.2-lib'] Creating layer 86 from paths: ['/nix/store/j2y057vz3i19yh4zjsan1s3q256q15rd-binutils-2.41'] Creating layer 87 from paths: ['/nix/store/inrn3746nyqxblbs7vjl0zw1mwl81lvv-cracklib-2.9.11'] Creating layer 88 from paths: ['/nix/store/61vziizgxaqzd1myqdw0maq8yw5k5z5a-db-5.3.28'] Creating layer 89 from paths: ['/nix/store/y6lacwx4602ah1nafpm7jfm5bwlafhg4-diffutils-3.10'] Creating layer 90 from paths: ['/nix/store/6xyv6b1l5zvzd23scbim221rxkcp8g9w-findutils-4.9.0'] Creating layer 91 from paths: ['/nix/store/gkkabfk5kccd5j8fm1hlrb71pmpcbw1p-glib-2.78.4'] Creating layer 92 from paths: ['/nix/store/088jnrpd2d6vqzyddm07x6wjfgjgmv2d-glibc-2.38-44-getent'] Creating layer 93 from paths: ['/nix/store/kqb7yncgd6a17nlgbixhcvcwync0nqg0-gnused-4.9'] Creating layer 94 from paths: ['/nix/store/z65607h741rpf7yl6n7j40dw338kx4n4-gnutls-3.8.3'] Creating layer 95 from paths: ['/nix/store/lhrclmbrjw5cbfmvxsf6c1rd33wyki9m-groff-1.23.0'] Creating layer 96 from paths: ['/nix/store/vrj0g16ci387zm1sapqh764qqjf85hk0-isl-0.20'] Creating layer 97 from paths: ['/nix/store/fkljgzz0wb4v6b28yg13khqm1j49irs1-libargon2-20190702'] Creating layer 98 from paths: ['/nix/store/dz8kqn2m2ggwrhg7q6dlwjh0ksm377c7-libassuan-2.5.7'] Creating layer 99 from paths: ['/nix/store/csblc1g7ihhw4vpdjzn8r7b9mfnsqnk1-libcbor-0.11.0', '/nix/store/dw1k0g9b40x79258qc7gy5sx6m2kd8w2-libmpc-1.3.1', '/nix/store/8z079nvap5nlfaql3ramaa3xm99sdghn-libnetfilter_conntrack-1.0.9', '/nix/store/kixlbwzg34q79mjcn4gi2ck9zcdsiznv-libnftnl-1.2.6', '/nix/store/dp5iln04a4853fff71l01l7hchw2zfz6-libpcap-1.10.4', '/nix/store/w2dg133x82qqkyv821nv7dzddygifr09-libpipeline-1.5.7', '/nix/store/7innzshr03x2xjzyap9qv5x76acwhf7s-lvm2-2.03.23-lib', '/nix/store/fdvj4gmm22asa3glllr5izly0kgihq6h-npth-1.7', '/nix/store/m1a5hyjq46fybcc9zi3bq65jqnrhy597-pcsclite-2.0.3-lib', '/nix/store/fahykydvq1dfxdkr30vhydz4kd4xc4d7-aws-sdk-cpp-1.11.207', '/nix/store/5ac6jr3asky426rc5qaxrf3wkhzpw1cm-binutils-wrapper-2.41', '/nix/store/d8031v3v453byx248g7qdvryyxbi13kc-buildDerivation', '/nix/store/j7d9731ymq5p64srjc4668s5rr07k5gb-busybox-static-x86_64-unknown-linux-musl-1.36.1', '/nix/store/z9kgcx5b8kkv0cf9dssikmm3zdmcfi8p-cryptsetup-2.7.0', '/nix/store/900m2vcva703m9vwnip1fbl0fpwwq722-ed-1.20.1', '/nix/store/d28086h303yxmanj11i2myfmbw0pmfrp-editline-1.17.1', '/nix/store/rqga421d43q40blrrgmiw820p01a4nba-gcc-13.2.0', '/nix/store/qbnwj17dgd29hy985yfina8swr08zfsk-getent-glibc-2.38-44', '/nix/store/8dqbwvzppprxjy98ryh30zrbjhh7g25k-gnu-config-2023-09-19', '/nix/store/580wjhskbaxl81qhx7vdj9n7d078czdk-gnupg-2.4.4', '/nix/store/w15dnap0ljmmq7l5ff546g6cj435fq0k-hm-session-vars.sh', '/nix/store/djvgjszyd0p3m6qm56wfp46y2jbhcpsv-hm_build.cache.keep', '/nix/store/wgia7h89z6lx1q8qf0k0z2300d730v9v-hm_environment.d10homemanager.conf', '/nix/store/8wz1vh3pwcndcjzdmlymvvi2b89ir055-home-configuration-reference-manpage', '/nix/store/7jjp1dr68yfpm3sbmd5rq75cm6cz1vsi-iptables-1.8.10', '/nix/store/bgvg4yihsf8dgwk2g4mfi7k3gfsfxv4c-jq-1.7.1', '/nix/store/53fg9kn3ry6m71p1c7ghaci6zygisxfz-jq-1.7.1-doc', '/nix/store/qaggw36kdv2n7k6rivii9ylr8205yaqz-jq-1.7.1-lib', '/nix/store/dy82v8zpcrmkjhlxrq42jccjvnf8ljvr-jq-1.7.1-man', '/nix/store/vzc06av6dpq778wy9m8h31c0dbhan7sn-kbd-2.6.4', '/nix/store/pzxcfmkaaq8a9ijwfzk7yhyjbqsdlmbc-kexec-tools-2.0.26', '/nix/store/0v0wrr6ngh9d487lhwicwr5z61kz40zw-kmod-31', '/nix/store/b4hxc9cg3700ac8p50gcj6hrcp17f9c3-kmod-31-lib', '/nix/store/7zcz79akgwx4mws9gvh0k945h585pk5i-libapparmor-3.1.7', '/nix/store/plxvn2qhfa298rvwnazflvf1a8can4ih-libarchive-3.7.2-lib', '/nix/store/hwamkk1467ymc6rywr953yvyvwv2kip2-libbpf-1.3.0', '/nix/store/caqi6ddn448cc611ws6zz3gv2yhdnpwp-libcpuid-0.6.4', '/nix/store/vibdfy6xyw92127dizaanbh15pm9d2ss-libfido2-1.14.0', '/nix/store/1bba12pdgp27mjv2jbnmdjay8rq6ia6g-libmicrohttpd-0.9.77', '/nix/store/yr8wy29z3vbr4grp2pfcpaw8fgbrr189-libpwquality-1.4.5-lib', '/nix/store/1rj3qz0jhx6ljks9ayy8mmwyypqdzp4z-libsodium-1.0.19', '/nix/store/5mm269blx1zrsjz2smhw037c22lgvwbm-lowdown-1.1.0-lib', '/nix/store/sj8gp2vhjfx2zcjzia7n7qk83w6nvsxb-lz4-1.9.4', '/nix/store/0h52zkyqhw9qc7i847mzi7jh0qpq75qs-man-db-2.12.0', '/nix/store/61msb6wz589zf9qkk98n952s136yzj7w-nix-2.18.2-man', '/nix/store/7hvfg00g01qrflfi2gw8dq314ayx6f6m-qrencode-4.1.1', '/nix/store/qcg4680bkx4hz523pppb8jxyla880q3j-shared-mime-info-2.4', '/nix/store/s9g027wh7cvcnq47vhkd5bssnwlqnny0-sqlite-3.45.1', '/nix/store/75z00k9y509iiyx1yyd2a0bs806vg1ky-tpm2-tss-4.0.1', '/nix/store/7qnp47ijvn3kqqfad2yv0faawb3akivg-util-linux-minimal-2.39.3-login', '/nix/store/q3kq90k17mayivjwpwjwgm7rf87y84qm-util-linux-minimal-2.39.3-mount', '/nix/store/90gld7mskh3crj4z3q1s9zi570nlrjgs-util-linux-minimal-2.39.3-swap', '/nix/store/h9lc1dpi14z7is86ffhl3ld569138595-audit-tmpdir.sh', '/nix/store/ll16pmvigp32d8wka451jh7l18h0dcgi-boehm-gc-8.2.4-dev', '/nix/store/81jlxhj0xvw2441xna07mlycvj52iz0x-check', '/nix/store/sb5sax45x1y9a7sj1v3qgmy8kqfvddkk-cleanup', '/nix/store/m54bmrhj6fqz8nds5zcj97w9s9bckc9v-compress-man-pages.sh', '/nix/store/a0abh546l9zbx6wf12m8ncwgngvw55y8-file-5.45', '/nix/store/n2lgzbb7gcy48br83cyzbm3f1k3jkip9-gawk-5.2.2', '/nix/store/kvlhk0gpm2iz1asbw1xjac2ch0r8kyw9-gcc-wrapper-13.2.0', '/nix/store/vpnjryq35yw1mm7p3885nzkzbk6hzgf8-gettext-0.21.1', '/nix/store/19zx24xlq03ljfill0173a8fn046pvk8-gnumake-4.4.1', '/nix/store/d59286z92v74v9ym2ipw55bgrwyddv43-home-manager-files', '/nix/store/wd0plsii98v8cxazjiic9x9n3vhrfikm-home-manager-path', '/nix/store/1kql9l6sh9qwkfac720fl9a2d4lf78r3-jq-1.7.1-bin', '/nix/store/l1qrmrcaly4mpchcz5b8n42y2kl5lmap-link', '/nix/store/wgrbkkaldkrlrni33ccvm3b6vbxzb656-make-symlinks-relative.sh', '/nix/store/5yzw0vhkyszf2d179m0qfkgxmp5wjjx4-move-docs.sh', '/nix/store/fyaryjvghbkpfnsyw97hb3lyb37s1pd6-move-lib64.sh', '/nix/store/kd4xwxjpjxi71jkm6ka0np72if9rm3y0-move-sbin.sh', '/nix/store/pag6l61paj1dc9sv15l7bm5c17xn5kyk-move-systemd-user-units.sh', '/nix/store/jivxp510zxakaaic7qkrb7v1dd2rdbw9-multiple-outputs.sh', '/nix/store/cydbsmqkxk30didm1rlz8ffk5wfa9gva-nix-2.18.2', '/nix/store/v5bxv4dabg5zzpa9bnhrbb7klc9rdy99-nlohmann_json-3.11.3', '/nix/store/fd127i4i2bcswx22gqhvwdbapwj4jq5s-patch-2.7.6', '/nix/store/ilaf1w22bxi6jsi45alhmvvdgy4ly3zs-patch-shebangs.sh', '/nix/store/spiwhs9xa145l8qa5i51f1rcpkfd5jvq-patchelf-0.15.0', '/nix/store/cickvswrvann041nqxb0rxilc46svw1n-prune-libtool-files.sh', '/nix/store/xyff06pkhki3qy1ls77w10s0v79c9il0-reproducible-builds.sh', '/nix/store/ngg1cv31c8c7bcm2n8ww4g06nq7s4zhm-set-source-date-epoch-to-latest.sh', '/nix/store/wmknncrif06fqxa16hpdldhixk95nds0-strip.sh', '/nix/store/3np3qw5y5xarl4hxbhk9vj2d5kmgqsir-systemd-255.2', '/nix/store/nljhp4w0cl0aqrg6xvw9p01cm5qkikpg-systemd-activate.sh', '/nix/store/4xwfmpljvazd1zbp9f179i33n1acq0cy-update-autotools-gnu-config-scripts-hook', '/nix/store/dg53bjks9q9bccfljzj869aknqj8lcj8-group', '/nix/store/rnxji3jf6fb0nx2v0svdqpj9ml53gyqh-hello-2.12.1', '/nix/store/43vww4hqmypkxj3crcw70pqm1lmg2dpi-home-manager-generation', '/nix/store/crg277a2q85zgsz2599d3x0nmz9vf709-nix-2.18.2-dev', '/nix/store/0h67l5nk0fzmw321fxyyswn5pp2hdyvc-nix-shell-rc', '/nix/store/rl43g47sf8h4p8cjbxi62bhbj6bz0vfl-nss-cacert-3.98', '/nix/store/6gmmifddf6c9i51bwvas4iypmhn4is25-nsswitch.conf', '/nix/store/bn090qq4l1ps4k2p274fdv06v85djpkv-passwd', '/nix/store/c8dj731bkcdzhgrpawhc8qvdgls4xfjv-stdenv-linux'] Creating layer 100 with customisation... Adding manifests... Done. Loaded image: oci-nix-shell ❯ docker run -it oci-nix-shell:latest Starting Home Manager activation Activating checkFilesChanged Activating checkLinkTargets Activating writeBoundary Activating installPackages installing 'home-manager-path' don't know how to build these paths: /nix/store/wd0plsii98v8cxazjiic9x9n3vhrfikm-home-manager-path error: path '/nix/store/wd0plsii98v8cxazjiic9x9n3vhrfikm-home-manager-path' does not exist and cannot be created Oops, Nix failed to install your new Home Manager profile! Perhaps there is a conflict with a package that was installed using "nix-env -i"? Try running nix-env -q and if there is a conflicting package you can remove it with nix-env -e {package name} Then try activating your Home Manager configuration again. [nix-shell:~]$ ```

I don't know if the method I'm using to build such an OCI container is the best method, feel free to suggest better method to do so.

nixos-discourse commented 6 months ago

This issue has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/convert-nixos-configuration-into-an-image/15576/6

drupol commented 6 months ago

Today I made another attempt with this:

```nix { description = "A Nix flake for development environments using Nix and Home Manager"; inputs = { nixpkgs.url = "github:/nixos/nixpkgs/nixpkgs-unstable"; home-manager.url = "github:nix-community/home-manager"; home-manager.inputs.nixpkgs.follows = "nixpkgs"; systems.url = "github:nix-systems/default"; }; outputs = inputs@{ self, nixpkgs, home-manager, ... }: { packages.x86_64-linux.oci-with-hm = let nonRootUser = "admin"; nonRootUserId = "1000"; pkgs = import inputs.nixpkgs { }; profile = inputs.home-manager.lib.homeManagerConfiguration { inherit pkgs; modules = [ ( { config, ... }: { home.stateVersion = "23.11"; home.username = nonRootUser; home.homeDirectory = "/home/${nonRootUser}"; # @See https://discourse.nixos.org/t/make-home-manager-not-use-nix-env-i-for-packages/18016 # home.activation.installPackages = { # data = lib.mkForce ""; # before = lib.mkForce [ ]; # after = lib.mkForce [ ]; # }; # home.file.nix-profile = { # source = config.home.path; # target = ".nix-profile"; # }; } ) ]; }; in pkgs.dockerTools.buildImage { name = "oci-with-hm"; tag = "latest"; copyToRoot = [ pkgs.coreutils pkgs.dockerTools.binSh pkgs.cacert pkgs.nixFlakes pkgs.shadow profile.activation-script ]; extraCommands = '' # make sure /tmp exists chmod 1777 tmp ''; runAsRoot = '' ${pkgs.dockerTools.shadowSetup} groupadd --gid ${nonRootUserId} ${nonRootUser} useradd --uid ${nonRootUserId} --gid ${nonRootUserId} ${nonRootUser} mkdir -p /home/${nonRootUser} chown -R ${nonRootUser}:${nonRootUser} /home/${nonRootUser} echo "Activation script: ${profile.activation-script}/activate" ''; config = { Cmd = [ "fish" ]; User = nonRootUser; WorkingDir = "/home/${nonRootUser}"; Env = [ "USER=${nonRootUser}" ]; }; }; }; } ```

And when I try to run the activate script in the container:

admin@73baae165978 ~> /nix/store/whl6bybnbyfmdd2lxxbf44h4fs8fp2yd-home-manager-generation/activate 
Starting Home Manager activation
warning: '/nix/var/nix' does not exist, so Nix will use '/home/admin/.local/share/nix/root' as a chroot store
Activating checkFilesChanged
Activating checkLinkTargets
Activating writeBoundary
Activating installPackages
installing 'home-manager-path'
don't know how to build these paths:
  /nix/store/shszch1r8skskjf8qxk4lga4qlyh7p54-home-manager-path
error: path '/nix/store/shszch1r8skskjf8qxk4lga4qlyh7p54-home-manager-path' does not exist and cannot be created

Oops, Nix failed to install your new Home Manager profile!

Perhaps there is a conflict with a package that was installed using
"nix-env -i"? Try running

    nix-env -q

and if there is a conflicting package you can remove it with

    nix-env -e {package name}

Then try activating your Home Manager configuration again.
admin@73baae165978 ~ [1]> 

Then I found this thread, thinking that nix-env might be the issue: https://discourse.nixos.org/t/make-home-manager-not-use-nix-env-i-for-packages/18016

I also tried it, without luck.

I'm honestly running out of ideas, and curious to know/learn why it is simply not possible to install in a container.

stale[bot] commented 3 months ago

Thank you for your contribution! I marked this issue as stale due to inactivity. Please be considerate of people watching this issue and receiving notifications before commenting 'I have this issue too'. We welcome additional information that will help resolve this issue. Please read the relevant sections below before commenting.

If you are the original author of the issue

* If this is resolved, please consider closing it so that the maintainers know not to focus on this. * If this might still be an issue, but you are not interested in promoting its resolution, please consider closing it while encouraging others to take over and reopen an issue if they care enough. * If you know how to solve the issue, please consider submitting a Pull Request that addresses this issue.

If you are not the original author of the issue

* If you are also experiencing this issue, please add details of your situation to help with the debugging process. * If you know how to solve the issue, please consider submitting a Pull Request that addresses this issue.

Memorandum on closing issues

Don't be afraid to manually close an issue, even if it holds valuable information. Closed issues stay in the system for people to search, read, cross-reference, or even reopen – nothing is lost! Closing obsolete issues is an important way to help maintainers focus their time and effort.

cameronraysmith commented 3 months ago

@drupol I believe you can find an example that covers the case you describe in https://github.com/cameronraysmith/nixpod. There, images are built on a modified version of https://github.com/NixOS/nix/blob/2.23.3/docker.nix that supports adding multiple users. These images include the s6 init system but do not yet use it to manage the nix daemon.

In particular, a home-manager configuration is activated in each of the images where /activate is executed (e.g. https://github.com/cameronraysmith/nixpod/blob/v0.4.10/flake.nix#L354). Please feel free to submit an issue there if there is a better proposal for doing this.

Also note that example should not be used in any security-sensitive context. Indeed, it represents the epitome of insecurity.

stale[bot] commented 6 days ago

Thank you for your contribution! I marked this issue as stale due to inactivity. Please be considerate of people watching this issue and receiving notifications before commenting 'I have this issue too'. We welcome additional information that will help resolve this issue. Please read the relevant sections below before commenting.

If you are the original author of the issue

* If this is resolved, please consider closing it so that the maintainers know not to focus on this. * If this might still be an issue, but you are not interested in promoting its resolution, please consider closing it while encouraging others to take over and reopen an issue if they care enough. * If you know how to solve the issue, please consider submitting a Pull Request that addresses this issue.

If you are not the original author of the issue

* If you are also experiencing this issue, please add details of your situation to help with the debugging process. * If you know how to solve the issue, please consider submitting a Pull Request that addresses this issue.

Memorandum on closing issues

Don't be afraid to manually close an issue, even if it holds valuable information. Closed issues stay in the system for people to search, read, cross-reference, or even reopen – nothing is lost! Closing obsolete issues is an important way to help maintainers focus their time and effort.