!OqhvaDMJdKYUicLDiE:nixos.org

Nixpkgs Stdenv

229 Members
74 Servers

Load older messages


SenderMessageTime
7 Dec 2022
@artturin:matrix.orgArtturinbefore that the variables did not have to be exported19:02:54
@artturin:matrix.orgArtturini think19:03:27
@artturin:matrix.orgArtturin
$ 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:matrix.orgArtturin *
$ 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:matrix.orgArtturin Robert Hensing (roberth): Rick (Mindavi)
i undrafted https://github.com/NixOS/nixpkgs/pull/175649
00:05:12
@artturin:matrix.orgArtturinthere's useful prior art in https://github.com/NixOS/nixpkgs/compare/structured-attrs for any future PRs00:59:25
@artturin:matrix.orgArtturinhttps://gist.github.com/GrahamcOfBorg/8f677e11a810eeef79d69be89ec0c2fb02:16:36
@artturin:matrix.orgArtturin
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:matrix.orgArtturin
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:matrix.orgArtturindoes not contain a type = derivation02:18:03
@artturin:matrix.orgArtturin on linux it does 02:19:56
@artturin:matrix.orgArtturin * https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/darwin/default.nix#L26502:20:06
@artturin:matrix.orgArtturin binutils-unwrapped = { name = "bootstrap-stage0-binutils"; outPath = bootstrapTools; }; 02:20:19
@artturin:matrix.orgArtturinlinux https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/linux/default.nix#L17902:21:28
@artturin:matrix.orgArtturindone in https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/linux/default.nix#L17902:23:17
@artturin:matrix.orgArtturin * done in https://github.com/nixos/nixpkgs/commit/768aae66efcb50672f0ed728f218f18348193e2702:23:24
@artturin:matrix.orgArtturinhttps://github.com/NixOS/nixpkgs/pull/175649/commits/7939e734af127d8d36add1c5e22fd555b15f975002:32:09
@artturin:matrix.orgArtturin
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:matrix.orgArtturinhttps://github.com/NixOS/nixpkgs/pull/175649/commits/d437fe5edfae31ab61cea995446d31b9cefb8ea403:02:30
@sandro:supersandro.deSandro 🐧those links are already dead14:50:03
10 Dec 2022
@artturin:matrix.orgArtturindid anyone who subscribed to https://github.com/NixOS/nixpkgs/pull/17564902:40:42
@artturin:matrix.orgArtturinget email notifications of my comment that contains Rendered02:40:59
@artturin:matrix.orgArtturingithub is bugging..02:41:09
@artturin:matrix.orgArtturinremoved 2 of my comments02:41:20
@artturin:matrix.orgArtturinand unresolved some reviews02:41:37
@artturin:matrix.orgArtturin

and is sending ofborg bad data...

ofborg-eval — Commit not found

02:41:56
@artturin:matrix.orgArtturinits back now :|02:47:42
@artturin:matrix.orgArtturin * they're back now :|02:47:49
@sandro:supersandro.deSandro 🐧
In reply to @artturin:matrix.org
get email notifications of my comment that contains Rendered
yes
17:30:46
11 Dec 2022
@artturin:matrix.orgArtturinhttps://github.com/NixOS/nixpkgs/pull/20562311:07:21

Show newer messages


Back to Room ListRoom Version: 9