| 4 Jul 2021 |
Krey | (part of file imported in configuration.nix) | 10:46:48 |
balsoft | I don't think this is the right chat | 16:02:43 |
| 5 Jul 2021 |
manveru | TIL that nix print-dev-env breaks if you have an env variable with an @ inside of it in your devShell | 08:13:57 |
manveru | { outputs = { nixpkgs, ... }: { devShell.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.mkShell { FOO = "@"; }; }; } | 08:21:25 |
manveru | this seems like a regression, having @ as an env var value in nix-shell is fine | 08:40:55 |
manveru | well, i verified that it's a bug in nix itself | 08:52:16 |
manveru | {
outputs = { nixpkgs, ... }: {
devShell.x86_64-linux = derivation {
name = "test";
builder = "${nixpkgs.legacyPackages.x86_64-linux.bash}/bin/bash";
args = [
(builtins.toFile "builder" ''
set -exuo pipefail
echo hier
echo hi > $out
'')
];
outputs = [ "out" ];
system = "x86_64-linux";
FOO = "@";
};
};
}
| 08:52:21 |
manveru | this fails as well, so it doesn't rely on stdenv or mkShell | 08:52:32 |
balsoft | I remember there being a similar issue with " | 08:52:40 |
balsoft | It broke nix develop for some packages | 08:52:47 |
manveru | https://github.com/NixOS/nix/blob/master/src/nix/develop.cc#L241 | 08:58:55 |
manveru | i think that's the issue... | 08:59:00 |
manveru | somehow that env var should have a quoted attribute that is set wrong | 09:00:20 |
manveru | \ is also broken, it gets escaped as '\' | 09:11:44 |
manveru | % doesn't get escaped either... | 09:12:50 |
manveru | fun stuff :) | 09:12:56 |
manveru | hmm | 09:19:16 |
manveru | i think https://github.com/NixOS/nix/blob/master/src/nix/develop.cc#L60 might be wrong | 09:19:33 |
manveru | the double quote should be inside the second match, not the first... | 09:20:09 |
manveru | let's give that a try | 09:20:15 |
manveru | well, that was a wrong assumption, but i have a fix anyway :) | 09:59:08 |
manveru | https://github.com/NixOS/nix/pull/4983 | 10:10:02 |
Regnat | niksnut John Ericson I’ll have to skip today’s meeting, have a conflicting appointment | 12:59:54 |
niksnut | In reply to @theophane:hufschmitt.net niksnut John Ericson I’ll have to skip today’s meeting, have a conflicting appointment Let's skip this week then | 13:59:38 |
John Ericson | Oh good I lucked out, because we had a Monday holiday I forgot it mention | 15:41:54 |
| spacesbot - keeps a log of public NixOS channels joined the room. | 18:43:11 |
| spacesbot - keeps a log of public NixOS channels | 19:00:02 |
| 6 Jul 2021 |
manveru | has anyone managed to do nix flake build offline within a nixos test? | 10:06:47 |
| nurelin joined the room. | 11:42:15 |
| spacesbot - keeps a log of public NixOS channels changed their display name from spacesbot to spacesbot - keeps a log of public NixOS channels. | 22:11:38 |