| 5 Jul 2021 |
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 |
| 7 Jul 2021 |
| * Krey created https://github.com/NixOS/nixpkgs/issues/129502
help wanted | 06:22:56 |
pamplemousse | I very recently came accross https://github.com/NixOS/nix/pull/3160, and it seems that it would critically simplify my struggle to build fuzz targets (binaries - and their required libs - with different instrumentation)!
(As briefly mentioned here: https://discourse.nixos.org/t/tweag-fellowship-fuzzing-nix-1/13904#integration-with-the-existing-build-process-11 , I am trying to do this using the make mechanics already present, and no solution I have so far are both working and self-sufficient - does not require to run a script to work - let alone being elegant...)
Does it still have some support, interest? | 22:15:01 |
| 8 Jul 2021 |
Las | Is Nickel in the future going to replace Nix somehow? I was wondering about using Rust in Nix, but remembered that Nickel is written in Rust, but Nickel doesn't seem to be compatible with Nix syntax. | 15:03:35 |