!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

988 Members
For people hacking on the Nix package manager itself209 Servers

Load older messages


SenderMessageTime
16 Aug 2021
@mic92:nixos.devMic92I rather prefer not a sandbox so if I want to debug stuff.16:55:24
@fzakaria:matrix.orgfzakariaoh i see ccacheStdenv; i'll have to read up on that.16:58:09
@fzakaria:matrix.orgfzakaria(I haven't enabled nix develop yet.. i'm one of those people... lol)16:58:19
18 Aug 2021
@siraben:matrix.orgsiraben changed their display name from siraben to siraben (he/him).19:38:02
@abathur:matrix.orgabathur Someone in https://github.com/NixOS/nix/issues/5143 is trying to build/install nix on ChromeOS, just in case anyone can spare them the trouble or give them advice? 22:37:04
20 Aug 2021
@gytis-ivaskevicius:matrix.orgGytis IvaskeviciusI was wondering what is the reason for builtins.fetchGit / builtins.fetchTarball not returning a derivation?10:04:57
@Las:matrix.orgLas Gytis Ivaskevicius: you can builtins.readFile or import from them then 10:27:41
@gytis-ivaskevicius:matrix.orgGytis IvaskeviciusYeah, im aware10:28:04
@sternenseemann:systemli.orgsterni Gytis Ivaskevicius: because they are not derivations 10:28:09
@gytis-ivaskevicius:matrix.orgGytis IvaskeviciusYeah, obviously10:28:27
@sternenseemann:systemli.orgsternithey are fetched directly at eval time by the evaluator more or less10:28:33
@gytis-ivaskevicius:matrix.orgGytis Ivaskeviciusbut why arent they derivations10:28:34
@gytis-ivaskevicius:matrix.orgGytis IvaskeviciusWhats the exact "good practice" with these builtins?10:28:59
@sternenseemann:systemli.orgsterniwell the main use case for this is that it's a bit better than ifd for pulling in eval dependencies10:29:38
@gytis-ivaskevicius:matrix.orgGytis Ivaskeviciusis it fine just ignore our pkgs.fetchXyz and use these10:29:43
@sternenseemann:systemli.orgsterni so if you want to do import (fetchgit { … }) you may need to bootstrap git at eval time 10:29:55
@sternenseemann:systemli.orgsternialso fetchgit needs to come from somewhere10:30:09
@sternenseemann:systemli.orgsterniso this is needed for bootstrapping10:30:20
@gytis-ivaskevicius:matrix.orgGytis Ivaskevicius
In reply to @sternenseemann:systemli.org
well the main use case for this is that it's a bit better than ifd for pulling in eval dependencies
Is it better? I assume it does not block everything?
10:30:22
@sternenseemann:systemli.orgsterni of course it's better as you never need to build anything 10:30:51
@gytis-ivaskevicius:matrix.orgGytis Ivaskeviciusyeah but it does same old fetching. Result of that is more or less the same10:31:38
@gytis-ivaskevicius:matrix.orgGytis IvaskeviciusI guess what I am thinking of is "Why Nix cant do anything on its own" I feel like fetchign a tar and extracting is very much in line of what package manager should be capable of10:33:41
@sternenseemann:systemli.orgsterniin effect maybe, but the difference is quite significant how it works10:33:55
@gytis-ivaskevicius:matrix.orgGytis Ivaskeviciusyeah10:34:02
@sternenseemann:systemli.orgsterniit can fetchTarball on its own?10:34:07
@gytis-ivaskevicius:matrix.orgGytis IvaskeviciusThis function fetches it but it si not a derivation which (atleast from my point of view) implies that it is internal builtin and should be avoided for normal usecases10:39:03
@gytis-ivaskevicius:matrix.orgGytis Ivaskevicius * This function fetches it but it is not a derivation which (atleast from my point of view) implies that it is internal builtin and should be avoided for normal usecases10:39:20
@gytis-ivaskevicius:matrix.orgGytis IvaskeviciusDo you get what I mean?10:39:30
@gytis-ivaskevicius:matrix.orgGytis Ivaskevicius * This function fetches it but it is not a derivation which (atleast from my point of view) implies that it is internal builtin and should be strongly avoided for normal usecases10:40:11
@sternenseemann:systemli.orgsternithat is the wrong thinking, I'd say. It has some properties and should consequently be used for the appropriate use cases11:58:40

Show newer messages


Back to Room ListRoom Version: 6