| 27 May 2023 |
| NixOS Moderation Botchanged room power levels. | 16:41:02 |
j-k | minimal-bootstrap: I reworked one of my previous attempts to support multiple commits & rewrote the fetcher in python for concurrency, nice flags, and easier handling of datastructures such as JSON
https://github.com/NixOS/nixpkgs/pull/234468 | 17:36:00 |
| 2 Jun 2023 |
| ckie (they/them) changed their display name from ckie (they/them; limited keyboard usage, voice preferred) to ckie (they/them). | 22:17:49 |
| 4 Jun 2023 |
| Federico Damián Schonborn changed their profile picture. | 17:40:23 |
| 6 Jun 2023 |
| vcunat changed their display name from Vladimír Čunát to @vcunat. | 17:21:06 |
| 13 Jun 2023 |
| Federico Damián Schonborn changed their profile picture. | 20:55:41 |
| 15 Jun 2023 |
| ribosomerocker joined the room. | 16:40:09 |
| 17 Jun 2023 |
| Jan Tojnar joined the room. | 19:43:16 |
| 27 Jun 2023 |
trofi | Signal-boosting linuxHeaders update to 6.4: https://github.com/NixOS/nixpkgs/pull/240013 | 18:56:04 |
| 30 Jun 2023 |
Artturin | something is wrong with substituteAll in bootPackages | 16:05:24 |
Artturin | $ nix build --impure --expr "with import ./. { config = { structuredAttrsByDefault = true; }; }; stdenv.__bootPackages.stdenv.__bootPackages.stdenv.__bootPackages.stdenv.__bootPackages.stdenv.__bootPackages.stdenv.__bootPackages.libxcrypt"
this derivation will be built:
/nix/store/994qfy50ylyafndz12zh8zq1a73gi5ll-libxcrypt-4.4.35.drv
building '/nix/store/994qfy50ylyafndz12zh8zq1a73gi5ll-libxcrypt-4.4.35.drv'...
libxcrypt> structuredAttrs is enabled
libxcrypt> unpacking sources
libxcrypt> unpacking source archive /nix/store/spzw99ag9wq184zd9il0n66937m30dzl-libxcrypt-4.4.35.tar.xz
libxcrypt> source root is libxcrypt-4.4.35
libxcrypt> setting SOURCE_DATE_EPOCH to timestamp 1686071870 of file libxcrypt-4.4.35/config.h.in
libxcrypt> patching sources
libxcrypt> updateAutotoolsGnuConfigScriptsPhase
libxcrypt> Updating Autotools / GNU config script to a newer upstream version: ./build-aux/m4-autogen/config.sub
libxcrypt> cp: cannot stat '@gnu_config@/config.sub': No such file or directory
| 16:05:27 |
Artturin | that failure was exposed by https://github.com/NixOS/nixpkgs/pull/237968 | 16:05:39 |
Artturin | $ nix path-info -r --impure --expr "with import ./. { config = { structuredAttrsByDefault = true; }; }; stdenv.__bootPackages.stdenv.__bootPackages.stdenv.__bootPackages.stdenv.__bootPackages.stdenv.__bootPackages.stdenv.__bootPackages.libxcrypt" --derivation
/nix/store/00qr10y7z2fcvrp9b2m46710nkjvj55z-update-autotools-gnu-config-scripts.sh
/nix/store/2195bmvj8zqjj8kfc61r4iwc9llpwnfh-cc-wrapper.sh
...
| 16:06:18 |
Artturin | /nix/store/2195bmvj8zqjj8kfc61r4iwc9llpwnfh-cc-wrapper.sh contains unsubstituted variables
if [[ -n "@coreutils_bin@" && -n "@gnugrep_bin@" ]]; then
PATH="@coreutils_bin@/bin:@gnugrep_bin@/bin"
fi
source @out@/nix-support/utils.bash
| 16:06:42 |
Artturin | In reply to @artturin:matrix.org
/nix/store/2195bmvj8zqjj8kfc61r4iwc9llpwnfh-cc-wrapper.sh contains unsubstituted variables
if [[ -n "@coreutils_bin@" && -n "@gnugrep_bin@" ]]; then
PATH="@coreutils_bin@/bin:@gnugrep_bin@/bin"
fi
source @out@/nix-support/utils.bash
oops this is just the unsubstituted file | 16:16:56 |
Artturin | In reply to @artturin:matrix.org
/nix/store/2195bmvj8zqjj8kfc61r4iwc9llpwnfh-cc-wrapper.sh contains unsubstituted variables
if [[ -n "@coreutils_bin@" && -n "@gnugrep_bin@" ]]; then
PATH="@coreutils_bin@/bin:@gnugrep_bin@/bin"
fi
source @out@/nix-support/utils.bash
* oops this is just the file before substitution | 16:17:07 |
Artturin | nix build --impure --expr "with import ./. { config = { structuredAttrsByDefault = true; }; }; stdenv.__bootPackages.stdenv.__bootPackages.stdenv.__bootPackages.stdenv.__bootPackages.stdenv.__bootPackages.stdenv.__bootPackages.updateAutotoolsGnuConfigScriptsHook" | 16:23:13 |
Artturin | * nix build --impure --expr "with import ./. { config = { structuredAttrsByDefault = true; }; }; stdenv.__bootPackages.stdenv.__bootPackages.stdenv.__bootPackages.stdenv.__bootPackages.stdenv.__bootPackages.stdenv.__bootPackages.updateAutotoolsGnuConfigScriptsHook"
| 16:23:22 |
Artturin | * nix build --impure --expr "with import ./. { config = { structuredAttrsByDefault = true; }; }; stdenv.__bootPackages.stdenv.__bootPackages.stdenv.__bootPackages.stdenv.__bootPackages.stdenv.__bootPackages.stdenv.__bootPackages.updateAutotoolsGnuConfigScriptsHook" | 16:23:28 |
Artturin | ok good the issue is not actually that complicated since it happens in nix build --impure --expr "with import ./. { }; updateAutotoolsGnuConfigScriptsHook.overrideAttrs (_: { __structuredAttrs = true; })" too, so it's just a issue of substitutions not being in env attrset | 16:35:25 |
Artturin | https://github.com/NixOS/nixpkgs/pull/240759 | 17:01:52 |
Artturin | https://github.com/NixOS/nixpkgs/pull/239005 | 20:28:17 |
| 2 Jul 2023 |
Yureka (she/her) | Is the minimal bootstrap stuff in a shape that one could try it? I would really like to get it working on aarch64-unknown-linux-musl some time because the stdenv for that is currently a broken mess because there was no process to update the bootstrap tarballs. | 08:17:37 |
emilytrau | Yureka (she/her): it's not usable as a stdenv yet. We're working our way from-the-bottom-up. Right now we are at gcc2 fully built from source! | 08:19:11 |
Yureka (she/her) | gcc2 as in GCC version 2.x? | 08:19:46 |
emilytrau | ayeaye. and only i686-linux is supported for now, at least till the next mes release | 08:20:33 |
Yureka (she/her) | I see | 08:20:39 |
Yureka (she/her) | Thanks! | 08:20:41 |
emilytrau | if you'd still like to play around with it you can try nix-build --system i686-linux . -A minimal-bootstrap.gcc2 from PR #241001's branch (unstable is broken atm) | 08:23:58 |
trofi | Re bootstrap tools update: doesn't $ nix build -f make-bootstrap-tools-cross.nix aarch64-musl just build a new tarball for you? | 09:07:56 |