Post 9vJP6MvzFmIfaFereC by steph@iscute.moe
 (DIR) More posts by steph@iscute.moe
 (DIR) Post #9vJOaBx4YCm4Ftp3rc by pea@fuckonthefirst.date
       2020-05-22T17:37:12.124057Z
       
       0 likes, 0 repeats
       
       okay that's really weird! the docker images that dockerTools in nix builds, link to the system's external nix store read-onlyi feel like that's a little dumb tbh
       
 (DIR) Post #9vJOuA2tLb1k8S4BoO by steph@iscute.moe
       2020-05-22T17:37:45.490337Z
       
       0 likes, 0 repeats
       
       @pea uhh, it doesn't copy the nix store into the container??
       
 (DIR) Post #9vJOuAlueD2WO588zA by pea@fuckonthefirst.date
       2020-05-22T17:40:44.945193Z
       
       0 likes, 0 repeats
       
       @steph nah! that's what I expected it would do too!
       
 (DIR) Post #9vJP6MvzFmIfaFereC by steph@iscute.moe
       2020-05-22T17:41:20.797460Z
       
       0 likes, 0 repeats
       
       @pea how the heck do they work then?? they're just not portable??
       
 (DIR) Post #9vJP6NWr2hn5QauJ72 by pea@fuckonthefirst.date
       2020-05-22T17:42:54.882947Z
       
       0 likes, 0 repeats
       
       @steph well, by nature as a derivation they'll work on any system with nix installedbecause you just install the derivation and everything it depends on in the external store is a dependency of the derivationthey're just not intended to be used outside of nix I suppose2020-05-22_13-41.png
       
 (DIR) Post #9vJPNWVAw140BDITZo by steph@iscute.moe
       2020-05-22T17:45:53.849130Z
       
       1 likes, 0 repeats
       
       @pea oh... I read that nix would just export you a standard docker container unrelated to a given derivation
       
 (DIR) Post #9vJPPtHnC8hfQHAMcq by pea@fuckonthefirst.date
       2020-05-22T17:46:32.181652Z
       
       0 likes, 0 repeats
       
       @steph yeah, I wish. It's kind of a shame it's the way it is, I had been thinking of using it to generate docker builds for my projects that could be shared
       
 (DIR) Post #9vJQy585lceFxGUpW4 by raboof@quey.org
       2020-05-22T18:03:39Z
       
       1 likes, 0 repeats
       
       @pea I hoped we could have 1 docker layer per nix store path, but then I read about the 125-layer limit in https://grahamc.com/blog/nix-and-layered-docker-images . So sad.
       
 (DIR) Post #9vJRKsJzYMkMtLvmjo by pea@fuckonthefirst.date
       2020-05-22T18:07:53.427949Z
       
       0 likes, 0 repeats
       
       @raboof I actually managed to open this exact same blog post twice by opening the link then thinking “hey, what about that project that uses nix to generate docker images” navigating to google/nixery, and scrolling down to click on a link to the exact same article for additional reading