gchristensen changed the topic of #nixos-dev to: NixOS Development (#nixos for questions) | https://hydra.nixos.org/jobset/nixos/trunk-combined https://channels.nix.gsc.io/graph.html | 18.09 release managers: vcunat and samueldr | https://logs.nix.samueldr.com/nixos-dev
Lisanna has quit [Remote host closed the connection]
lopsided98_ has joined #nixos-dev
lopsided98 has quit [Ping timeout: 252 seconds]
lopsided98_ has quit [Quit: Disconnected]
lopsided98 has joined #nixos-dev
lassulus_ has joined #nixos-dev
lassulus has quit [Ping timeout: 246 seconds]
lassulus_ is now known as lassulus
sir_guy_carleton has joined #nixos-dev
lassulus has quit [Ping timeout: 252 seconds]
<dhess> nix-darwin
<dhess> doh
genesis has quit [Ping timeout: 252 seconds]
genesis has joined #nixos-dev
<clever> dhess: thanks for reminding me, forgot to rejoin it after the power outage
<dhess> hehe, glad that was useful to somebody :)
genesis has quit [Excess Flood]
simpson has quit [Ping timeout: 252 seconds]
genesis has joined #nixos-dev
simpson has joined #nixos-dev
lassulus has joined #nixos-dev
sir_guy_carleton has quit [Quit: WeeChat 2.0]
lassulus has quit [Ping timeout: 246 seconds]
lassulus has joined #nixos-dev
jtojnar has joined #nixos-dev
orivej has joined #nixos-dev
lassulus has quit [Ping timeout: 252 seconds]
lassulus has joined #nixos-dev
__Sander__ has joined #nixos-dev
goibhniu has joined #nixos-dev
goibhniu has quit [Client Quit]
goibhniu has joined #nixos-dev
goibhniu has quit [Ping timeout: 252 seconds]
Guest31382 has joined #nixos-dev
Guest31382 is now known as adamt
goibhniu has joined #nixos-dev
<Profpatsch> #join #nix-darwin
<Profpatsch> heh, coffee required
goibhniu has quit [Quit: Leaving.]
goibhniu has joined #nixos-dev
sir_guy_carleton has joined #nixos-dev
orivej has quit [Ping timeout: 272 seconds]
orivej has joined #nixos-dev
lassulus has quit [Ping timeout: 244 seconds]
lassulus has joined #nixos-dev
julm has joined #nixos-dev
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-dev
phreedom has quit [Quit: No Ping reply in 180 seconds.]
phreedom has joined #nixos-dev
sir_guy_carleton has quit [Quit: WeeChat 2.0]
lassulus has quit [Ping timeout: 252 seconds]
lassulus has joined #nixos-dev
orivej has quit [Ping timeout: 244 seconds]
orivej has joined #nixos-dev
__Sander__ has quit [Quit: Konversation terminated!]
adamt has quit [Ping timeout: 252 seconds]
garbas has joined #nixos-dev
<garbas> should this be consider a blocker for 18.09? https://github.com/NixOS/nixpkgs/pull/46901
<{^_^}> #46901 (by garbas, 2 minutes ago, open): NetworkManager VPN plugins are broken on master (and 18.09)
Cale_ has joined #nixos-dev
Cale_ has quit [Remote host closed the connection]
<gchristensen> so a few weeks(?) ago I mentioned it'd be cool if we could publish Nix's 2.1-maintenance branch docs to nixos.org so we can get docs fixes up faster. To close the loop with that: I was chatting with niksnut and we decided to, well, just release Nix more, even for docs-only fixes :)
<LnL> heh, I thought it wouldn't be hard but I guess that also works :)
<gchristensen> publishing unreleased docs makes things weird like, why don't my local docs match?
<LnL> yeah, and it was probably updated for a reason, clarifying something doesn't help much if the website doesn't change
<gchristensen> yeah
<gchristensen> "Finally, the following Haskell script uses a specific branch of Nixpkgs/NixOS (the 14.12 stable branch):" https://nixos.org/nix/manual/#ssec-nix-shell-shebang please find this example on this page. does this mean #! nix-shell lines merge?
<gchristensen> it _does_! how fascinating!
<LnL> yeah
<LnL> you can do that if it gets too long, but you might want to think about using an expression at that point
<gchristensen> yeah
<domenkozar> which reminds me, I should do a lightning talk at nixconf
<domenkozar> what I learned at writethedocs
<kalbasit[m]> hey guys, can some take a look at my PRs, the bazel-watcher one has been waiting for a while: https://github.com/NixOS/nixpkgs/pull/46509 and https://github.com/NixOS/nixpkgs/pull/46864 Thx!
<{^_^}> #46509 (by kalbasit, 1 week ago, open): bazel-watcher: init at 4d5928e
<{^_^}> #46864 (by kalbasit, 20 hours ago, open): terraform: update all providers and move nixos provider under terraform.withPlugins
<samueldr> gchristensen: fun tidbits, the #! nix-shell lines can be *anywhere* in the file
<gchristensen> no
<gchristensen> :X
<samueldr> yes
<gchristensen> is this intentional or not a feature?
<samueldr> the only thing I know is it is as implemented
* gchristensen won't document it
<samueldr> the moment a breaking change occurs, it'll need to be documented though :/
<gchristensen> of course
<gchristensen> "this crazy thing used to be possible and that bug has been fixed"
<samueldr> "bug" :)
<andi-> it feels like there is just a "break" missing /o\
* gchristensen goes spelunking
<samueldr> it is part of the C++ rewrite
<samueldr> oh, you're further along :)
<gchristensen> niksnut: is it an intentional feature that a #!nix-shell line can appear anywhere in the file?
orivej has quit [Ping timeout: 250 seconds]
orivej has joined #nixos-dev
<Profpatsch> gchristensen: toplel
<samueldr> oh, I just realised something
<samueldr> one could make the #! nix-shell lines available into a multi-line string if the language supports it
<samueldr> e.g. NIX_SHELL_STRINGS = "\n#! nix-shell -p hello\m#!nix-shell -i someInterpreter\n"
<samueldr> DON'T, but someone could
<niksnut> gchristensen: sort of
<niksnut> I mean, there was no reason to disallow it
<niksnut> except maybe having to scan the whole file...
<Profpatsch> Why would you ever want that tho
<gchristensen> or having an example of #! nix-shell in a ```...``` block and having it take effect by mistake :)
<Profpatsch> Should only be a small change in nix-build.cc
<samueldr> though, makes quines easier to manage :)
<Profpatsch> (the only part of nix I’m more or less familiar with. :P)
orivej has quit [Ping timeout: 240 seconds]
<gchristensen> niksnut: https://gist.github.com/grahamc/c9323eeb7289be47ee58ef06c887eea0 I'd be interested in merging and backporting these PRs and doing a Nix release :)
<samueldr> oh, just had a realisation: #! nix-shell anywhere in the file allows use in languages where `#` isn't a comment symbol
<samueldr> (e.g. lua will strip the original hashbang, but iirc won't strip any other lines starting with #)
orivej has joined #nixos-dev
<LnL> that's even a problem with 2 lines in some cases
obadz has joined #nixos-dev
<niksnut> gchristensen: ok, it's building
<gchristensen> niksnut: awesome! thank you! next time, would you like me to send a backport PR with the PRs I'd like backported?
<niksnut> nah, it's easier to do cherry-pick -x
<gchristensen> ok :) I'm glad this works
goibhniu has quit [Ping timeout: 252 seconds]
goibhniu has joined #nixos-dev
orivej has quit [Ping timeout: 250 seconds]
<gchristensen> niksnut: looks like everything passed
obadz- has joined #nixos-dev
obadz has quit [Ping timeout: 240 seconds]
obadz- is now known as obadz
Nadri has joined #nixos-dev
Nadri is now known as Nadrieril
<niksnut> indeed
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-dev
goibhniu has quit [Ping timeout: 260 seconds]