worldofpeace_ changed the topic of #nixos-dev to: #nixos-dev NixOS Development (#nixos for questions) | NixOS stable: 20.03 ✨ https://discourse.nixos.org/t/nixos-20-03-release/6785 | https://hydra.nixos.org/jobset/nixos/trunk-combined https://channels.nix.gsc.io/graph.html | https://r13y.com | 19.09 RMs: disasm, sphalerite; 20.03: worldofpeace, disasm | https://logs.nix.samueldr.com/nixos-dev
phreedom has quit [Ping timeout: 240 seconds]
orivej has quit [Ping timeout: 256 seconds]
orivej_ has joined #nixos-dev
orivej_ has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-dev
alp has quit [Ping timeout: 272 seconds]
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #nixos-dev
<colemickens> How hard is changing /nix/store in nix? (re https://discourse.nixos.org/t/nix-var-nix-opt-nix-usr-local-nix/7101/60)
<colemickens> if someone were just trying to hack and see how quickly things break...
<gchristensen> it is a configuration at compilation time
<gchristensen> but that is just the beginning
<gchristensen> but I don't see changing it being a real thing
<colemickens> it's like meta-DK. I know there's a bunch I don't know, but I don't know just how much I don't know.
<cole-h> storedir=/dir/store and localstatedir=/dir/var are the most obvious ones
<cole-h> (See Makefile.config{,.in})
<colemickens> gchristensen: is there some other path that will allow me to evangelize nix, in good faith, to mac users?
<colemickens> or is the workaround not as bad as its made out to be?
<colemickens> thanks cole-h!
<cole-h> Step 1) Get hired at Apple. Step 2) Undo that pain-causing change. Step 3) Evangelize to Mac users.
<gchristensen> colemickens: the installer works on macos now, so not sure there needs to be anything bad faith
leungbk has quit [Ping timeout: 240 seconds]
<gchristensen> that said, macos as an attractive development platform seems to be waning
<gchristensen> I am anxious to see what happens with macos on arm. they declined(?) our request for a transition/development kit
ris has quit [Ping timeout: 272 seconds]
leungbk has joined #nixos-dev
<colemickens> I should've booted a VM to TIAS before making the comment I made. I sort of have a threshold and it had been triggered by seeing too many posts in various places complaining Mac+nix, and then that Discourse thread, but it seems like many (all?) of these types of posts pre-dated the fixed Nix version.
<gchristensen> yeah
<gchristensen> quite likely
<infinisil> How does the macos installer work now?
<gchristensen> it creates a volume automatically and adds it to the synthetic.conf file for mounting
<gchristensen> if filevault is enabled on any partition, it errors and asks the user to do that part
<colemickens> And there's a good point there about acomodating a platform that seems to have bigger, (arguably more hostile) changes coming. Thanks for the info re the installer working ok.
<cole-h> "ok" being the operative descriptor, there :P
<infinisil> gchristensen: Neat
<gchristensen> yeah :) abathur and LnL did really great work on that
<infinisil> Soo, looks like macos is working fine then? Or is there a problem with that installation?
<gchristensen> macos should be fine afaik
phreedom has joined #nixos-dev
<cole-h> I'd argue that manual intervention isn't ideal (e.g. needing to deal with filevault). But it's as good as it'll get, I believe.
<gchristensen> it is pretty complicated to get that right for all users in a bash script
<gchristensen> (a lot of things we could change about that sentence, but not on short notice)
<abathur> I think the status could be further improved if someone could find the time/energy to take up burke libbey's ruby script which had a better keychain implementation than we were using AFAIK
<abathur> my knowledge about this is all 2nd hand, I haven't tried an encrypted install yet
<abathur> but the initial flow we were trying with keychain wasn't decrypting until keychain was available, but it was possible for restored apps to already be loading by then and failing if they referenced /nix
<abathur> their implementation puts the credential down in the system keychain, though, which is (apparently? it sounds like?) available early enough to avoid the problem we had with this that made it hard to make it a default option
<abathur> I'm also leaving out a political part; I assume, because I can't imagine why someone would really care what the credential for their store is, that it's OK for us to generate a credential and silently stick it in the system keychain
<gchristensen> if you're installing multi-user, it seems to come with the territory. if you're not.... it is less clear.
<abathur> but it isn't clear to me whether I am so thoroughly normal here that it's genuinely an acceptable default to opt *everyone* with fv enabled into
<abathur> true
orivej has quit [Ping timeout: 256 seconds]
<gchristensen> it would be a good level of complexity to introduce a .pkg GUI installer
orivej_ has joined #nixos-dev
<infinisil> Not really related to that: I wish we could turn on sandbox by default on darwin
<gchristensen> it does have some sandboxing by default
<gchristensen> but, yeah,
<infinisil> Or maybe set it to relaxed mode and add __noChroot to the darwin derivations that don't work with the sandbox yet
<abathur> I may half-fix that problem if I do establish a clear-enough performance issue on catalina+ to merit working around it in Nix (not that I'm sure there is such a threshold)
<abathur> since it seems like the only vaguely viable workaround would entail multi-user installs anyways
<cole-h> Why are single-user installs a thing? Is it for when the user wants to install Nix but doesn't have root privileges?
orivej_ has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 272 seconds]
orivej has joined #nixos-dev
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
<infinisil> That looks like an oops
<gchristensen> seems weird
<gchristensen> (found via search.nix.gsc.io and the term "> tmp"
<cole-h> How does one create a nixexprs.tar.xz?
<cole-h> I think `nix-build nixos/release.nix -A channel` does what I was looking for
orivej has quit [Ping timeout: 240 seconds]
<cole-h> maybe not
<gchristensen> it'd be a nixpkgs release
<cole-h> Oh hey there is a release.nix for nixpkgs
<cole-h> :P
<cole-h> gchristensen++ Thanks, I missed your earlier link lol :D Trying `nix-build pkgs/top-level/release.nix -A tarball` now
<{^_^}> gchristensen's karma got increased to 0b101001101
<gchristensen> great!
<cole-h> OK, let's try again but with only x86_64-linux as a supported system lol
<julm> oh, a binary karma :D
<{^_^}> firing: RootPartitionLowDiskSpace: https://status.nixos.org/prometheus/alerts
leungbk has quit [Ping timeout: 260 seconds]
<cole-h> colemickens: gchristensen: https://github.com/NixOS/nixpkgs/pull/93161
<{^_^}> #93161 (by cole-h, 27 seconds ago, open): Remove tmp file from tarball job
avn has quit [Ping timeout: 246 seconds]
leungbk has joined #nixos-dev
drakonis has quit [Quit: WeeChat 2.8]
rajivr has joined #nixos-dev
leungbk has quit [Ping timeout: 240 seconds]
janneke has quit [Quit: janneke quits Mes'sing]
janneke has joined #nixos-dev
leungbk has joined #nixos-dev
leungbk has quit [Ping timeout: 260 seconds]
cole-h has quit [Quit: Goodbye]
orivej has joined #nixos-dev
janneke has quit [Quit: janneke quits Mes'sing]
janneke has joined #nixos-dev
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 260 seconds]
orivej_ has joined #nixos-dev
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
<{^_^}> firing: RootPartitionLowDiskSpace: https://status.nixos.org/prometheus/alerts
hexa- has quit [Quit: WeeChat 2.7.1]
hexa- has joined #nixos-dev
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-dev
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
ixxie has joined #nixos-dev
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 256 seconds]
orivej_ has joined #nixos-dev
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
ixxie_ has joined #nixos-dev
ixxie_ has quit [Client Quit]
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-dev
avn has joined #nixos-dev
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-dev
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
alp has joined #nixos-dev
justanotheruser has quit [Ping timeout: 256 seconds]
orivej has quit [Quit: No Ping reply in 180 seconds.]
claudiii_ has quit []
claudiii has joined #nixos-dev
__monty__ has joined #nixos-dev
justanotheruser has joined #nixos-dev
avn has quit [Read error: Connection reset by peer]
ixxie has quit [Quit: Lost terminal]
alp has quit [Ping timeout: 260 seconds]
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 240 seconds]
<{^_^}> firing: RootPartitionLowDiskSpace: https://status.nixos.org/prometheus/alerts
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 264 seconds]
alp has joined #nixos-dev
orivej has joined #nixos-dev
orivej_ has joined #nixos-dev
orivej has quit [Ping timeout: 256 seconds]
orivej_ has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 256 seconds]
orivej_ has joined #nixos-dev
orivej has joined #nixos-dev
orivej_ has quit [Ping timeout: 260 seconds]
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-dev
teto has joined #nixos-dev
<{^_^}> firing: RootPartitionLowDiskSpace: https://status.nixos.org/prometheus/alerts
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos-dev
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 260 seconds]
cole-h has joined #nixos-dev
orivej has joined #nixos-dev
ixxie has joined #nixos-dev
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-dev
drakonis has joined #nixos-dev
justanotheruser has quit [Ping timeout: 256 seconds]
justanotheruser has joined #nixos-dev
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
ris has joined #nixos-dev
alp has quit [Ping timeout: 272 seconds]
orivej has quit [Ping timeout: 240 seconds]
alp has joined #nixos-dev
orivej has joined #nixos-dev
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
alp has quit [Ping timeout: 260 seconds]
teto has quit [Ping timeout: 264 seconds]
orivej has quit [Ping timeout: 272 seconds]
orivej_ has joined #nixos-dev
rajivr has quit [Quit: Connection closed for inactivity]
leungbk has joined #nixos-dev
noonien has joined #nixos-dev
justanotheruser has quit [Ping timeout: 240 seconds]
orivej_ has quit [Ping timeout: 264 seconds]
orivej has joined #nixos-dev
symphorien has quit [Ping timeout: 260 seconds]
symphorien has joined #nixos-dev
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
<{^_^}> firing: RootPartitionLowDiskSpace: https://status.nixos.org/prometheus/alerts
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-dev
leungbk has quit [Quit: ERC (IRC client for Emacs 27.0.91)]
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-dev
symphorien has quit [Ping timeout: 260 seconds]
symphorien has joined #nixos-dev
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-dev
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
alp has joined #nixos-dev
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
averell- has joined #nixos-dev
averell has quit [Ping timeout: 258 seconds]
averell- is now known as averell
<colemickens> how would we feel if all of the azure stuff went into a separate repo?
<colemickens> I mean, I guess I'm already doing it anyway, I'll just keep playing with this and see where it ends up.
<julm> Mic92: __monty__ has just pointed me to your https://github.com/nix-community/nix-direnv , you may be interested in reading what I've done here to handle nix-shell caching: https://code.sourcephile.fr/sourcephile-nix.git/blob/HEAD:/.envrc#l61
<julm> especially using flock and not imposing --pure
<julm> but maybe also using shasum instead of .git/HEAD or -nt
noonien has quit [Quit: Connection closed for inactivity]
<gchristensen> colemickens: sounds okay
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos-dev
<Mic92> julm: I also like the flake edition: https://zimbatm.com/NixFlakes/#direnv-integration
<infinisil> Oh that's a nice page zimbatm++
<{^_^}> zimbatm's karma got increased to 16
__monty__ has quit [Quit: leaving]
Cale has quit [Read error: Connection reset by peer]
Cale has joined #nixos-dev
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
<julm> Mic92: wow, this looks great indeed, thanks!
<julm> zimbatm++
<{^_^}> zimbatm's karma got increased to 17
justanotheruser has joined #nixos-dev
orivej_ has joined #nixos-dev
orivej has quit [Ping timeout: 265 seconds]
<{^_^}> firing: RootPartitionLowDiskSpace: https://status.nixos.org/prometheus/alerts
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-dev
ixxie has quit [Quit: Lost terminal]
Shados has quit [Read error: Connection reset by peer]
Shados has joined #nixos-dev
<{^_^}> firing: RootPartitionLowDiskSpace: https://status.nixos.org/prometheus/alerts
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-dev