Skip to content

Instantly share code, notes, and snippets.

@bzm3r
Last active December 7, 2023 08:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bzm3r/b19964122c4d3e87629ab59f3ff49321 to your computer and use it in GitHub Desktop.
Save bzm3r/b19964122c4d3e87629ab59f3ff49321 to your computer and use it in GitHub Desktop.
+++ dirname -- ./result/rust-shell
++ realpath -- ./result/recorded_env
+ ENV_SNAPSHOT=/nix/store/k7hw017q2q1jarcchhpjg2y10fkymv2f-rust-shell/recorded_env
+ source /nix/store/k7hw017q2q1jarcchhpjg2y10fkymv2f-rust-shell/recorded_env
++ declare -x AR=ar
++ declare -x AR_FOR_BUILD=ar
++ declare -x AS=as
++ declare -x AS_FOR_BUILD=as
++ declare -x CARGO_HOME=/home/bzm3r/.cargo_rust-shell
++ declare -x CC=clang
++ declare -x CC_FOR_BUILD=gcc
++ declare -x CONFIG_SHELL=/nix/store/q1c2flcykgr4wwg5a6h450hxbk4ch589-bash-5.2-p15/bin/bash
++ declare -x CXX=clang++
++ declare -x CXX_FOR_BUILD=g++
++ declare -x GZIP_NO_TIMESTAMPS=1
++ declare -x HOME=home/bzm3r
++ declare -x HOST_PATH=/nix/store/bvcy754fs6bkfamdf43cjyyskx99d9rx-compiler-rt-libc-16.0.6/bin:/nix/store/bblyj5b3ii8n6v4ra0nb37cmi3lf8rz9-coreutils-9.3/bin:/nix/store/l974pi8a5yqjrjlzmg6apk0jwjv81yqw-findutils-4.9.0/bin:/nix/store/8q25nyfirzsng6p57yp8hsaldqqbc7dg-diffutils-3.10/bin:/nix/store/9c5qm297qnvwcf7j0gm01qrslbiqz8rs-gnused-4.9/bin:/nix/store/rx2wig5yhpbwhnqxdy4z7qivj9ln7fab-gnugrep-3.11/bin:/nix/store/7wfya2k95zib8jl0jk5hnbn856sqcgfk-gawk-5.2.2/bin:/nix/store/xpidksbd07in3nd4sjx79ybwwy81b338-gnutar-1.35/bin:/nix/store/202iqv4bd7lh6f7fpy48p7q4d96lqdp7-gzip-1.13/bin:/nix/store/ik7jardq92dxw3fnz3vmlcgi9c8dwwdq-bzip2-1.0.8-bin/bin:/nix/store/v4iswb5kwj33l46dyh2zqh0nkxxlr3mz-gnumake-4.4.1/bin:/nix/store/q1c2flcykgr4wwg5a6h450hxbk4ch589-bash-5.2-p15/bin:/nix/store/cbj1ph7zi009m53hxs90idl1f5i9i941-patch-2.7.6/bin:/nix/store/76z4cjs7jj45ixk12yy6k5z2q2djk2jb-xz-5.4.4-bin/bin:/nix/store/qmfxld7qhk8qxlkx1cm4bkplg1gh6jgj-file-5.45/bin
++ declare -x LD=ld
++ declare -x LD_FOR_BUILD=ld
++ declare -x NIX_BINTOOLS=/nix/store/3p0ydklkzbsgx0s3akxnn5xc0wyickri-binutils-wrapper-2.40
++ declare -x NIX_BINTOOLS_FOR_BUILD=/nix/store/1alqjnr40dsk7cl15l5sn5y2zdxidc1v-binutils-wrapper-2.40
++ declare -x NIX_BINTOOLS_WRAPPER_TARGET_BUILD_x86_64_unknown_linux_gnu=1
++ declare -x NIX_BINTOOLS_WRAPPER_TARGET_HOST_x86_64_unknown_linux_gnu=1
++ declare -x NIX_BUILD_CORES=8
++ declare -x NIX_BUILD_TOP=/build
++ declare -x NIX_CC=/nix/store/w6jxdpxw9plp40lmjhaszc80kdk6ih9g-clang-wrapper-16.0.6
++ declare -x NIX_CC_FOR_BUILD=/nix/store/90h6k8ylkgn81k10190v5c9ldyjpzgl9-gcc-wrapper-12.3.0
++ declare -x NIX_CC_WRAPPER_TARGET_BUILD_x86_64_unknown_linux_gnu=1
++ declare -x NIX_CC_WRAPPER_TARGET_HOST_x86_64_unknown_linux_gnu=1
++ declare -x 'NIX_CFLAGS_COMPILE= -frandom-seed=k7hw017q2q -isystem /nix/store/5bm31xblwlnz4d9i30blwqyvhvhx6n9l-compiler-rt-libc-16.0.6-dev/include -isystem /nix/store/5bm31xblwlnz4d9i30blwqyvhvhx6n9l-compiler-rt-libc-16.0.6-dev/include -isystem /nix/store/5bm31xblwlnz4d9i30blwqyvhvhx6n9l-compiler-rt-libc-16.0.6-dev/include -isystem /nix/store/5bm31xblwlnz4d9i30blwqyvhvhx6n9l-compiler-rt-libc-16.0.6-dev/include'
++ declare -x 'NIX_CFLAGS_COMPILE_FOR_BUILD= -isystem /nix/store/5bm31xblwlnz4d9i30blwqyvhvhx6n9l-compiler-rt-libc-16.0.6-dev/include -isystem /nix/store/5bm31xblwlnz4d9i30blwqyvhvhx6n9l-compiler-rt-libc-16.0.6-dev/include -isystem /nix/store/5bm31xblwlnz4d9i30blwqyvhvhx6n9l-compiler-rt-libc-16.0.6-dev/include'
++ declare -x 'NIX_CFLAGS_LINK= -fuse-ld=mold'
++ declare -x NIX_ENFORCE_NO_NATIVE=1
++ declare -x NIX_ENFORCE_PURITY=1
++ declare -x 'NIX_HARDENING_ENABLE=fortify fortify3 stackprotector pic strictoverflow format relro bindnow'
++ declare -x 'NIX_LDFLAGS=-rpath /nix/store/k7hw017q2q1jarcchhpjg2y10fkymv2f-rust-shell/lib -L/nix/store/96wfbix332s8waqgg9snqirgm3vyszp2-rust-default-1.74.0/lib -L/nix/store/96wfbix332s8waqgg9snqirgm3vyszp2-rust-default-1.74.0/lib -L/nix/store/96wfbix332s8waqgg9snqirgm3vyszp2-rust-default-1.74.0/lib -L/nix/store/96wfbix332s8waqgg9snqirgm3vyszp2-rust-default-1.74.0/lib'
++ declare -x 'NIX_LDFLAGS_FOR_BUILD= -L/nix/store/96wfbix332s8waqgg9snqirgm3vyszp2-rust-default-1.74.0/lib -L/nix/store/96wfbix332s8waqgg9snqirgm3vyszp2-rust-default-1.74.0/lib -L/nix/store/96wfbix332s8waqgg9snqirgm3vyszp2-rust-default-1.74.0/lib'
++ declare -x NIX_LOG_FD=2
++ declare -x NIX_SSL_CERT_FILE=/no-cert-file.crt
++ declare -x NIX_STORE=/nix/store
++ declare -x NM=nm
++ declare -x NM_FOR_BUILD=nm
++ declare -x OBJCOPY=objcopy
++ declare -x OBJCOPY_FOR_BUILD=objcopy
++ declare -x OBJDUMP=objdump
++ declare -x OBJDUMP_FOR_BUILD=objdump
++ declare -x OLDPWD
++ declare -x PATH=/nix/store/90h6k8ylkgn81k10190v5c9ldyjpzgl9-gcc-wrapper-12.3.0/bin:/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/bin:/nix/store/cx01qk0qyylvkgisbwc7d3pk8sliccgh-glibc-2.38-27-bin/bin:/nix/store/bblyj5b3ii8n6v4ra0nb37cmi3lf8rz9-coreutils-9.3/bin:/nix/store/1alqjnr40dsk7cl15l5sn5y2zdxidc1v-binutils-wrapper-2.40/bin:/nix/store/1fn92b0783crypjcxvdv6ycmvi27by0j-binutils-2.40/bin:/nix/store/96wfbix332s8waqgg9snqirgm3vyszp2-rust-default-1.74.0/bin:/nix/store/4dbvlqbfipzbj3jgzc4mhvcnnhxkm8ki-sccache-0.7.4/bin:/nix/store/85jldj870vzcl72yz03labc93bwvqayx-patchelf-0.15.0/bin:/nix/store/w6jxdpxw9plp40lmjhaszc80kdk6ih9g-clang-wrapper-16.0.6/bin:/nix/store/5ql31bfsgynanf794wnl2wlbs23q7b8h-clang-16.0.6/bin:/nix/store/3p0ydklkzbsgx0s3akxnn5xc0wyickri-binutils-wrapper-2.40/bin:/nix/store/bvcy754fs6bkfamdf43cjyyskx99d9rx-compiler-rt-libc-16.0.6/bin:/nix/store/bblyj5b3ii8n6v4ra0nb37cmi3lf8rz9-coreutils-9.3/bin:/nix/store/l974pi8a5yqjrjlzmg6apk0jwjv81yqw-findutils-4.9.0/bin:/nix/store/8q25nyfirzsng6p57yp8hsaldqqbc7dg-diffutils-3.10/bin:/nix/store/9c5qm297qnvwcf7j0gm01qrslbiqz8rs-gnused-4.9/bin:/nix/store/rx2wig5yhpbwhnqxdy4z7qivj9ln7fab-gnugrep-3.11/bin:/nix/store/7wfya2k95zib8jl0jk5hnbn856sqcgfk-gawk-5.2.2/bin:/nix/store/xpidksbd07in3nd4sjx79ybwwy81b338-gnutar-1.35/bin:/nix/store/202iqv4bd7lh6f7fpy48p7q4d96lqdp7-gzip-1.13/bin:/nix/store/ik7jardq92dxw3fnz3vmlcgi9c8dwwdq-bzip2-1.0.8-bin/bin:/nix/store/v4iswb5kwj33l46dyh2zqh0nkxxlr3mz-gnumake-4.4.1/bin:/nix/store/q1c2flcykgr4wwg5a6h450hxbk4ch589-bash-5.2-p15/bin:/nix/store/cbj1ph7zi009m53hxs90idl1f5i9i941-patch-2.7.6/bin:/nix/store/76z4cjs7jj45ixk12yy6k5z2q2djk2jb-xz-5.4.4-bin/bin:/nix/store/qmfxld7qhk8qxlkx1cm4bkplg1gh6jgj-file-5.45/bin
++ declare -x PWD=/build
++ declare -x RANLIB=ranlib
++ declare -x RANLIB_FOR_BUILD=ranlib
++ declare -x READELF=readelf
++ declare -x READELF_FOR_BUILD=readelf
++ declare -x SCCACHE_DIR=/home/bzm3r/.sccache_rust-shell
++ declare -x SHELL=/nix/store/q1c2flcykgr4wwg5a6h450hxbk4ch589-bash-5.2-p15/bin/bash
++ declare -x SHLVL=1
++ declare -x SIZE=size
++ declare -x SIZE_FOR_BUILD=size
++ declare -x SOURCE_DATE_EPOCH=315532800
++ declare -x SSL_CERT_FILE=/no-cert-file.crt
++ declare -x STRINGS=strings
++ declare -x STRINGS_FOR_BUILD=strings
++ declare -x STRIP=strip
++ declare -x STRIP_FOR_BUILD=strip
++ declare -x TEMP=/build
++ declare -x TEMPDIR=/build
++ declare -x TERM=xterm-256color
++ declare -x TMP=/build
++ declare -x TMPDIR=/build
++ declare -x TZ=UTC
++ declare -x XDG_DATA_DIRS=/nix/store/96wfbix332s8waqgg9snqirgm3vyszp2-rust-default-1.74.0/share:/nix/store/85jldj870vzcl72yz03labc93bwvqayx-patchelf-0.15.0/share
++ declare -x __structuredAttrs=
++ declare -x buildInputs=
++ declare -x 'buildPhase=export >> recorded_env
cp /nix/store/xdb7iphf49xdixsak1iwxga7nrinzb3f-rust-shell rust-shell
'
++ declare -x builder=/nix/store/q1c2flcykgr4wwg5a6h450hxbk4ch589-bash-5.2-p15/bin/bash
++ declare -x cmakeFlags=
++ declare -x configureFlags=
++ declare -x depsBuildBuild=
++ declare -x depsBuildBuildPropagated=
++ declare -x depsBuildTarget=
++ declare -x depsBuildTargetPropagated=
++ declare -x depsHostHost=
++ declare -x depsHostHostPropagated=
++ declare -x depsTargetTarget=
++ declare -x depsTargetTargetPropagated=
++ declare -x doCheck=
++ declare -x doInstallCheck=
++ declare -x 'installPhase=runHook preInstall
mkdir $out
install -D --t $out recorded_env
install -m 755 --t $out rust-shell
runHook postInstall
'
++ declare -x mesonFlags=
++ declare -x name=rust-shell
++ declare -x 'nativeBuildInputs=/nix/store/96wfbix332s8waqgg9snqirgm3vyszp2-rust-default-1.74.0 /nix/store/4dbvlqbfipzbj3jgzc4mhvcnnhxkm8ki-sccache-0.7.4'
++ declare -x out=/nix/store/k7hw017q2q1jarcchhpjg2y10fkymv2f-rust-shell
++ declare -x outputs=out
++ declare -x patches=
++ declare -x 'phases=buildPhase installPhase'
++ declare -x preferLocalBuild=1
++ declare -x propagatedBuildInputs=
++ declare -x propagatedNativeBuildInputs=
++ declare -x shell=/nix/store/q1c2flcykgr4wwg5a6h450hxbk4ch589-bash-5.2-p15/bin/bash
++ declare -x stdenv=/nix/store/i5pnaifyzq1vks1hmwi9zlv7b2g3vv4k-stdenv-linux
++ declare -x strictDeps=
++ declare -x system=x86_64-linux
+ echo 'Creating CARGO_HOME at /home/bzm3r/.cargo_rust-shell'
Creating CARGO_HOME at /home/bzm3r/.cargo_rust-shell
++ realpath /home/bzm3r/.cargo_rust-shell
+ CARGO_HOME=/home/bzm3r/.cargo_rust-shell
+ export CARGO_HOME
+ mkdir /home/bzm3r/.cargo_rust-shell
mkdir: cannot create directory ‘/home/bzm3r/.cargo_rust-shell’: File exists
+ cp --remove-destination /home/bzm3r/.cargo_rust-shell /home/bzm3r/.cargo_rust-shell/config.toml
cp: -r not specified; omitting directory '/home/bzm3r/.cargo_rust-shell'
+ echo 'Creating SCCACHE_DIR at /home/bzm3r/.sccache_rust-shell'
Creating SCCACHE_DIR at /home/bzm3r/.sccache_rust-shell
++ realpath /home/bzm3r/.sccache_rust-shell
+ SCCACHE_DIR=/home/bzm3r/.sccache_rust-shell
+ mkdir /home/bzm3r/.sccache_rust-shell
mkdir: cannot create directory ‘/home/bzm3r/.sccache_rust-shell’: File exists
+ export SCCACHE_DIR
+ export DEFAULT_WORKSPACE=rust-shell
+ DEFAULT_WORKSPACE=rust-shell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment