!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

907 Members
For people hacking on the Nix package manager itself191 Servers

Load older messages


SenderMessageTime
5 Jul 2021
@manveru:matrix.orgmanveruwell, i verified that it's a bug in nix itself08:52:16
@manveru:matrix.orgmanveru
{
  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:matrix.orgmanveruthis fails as well, so it doesn't rely on stdenv or mkShell08:52:32
@balsoft:balsoft.rubalsoft I remember there being a similar issue with " 08:52:40
@balsoft:balsoft.rubalsoft It broke nix develop for some packages 08:52:47
@manveru:matrix.orgmanveruhttps://github.com/NixOS/nix/blob/master/src/nix/develop.cc#L24108:58:55
@manveru:matrix.orgmanverui think that's the issue...08:59:00
@manveru:matrix.orgmanverusomehow that env var should have a quoted attribute that is set wrong09:00:20
@manveru:matrix.orgmanveru \ is also broken, it gets escaped as '\' 09:11:44
@manveru:matrix.orgmanveru % doesn't get escaped either... 09:12:50
@manveru:matrix.orgmanverufun stuff :)09:12:56
@manveru:matrix.orgmanveruhmm09:19:16
@manveru:matrix.orgmanverui think https://github.com/NixOS/nix/blob/master/src/nix/develop.cc#L60 might be wrong09:19:33
@manveru:matrix.orgmanveruthe double quote should be inside the second match, not the first...09:20:09
@manveru:matrix.orgmanverulet's give that a try09:20:15
@manveru:matrix.orgmanveruwell, that was a wrong assumption, but i have a fix anyway :)09:59:08
@manveru:matrix.orgmanveruhttps://github.com/NixOS/nix/pull/498310:10:02
@theophane:hufschmitt.netRegnat niksnut John Ericson I’ll have to skip today’s meeting, have a conflicting appointment 12:59:54
@niksnut:matrix.orgniksnut
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
@Ericson2314:matrix.orgJohn EricsonOh good I lucked out, because we had a Monday holiday I forgot it mention15:41:54
@spacesbot:nixos.devspacesbot - keeps a log of public NixOS channels joined the room.18:43:11
@spacesbot:nixos.devspacesbot - keeps a log of public NixOS channels 19:00:02
6 Jul 2021
@manveru:matrix.orgmanveruhas anyone managed to do nix flake build offline within a nixos test?10:06:47
@nurelin:matrix.orgnurelin joined the room.11:42:15
@spacesbot:nixos.devspacesbot - 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:matrix.orgKrey created https://github.com/NixOS/nixpkgs/issues/129502 help wanted06:22:56
@pamplemouss_:matrix.orgpamplemousseI 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:matrix.orgLasIs 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
@pamplemouss_:matrix.orgpamplemousse
In reply to @Las:matrix.org
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.

Seems like it.

Nickel is an evolution of the Nix language, while trying to overcome some of its limitations.

https://github.com/tweag/nickel#use-cases

Dunno when (or even how) the transition will happen though ^^

16:21:28
@Las:matrix.orgLasThat's what I'm wondering because it's incompatible with Nix synax16:21:51

Show newer messages


Back to Room ListRoom Version: 6