!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

442 Members
(Technical) development of Lix, the package manager, a Nix implementation. Please be mindful of ongoing technical conversations in this channel.146 Servers

Load older messages


SenderMessageTime
7 Jun 2024
@puck:puck.moepuck
nix-repl> runCommandNoCC "meow" { __structuredAttrs = true; } "meow"
«derivation /nix/store/3isnlphfrgws22950l9i2hciq1a2j8vb-meow.drv»

puckipedia@marisa ~> nix --extra-experimental-features nix-command derivation show /nix/store/3isnlphfrgws22950l9i2hciq1a2j8vb-meow.drv | jq '."/nix/store/3isnlphfrgws22950l9i2hciq1a2j8vb-meow.drv".env.__json'
"{\"buildCommand\":\"meow\",\"buildInputs\":[],\"builder\":\"/nix/store/h3bhzvz9ipglcybbcvkxvm4vg9lwvqg4-bash-5.2p26/bin/bash\",\"cmakeFlags\":[],[..],\"propagatedBuildInputs\":[],\"propagatedNativeBuildInputs\":[],\"stdenv\":\"/nix/store/lgam1kdqv5fbkwwcs7msjj9a2a5s5i4h-stdenv-linux\",\"strictDeps\":false,\"system\":\"x86_64-linux\"}"
21:54:23
@puck:puck.moepuck
In reply to @jade_:matrix.org
you should not be allowed to dump __json in from nixlang
consider, though: you can create a .drv that compiles differently in post-structuredAttrs and pre-structuredAttrs nix
21:56:41
@puck:puck.moepuckwhat do you mean "noone runs pre-2.0 nix"21:57:18
@puck:puck.moepuck * what do you mean "noone runs pre-2.0 nix" 21:57:20
@lily:lily.flowersLily Foster
In reply to @puck:puck.moe
yup. structuredAttrs is stored by just creating a big ass-__json environment variable
(i see what you did with the hyphen there)
22:23:11
@lily:lily.flowersLily Foster (https://xkcd.com/37/) 22:23:59
@qyriad:katesiria.orgQyriadOh wow that's an old one23:06:25
8 Jun 2024
@jade_:matrix.orgjade_haunted06:42:22
@jade_:matrix.orgjade_image.png
Download image.png
06:42:24
@jade_:matrix.orgjade_i believe that should be "impossible"06:42:35
@jade_:matrix.orgjade_why do we realise an output that already exists and not fail some kind of check?06:42:45
@jade_:matrix.orgjade_oh wait06:43:41
@jade_:matrix.orgjade_nvm06:43:43

There are no newer messages yet.


Back to Room ListRoom Version: 10