!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

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

Load older messages


SenderMessageTime
7 Jun 2024
@puck:puck.moepuck i mean, if you want to, you can just add __json as an attribute to a drv and do the same 21:52:41
@jade_:matrix.orgjade_ is that how we store those? holy fucik 21:52:58
@jade_:matrix.orgjade_ * is that how we store those? holy fuck 21:53:02
@jade_:matrix.orgjade_just shove some json string in there? ???21:53:13
@puck:puck.moepuck yup. structuredAttrs is stored by just creating a big ass-__json environment variable 21:53:15
@jade_:matrix.orgjade_we should not expose such internals O_o21:53:21
@jade_:matrix.orgjade_you should not be allowed to dump __json in from nixlang21:53:46
@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
@jade_:matrix.orgjade_image.png
Download image.png
07:08:59
@jade_:matrix.orgjade_ok this is pretty satisfying ^_^07:09:08
@jade_:matrix.orgjade_container image: not only way less busted in re layering, also way smaller07:09:27
@delroth:delroth.netdelrothis there already a hydra fork somewhere which builds with Lix? (or does it build without changes? I doubt so)13:46:59
@delroth:delroth.netdelrothdidn't find one in the lix-project forgejo org13:47:13
@akechishiro:matrix.orgAkechiShiro joined the room.14:17:12
@delroth:delroth.netdelrothhttps://gerrit.lix.systems/c/lix/+/1418 I got annoyed at not being able to just use Lix as a flake with a recent nixpkgs version, please flame me if you think this shouldn't be done before Lix 2.90 is tagged :p15:02:04
@aprl:uwu.isaprl
In reply to @delroth:delroth.net
is there already a hydra fork somewhere which builds with Lix? (or does it build without changes? I doubt so)
hot take: dropping Hydra and rebuilding a new Lix based CI from scratch
15:04:47
@k900:0upti.meK900Can you get that done by next week? :)15:05:18
@aprl:uwu.isaprl
In reply to @k900:0upti.me
Can you get that done by next week? :)
by next week, within one week, whats the challenge here exactly?
15:05:47

Show newer messages


Back to Room ListRoom Version: 10