| 7 Dec 2022 |
Artturin | before that the variables did not have to be exported | 19:02:54 |
Artturin | i think | 19:03:27 |
Artturin | $ export hello="1"
$ hello1="2"
$ awk 'BEGIN { for (v in ENVIRON) if (v ~ /^[a-z][a-zA-Z0-9_]*$/) print v }'
hello
skip_global_compinit
$ hello2="3" awk 'BEGIN { for (v in ENVIRON) if (v ~ /^[a-z][a-zA-Z0-9_]*$/) print v }'
hello2
hello
skip_global_compinit
| 19:07:14 |
Artturin | * $ export hello="1"
$ hello1="2"
$ awk 'BEGIN { for (v in ENVIRON) if (v ~ /^[a-z][a-zA-Z0-9_]*$/) print v }'
hello
$ hello2="3" awk 'BEGIN { for (v in ENVIRON) if (v ~ /^[a-z][a-zA-Z0-9_]*$/) print v }'
hello2
hello
| 19:07:35 |
| 8 Dec 2022 |
Artturin | Robert Hensing (roberth): Rick (Mindavi) i undrafted https://github.com/NixOS/nixpkgs/pull/175649 | 00:05:12 |
Artturin | there's useful prior art in https://github.com/NixOS/nixpkgs/compare/structured-attrs for any future PRs | 00:59:25 |
Artturin | https://gist.github.com/GrahamcOfBorg/8f677e11a810eeef79d69be89ec0c2fb | 02:16:36 |
Artturin | diff --git a/pkgs/build-support/bintools-wrapper/default.nix b/pkgs/build-support/bintools-wrapper/default.nix
index be2e3567da8..6945f5b0720 100644
--- a/pkgs/build-support/bintools-wrapper/default.nix
+++ b/pkgs/build-support/bintools-wrapper/default.nix
@@ -106,7 +106,7 @@ stdenv.mkDerivation {
outputs = [ "out" ] ++ optionals propagateDoc ([ "man" ] ++ optional (bintools ? info) "info");
passthru = {
- inherit targetPrefix suffixSalt;
+ inherit targetPrefix suffixSalt bintools_bin;
inherit bintools libc nativeTools nativeLibc nativePrefix;
emacsBufferSetup = pkgs: ''
@@ -366,7 +366,7 @@ stdenv.mkDerivation {
gnugrep_bin = if nativeTools then "" else gnugrep;
wrapperName = "BINTOOLS_WRAPPER";
inherit dynamicLinker targetPrefix suffixSalt coreutils_bin;
- inherit bintools_bin libc_bin libc_dev libc_lib;
+ inherit libc_bin libc_dev libc_lib;
};
meta =
| 02:17:14 |
Artturin | nix-repl> legacyPackages.x86_64-darwin.stdenv.__bootPackages.stdenv.__bootPackages.stdenv.__bootPackages.stdenv.cc.bintools.bintools_bin
{ name = "bootstrap-stage0-binutils"; outPath = «derivation /nix/store/wn8fif83s2lwxl8n4s7916c3pj8lli6l-bootstrap-tools.drv»; }
| 02:17:27 |
Artturin | does not contain a type = derivation | 02:18:03 |
Artturin | on linux it does | 02:19:56 |
Artturin | * https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/darwin/default.nix#L265 | 02:20:06 |
Artturin | binutils-unwrapped = { name = "bootstrap-stage0-binutils"; outPath = bootstrapTools; }; | 02:20:19 |
Artturin | linux https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/linux/default.nix#L179 | 02:21:28 |
Artturin | done in https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/linux/default.nix#L179 | 02:23:17 |
Artturin | * done in https://github.com/nixos/nixpkgs/commit/768aae66efcb50672f0ed728f218f18348193e27 | 02:23:24 |
Artturin | https://github.com/NixOS/nixpkgs/pull/175649/commits/7939e734af127d8d36add1c5e22fd555b15f9750 | 02:32:09 |
Artturin | nix-repl> legacyPackages.x86_64-linux.fastStdenv
error: The ‘env’ attribute set cannot contain any attributes passed to derivation. The following attributes are overlapping: cc
«derivation
| 02:54:56 |
Artturin | https://github.com/NixOS/nixpkgs/pull/175649/commits/d437fe5edfae31ab61cea995446d31b9cefb8ea4 | 03:02:30 |
Sandro 🐧 | those links are already dead | 14:50:03 |
| 10 Dec 2022 |
Artturin | did anyone who subscribed to https://github.com/NixOS/nixpkgs/pull/175649 | 02:40:42 |
Artturin | get email notifications of my comment that contains Rendered | 02:40:59 |
Artturin | github is bugging.. | 02:41:09 |
Artturin | removed 2 of my comments | 02:41:20 |
Artturin | and unresolved some reviews | 02:41:37 |
Artturin | and is sending ofborg bad data...
ofborg-eval — Commit not found
| 02:41:56 |
Artturin | its back now :| | 02:47:42 |
Artturin | * they're back now :| | 02:47:49 |
Sandro 🐧 | In reply to @artturin:matrix.org get email notifications of my comment that contains Rendered yes | 17:30:46 |
| 11 Dec 2022 |
Artturin | https://github.com/NixOS/nixpkgs/pull/205623 | 11:07:21 |