!OqhvaDMJdKYUicLDiE:nixos.org

Nixpkgs Stdenv

232 Members
75 Servers

Load older messages


SenderMessageTime
27 May 2023
@mjolnir:nixos.orgNixOS Moderation Botchanged room power levels.16:41:02
@j-k:matrix.orgj-kminimal-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/23446817:36:00
2 Jun 2023
@ckie:ckie.devckie (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
@federicodschonborn:matrix.orgFederico Damián Schonborn changed their profile picture.17:40:23
6 Jun 2023
@vcunat:matrix.orgvcunat changed their display name from Vladimír Čunát to @vcunat.17:21:06
13 Jun 2023
@federicodschonborn:matrix.orgFederico Damián Schonborn changed their profile picture.20:55:41
15 Jun 2023
@mon:tchncs.deribosomerocker joined the room.16:40:09
17 Jun 2023
@jtojnar:matrix.orgJan Tojnar joined the room.19:43:16
27 Jun 2023
@trofi:matrix.orgtrofi Signal-boosting linuxHeaders update to 6.4: https://github.com/NixOS/nixpkgs/pull/240013 18:56:04
30 Jun 2023
@artturin:matrix.orgArtturinsomething is wrong with substituteAll in bootPackages16:05:24
@artturin:matrix.orgArtturin
$ 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:matrix.orgArtturinthat failure was exposed by https://github.com/NixOS/nixpkgs/pull/23796816:05:39
@artturin:matrix.orgArtturin
$ 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:matrix.orgArtturin

/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:matrix.orgArtturin
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:matrix.orgArtturin
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:matrix.orgArtturin 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:matrix.orgArtturin *
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:matrix.orgArtturin * 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:matrix.orgArtturin 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:matrix.orgArtturinhttps://github.com/NixOS/nixpkgs/pull/24075917:01:52
@artturin:matrix.orgArtturinhttps://github.com/NixOS/nixpkgs/pull/23900520:28:17
2 Jul 2023
@yuka:yuka.devYureka (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:matrix.orgemilytrau 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
@yuka:yuka.devYureka (she/her)gcc2 as in GCC version 2.x?08:19:46
@emilytrau:matrix.orgemilytrauayeaye. and only i686-linux is supported for now, at least till the next mes release08:20:33
@yuka:yuka.devYureka (she/her)I see08:20:39
@yuka:yuka.devYureka (she/her)Thanks!08:20:41
@emilytrau:matrix.orgemilytrau 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:matrix.orgtrofi 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

Show newer messages


Back to Room ListRoom Version: 9