gchristensen changed the topic of #nixos to: NixOS 18.03 and Nix 2.0 are released! || Share the output of nix-shell -p nix-info --run nix-info to help us help you. || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat
<samueldr> zybell_: have you read the FAQ entry they are following? it's using a channel entry that is downloaded beforehand, not by the expression being built
<gchristensen> justanotheruser: can you paste the output from `sudo cat /root/.nix-channels` then `sudo cat /nix/var/nix/profiles/per-user/root/channels/manifest.nix`
<zybell_> and that means the file is somewhere local
<justanotheruser> gchristensen: https://paste.debian.net/plain/1020479
<zybell_> I wanted only to try something beginning with /
<gchristensen> justanotheruser: now the output of `sudo -i nix-channel --update`
<justanotheruser> unpacking channels...
<gchristensen> that is all?
rosa has quit [Quit: rosa]
<justanotheruser> ya
<justanotheruser> originally it would say it created symlinks in user environment, but since that's already done it doesn't do anything
<dmj`> I’m on one nixos machine, and I have setup letsencrypt in a nixos module. I now deploy that module to a new nixos machine, and letsencrypt fails to renew the certificate "Failed to start Renew ACME Certificate for mysite.org”
<elvishjerricco> dmj`: Can is the machine's 443 (or is it 80?) visible publicly at the domain you're trying to renew?
<samueldr> dmj`: there will be a systemd service with the domain, you can see its log with `journalctl --unit=that-service-name`
tet[m] has joined #nixos
rosa has joined #nixos
lo_mlatu has joined #nixos
<dmj`> samueldr: I’m using nixops, how do I ssh in?
<elvishjerricco> dmj`: Yea that config looks like what I use, I think
<elvishjerricco> just have to make sure the domain is assigned to the machine already.
<dmj`> elvishjerricco: I pointed my domain to that IP
<elvishjerricco> By default it uses the challenge auth method, where letsencrypt checks that you control the domain by checking if the answer to a challenge exists at a certain path at the domain
<elvishjerricco> so yea I'd expect that to work...
ndrei has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @scolobb opened pull request #38983 → icicles: 2017-10-28 -> 2018-04-16 → https://git.io/vpvWi
<dmj`> digital ocean has a free floating IP
<samueldr> dmj`: right now this resolves to 174.138.125.187 here
<dmj`> which I assigned to the droplet
srdqty1 is now known as srdqty
<zybell_> but what ttl has your domain?
<dmj`> samueldr: yea, that’s right
kmicklas has quit [Ping timeout: 256 seconds]
pie__ has quit [Ping timeout: 264 seconds]
<dmj`> samueldr: but the deploy fails because it can’t start the renewal
<dmj`> samueldr: so I don’t think the service gets started
<dmj`> elvishjerricco: I disable the nixos module on the old machine, changed the DNS A record to point to the floating IP, assisgned the floating IP to the droplet
<samueldr> sorry, I haven't used nixops yet
<elvishjerricco> dmj`: Oh. I guess it's not even beginning to try. You should be able to journalctl the service anyway
<dmj`> elvishjerricco: I’m not sure how to ssh in w/ nixops
<elvishjerricco> nixops ssh -d deploymentName serverName
<dmj`> here is fail log
<dmj`> elvishjerricco: nice thanks
nur0n0 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<elvishjerricco> > Not enough PEM encoded messages were found in fullchain.pem; at least 2 were expected, found 1.
<elvishjerricco> Huh. No idea what that means
<samueldr> others using nixos have had this issue in the past 15 days (according to a quick google search)
<dmj`> samueldr: can you link?
<zybell_> dmj` letsencrypt cant reach you because your webserver isnt running
<dmj`> elvishjerricco: I can curl the webserver locally \o/
<dmj`> zybell_: says its running locally, so you think letsencrypt hasn’t receive the DNS record upate?
<zybell_> at least not on that IP
<dmj`> zybell_: yea, should I just wait until letsencrypt realizes the IP has changed
rosa has quit [Quit: rosa]
rosa has joined #nixos
<zybell_> That too. But first make your web visible (port 80 is checked by letsencrypt)
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<samueldr> and for the record, the error message about PEM encoded message comes from here https://github.com/zenhack/simp_le/blob/21531de28e7d446af924a08357712654b3b65d8f/simp_le.py#L552-L554
<zybell_> I hit that with a browser. no answer.
rosa has quit [Client Quit]
peuv has quit [Ping timeout: 268 seconds]
<dmj`> zybell_: I think the forceSSL is the problem
<dmj`> that’s why it’s not accesible
<zybell_> I did it by IP,no DNS necessary. forceSSL is ok if done by redirect.
<samueldr> dmj`: I don't remember for sure, but is it possible that you need to open the ports in the nixos firewall?
<samueldr> I know nixos opens it for ssh when ssh is enabled, but does it do that for nginx too?
<zybell_> I didnt even get a reset
<dmj`> samueldr: thought nginx nixos module should turn that on
<samueldr> (looking at the code it doesn't look like it does)
<dmj`> samueldr: doesn’t seem like it… let me check my local config
<samueldr> and in the nginx options there aren't any allowedTCPPorts
rosa has joined #nixos
srdqty has quit [Ping timeout: 276 seconds]
aarvar has quit [Ping timeout: 240 seconds]
<dmj`> samueldr: added firewall, redeploying...
<dmj`> removed forceSSL
<samueldr> AFAIK forceSSL shouldn't be an issue, fuzzy memory, but something about ACME not caring for invalid certs on https, thus a forced 80 → 443 is not an issue
srdqty has joined #nixos
<zybell_> but 80 *must* answer first
iqubic has joined #nixos
<zybell_> after that a redirect is ok
rosa has quit [Client Quit]
<samueldr> only for the webroot challenge, though that's what's used with simp_le iirc
<dmj`> zybell_: http://159.89.226.129/
<dmj`> that’s not the DO floating IP though
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/59cf37fd6f6 (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
* zybell_ try
Fare has quit [Remote host closed the connection]
<dmj`> samueldr: still fails the renew with that weird pem error
Fare has joined #nixos
<{^_^}> [nixpkgs] @thoughtpolice pushed 26 commits to pgsql-fixes: https://git.io/vpvl8
<{^_^}> → 613fa071 by @thoughtpolice: nixpkgs: reorganize the postgresql extensions
<{^_^}> → 26f8d627 by @thoughtpolice: nixpkgs: move postgresql patches into a common directory
<{^_^}> → 63f8027d by @thoughtpolice: nixpkgs: deprecate the badly named 'postgresql100' attribute
<zybell_> is ok, floating not (And sth with cloudflare)
<{^_^}> [nixpkgs] @thoughtpolice pushed 0 commits to pgsql-fixes: https://git.io/vpvlB
<zybell_> is ok, floating not (And sth with cloudflare)dmj`
<dmj`> zybell_: can I change my nixos version to one that doesn’t have this pem error?
<zybell_> you can even run ubuntu to renew the cert. the IP is important
<dmj`> this DO floating IP thing is really flaky
<zybell_> That is DNS->IP
<zybell_> then set dns to 159... and wait your ttl
<{^_^}> [nixpkgs] @dezgeg pushed 1000 commits to unstable-aarch64: https://git.io/vpvlw
<{^_^}> → ad17549d by @volth: [cpan2nix] perlPackages.LWPAuthenOAuth: cleanup
<{^_^}> → a824a571 by @volth: [cpan2nix] perlPackages.LWPUserAgentDetermined: 1.06 -> 1.07
<{^_^}> → caf9dd5a by @volth: [cpan2nix] perlPackages.XMLParser: 2.41 -> 2.44
<dmj`> zybell_: I just set the record to point to the IP that DO gave it
<zybell_> you can change the IP later
<dmj`> zybell_: sure, it’s forcing SSL still, http://haskell-miso.org/
<zybell_> LE certifies NAME<->KEY
<dmj`> zybell_: what is name <-> key here
<dmj`> name is domain name, what is key
<drakonis> oh boy oh boy
<drakonis> i figured out how to get rid of name collisions
<zybell_> of your cert
<zybell_> the public *key* part
<zybell_> and my browser did *http*
rosa has joined #nixos
<dmj`> zybell_: ok sweet it works, but the cert is unsafe
<dmj`> Self-signed yay
<samueldr> dmj`: it may be because of rate limits by let's encrypt
<dmj`> samueldr: would the timer show me that?
Arcaelyx_ has quit [Read error: Connection reset by peer]
<samueldr> OR you're hitting another kind of error (with the PEM thing you linked earlier)
Arcaelyx has joined #nixos
<dmj`> yea I’m ssh’d in and still see: Not enough PEM encoded messages were found in fullchain.pem; at least 2 were expected, found 1.
<samueldr> well, the logs for the service, yes
<samueldr> hmmm, that's probably not anything you specifically did then
<samueldr> I don't know nixops, does it use your checked-out nixpkgs channel or does it update the channel itself?
<zybell_> afaik fullchain shold be lecert+yours
<samueldr> and then, could it be that your channel is before a fix for that (if the PR linked was for that)
iqubic has quit [Ping timeout: 260 seconds]
<zybell_> afaik fullchain should be lecert+yours so 2PEM makes sense.
<dmj`> samueldr: oh you think this is a nixops bug?
<samueldr> no
<dmj`> samueldr: thought this would be something with the le module
<zybell_> it is
<samueldr> I don't know nixops, and I don't know how it decides for the channel and for the revision for that channel
<samueldr> ah!, there is an open PR here https://github.com/NixOS/nixpkgs/pull/38372
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/41b1c57d8dd (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
Arcaelyx has quit [Quit: Textual IRC Client: www.textualapp.com]
<samueldr> dmj`: you may want to subscribe to that and/or somehow use that
nur0n0 has joined #nixos
day|flip has quit [Remote host closed the connection]
DwarfMaster has quit [Quit: WeeChat 2.1]
orivej has quit [Ping timeout: 260 seconds]
DwarfMaster has joined #nixos
xcmw has joined #nixos
mounty has quit [Ping timeout: 240 seconds]
spear2 has quit [Quit: Leaving]
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos
exmonader has joined #nixos
mounty has joined #nixos
<dmj`> samueldr: awesome find
<exmonader> Don't know if i should ask this here or the xmonad channel.....
<dmj`> samueldr: thank you
<exmonader> But i don't have dmenu installed or in my config
<dmj`> samueldr: I bet I can override my version of nixpkgs to use this patch
<exmonader> However using the default dmenu key binding brings up dmenu. I'm a bit confused
rosa has quit [Remote host closed the connection]
<exmonader> I have xmonad with xmobar and rofi installed
<exmonader> i tried which dmenu, none was found
<exmonader> At least not in my Path
rosa has joined #nixos
ditadi has quit [Ping timeout: 260 seconds]
<dmj`> samueldr: actually I’m not sure how to override nixpkgs in a Nixos module
nD5Xjz has quit [Ping timeout: 240 seconds]
<dmj`> samueldr: oh I think I know how. We can fetch that version of nixpkgs and then just import it and set le in package overrides to the one in this nixpkgs
rosa has quit [Client Quit]
Lears has quit [Remote host closed the connection]
nuncanada has quit [Ping timeout: 264 seconds]
<dmj`> actually, can you override nixos modules in packageOverrides?
rosa has joined #nixos
silver has quit [Read error: Connection reset by peer]
iyzsong has joined #nixos
ericsagnes has joined #nixos
<samueldr> it may be possible to, instead, manually create the cert in the right format once logged-in into the machine
<{^_^}> [nixpkgs] @dezgeg pushed commit from @bkchr to master « kernelPatches: Adds bcm2835_mmal_v4l2_camera_driver »: https://git.io/vpv43
<samueldr> then simp_le would be fine with using it
<{^_^}> [nixpkgs] @dezgeg closed pull request #38490 → kernelPatches: Adds bcm2835_mmal_v4l2_camera_driver → https://git.io/vxSls
<samueldr> after having read both that issue and the linked upstream issue, once you are using a cert built like it expects, the issue shouldn't come back
<samueldr> (though, that's a manual step, ugh)
<samueldr> cc dmj` ^
<dmj`> samueldr: isn’t the cert in the store?
<dmj`> If not would I have to manually edit it on each deploy?
mounty has quit [Ping timeout: 264 seconds]
<samueldr> it shouldn't be in the store [citation needed] since the store is readable by all!
<samueldr> it's [citation needed] probably under /var/ somewhere with all the stateful things
<taktoa> I'm getting a weird error with the standard haskell builder ("ghc-pkg: 1: unrecognised field or section: "<hex-gobblydegook>"")
<taktoa> you can reproduce with `git clone https://github.com/taktoa/eqsat && cd eqsat && nix-build --no-out-link default.nix`
mounty has joined #nixos
fragamus has joined #nixos
<taktoa> (that repo is pinned to a specific revision of nixpkgs so I'd be very surprised if it doesn't reproduce)
rosa has quit [Quit: rosa]
rosa has joined #nixos
exmonader has left #nixos [#nixos]
taktoa has quit [Remote host closed the connection]
<zybell_> .crt should be readable by world (after all your server sends it to each client) the paired .key should only be readable by root unless its protected by passwd
rosa has quit [Client Quit]
joehh has quit [Ping timeout: 264 seconds]
ZaraChimera has joined #nixos
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/41b1c57d8dd (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
rosa has joined #nixos
mahalel_ has joined #nixos
taktoa has joined #nixos
nD5Xjz has joined #nixos
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<taktoa> ah, I think it was a filesystem bug; rebooting fixed it
markus1199 has joined #nixos
freeman42x]NixOS has quit [Ping timeout: 240 seconds]
markus1189 has quit [Ping timeout: 260 seconds]
<dmj`> infinisil: ah this is major bug then
rosa has quit [Quit: rosa]
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 is now known as Supersonic
mbrgm has quit [Ping timeout: 264 seconds]
rosa has joined #nixos
mbrgm has joined #nixos
jperras has joined #nixos
joehh has joined #nixos
<dmj`> infinisil: ok I’m here
<dmj`> looking at fullchain.pem, there’s only one private key, but full.pem has two
<dmj`> I assume that’s the fix? add the second key to fullchain.pem
srdqty has quit [Ping timeout: 264 seconds]
nur0n0 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<samueldr> you could try some inspiration from the parts in green https://github.com/NixOS/nixpkgs/pull/38372/files#diff-3ac514cd8063d3114597ce7aa42b27cfL253
<samueldr> dmj`: I'm assuming that even though it's not directed at me, you're still trying to fix this :)
<dmj`> samueldr: yes :) sorry wrong nick :P
srdqty has joined #nixos
<dmj`> samueldr: this seems like the problem, cat $workdir/{server.crt,ca.crt} > "${cpath}/fullchain.pem"
<dmj`> - 266
<samueldr> well, what I linked is the (yet unmerged) proposed solution
<samueldr> so this looks more like the solution :)
vidbina has quit [Ping timeout: 256 seconds]
<dmj`> oh whoops, yea thats the issue, I pasted the wrong line
<samueldr> I'm now wondering *how annoying* it would be if there was comment on (nixos) github issues and PR when they are mentionned on IRC
<dmj`> samueldr: problem is /run/acme-selfsigned* doesn’t exist ...
<samueldr> I think that was changed (looking at the PR) to instead use a temp directory
<samueldr> + workdir="$(mktemp -d)"
<samueldr> 
chisui has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
rosa has quit [Quit: rosa]
fragamus has joined #nixos
ajs124 has left #nixos ["Machine going to sleep"]
boomshroom has joined #nixos
<mightybyte> Anyone know about this error?
<mightybyte> make: *** [GNUmakefile:19: world-src-recurse] Error 2
<mightybyte> builder for '/nix/store/5n6bp73spfgrinc7f34chxr9kgj4k2hh-postgresql-9.5.9.drv' failed with exit code 2
vidbina has joined #nixos
<boomshroom> Hello! Just relocated back to my parents' place.
<boomshroom> mightybyte: That's not the full error. try using nix-build or look at nix log.
<mightybyte> Oh, this looks like the error
<mightybyte> error: /nix/store/fpbjsfvpvmnfdc4061law9v21rhg4pbw-cctools-port-895/bin/ranlib: can't open file: libpgtypes.a (No such file or directory)
<mightybyte> ar: internal ranlib command failed
jperras has quit [Quit: WeeChat 2.1]
Lears has joined #nixos
acarrico has joined #nixos
<dmj`> samueldr: it worked :) https://haskell-miso.org/
<dmj`> samueldr: thanks man
* dmj` gives samueldr a large bowl of ramen
<dmj`> samueldr: link works for you right?
<Lears> Is there some difference in how NixOS treats minor kernel updates versus the initially installed version? On my machine 4.14.24 worked fine, then updated to 4.14.32 which fails to boot so early there are no logs in journalctl. So I upgraded to 4.15.15 which was fine, but now 4.15.17 has exactly the same issue as 4.14.32 ...
<samueldr> dmj`: \o/ great! even though it's a bit manual, at least there's a known working workaround
<dmj`> samueldr: hopefully by the time we deploy again, that fix will be present, o/w we should be good
<dmj`> samueldr: yes! and it seems that script won’t be ran again if a key is already present
jgt has joined #nixos
<samueldr> as long as you deploy on the same server, where the state files are present, there shouldn't be any issues even if this isn't fix, afaict
<samueldr> isn't fixed*
* dmj` redeploys just to be sure
<dmj`> ocean> deployment finished successfully
<dmj`> hip hip hooray \o/
ericsagnes has quit [Ping timeout: 240 seconds]
ivanivan has joined #nixos
raynold has joined #nixos
htafdwes has joined #nixos
<htafdwes> says can't get status of /nix/default.nix
<dmj`> htafdwes: hmm?
<htafdwes> do I have to run like nix update or something? this is on a fresh install, I tried to do a nix-build
<htafdwes> default.nix doesn't exist
<htafdwes> oh I see it does it wherever I am, I'm trying to run nix-build -A monte
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<htafdwes> now it says it doesn't exist in /root/default.nix
<htafdwes> kind of a bummer, I installed it so I could nix-build monte :-(
<ivanivan> I want to add an fzf subdir under XDG_DATA_HOME ( ~/.local/share/ ) to hold my fzf history.
<ivanivan> Is there a way to do this programatically in my nixos config, or with a derivation?
<ivanivan> Or is this a bad idea?
<boomshroom> htafdwes: where is the nix file for monte?
<htafdwes> boomshroom: ah, I found out it's actually in their repos
<htafdwes> I'll have to get it thanks
rosa has joined #nixos
<boomshroom> htafdwes: The the monte repo has the nix file, you can actually call it straight from the command line with a fancy expression.
<boomshroom> htafdwes: IF*
<boomshroom> If nobody minds me asking, can anyone tell why constructors aren't being inserted into a custom crtn and crti?
mounty has quit [Ping timeout: 240 seconds]
ivanivan has quit [Quit: WeeChat 2.0]
gm152 has quit [Quit: Lost terminal]
mounty has joined #nixos
lo_mlatu has quit [Quit: Connection closed for inactivity]
acarrico has quit [Quit: Leaving.]
rosa has quit [Quit: rosa]
schoppenhauer has quit [Ping timeout: 264 seconds]
sehqlr has joined #nixos
schoppenhauer has joined #nixos
ericsagnes has joined #nixos
<tnks> I just installed nix-repl in NixOS, and am kind of surprised that it's trying to access /nix/var/nix/db
<tnks> when I run Nix over Debian, I don't seem to have this problem.
Lears has quit [Remote host closed the connection]
<boomshroom> I've been writing a custom PID1 and have been using NotOS as a base. I currently have 21 different linux installations in squashfses in my store.
<tnks> I found the bug report about this... involves NIX_REMOTE not being set by the installer.
<adisbladis[m]> tnks: You are mixing nix1 and nix2. The repl is included in nix 2.
<adisbladis[m]> tnks: `nix repl`
<tnks> adisbladis[m]: oh, I see.
<tnks> good to know.
<boomshroom> Nix has spoiled me. I was confused why ["-c" "echo hello"] wasn't working in Haskell.
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/31effc1d7d5 (from 6 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<{^_^}> [nixpkgs] @peterromfeldhk opened pull request #38985 → fastlane: 2.80.0 -> 2.91.0 → https://git.io/vpv0x
joehh has quit [Ping timeout: 256 seconds]
joehh has joined #nixos
nuncanada has joined #nixos
Lears has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpvEO
<{^_^}> → 34821556 by @matthewbauer: text_cmds: init at 99
<{^_^}> → 9673ac56 by @matthewbauer: unixtools: add col to utillinux
<Lears> Well, I tried going back to 4.14 and the minor update 4.14.34 boots, which is nice. I wish I knew why so many kernel versions were failing so early though.
exmonader has joined #nixos
drakonis has quit [Remote host closed the connection]
<exmonader> Hi again.
<exmonader> I have xterm.enable set to false
<exmonader> But i still have xterm
<exmonader> Is there anyway to get rid of xterm? I already have urxvt installed
dcol has joined #nixos
<dcol> Hello, I am trying to get my emacs daemon on NixOS to work properly. It was working fine until I tried adding some packages and noticed that the first time I added packaged they were present in the emacsclient, however when I tried incrementing the packages with some additional ones these were not present in emacsclient. It's as if the daemon is using an old build of emacs.. If I start a standalone emacs I can find the newly added
<dcol> packages there. Anyone with an idea as to why this is happening?
rosa has joined #nixos
nuncanada has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/vpvE1
<{^_^}> → 0d88a2be by @peterromfeldhk: fastlane: 2.80.0 -> 2.91.0
<{^_^}> → 09136cd7 by @adisbladis: Merge pull request #38985 from enumatech/fastlane
<{^_^}> [nixpkgs] @adisbladis merged pull request #38985 → fastlane: 2.80.0 -> 2.91.0 → https://git.io/vpv0x
rosa has quit [Quit: rosa]
zipnoob has left #nixos ["WeeChat 2.1"]
<{^_^}> [nixpkgs] @scode opened pull request #38986 → signal-desktop: 0.7.0 -> 0.7.1 → https://git.io/vpvEj
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpvuO
<{^_^}> → 2a499ab4 by @matthewbauer: adv_cmds: fix xcbuild invocation
<{^_^}> → 6bb3ec82 by @matthewbauer: darling: use correct hash
odi has joined #nixos
rauno has quit [Ping timeout: 240 seconds]
dcol has quit [Remote host closed the connection]
rosa has joined #nixos
winem_ has joined #nixos
Laboon3k has quit [Quit: Leaving]
iyzsong has quit [Ping timeout: 256 seconds]
Rusty1_ has quit [Quit: Konversation terminated!]
kerrhau has quit [Ping timeout: 256 seconds]
pie__ has joined #nixos
iqubic has joined #nixos
jgt has quit [Read error: Connection reset by peer]
seafood has joined #nixos
jgt has joined #nixos
iyzsong has joined #nixos
fragamus has quit [Quit: Textual IRC Client: www.textualapp.com]
sehqlr has quit [Ping timeout: 264 seconds]
winem__ has joined #nixos
winem_ has quit [Ping timeout: 276 seconds]
rosa has quit [Quit: rosa]
rosa has joined #nixos
blankhart has quit [Quit: WeeChat 1.9.1]
<boomshroom> Nice, I try to terminate pid1 twice in my test environment. Nothing happens the first time, the vm exits the second time. Neither time did it print out my debug line.
MP2E has quit [Remote host closed the connection]
odi_ has joined #nixos
odi has quit [Ping timeout: 245 seconds]
Guanin_ has quit [Ping timeout: 240 seconds]
odi_ has quit [Remote host closed the connection]
ertes has quit [Read error: Connection reset by peer]
odi_ has joined #nixos
rosa has quit [Quit: rosa]
zybell_ has quit [Ping timeout: 260 seconds]
Guanin_ has joined #nixos
rosa has joined #nixos
ertes has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #38981 → python: python-digitalocean: fix build → https://git.io/vpvcV
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/vpvzA
<{^_^}> → bf31818f by @thorstenweber83: python: python-digitalocean: fix build
<{^_^}> → 908657ab by @FRidh: Merge pull request #38981 from thorstenweber83/tw-fix-python-digitalocean
rosa has quit [Client Quit]
<boomshroom> It seems as though it does print on the second call. But that still doesn't explain why it doesn't receive the first one.
winem__ has quit [Ping timeout: 240 seconds]
pie__ has quit [Ping timeout: 240 seconds]
rosa has joined #nixos
rauno has joined #nixos
lesnuages has quit [Ping timeout: 264 seconds]
ma27 has quit [Ping timeout: 260 seconds]
odi_ has quit [Ping timeout: 265 seconds]
jacob_ has joined #nixos
rosa has quit [Client Quit]
<vaibhavsagar> ij: it compiles, but I'm not sure that it works just yet
gspia has quit [Quit: Leaving]
rauno has quit [Ping timeout: 240 seconds]
seafood has quit [Quit: seafood]
seafood has joined #nixos
seafood has quit [Client Quit]
toby1851 has quit [Quit: Konversation terminated!]
toby1851 has joined #nixos
pie__ has joined #nixos
fragamus has joined #nixos
rosa has joined #nixos
rauno has joined #nixos
jgt has quit [Quit: WeeChat 1.9.1]
<monotux> does anyone use system.autoUpgrade.enable = true; btw? I'm thinking of adding it to a server (private, not production really) but not sure if wise
monotux has quit [Quit: The Lounge - https://thelounge.github.io]
jackdk has quit [Ping timeout: 268 seconds]
periklis has joined #nixos
robstr has joined #nixos
rosa has quit [Quit: rosa]
<vaibhavsagar> monotux: I used it for a while, didn't really like it
joehh has quit [Ping timeout: 264 seconds]
joehh has joined #nixos
reinzelmann has joined #nixos
<{^_^}> [nixpkgs] @dotlambda pushed to master « ghostwriter: 1.6.1 -> 1.6.2 »: https://git.io/vpv2T
Ariakenom has joined #nixos
rosa has joined #nixos
toby1851 has quit [Quit: Konversation terminated!]
exmonader has quit [Quit: Page closed]
rauno has quit [Remote host closed the connection]
toby has joined #nixos
toby is now known as Guest73723
Guest73723 is now known as toby1851
ma27 has joined #nixos
rosa has quit [Quit: rosa]
pie__ has quit [Ping timeout: 256 seconds]
lo_mlatu has joined #nixos
alex`` has joined #nixos
orivej has joined #nixos
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @dotlambda pushed 4 commits to master: https://git.io/vpv2B
<{^_^}> → 764d03de by @peterhoeg: pythonPackages.envs: init at 1.2.4
<{^_^}> → c859867e by @peterhoeg: pythonPackages.warrant: init at 0.6.1
<{^_^}> → f6d9eed5 by @peterhoeg: home-assistant: enable cloud integration
<{^_^}> [nixpkgs] @dotlambda merged pull request #38653 → home-assistant: make hass cloud integration work → https://git.io/vx5ZM
ma27 has quit [Ping timeout: 245 seconds]
rauno has joined #nixos
<boomshroom> Goodnight guys!
boomshroom has quit [Quit: WeeChat 2.0]
rauno has quit [Remote host closed the connection]
rosa has joined #nixos
rauno has joined #nixos
seville has joined #nixos
rauno has quit [Remote host closed the connection]
rauno has joined #nixos
adetokunbo has joined #nixos
freeman42x]NixOS has joined #nixos
Ariakenom has quit [Read error: Connection reset by peer]
aarvar has joined #nixos
asuryawanshi has joined #nixos
rauno has quit [Remote host closed the connection]
knupfer has joined #nixos
rauno has joined #nixos
hyper_ch2 has joined #nixos
reinzelmann has quit [Quit: Leaving]
rauno has quit [Remote host closed the connection]
rosa has quit [Quit: rosa]
rauno has joined #nixos
benkolera has quit [Disconnected by services]
benkolera has joined #nixos
rosa has joined #nixos
benkolera has quit [Disconnected by services]
winem_ has joined #nixos
benkolera has joined #nixos
benkolera has quit [Disconnected by services]
bkolera is now known as benkolera
benkolera1 has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
jensens has joined #nixos
wangoe has joined #nixos
hph^ has joined #nixos
rosa has quit [Quit: rosa]
rosa has joined #nixos
reinzelmann has joined #nixos
rosa has quit [Quit: rosa]
rosa has joined #nixos
zipnoob has joined #nixos
alex`` has quit [Ping timeout: 240 seconds]
rosa has quit [Client Quit]
odi has joined #nixos
knupfer has quit [Ping timeout: 265 seconds]
rosa has joined #nixos
knupfer has joined #nixos
ThatDocsLady has joined #nixos
thblt has joined #nixos
joehh has quit [Ping timeout: 256 seconds]
selaux has joined #nixos
gspia has joined #nixos
asuryawanshi has joined #nixos
<Akii> After taking a break I think I can resume. I've two questions. I want to run multiple services on the nixos server. Each of them may require some Nginx config, and probably come from a git repository, need its own user and do some compiling. Should I have a config file for each service or one for nginx, one for users, etc?
roconnor has quit [Ping timeout: 260 seconds]
<Akii> and I forgot the second question lol
<makefu> Akii: the splitting is up to you, i normally try to separate these things in functional blocks, for example if i have a webservice which also requires nginx config then i put both in one file. This can be done because of the intelligent merging of the nix `imports = [];`. This makes nix/nixOS fantastic for sharing configuration and services
<ij> vaibhavsagar, You didn't try running it? :)
<Akii> Okay, thanks! Now the next question: Previously I'd just create a user, su into that user, go to its home dir, clone the git repo, compiled the thing and started it via supervisord. As far as I know this doesn't work with NixOS anymore because I must express these step as configuration. Is that correct?
reinzelmann has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/vpviw
<{^_^}> → 1441787c by @peterhoeg: kirigami: dump deprecated/unmaintained kirigami1
<{^_^}> → 911a6da2 by @peterhoeg: peruse: 1.2 -> 1.2.20180219
<vaibhavsagar> ij: I couldn't get the GUI to display last time, but it works now!
<vaibhavsagar> Akii: did you manage to get stuff working :)?
thc202 has joined #nixos
<ij> vaibhavsagar, Cool, I'll try it out then, thanks!
<Akii> Hi! Not yet, I took a day off. I'll try to learn more about NixOS before continuing on that
<Akii> many things are just still too blurry
<vaibhavsagar> that's fair, it's different from anything else I've used before
<Akii> yeah I totally underestimated how different it would be
pie__ has joined #nixos
reinzelmann has joined #nixos
<Akii> eventually I'll also get nixops working, I'm sure of it. But first I want a working server :D
<vaibhavsagar> that sounds like a good order to do things in :)
ikervagyok has quit [Ping timeout: 260 seconds]
rosa has quit [Quit: rosa]
rosa has joined #nixos
<Akii> vaibhavsagar would you recommend converting stack projects to cabal?
<vaibhavsagar> yes
<vaibhavsagar> especially on NixOS, but even otherwise
<Akii> (o m g, I think I've a mail server now)
<Akii> yeah so I develop on MacOS
<vaibhavsagar> \o/
<Akii> who would've thought that setting up a mail server was so easy compared to get a stack project running
<Akii> lol
<vaibhavsagar> stack has very basic Nix support
eldados has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
<vaibhavsagar> i.e. there's a nix section in your stack.yaml that lists system dependencies
<Akii> yeah the thing with converting from stack: I also need to configure spacemacs again
asuryawanshi has joined #nixos
<vaibhavsagar> does spacemacs work with stack --nix?
<Akii> yeah I played around with that and then gave up after the n-th compiler error
<Akii> idk, probably not
<Akii> I just currently use intero which only works with stack
freeman42x]NixOS has quit [Quit: Leaving]
<vaibhavsagar> ah, I think you need to add the system dependencies explicitly to your stack.yaml
<Akii> yeah I did that until I needed fsnotify and then I just aborted the adventure
<vaibhavsagar> fair enough
<Akii> especially since that would've made it platform dependent
<Akii> and I would've needed to implement a switch and that's just not what I want
<Akii> so cabal it is
<vaibhavsagar> fair enough
<vaibhavsagar> it's not clear to me that Cabal avoids this issue
eldados has quit [Client Quit]
<vaibhavsagar> but you should be able to get started with `cabal2nix --shell . > default.nix`
reinhardt has joined #nixos
<Akii> that's another question: can't I just work with stack and use cabal2nix?
<Akii> I mean stack just builds a sandbox and cabal file, right?
<Akii> probably does a lot more but in general
<Akii> I've so much to learn still
<Akii> but that mail server is set up I can't believe it
<Akii> I just can't
<vaibhavsagar> it depends on how you have your project set up
<vaibhavsagar> if your project is a cabal project with a stack.yaml, you'll probably be fine
<vaibhavsagar> but if you're using hpack and more of the stack-specific stuff, it's not as simple as running cabal2nix
<vaibhavsagar> although I think the newer versions of cabal2nix support the hpack format
odi has quit [Ping timeout: 256 seconds]
<Akii> well doesn't matter; I'll just use cabal somehow
<Akii> that mail server just saved me days :D
knupfer has quit [Ping timeout: 264 seconds]
jacob__ has joined #nixos
<vaibhavsagar> I remember the first time I added a service in configuration.nix and it just worked :)
<Akii> yeah I totally was like: this is never going to work
<Akii> never
<Akii> this time I was prepared
jacob__ has quit [Client Quit]
<Akii> nixos be like: welp, I got you fam, here is your thing
<Akii> and the beautiful thing is: i looked at how they configure stuff of course
<Akii> and it's soooo much better than what I had previously put together based on some blog postst
<Akii> -t
Guanin_ has quit [Ping timeout: 256 seconds]
<vaibhavsagar> yes, it's pretty great that it can be configured the right way once and then put in nixpkgs for everyone
<Akii> this is sooo good
<vaibhavsagar> hahah, save it for after you get your haskell project working :)
<Akii> like few days back I was getting really frustrated but I managed to set up another user and configured the login zertificate
<Akii> but that kinda sold me
aarvar has quit [Ping timeout: 265 seconds]
<Akii> like such a little thing but for me that's just the coolest thing
<vaibhavsagar> I liked being able to set up my laptop as an SSH server with one line in configuration.nix
<vaibhavsagar> `services.openssh.enable = true;`
<vaibhavsagar> that's it
<Akii> well yes unless you want to login as root afterwards
<Akii> but that's just another config
<Akii> until you set up the additional user and can disable it again
<vaibhavsagar> I almost never want to do that though
<Akii> yeah of course but all I had was SSH at that point; that's why I set up the additional user
ma27 has joined #nixos
Guanin has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
vidbina has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @Chiiruno opened pull request #38989 → linux_testing_bcachefs: 4.15.2018.03.22 -> 4.15.2018.04.14 → https://git.io/vpvDa
<sphalerite> Akii: but if you want to log in as root you should be using pubkey auth anyway, and that Just Works too :D
<Akii> sphalerite I like disabling root and having to log into another account and then su'ing
<Akii> which I eventually set up
<Akii> but to set that up I needed to log in as root :D
<sphalerite> users.users.root.openssh.authorizedKeys.keyFiles = [(builtins.fetchurl https://sphalerite.org/yubi.pub)];
<sphalerite> :p
<vaibhavsagar> woah
<vaibhavsagar> that is next level
<vaibhavsagar> actually github exposes public keys for its users
<LnL> sphalerit: that looks kind of unsafe
<clever> sphalerite: also, https://github.com/cleverca22.keys is every key i have trusted on my github
toby has joined #nixos
<vaibhavsagar> so I could do something like (builtins.fetchurl https://github.com/vaibhavsagar.keys)
<vaibhavsagar> with a sha256
toby is now known as Guest74202
<sphalerite> clever: yeah
toby1851 has quit [Ping timeout: 265 seconds]
<LnL> yeah, use a hash to make sure those are what you expect
<sphalerite> vaibhavsagar: well if you're putting in the hash you might as well use the .keys instead of .keyFiles and paste the keys
<vaibhavsagar> yeah, I guess so
<sphalerite> I only do the fetchurl one on throwaway machines where I want a quick-n-dirty way
TonyTheLion has joined #nixos
jtojnar has quit [Quit: jtojnar]
paraseba has quit [Ping timeout: 256 seconds]
chisui has joined #nixos
reinhardt has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @zimbatm pushed commit from @siers to release-18.03 « ruby-modules: Import gemset if it's a path OR a string. (#38959) »: https://git.io/vpvSj
sigmundv has joined #nixos
Guest74202 has quit [Ping timeout: 256 seconds]
<electrocat> hey i ran this, but the build seems to have succeeded, why am i getting this error? http://termbin.derhaeg.be/rc8g
<clever> electrocat: you dont need the callPackage there
thblt has quit [Remote host closed the connection]
thblt has joined #nixos
Guest74202 has joined #nixos
<{^_^}> [nixops] @teto closed pull request #881 → [WIP] Qemu agent → https://git.io/vAPQ9
TweyII has joined #nixos
<electrocat> clever: why not? isn't 'justStaticExecutables hoogle' a derivation?
<clever> electrocat: yes
<clever> electrocat: and callPackage then tries to import the default.nix in its output
<clever> which doesnt exist
<clever> the hoogle derivation has already been imported
<clever> and justStaticExecutables just mutates the value, no need to re-import it
<electrocat> oh
<electrocat> hoogle is already calls callpackage?
<vaibhavsagar> yes
<electrocat> ah i see, thanks
<Akii> oh wow, I think nixos is currently waiting for my mail client to disconnect during nixos-rebuild -- how awesome is that
<Akii> nope, just the cache server :D
ndrei has joined #nixos
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/911a6da2fe2 (from 85 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
paraseba has joined #nixos
alex`` has joined #nixos
wangoe has quit [Ping timeout: 264 seconds]
ndrei- has joined #nixos
thblt has quit [Remote host closed the connection]
thblt has joined #nixos
ndrei_ has joined #nixos
knupfer has joined #nixos
vaninwagen has joined #nixos
jtojnar has joined #nixos
gspia has quit [Quit: Leaving]
tmaekawa has joined #nixos
pie__ has quit [Ping timeout: 255 seconds]
wangoe has joined #nixos
tmaekawa has quit [Client Quit]
knupfer has quit [Remote host closed the connection]
<{^_^}> Channel nixos-18.03 advanced to https://github.com/NixOS/nixpkgs/commit/41b1c57d8dd (from 12 hours ago, history: https://channels.nix.gsc.io/nixos-18.03)
thblt has quit [Remote host closed the connection]
aflciqemr has joined #nixos
<Taneb> In nix-the-language, how can I read a string like "336" as an integer?
thblt has joined #nixos
<clever> Taneb: its ugly but: builtins.fromJSON "336"
knupfer has joined #nixos
<Taneb> clever: goodness, that is ugly
<Taneb> Thank you
<seville> clever, what about builtins.toInt ?
<clever> seville: 404, not found
<clever> seville: ah, thats in lib, not builtins
Alling has joined #nixos
<clever> and all its doing is fromJSON with a throw for non-int types
<clever> thats probably also where i saw that trick
<Alling> I have a shell.nix with haskell.packages.ghc802.ghcWithPackages (... doJailbreak ghc-mod)
<Alling> Configuring cabal-install-2.0.0.1... Setup: Encountered missing dependencies: Cabal >=2.0.1.0 && <2.1
<Alling> If I remove ghc-mod, it builds, but then I get no help in Atom.
knupfer has quit [Ping timeout: 240 seconds]
zybell has joined #nixos
<Alling> If I change ghc802 to ghc822, ghc-mod does not compile, with errors such as "Couldn't match expected type ‘Distribution.Types.UnqualComponentName.UnqualComponentName’ with actual type ‘[Char]’"
odi has joined #nixos
<Alling> So yeah ... how do I make this build?
sigmundv has quit [Ping timeout: 268 seconds]
<srhb> Alling: I guess you upgrade ghc-mod to build with GHC 8.2
rosa has quit [Quit: rosa]
simukis has joined #nixos
<Alling> srhb: It did work fine up until I upgraded to NixOS 18.03 though. So it should be possible to make it build in one way or another.
<srhb> Alling: In that case you might want to just pull an earlier 802 set that it builds with.
<Alling> srhb: How would I do that?
<srhb> Alling: You could have a 17.09 channel for instance (though it's probably not recommendable to keep it around for long)
rosa has joined #nixos
robstr has quit [Ping timeout: 265 seconds]
xy2_ has quit [Ping timeout: 245 seconds]
rosa has quit [Client Quit]
fendor has joined #nixos
sigmundv has joined #nixos
fendor has quit [Client Quit]
<{^_^}> [nixpkgs] @lsix opened pull request #38992 → gnupg: 2.2.5 -> 2.2.6 → https://git.io/vpvbm
xy2_ has joined #nixos
ckauhaus has joined #nixos
ditadi has joined #nixos
iqubic` has joined #nixos
rosa has joined #nixos
iqubic has quit [Ping timeout: 276 seconds]
ma27 has quit [Ping timeout: 256 seconds]
gspia has joined #nixos
ericsagnes has quit [Ping timeout: 260 seconds]
mahalel_ has quit [Ping timeout: 240 seconds]
rosa has quit [Quit: rosa]
rosa has joined #nixos
onlfhykdd has joined #nixos
Fare has quit [Ping timeout: 264 seconds]
pacmeister has joined #nixos
<{^_^}> [nixpkgs] @yorickvP opened pull request #38995 → rocksdb: use jemalloc 4.5.0 → https://git.io/vpvAm
<pacmeister> hi all i've been running into an issue with ecryptfs-setup-private
luto has left #nixos [#nixos]
<{^_^}> [nixpkgs] @Mic92 pushed to master « firefox-bin: add hint on how to update »: https://git.io/vpvAG
<{^_^}> [nixpkgs] @dywedir opened pull request #38997 → yarn: 1.5.1 -> 1.6.0 → https://git.io/vpvAn
<pacmeister> it tries to run the binary /run/wrappers/bin/mount.ecryptfs_private which doesn't exist by default, so i copied it from /nix/store/ecryptfs/bin to /run/wrappers/bin but then i get an fopen error
<clever> pacmeister: your not supposed to copy into that directory, but instead configure security.wrappers
<pacmeister> oh there is a config option for it?
<clever> yeah
<clever> pacmeister: some old examples i made: https://gist.github.com/cleverca22/5711322b5a12311571d8e828f40f0603
<pacmeister> cool thanks!
<clever> oh, and also
TweyII has quit [Ping timeout: 240 seconds]
<clever> the fact that the package is trying to run that path, implies that its already been fixed
flugsio2 is now known as flugsio
<clever> pacmeister: if you simply set boot.supportedFilesystems = [ "ecryptfs" ];, then this module will activate, and configure the wrapper for you
TweyII has joined #nixos
<pacmeister> cool so i don't need to configure security.wrappers then?
<clever> correct
<clever> boot.supportedFilesystems is also automated on the fsType of everything in fileSystems."/foo".fsType
<clever> so if you just configure an FS with the right type, it will be fully automatic
<pacmeister> okay so i setup boot.supportedFilesystems and i no longer need the files in /run/wrappers/bin, but i still get the fopen error
orivej has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @yorickvP opened pull request #38998 → rocksdb: package binary tools → https://git.io/vpvpY
<clever> pacmeister: what is the exact error msg?
<pacmeister> fopen: No such file or directory
<pacmeister> ERROR: Could not mount private ecryptfs directory
<clever> pacmeister: and what does google say about ecryptfs and that error?
Neo-- has quit [Ping timeout: 240 seconds]
jtojnar has quit [Read error: Connection reset by peer]
<pacmeister> i couldn't find anything, but i believe it is failing in this binary: https://github.com/dustinkirkland/ecryptfs-utils/blob/master/src/utils/mount.ecryptfs_private.c
chisui has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<pacmeister> pretty sure it is the sigfile
<pacmeister> The whole error message is this:
<pacmeister> Done configuring.
<pacmeister> Testing mount/write/umount/read...
<pacmeister> Inserted auth tok with sig [**********] into the user session keyring
<pacmeister> Inserted auth tok with sig [**********] into the user session keyring
<pacmeister> fopen: No such file or directory
<pacmeister> ERROR: Could not mount private ecryptfs directory
<clever> does ~/.ecryptfs/${alias}.sig exist?, check on both your user and root
<clever> and try copying it to roots home
patrl has joined #nixos
Myrl-saki has joined #nixos
<Myrl-saki> So... uh.... I compiled a ghc8.02.
<Myrl-saki> For ARM.
<clever> Myrl-saki: ow!
<Myrl-saki> It took 2 days.
<Myrl-saki> But.
<Myrl-saki> It compiled.
<yorick> shlevy: I see you added nixUnstable back. please keep a nixUnstable (or nixGit or whatever) package in nixpkgs so we can override it when needed :)
<Myrl-saki> Anyone wants it? :)
<Myrl-saki> clever: Did you move your target commit?
<pacmeister> yes there was .ecryptfs/Private.sig, copying .ecryptfs to the root home gets rid of the fopen issue but i still get an error
<clever> Myrl-saki: my hydra automatically follows one of the nixos channels
<pacmeister> mount: No such file or directory
<pacmeister> ERROR: Could not mount private ecryptfs directory
<Myrl-saki> clever: Oh. How does that work without a bincache?
<clever> pacmeister: its possible that the setuid root wrappers are breaking the $HOME detection
<clever> Myrl-saki: i am the binary cache :P
chisui_ has joined #nixos
<clever> Myrl-saki: hence, why it takes days to build anything
<Myrl-saki> clever: I mean
<Myrl-saki> clever: You're compiling everything, don't you have to do an (almost) full system rebuild every update?
<clever> Myrl-saki: yes
<Myrl-saki> clever: Especially since you're in unstable.
<Myrl-saki> clever: Ugh, sorry, I'm so roundabout in saying things. Lmao.
rosa_ has joined #nixos
<Myrl-saki> clever: Basically, don't the channels update faster than you can do the rebuild?
<clever> Myrl-saki: probably
<Myrl-saki> clever: So how do you keep the hydra updated for a moving target?
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/7ea6c395876 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<clever> Myrl-saki: i mostly ignore it, lol
<Myrl-saki> clever: Ohhh
<Myrl-saki> clever: It's just there for the sake of others?
<clever> sort of, its not often up to date, so its of little use
<Myrl-saki> clever: Oh. :P
rosa has quit [Read error: Connection reset by peer]
<clever> Myrl-saki: its also not clear why it hasnt been able to progress past binutils
<pacmeister> clever: cool i just ran ecryptfs-setup-private without root and it works now
<Myrl-saki> clever: Wait, let me check the logs again.
<clever> qemu-user fails with an unknown issue, and native fails due to the OOM killer
joehh has joined #nixos
<pacmeister> thanks again for your help!
<clever> pacmeister: yep
pacmeister has quit [Quit: WeeChat 2.0]
<Myrl-saki> clever: How much swap do you have?
<clever> Myrl-saki: added 1gig after it failed
<{^_^}> [nixpkgs] @jtojnar pushed to master « sublime3-dev: 3161 → 3162 »: https://git.io/vpvjJ
rosa_ has quit [Quit: rosa]
<zybell> not enough. as a rule swap should mirror ram at least or its nearly useless
<clever> zybell: thats also how much ram it has :P
leat has quit [Quit: WeeChat 2.0.1]
rosa_ has joined #nixos
<zybell> see *at least*
<TweyII> I can't imagine why the build failed :þ
orivej has joined #nixos
<clever> and the SD card is only 2gig total
<clever> id need to resize /boot to get more swap
<clever> also, i dont have a / or /nix partition!
<clever> the entire drive is /boot and swap!
rosa_ has quit [Client Quit]
<TweyII> This machine doesn't sound at all suited to being a build server :þ
leat has joined #nixos
rosa has joined #nixos
<clever> TweyII: can you guess how its even booting?, theres not even an OS on it!
<zybell> Is / in ram? How much do you reserve for it?
<Myrl-saki> clever: You missed a pun opportunity. :(
<clever> zybell: 40mb squashfs loaded over tftp at bootup
<clever> with a tmpfs to make it writable
<TweyII> clever: Net boot?
<clever> TweyII: yeah
<TweyII> Yep
<Myrl-saki> clever: Is this on qemu-arm? https://hydra.angeldsis.com/build/81768/nixlog/5
<Myrl-saki> It says failed, but there doesn't seem anything wrong with it
<clever> Myrl-saki: 142 is the actual raspberry pi
<zybell> Do you at least make -j1 to conserve ram?
<clever> zybell: yeah
orivej has quit [Ping timeout: 245 seconds]
<Myrl-saki> My load average is at 4, and all my cores at 100%; RAM's not a bottleneck, right?
<clever> Myrl-saki: not sure why that one had failed
ilyaigpetrov has joined #nixos
coot has joined #nixos
ThatDocsLady_ has joined #nixos
ThatDocsLady has quit [Remote host closed the connection]
joehh has quit [Ping timeout: 268 seconds]
joehh has joined #nixos
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/7ea6c395876 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
lonokhov has joined #nixos
<{^_^}> [nixpkgs] @Mic92 opened pull request #38999 → rustc: fix aarch64 by disabling two doc tests → https://git.io/vpfea
nuncanada has joined #nixos
Akii has quit [Quit: ZNC - http://znc.in]
iyzsong has quit [Ping timeout: 240 seconds]
rosa has quit [Quit: rosa]
<{^_^}> [nixpkgs] @Mic92 opened pull request #39000 → rustc: disable tests for aarch64 → https://git.io/vpfv1
<srhb> Yikes, hydra is not a release blocker...
<{^_^}> [nixpkgs] @Mic92 closed pull request #38999 → rustc: fix aarch64 by disabling two doc tests → https://git.io/vpfea
knupfer has joined #nixos
ericsagnes has joined #nixos
<zybell> clever:its OOM again but in a subproc not equiped to report it. I think I have noticed that you build multilib. Do you need it (as endresult) or do you build a bootstrap? further in constrained env I routinely patched the makefile to remove the .o when the .a was built.
<clever> zybell: its just normal nixpkgs with defaults right now
<clever> dmesg says OOM hasnt happened
knupfer has quit [Ping timeout: 264 seconds]
xy2_ has quit [Ping timeout: 255 seconds]
<zybell> idk if it works with reproducible builds
orivej has joined #nixos
<mkaito> does anyone actually use nix to build ruby stuff? I can't even get a working dev env up, because it keeps complaining about bundler versions.
simukis has quit [Ping timeout: 256 seconds]
xy2_ has joined #nixos
<zybell> how about replacing *all* `make ...` with `make ...;df` (even submakes) to see how full your drive gets?
<clever> zybell: eek, 500mb free on / right now
xcmw has joined #nixos
<yorick> can I do types.coercedTo list (x: [x]) (listOf string)?
<zybell> after a failed make removed its 'tainted' produkts? or are the .o files around?
<yorick> I mean, coercedTo string
<clever> zybell: make itself will delete any partially made outputs if a given step fails
iyzsong has joined #nixos
<yorick> I have to turn a string option into a list, I'd like to do it without breaking everything
<clever> zybell: then nix will just delete the entire directory when the nix-build fails
uwap has quit [Quit: ZNC 1.6.5 - http://znc.in]
znc-user has joined #nixos
uwap has joined #nixos
rosa has joined #nixos
<zybell> and that leaves 500mb;but a regular report in the log *while* building will give more real numbers.
<clever> yeah
<Myrl-saki> Am I the only one who's getting a memory leak on the X server?
<Myrl-saki> 640 root 20 0 1610M 1053M 98M S 0.0 7.0 0:00.12 /nix/store/5fqxj54c7pnb65zhzngs51rdf132cnam-xorg-server-1.19.6/bin/X -config /nix/store/wf0hqr73addyznlrv39ba40npp9m4wkk-xserver.conf -xkbdir /nix/store/2piac6kfk8ah0461ih29pmk6yfwnrrpj-xkeyboard-config-2.22/e
<Myrl-saki> 1053M resident
<clever> Myrl-saki: xrestop
<zybell> It maybe counts your framebuffer
pie__ has joined #nixos
<Myrl-saki> Okay, apparently, it was steam.
rosa has quit [Client Quit]
<Myrl-saki> Something something not FOSS.
<Myrl-saki> Though, it's still 90 MB, that's still pretty high, IMO?
iyzsong has quit [Ping timeout: 256 seconds]
<clever> the pixel mem for my window manager alone is 196,435K
<clever> thats twice what you have
<Myrl-saki> Lmao
<clever> and i have relatively few windows open, compared to what i normally do
seafood has joined #nixos
<clever> as-in, they actually all fit on the task bars today!
<clever> normally i have 40+ windows open, lol
<Myrl-saki> clever: ..wow
<clever> oh, and steam is open, its pixelmem is about 300k
znc-user has quit [Quit: ZNC 1.6.5 - http://znc.in]
<yorick> i3: 66000k, compton: 44000k
<yorick> literally unplayable
<Myrl-saki> yorick: Lmao
<Myrl-saki> ...
<Myrl-saki> I didn't even realized I disabled compton.
<zybell> I hav 150m in xorg
<yorick> yeah, me too
<yorick> Myrl-saki: you don't see the tearing everywhere
<yorick> ?
<yorick> (oh god the tearing)
pie__ has quit [Ping timeout: 256 seconds]
<Myrl-saki> yorick: Weirdly not.
<Myrl-saki> yorick: That was exactly why I enabled compton.
<Myrl-saki> But now I don't notice it..
<Myrl-saki> Maybe a driver update fixed it?
<yorick> Myrl-saki: it doesn't happen on fullscreen chrome for me
<sphalerite> Is there a way to change the ulimit on a running process?
<sphalerite> I want to get a core dump the next time my tmux crashes
<sphalerite> nvm I've found what causes it to crash so I can just run it with gdb right off the bat
lo_mlatu has quit [Quit: Connection closed for inactivity]
ditadi has quit [Quit: WeeChat 2.0]
znc-user has joined #nixos
alex`` has quit [Quit: WeeChat 2.1]
<clever> zybell: collect2: error: ld returned 1 exit status
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/vpfTf
<{^_^}> → 9580f221 by @wucke13: Solving #30396
<{^_^}> → 247c97b6 by @adisbladis: Merge pull request #35896 from wucke13/master
<{^_^}> [nixpkgs] @adisbladis merged pull request #35896 → Solving #30396 → https://git.io/vAiF4
<Myrl-saki> clever: I've been looking for a Linux From Scratch thingy, but LFS is too hardcore for me, can NixOS do the same, but less insane?
pie__ has joined #nixos
znc-user has quit [Client Quit]
<Myrl-saki> clever: Err, NotOS*
<Myrl-saki> not-OS?
<clever> Myrl-saki: you can either use not-os to get a heavily stripped down linux os, or you could just rewrite nixpkgs from scratch if your feeling insane :P
<Myrl-saki> clever: Anyways, use-case is an OS that boots immediately to Wine.
<clever> Myrl-saki: that could probably be done, just need to get X working under not-os
hyper_ch2_ has joined #nixos
hyper_ch2 has quit [Ping timeout: 260 seconds]
<Myrl-saki> clever: How about xinit?
<Myrl-saki> Err, what does systemd do to start up the X server? The X binary?
<clever> typically, the display manager is ran
<clever> and that is responsible for running X
<sphalerite> how do I get gdb to use the debugging symbols created in a derivation with separateDebugInfo = true; ?
<clever> sphalerite: need to set one of the search path flags, cant remember the right name
<Myrl-saki> clever: Thanks.
<clever> Myrl-saki: an entire display manager, written in haskell
<sphalerite> Myrl-saki: you can use plain nixos too, I did that for a talk last summer. Just made a nixos iso that booted straight into my presentation and wrote it to a USB stick
<Myrl-saki> clever: Also, the xinit problem is only because of systemd, I believe?
<clever> Myrl-saki: i think so
<clever> sphalerite: memory footprint is also at plat, a minimal nixos squashfs is about 300mb, but not-os is 40mb
<clever> at play*
<Myrl-saki> clever: Thanks, I'll take a look at all of these. LightDM works great, but I like configurability that I understand.
<Myrl-saki> clever: I think with Wine installed, it'll increase the size by a lot that it'll be indistinguishable, but still smaller than Windows tho!
<adisbladis[m]> Myrl-saki: Haha :) Booting directly to wine... Reminds me of the old Uncyclopedia article on Gentoo that ended up with exactly that
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/vpfTr
<{^_^}> → 70588bc8 by @scode: signal-desktop: 0.7.0 -> 0.7.1
<{^_^}> → 195d5679 by @adisbladis: Merge pull request #38986 from scode/scode/signal-171-update
<{^_^}> [nixpkgs] @adisbladis merged pull request #38986 → signal-desktop: 0.7.0 -> 0.7.1 → https://git.io/vpvEj
<{^_^}> [nixops] @AmineChikhaoui pushed to master « automatically retry DescribeIamInstanceProfileAssociations api calls »: https://git.io/vpfTK
<{^_^}> [nixpkgs] @yorickvP opened pull request #39002 → oauth2_proxy: refactor service → https://git.io/vpfT9
<sphalerite> Myrl-saki: since X already works on nixos using nixos is probably the easier option though
<Myrl-saki> sphalerite: Yeah, that's also what I was thinking.
<Myrl-saki> sphalerite: I could also make a session that calls Wine.
<sphalerite> https://sphalerite.org/dump/presentation-configuration.nix is what I used for the presentation, built using nix build -f '<nixpkgs/nixos>' -I nixos-config=./presentation-configuration.nix config.system.build.isoImage
vaninwagen has quit [Ping timeout: 264 seconds]
<sphalerite> well you'll probably want to have a window manager as well
<clever> sphalerite: wine has a mode where it doesnt need a window manager
<Myrl-saki> Yeah, virtual desktop mode.
<clever> virtual desktop mode
znc-user has joined #nixos
<sphalerite> oooh yeah
<sphalerite> what are you aiming to end up with?
<Myrl-saki> I doubt that they will like it tho, but hey, it's worth a try.
<clever> i mostly use it to force "fullscreen only" games to play in a window
znc-user has quit [Client Quit]
<zybell> clever:no isl->zlib wont work(at beginning of full log) ld ... -lz ...
<Myrl-saki> sphalerite: I have no idea. I get Wine+Linux to have better performance than Windows, for some reason.
hyper_ch2_ has quit [Ping timeout: 260 seconds]
<sphalerite> does running printf '\e[6 q' crash tmux for anyone else?
<Myrl-saki> sphalerite: Maybe it's the Dx9 -> OpenGL that makes it fast
<clever> zybell: then its an issue with the nixpkgs rev?
<sphalerite> Myrl-saki: well with gallium I think DX can work natively as well?
<sphalerite> Myrl-saki: but what are you doing the whole thing for?
<{^_^}> [nixpkgs] @P-E-Meunier opened pull request #39003 → Carnix: 0.6 -> 0.7 → https://git.io/vpfkn
<Myrl-saki> sphalerite: Just had a bit of friendly argument with friends that Windows sucks. :P
<sphalerite> lol
<Myrl-saki> sphalerite: I mean, I could also point to ReactOS, but they have worse compatibility.
jtojnar has joined #nixos
<Myrl-saki> sphalerite: It's very amazing that Wine is compatible with a lot of things I use.
<sphalerite> yeah wine is a crazy project
<Myrl-saki> sphalerite: Some guy ran a ransomware in Wine and it actually ransomewared his VM.
hyper_ch2 has joined #nixos
nckx has quit [Ping timeout: 264 seconds]
Akii has joined #nixos
<clever> Myrl-saki: i think i saw that during a pentesting defcon talk
Akii has quit [Client Quit]
<sphalerite> hahaha
lord| has quit [Ping timeout: 240 seconds]
<clever> the local IT guy wanted to help the pentester, not knowing he was an attacker :P
<clever> and popped the usb stick into his ubuntu machine
<clever> and the malware just worked, lol
<srhb> It's not possible to allow just Hydra to build without using restricted mode, right?
Akii has joined #nixos
<Myrl-saki> clever: On the topic of malware, does repairing/verifying the nix-store without a bincache rebuild the package then comparing it?
<sphalerite> what's the quickest way to get debian running in a container of some description on nixos?
<srhb> sphalerite: docker run debian ?
<clever> Myrl-saki: for the verify operation, nix keeps the "correct" hash in db.sqlite
<srhb> ... I hate myself for just recommending docker like that. :P
<sphalerite> Myrl-saki: "repair" checks the package against the hash it was initially registered int he store with
<sphalerite> srhb: but I don't have docker :p
<Myrl-saki> Ohh
<srhb> sphalerite: Well, decide on a container executor and ask again :P
<Myrl-saki> On another note, why does the /nix/store filename not include the output in the hashing?
<clever> Myrl-saki: in theory, malware that is aware of nix can just fudge the hashes in db.sqlite, to claim the backdoor'd binaries are not corrupt
Akii has quit [Client Quit]
binarin has joined #nixos
Akii has joined #nixos
<sphalerite> Myrl-saki: which output?
<sphalerite> oh you mean the build result?
<Dezgeg> you could verify the hash against the signature, however
<Myrl-saki> sphalerite: Yeah.
alexteves_ has joined #nixos
<sphalerite> because the build result depends on the store path.
<Dezgeg> I guess the malware would just remove the signature from the database then, though :P
<Myrl-saki> sphalerite: Oh okay, makes sense.
<clever> Dezgeg: which is why ive thought of an extra util to audit the store, double-check signatures against cache.nixos.org, and then just anything that was not signed by nixos
<Myrl-saki> sphalerite: Proof-of-work idea! Finding a fixpoint that allows that. :D
<Myrl-saki> I wonder how long the runtime would be..
<clever> Dezgeg: those are either config files built locally, stuff --fallback built, or infested paths
<sphalerite> Myrl-saki: yes, I'm sure that would be super speedy :p
<Dezgeg> yup
<sphalerite> Myrl-saki: in fact there might not even be a fixpoint. It could loop as well
<jtojnar> btw, regarding wine, is there an example of something like mkDerivation that would run msi installer and wrap the installed executables to run them with wine?
<sphalerite> Myrl-saki: but ideally the only difference between each version would be the store path itself.
<sphalerite> Something something intensional store
<clever> jtojnar: 2 or 3 people tried to make PR's for that, and they where rejected
<sphalerite> the model where the output hash is included in the path was already mentioned in Eelco's PhD thesis, but it's complicated to actually implement
acarrico has joined #nixos
<sphalerite> srhb: using docker in the end, thanks for the suggestion
<Myrl-saki> sphalerite: What's intensional store?
<Myrl-saki> Errr, I feel like I'm stupid rn
<clever> jtojnar: read my comment in https://github.com/NixOS/nixpkgs/issues/10165
<Myrl-saki> sphalerite: Oh, phew, I thought "intensional" there was an adjective.
Akii has quit [Quit: ZNC 1.6.5 - http://znc.in]
<zybell> I think the build process *is* buggy. For once reproducible build means: It is reproducible how much diskspace is needed before build starts to be successful. Simply checking with df wont guarantee success (parallel running other build could interfere)but can guaratee failure. If enough space is available it could be comitted to the build by setting up a loop-device.
<jtojnar> clever: thanks, that is what I was looking for
oida has quit [Remote host closed the connection]
<sphalerite> Myrl-saki: it is an adjective…
oida has joined #nixos
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Myrl-saki> sphalerite: I mean, I thought "intensional store" was to be taken as two separate words
<sphalerite> zybell: it can't guarantee failure either
<sphalerite> zybell: a build might be running and finish intermediately, and the cleanup of that one frees enough space for the build to succeed
<{^_^}> [nixpkgs] @clefru opened pull request #39004 → Remove overrides for dead emacs packages. → https://git.io/vpfIz
Akii has joined #nixos
<zybell> by breaking of the build sure;-)
<sphalerite> zybell: or there might be filesystem compression at play, which fudges the reported available space
xcmw has joined #nixos
pie__ has quit [Ping timeout: 264 seconds]
<Myrl-saki> sphalerite: Does the hashing depend on the hash of the dependencies?
xcmw has quit [Client Quit]
<sphalerite> zybell: no I mean… start with 6GB space available. build A starts, uses up 4GB. While build A is running, build B, which also needs 4GB, starts too. build A finishes and its intermediate files are cleaned up, leaving enough space for build B to succeed even though there was less than 4GB available when it started
<sphalerite> Myrl-saki: the derivations for the dependencies, yet. The outputs, no.
<Myrl-saki> sphalerite: Ah.
Akii has quit [Client Quit]
xcmw has joined #nixos
Akii has joined #nixos
<Myrl-saki> Thanks for the convo. Really enjoy the convo here a lot. :P
<{^_^}> [nixpkgs] @yegortimoshenko merged pull request #38998 → rocksdb: package binary tools → https://git.io/vpvpY
<{^_^}> [nixpkgs] @yegortimoshenko pushed 3 commits to master: https://git.io/vpfIh
<{^_^}> → 415093d4 by @yorickvP: rocksdb: package binary tools
<{^_^}> → f2e16a64 by @yorickvP: rocksdb: use stdenv.lib instead of lib
<{^_^}> → 63a865c4 by @yegortimoshenko: Merge pull request #38998 from yorickvP/rocksdb-full
triston has joined #nixos
triston has quit [Max SendQ exceeded]
<sphalerite> ^^
Akii has quit [Client Quit]
<srhb> Hmm. I now have restrict-eval = false, pure-eval = false, allowed-uris = file:///nix/store and I still have hydra-evaluator complaining that access to path /nix/store/... is forbidden in restricted mode. What gives?
logzet has joined #nixos
<clever> srhb: its hard-coded to true, bypassing all config
<srhb> Oh bugger.
<srhb> clever: Thanks.
<clever> you will have to patch hydra to change it
<{^_^}> [nixpkgs] @abbradar opened pull request #39005 → Dante improvements → https://git.io/vpfLc
<srhb> Yeah, thanks :)
<srhb> I wonder if it's easier to just add it to the search path...
zipnoob has left #nixos ["WeeChat 2.1"]
<srhb> Probably.
Akii has joined #nixos
tertle||eltret has quit [Quit: Connection closed for inactivity]
<srhb> otoh I probably can't have hydra import all of my nix store :P
<srhb> (That would be fun!)
<htafdwes> is the graphical install kinda like an inside joke or something?
<sphalerite> lol
<{^_^}> [nixpkgs] @abbradar opened pull request #39006 → Add userdb support to PAM → https://git.io/vpfLw
<htafdwes> I'm trying it in virtual box, and start display manager just gives me a black screen with a cursor.
ajs124 has joined #nixos
<htafdwes> I have no idea how to install this thing. said something about a configuration.nix but I don't know where that is.
<sphalerite> hm that shoulnd't be happening
<srhb> It should also auto launch iirc?
<sphalerite> https://nixos.org/nixos/manual/index.html#sec-installation explains how to configure and install nixos
aarvar has joined #nixos
<zybell> sphalerite:I did understand that from the beginning. But the failure guarantee was meant another way: In the moment of check 4G can't be *committed* to that build. That leaves two options:Either wait and commit later when 4G are available, or break of and complain directly to the user.Both ways can be combined by Timeout. There is another aspect of checking for space.Assume only minimal space is missing. the last write fails and the binary is
<zybell> installed with two byte less. The *reproducible* build did *not reproduce*.
<sphalerite> but yeah the "graphical installer" image doesn't actually have any graphical tools for installing nixos
<htafdwes> I'm using nixos graphical 18.03
<htafdwes> sphalerite: ah, so it is a joke
<htafdwes> lol
<sphalerite> htafdwes: it's not a joke, it has useful things like a graphical editor and graphical tools for disk partitioning etc
<sphalerite> which some people may prefer to use :)
<sphalerite> but there's no installation wizard or anythign
<htafdwes> oh, so it's not just supposed to be a black screen with a mouse cursor?
<sphalerite> no
Neo-- has joined #nixos
<sphalerite> it's supposed to be a proper graphical shell. Plasma, I think.
justanotheruser has quit [Quit: WeeChat 2.0]
<sphalerite> zybell: so how would you envision determining the amount of space a build takes up without building it? :)
Akii has quit [Quit: ZNC - http://znc.in]
<sphalerite> zybell: with zfs you could actually set it up to reserve the appropriate amount of space for a build, but that doens't solve the problem of actually knowing how much space you need
justanotheruser has joined #nixos
<sphalerite> nix isn't a magic spell that makes reproducible builds appear out of thin air. But it is a powerful tool for making more reproducible
<sphalerite> builds
iyzsong has joined #nixos
nick_l has joined #nixos
<sphalerite> htafdwes: does the journal say anything relevant maybe? Try journalctl -u display-manager
katona has joined #nixos
<Dezgeg> you could probably use something like device mapper thin provisioning to be able to dynamically allocate disk space for a build (or kill it when it goes over the limit), but that would be pretty complicated
<nick_l> How do I upgrade to 18.03? I replaced 17.09 with 18.03 in my deployment script and it justs hangs after building the system configuration... warning: unknown setting 'signed-binary-caches'
<Dezgeg> try waiting more
<LnL> that's normal if you don't use nixos-rebuild boot
<htafdwes> sphalerite: I usually reboot it so didn't check. I'm guessing it might be RAM limitations, cause it's in a virtualbox only like a gig of ram allocated forit.
<nick_l> Dezgeg: more than 5 minutes?
<nick_l> With every other upgrade it at least outputs something.
<nick_l> Or it uses CPU.
<Dezgeg> hmmh, yeah that should be definitely enough waiting to see some output
<nick_l> There is nothing to indicate it is doing something.
<sphalerite> htafdwes: hm. While 1G is a bit tight, I think it should fail more explicitly.
<symphorien> nick_l: I have experienced that; the solution was to first rebuild 17.09 with nix.package = pkgs.nixUnstable; then restart the nix-daemon then rebuild with 18.03
<sphalerite> htafdwes: but yeah try giving it more RAM and see if that works
<nick_l> symphorien: OK, thanks, but this is a horrible upgrade procedure.
<Dezgeg> well it should really be debugged why it is hanging
<zybell> sphalerite:By building it ofc;-) Build it in "unlimited" space, monitor df (MAKE="df&&make" CC="df&&gcc"...)while building,calculate the max and patch it into build expression.
<nick_l> That is also not documented in the release notes, is it?
<LnL> nick_l: symphorien: that's not neccecary, the warning is normal and just a warning
<symphorien> LnL: I mean the hang
<symphorien> I know the warning is harmless
rauno has quit [Ping timeout: 264 seconds]
odi has quit [Ping timeout: 240 seconds]
<sphalerite> zybell: that seems like a terribly brittle and complex way of doing it.
<sphalerite> zybell: but feel free to implement it :p
crooksey has joined #nixos
<Dezgeg> dm-thinp!
<crooksey> Any oh-my-zsh users here?
Rusty1_ has joined #nixos
<katona> Hi, how can I print with a Samsung m2020 printer? I have cups enabled, and after I got back some errors I started googling finding out about Samsung unified printer driver and enabled it as well, but still no luck
<zybell> It will make sure the expression builds at least once
<sphalerite> !doesanyoneuse
<{^_^}> Don't ask if anyone uses software xyz, just ask your specific question. This helps solve your problem quicker, and allows people who haven't used xyz but may still be able to help you to do so.
<sphalerite> crooksey: ^
<LnL> symphorien: if that's the case then it's a bug
ndrei has quit [Remote host closed the connection]
onlfhykdd has quit [Remote host closed the connection]
aflciqemr has quit [Remote host closed the connection]
ndrei- has quit [Remote host closed the connection]
ndrei_ has quit [Remote host closed the connection]
<Dezgeg> or I wonder if with cgroups you could get a notification on disk space use
<nick_l> LnL: so, should I just follow this plan then?
<Dezgeg> probably not
<nick_l> LnL: his*
<nick_l> This is a bug and I don't understand how anyone has been able to upgrade without doing that.
<LnL> nick_l: I would recommend nixos-rebuild boot && reboot for an upgrade like this
<katona> I use plasma 5 and with the GUI I tried adding the local printer and set the ppd file in the official driver as well as the generic one and a similar Samsung one
<nick_l> LnL: after 8 minutes it started to do something.
Akii has joined #nixos
<symphorien> LnL: I wonder if it is possible to have nixos tests to test whether one can upgrade from $last_stable to master
<LnL> don't see why not
<crooksey> Ok, well I am using oh-my-zsh and I cant find a working configuration
<symphorien> because they would depend on two different revisions of nixpkgs
<adisbladis[m]> katona: You want to add your printer drivers to services.printing.drivers
<Dezgeg> you can very well give hydra two different git repositories as source inputs
<symphorien> ah ok
Akii has quit [Max SendQ exceeded]
<crooksey> But neither seems to work, the first solution via reddit compiles no problem, but no theme settings apply
Akii has joined #nixos
Fare has joined #nixos
<katona> adisbladis[m]: That's what I tried to do with the Samsung unified driver , but still no luck. Also, where can I find a list of available drivers?
<crooksey> And the blog.hrwd option failes as oh-my-zsh cant locate the check_for_updates.sh
<zybell> katona:http://localhost:631/
<symphorien> crooksey: https://nixos.org/nixos/options.html#programs.zsh.enable set this to true
<adisbladis[m]> katona: Sadly not an exhaustive list but https://github.com/NixOS/nixpkgs/tree/master/pkgs/misc/drivers contains a few of them. All of my printing hardware is OK with gutenprint
<katona> Thank you ,will try it now
rosa has joined #nixos
Akii has quit [Client Quit]
<symphorien> katona: I have this http://xelpaste.net/gxLWWU
<symphorien> but the version of the samsung driver you want depends on which printer you target
rosa has quit [Client Quit]
Akii has joined #nixos
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vpfm8
<{^_^}> → dee60d8e by @Mic92: rustc: disable tests for aarch64
<{^_^}> → 74ed06ef by @Mic92: Merge pull request #39000 from Mic92/rustc-disable-aarch64-tests
<{^_^}> [nixpkgs] @Mic92 merged pull request #39000 → rustc: disable tests for aarch64 → https://git.io/vpfv1
<katona> symphorien adisbladis[m] zybell thanks, I got it working! I needed Samsung unified Linux driver indeed just a specific version.
odi has joined #nixos
reinzelmann has quit [Ping timeout: 255 seconds]
<LnL> crooksey: use program.zsh.enable and programs.zsh.oh-my-zsh.*
reinzelmann has joined #nixos
rosa has joined #nixos
<katona> One other issue, libreoffice fresh (6.0) as well as normal (5.something) doesn't use any theme on plasma 5 for some reason.
<katona> I can't currently test it on gnome , but on an another machine I remember it working perfectly.
<katona> Currently I'm on 18.03
<Aleksejs> Hi, can I ask the same question again? I haven't got any response. I'm using nixops to deploy to digital ocean. I also want the other guy to be able to deploy. What is the best way to do it? Should we share state file somehow or is there any better way?
<clever> Aleksejs: generally, you should have a central machine that you run nixops on, where the state file is kept, just left in the default directoryu
<adisbladis[m]> Aleksejs: Nixops has an export feature to export to json
iyzsong has quit [Ping timeout: 240 seconds]
<symphorien> katona: https://github.com/NixOS/nixpkgs/issues/37703#issuecomment-381375411 apparently a fix has been pushed on master
<Aleksejs> adisbladis[m]: wow, thanks! I'll try that feature
<adisbladis[m]> Aleksejs: I do something like this: https://ptpb.pw/4-nT
<Aleksejs> yeah, makes sense
<Aleksejs> I think I'll put it in some script
rosa has quit [Quit: rosa]
Alling has quit [Quit: Page closed]
<katona> symphorien: thank you!
rosa has joined #nixos
pie__ has joined #nixos
coot has quit [Quit: coot]
jperras has joined #nixos
ihar has joined #nixos
coot has joined #nixos
coot has quit [Remote host closed the connection]
szicari has joined #nixos
wangoe has quit [Quit: WeeChat 1.9.1]
jperras has quit [Ping timeout: 260 seconds]
selaux has quit [Remote host closed the connection]
jperras has joined #nixos
odi has quit [Read error: Connection reset by peer]
odi has joined #nixos
asuryawanshi has quit [Ping timeout: 256 seconds]
MarcWeber has quit [Remote host closed the connection]
Synthetica has joined #nixos
pie_ has joined #nixos
pie__ has quit [Read error: Connection reset by peer]
pie_ has quit [Read error: Connection reset by peer]
pie_ has joined #nixos
blankhart has joined #nixos
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/63a865c403c (from 88 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<rizary> hi, still trying to learn nix, if I have the following file structure https://gist.github.com/Rizary/3cc951291feffde34e0099ec5e0a633e, is it possible to have cabal installed under my nix-shell?
erasmas has joined #nixos
<rizary> i have tried `nix-shell --attr pkgTest.env default.nix`, or `nix-shell --attr env default.nix` but still got error attribute not found
roconnor has joined #nixos
<symphorien> rizary: for --attr to work you must return an attrset: { foo = "bar"; baz = false ; } for example
<rizary> i found in another tutorial that use only:
<rizary> let ...in
<rizary> { project0 = pkgs.haskellPackages.callPackage ./default.nix { };
reinzelmann has quit [Quit: Leaving]
<symphorien> here your default.nix evaluates as pkgTest which is a derivation
<symphorien> so no --attr is needed
jmiven has quit [Quit: co'o]
<rizary> so about cabal, when i enter nix-shell, cabal doesn't automatically installed. Is it common? or usually when we go into nix-shell, it's already included cabal?
LysergicDreams has quit [Ping timeout: 264 seconds]
jmiven has joined #nixos
<{^_^}> [nixpkgs] @yorickvP opened pull request #39008 → Youtrack package and service → https://git.io/vpfCm
<{^_^}> [nix] @NinjaTrappeur opened pull request #2080 → Nix repl does not interrupt partially typed in expressions on Ctrl-C → https://git.io/vpfCY
<symphorien> sorry I don't use haskell
<symphorien> but in general you may stack nix-shell so nix-shell -p cabal (or whatever it is) inside the first shell might work
sehqlr has joined #nixos
<infinisil> Um, what do I do when I'm trying to build a rust package with rustPlatform.buildRustPackage but the source doesn't have a Cargo.lock file?
<zybell> If you want some default in nix-shell use shell.nix
<TweyII> infinisil: ‘cargo update’ will give you one, I think
<infinisil> But where do I run this?
<infinisil> Because the dependencies want to get fetched before patchPhase even
LysergicDreams has joined #nixos
<TweyII> Mmm
<zybell> rizary:If you want some default in nix-shell use shell.nix
<TweyII> infinisil: It's a binary, right?
<rizary> zybell: i did
<rizary> i mean i have shell.nix
<infinisil> TweyII: The package I'm trying to nixify? Yes
<TweyII> infinisil: Accepted Cargo practice is to include a Cargo.lock with any binary
<TweyII> infinisil: So you might want to consider patching upstream
<zybell> in that dir?
<infinisil> TweyII: Yeah, but it should be patchable in nix still
<symphorien> infinisil: try postUnpack
<rizary> zybell: i have this 3 file under same folder https://gist.github.com/Rizary/3cc951291feffde34e0099ec5e0a633e
<zybell> its like default.nix but for nix-shell
<symphorien> zybell: default.nix is fine also
<infinisil> symphorien: Just tried it, seems to be completely ignored
<symphorien> if no shell.nix is there then nix-shell will default to default.nix
odi has quit [Remote host closed the connection]
<zybell> in shell.nix import cabal
odi has joined #nixos
<zybell> afk
<symphorien> infinisil: a quick read suggests buildRustPackage clobbers these attrs https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/rust/build-rust-crate.nix#L352
<symphorien> this is unfortunate
<symphorien> ah wrong file
<symphorien> infinisil: apparently postUnpack is already too late: https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/rust/default.nix#L56
<infinisil> Yeah saw that too
himmAllRight has quit [Remote host closed the connection]
<infinisil> I'm just gonna fork it for now I guess..
<symphorien> you can still overrideAttr to prepend something to postUnpack
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/vpf81
<{^_^}> → a91fb422 by @NinjaTrappeur: nix repl: Fix multiline SIGINT handling.
<{^_^}> → d5c9315d by @edolstra: Merge branch 'repl' of https://github.com/NinjaTrappeur/nix
<{^_^}> [nixpkgs] @yegortimoshenko merged pull request #38995 → rocksdb: use jemalloc 4.5.0 → https://git.io/vpvAm
<{^_^}> [nixpkgs] @yegortimoshenko pushed 4 commits to master: https://git.io/vpf8M
<{^_^}> → d536542e by @yorickvP: jemalloc: add 4.5.0 version
<{^_^}> → 2c5efc87 by @yorickvP: rocksdb: use jemalloc 4.5.0
<{^_^}> → c03f5f55 by @yorickvP: jemalloc: don't try to patch 4.5.0
<{^_^}> [nix] @edolstra merged pull request #2080 → Nix repl does not interrupt partially typed in expressions on Ctrl-C → https://git.io/vpfCY
odi has quit [Ping timeout: 255 seconds]
winem_ has quit [Ping timeout: 246 seconds]
drakonis has joined #nixos
mounty has quit [Read error: Connection reset by peer]
mounty has joined #nixos
coot has joined #nixos
deanman_ is now known as deanman
Neo-- has quit [Ping timeout: 264 seconds]
<infinisil> symphorien: Ah, the argument extraPostFetch to fetchFromGitHub works
coot has quit [Client Quit]
cross has quit [Remote host closed the connection]
<infinisil> but I need to set CARGO_HOME and use ${cargo}/bin/cargo and then the hash would probably change all the time..
silver has joined #nixos
<symphorien> no you have to put the cargo.lock in the nix file
<symphorien> since it is impure (it depends on the state of crates.io)
<infinisil> Ahh I see
odi has joined #nixos
rosa has quit [Quit: rosa]
Arcaelyx has joined #nixos
<infinisil> symphorien: So I'm doing `extraPostFetch = "cp ${./Cargo.lock} $out/Cargo.lock";` now
rosa has joined #nixos
blym has joined #nixos
Olgierd has quit [Quit: WeeChat 1.9.1]
<infinisil> I'll make an upstream PR to fix it though and won't make the nixpkgs PR to add the package until that's merged (and a new version is out)
Olgierd has joined #nixos
Olgierd has quit [Changing host]
Olgierd has joined #nixos
<symphorien> nice
<infinisil> It's this one btw: https://github.com/bootandy/dust
lo_mlatu has joined #nixos
<{^_^}> [nixpkgs] @etu opened pull request #39009 → browserpass: fix gnupg dependency issue → https://git.io/vpfEm
ryanartecona has joined #nixos
astiles has joined #nixos
rosa has quit [Quit: rosa]
hyper_ch2 has quit [Quit: Page closed]
ryanartecona has quit [Client Quit]
ryanartecona has joined #nixos
drakonis has quit [Remote host closed the connection]
rosa has joined #nixos
rosa has quit [Client Quit]
MP2E has joined #nixos
coot has joined #nixos
ndrei has joined #nixos
sehqlr has quit [Ping timeout: 264 seconds]
<sphalerite> Could someone have a look and see if they can reproduce this tmux problem I'm having?
<sphalerite> In a tmux server that you don't mind losing, run printf '\e[6 q'
lonokhov has quit [Quit: leaving]
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<symphorien> sphalerite: nothing happens
<joko> sphalerite: nothing happens here, too... g2g though
odi has quit [Ping timeout: 260 seconds]
Fare has quit [Ping timeout: 240 seconds]
<sphalerite> huh. WHy does it crash for me :|
<sphalerite> well it crashes on one machine but not on my laptop -_-
xcmw has joined #nixos
astiles has quit [Remote host closed the connection]
drakonis_ has joined #nixos
<sphalerite> symphorien: did you include the space?
fragamus has joined #nixos
seville has quit [Quit: Leaving]
<symphorien> yes, just copy paste from irc
ryantrinkle has joined #nixos
rosa has joined #nixos
drewc has joined #nixos
<infinisil> sphalerite: Also nothing happening for me
<sphalerite> :|
<infinisil> Wait
<infinisil> The cursor is different
<infinisil> It's a line instead of a block now, but otherwise working just fine
<sphalerite> yeah that's what the escape sequence is supposed to do
<sphalerite> but for me it just crashes tmux on several machines
<etu[m]> Yeah, my caret becomes a line instead of a block
<etu[m]> As well
<etu[m]> Like the others then
<infinisil> Could it be the terminal emulator? I'm using alacritty
<etu[m]> Shouldn't affect tmux at all really? I mean it's all up to the terminal emulator.
<etu[m]> I'm on stupidterm for reference
<clever> sphalerite: the line cursor just feels wrong in xterm lol
nick_l has quit [Ping timeout: 260 seconds]
<sphalerite> huh, indeed it, it doesn't crash in alacritty
<sphalerite> ok so it seems to depend on $TERM
<infinisil> I hate that env var..
<sphalerite> clever: I like having vim switch the cursor to the vertical bar in insert mode
<sphalerite> clever: means I don't have to look at the bottom, or type, to determine the mode I'm in
<clever> sphalerite: tmux also restores the original cursor on shutdown, so the terminal isnt "damaged"
<clever> ah, i can see that being handy
<clever> though i just keep better track of the state, most of the time
<infinisil> sphalerite: That seems like a nice idea, do you have the config to get this already?
rosa has quit [Quit: rosa]
<clever> sphalerite: in xfce terminal, the first run of that printf printed garbage
<clever> the next 2 runs didnt, and the cursor hasnt changed
<sphalerite> infinisil: wait hang on, this doesn't have an extra bit which is nice
<Dezgeg> enable coredumpctl and start debugging?
<infinisil> sphalerite: Why the exists TMUX?
<sphalerite> infinisil: because it kind of screws up on the linux console
<sphalerite> there, now I've added the underline cursor for replace and such
<ryantrinkle> grahamc: how tough do you think it'd be to adapt https://github.com/grahamc/packet-provision-nixos-ipxe to boot the standard NixOS graphical installer?
<ryantrinkle> we're doing a lot of installing around the office lately :P
<clever> ryantrinkle: this nixos module configures a complete router to act as an ipxe server
<infinisil> sphalerite: Thanks, I'll give it a try
<ryantrinkle> clever: ah, yes, srhb pointed me at that
<sphalerite> infinisil: it doesn't work for neovim btw, the settings are different
<clever> ryantrinkle: it also includes the justdoit script in the netboot image, so you literally type "justdoit" at the root shell, and it installs nixos
<ryantrinkle> but i'm a little confused: how does this actually get the pxe image?
<ryantrinkle> oh nvm, i see it now
<clever> ryantrinkle: line 11 loads the netboot installer profile, which generates an initrd that contains the entire rootfs
<ryantrinkle> thanks!
<clever> ryantrinkle: 36 makes a tftp root directory containing the bootloaders
<clever> ryantrinkle: 42 makes an http dir with the kernel and initrd
<ryantrinkle> yeah, that's the part i missed the first time around :)
<ryantrinkle> line 36
<infinisil> sphalerite: Using normal vim
<sphalerite> perfect then
<infinisil> Although I've been wanting to switch to emacs evil mode for more things
<sphalerite> yep that's what I've been doing too :D
<infinisil> But vim is just really convenient in the terminal
<sphalerite> emacs -nw :D
<clever> ryantrinkle: originally, i had used the netboot_server to spread nixos from my old laptop to my new laptop
<infinisil> sphalerite: Yeah, but I think there can be problems with key bindings and other stuff
<Dezgeg> I hear spacemacs is the new hype thing for vim-on-emacs
<sphalerite> yeah
<infinisil> Also I really like how emacs still gets that terminal look but isn't as constrained as a terminal
<Dezgeg> i.e. emacs as the kernel and vim bindings as the distribution
<sphalerite> yeah I think I need to just invert the relationship, and run my shells in emacs rather than emacs in my shells :D
<infinisil> (I'll shift this vim/emacs talk to #nixos-chat)
rosa has joined #nixos
<ryantrinkle> clever: cool :)
rosa has quit [Client Quit]
sehqlr has joined #nixos
<clever> ryantrinkle: only thing i havent gotten to work yet, is efi based pxe
<ryantrinkle> ah
nckx has joined #nixos
<clever> ryantrinkle: but justdoit uses grub in removable efi mode, so the bios thinks the fresh install is on removable media, and boots it without efivars being configured
ryanartecona has quit [Quit: ryanartecona]
kreisys has joined #nixos
<clever> ryantrinkle: justdoit also has a range of config flags, to support virtio, sata, or nvme, with or without luks, and legacy or uefi
xcmw has quit [Ping timeout: 264 seconds]
rosa has joined #nixos
<kreisys> hello, I'm trying to setup hydra but it seems like it insists on running all jobs in restricted mode?
<kreisys> Is there a way to switch it to the nix 2.0 pure mode?
Myrl-saki has quit [Ping timeout: 256 seconds]
<sphalerite> kreisys: basically not without modifying it
<sphalerite> kreisys: srhb was just struggling with the same thing earlier
<kreisys> I'm always late for the party
<sphalerite> hm, debugging stuff is a pain. A lot of packages seem not to have debugging symbols enabled
<kreisys> clever: I saw that.. I guess I could easily enough comment that line out but then how would I enable pure mode?
<kreisys> I don't want to just enable impurities because I'm being lazy. that's being lazy 😅
drakonis_ has quit [Ping timeout: 255 seconds]
<clever> sphalerite: hmmm, i did the cursor change thing in tmux on xfce-term, and its doing weird things
Mateon3 has joined #nixos
<clever> sphalerite: oh, its screen + xfceterm, after some delay, it prints some garbage to the screen
Mateon1 has quit [Ping timeout: 264 seconds]
Mateon3 is now known as Mateon1
<clever> sphalerite: every minute or so, tmux seems to try to change the cursor, and the \e[ prints garbage, followed by the 6 q
ma27 has joined #nixos
<sphalerite> clever: nice
<clever> also, xfce-term claims TERM=xterm!?
<clever> still happens without screen in the loop
<clever> also happens without tmux in the loop, so its xfce-term not supporting the control code, and tmux just blindly repeating it
mounty has quit [Read error: Connection reset by peer]
jensens has quit [Ping timeout: 264 seconds]
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mounty has joined #nixos
rosa has quit [Quit: rosa]
drakonis_ has joined #nixos
rosa has joined #nixos
lonokhov has joined #nixos
<iqubic`> :bd
iqubic` has left #nixos ["ERC (IRC client for Emacs 25.3.1)"]
ashkitten has quit [Quit: brb]
<clever> havent seen :bd before
alex`` has joined #nixos
Ariakenom has joined #nixos
crooksey has quit [Ping timeout: 276 seconds]
ashkitten has joined #nixos
LysergicDreams has quit [Ping timeout: 240 seconds]
drewr has quit [Remote host closed the connection]
ambro718 has joined #nixos
LysergicDreams has joined #nixos
<zybell> clever:idk which it is,but there is an old code to ask a term for its version string. How it works:the app prints the code,the term types its string framed in yet another code; so could it be:progr wants to set cursor,tmux repeats faithfully,term interprets as asking for sth,term answers,*that* code crashes tmux(because it contains ^B)?
<clever> zybell: in the compatability config for xfce-term, the emulation setting is set to xterm
knupfer has joined #nixos
rosa has quit [Quit: rosa]
<sphalerite> hm. The debugging experience with nix is kind of crap. Most libraries don't have debug info :/
<clever> zybell: changing it to foobar seriously breaks the terminal, lol
<clever> i cant even hit enter to echo $TERM
dcol has joined #nixos
binarin has quit [Ping timeout: 240 seconds]
<clever> zybell: dear god, what it did in irssi!!
<clever> zybell: https://imgur.com/a/v7fWb
<zybell> not on your comp;there you only need to turn readline off;I mean sphalerite's
pie_ has quit [Ping timeout: 264 seconds]
xcmw has joined #nixos
<dcol> I'm trying to make the emacs daemon work.. When I declared the packages for it in my configuration.nix the first time it worked fine - the packages were all present in emacsclient. However when I then tried to add another package to the config it did NOT work. After some digging around I noticed that the daemon is using the same nix-store binary it initially build for emacs and refuses to change to the new one. If I launch emacs
<dcol> normally then the packages are present. Anyone have an idea as to why this is happening?
rosa has joined #nixos
jamshoot[m] has joined #nixos
iqubic has joined #nixos
xy2_ has quit [Ping timeout: 265 seconds]
Fedor[m] has joined #nixos
<zybell> clever:irssi goes dumb terminal;normal I would say,what I dont get is:why doesnt your term understand?
<clever> zybell: i had temporarily changed the emulation setting in xfce-term to foobar, to try and change what bash thinks $TERM is
<clever> zybell: i'm guessing xfce-term dynamicaly loads the terminfo, and tries to emulate whatever terminal emulator it was set to emulate!
<clever> and it failed to find foobar, so it lost the ability to handle with the irssi+screen output
ryantm has joined #nixos
rosa has quit [Quit: rosa]
astrofog has joined #nixos
rosa has joined #nixos
<zybell> then I understand;I thought you changed env *in* xcfe-term,which xfce-term itself wouldnt see.
coot has quit [Quit: coot]
dcol has quit [Remote host closed the connection]
lo_mlatu has quit [Ping timeout: 240 seconds]
orivej has quit [Ping timeout: 256 seconds]
lo_mlatu has joined #nixos
orbekk has quit [Ping timeout: 240 seconds]
kmicklas has joined #nixos
drakonis_ has quit [Ping timeout: 256 seconds]
drakonis_ has joined #nixos
Pneumaticat has left #nixos ["User left"]
rosa has quit [Quit: rosa]
rosa has joined #nixos
xy2_ has joined #nixos
<clever> zybell: *** VTE ***: Failed to load terminal capabilities from '/etc/termcap'
<clever> zybell: xfce-term also printed this to every single open tab
<lonokhov> filter del
<lonokhov> sorry
<sphalerite> zybell: oops. Fixed
lo_mlatu has quit [Ping timeout: 260 seconds]
<zybell> clever: how I said:`env TERM=foobar irssi`(in xfce-term) would have given another pic
<clever> zybell: irssi was not restarted during that testing, but i can check that
sigmundv has quit [Ping timeout: 256 seconds]
drewr has joined #nixos
flyx has quit [Quit: ZNC - http://znc.in]
<clever> zybell: setupterm() failed for TERM=foobar: 0
<clever> it wont even start with that value
ajs124 has left #nixos ["Stream closed by us: Timed out waiting for stream resumption (connection-timeout)"]
katona has quit [Quit: Connection closed for inactivity]
nuncanada has quit [Read error: Connection reset by peer]
nuncanada2 has joined #nixos
blankhart has quit [Ping timeout: 264 seconds]
humanoyd has joined #nixos
blankhart has joined #nixos
drakonis_ has quit [Ping timeout: 256 seconds]
odi has joined #nixos
xcmw has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @volth opened pull request #39010 → babelstone-han: 11.0.0 -> 11.0.2 → https://git.io/vpfPd
sanscoeur has joined #nixos
rosa has quit [Quit: rosa]
odi has quit [Ping timeout: 264 seconds]
mounty has quit [Ping timeout: 240 seconds]
Sonarpulse has joined #nixos
rosa has joined #nixos
Tucky has quit [Quit: WeeChat 2.1]
grp has joined #nixos
pukkamustard has joined #nixos
pukkamustard has quit [Client Quit]
reinzelmann has joined #nixos
reinzelmann has quit [Client Quit]
reinhardt has joined #nixos
jperras has quit [Quit: WeeChat 2.1]
katona has joined #nixos
mounty has joined #nixos
lonokhov has quit [Quit: WeeChat 1.9.1]
mounty has quit [Ping timeout: 240 seconds]
<kreisys> I'm a bit confused about hydra inputs... am I supposed to access them as <nix_paths>? or as function parameters to my release.nix file?
<kreisys> both maybe?
ThatDocsLady_ has quit [Ping timeout: 240 seconds]
ma27 has quit [Quit: WeeChat 2.0]
ma27 has joined #nixos
<ikwildrpepper> kreisys: either way works
<kreisys> can non-path values go in NIX_PATH though?
<ikwildrpepper> nope
<ikwildrpepper> forgot about the non-path values ;)
<ikwildrpepper> i prefer the function parameters
orbekk has joined #nixos
jrolfs has joined #nixos
<sphalerite> how can I get nix-env to install a specific output of a derivation in a profile?
<sphalerite> I'm trying to do nix-env -f ~/nixpkgs -p /tmp/debug -iA tmux.debug but it just installs the out and man outputs instead
<tilpner> Did you add that output to tmux?
<tilpner> (I can't find it)
<sphalerite> tilpner: yes
<sphalerite> tilpner: try openssl, you'll get the same thing
<sphalerite> (as in the library installed but not the debugging symbols)
<tilpner> That's sort-of expected though, with openssl
<tilpner> !lib doesn't apply to tmux though
<tilpner> :/
<sphalerite> tilpner: nix-env -p /tmp/debug -f '<nixpkgs>' -iA openssl.debug
<tilpner> Yes, I did that
<sphalerite> I'd expect that to install the debugging symbols.
<sphalerite> Not the library.
<sphalerite> or tool
<tilpner> The debug symbols for bin/openssl seem to be inside /lib/debug
chisui has joined #nixos
<sphalerite> tilpner: but /tmp/debug/lib/debug doesn't exist
<tilpner> So I don't really see how it could differentiate between lib/bin symbols
<sphalerite> I don't care about it differentiating between lib and bin symbols, I care about it installing the debug output, not the lib or bin output, to the profile
<johnw> shlevy: would you have time to fix the lsof build on darwin (again)?
chisui has quit [Client Quit]
xcmw has joined #nixos
<{^_^}> [nixpkgs] @dezgeg pushed 2 commits to master: https://git.io/vpf92
<{^_^}> → bd77849b by @dezgeg: nixos/installer/channel: Add some files that the channel also has
<{^_^}> → 333a24a6 by @dezgeg: nixos/release.nix: Add SD images for ARMv6 + ARMv7
<tilpner> No idea, sorry
<kreisys> ikwildrpepper: thx. that "feels" like the more correct way to do it.. the manual is confusing since it just gives an example using <hello> but no explanation of how inputs are supposed to work
endformationage has joined #nixos
<shlevy> johnw: what's up with it?
<johnw> shlevy: it broke again; trying to get the error now to paste into GH
Lears has quit [Remote host closed the connection]
<johnw> do paths automatically coerce to strings?
<shlevy> johnw: yes, depends on context
<johnw> in which contexts?
<shlevy> e.g. in a derivation { foo = ./foo; } will add it to the store, as will "${./foo}", whereas (toString ./foo) will do "/home/shlevy/foo" or whatever
<johnw> in context where a string is required, can ./foo be passed?
Synthetica has quit [Quit: Connection closed for inactivity]
<shlevy> Yeah, it will get added to the store and the string will be that store path
<johnw> can null be coerced to a path?
lo_mlatu has joined #nixos
<johnw> I guess I'll find out what nixpkgs actually uses in time
roconnor has quit [Ping timeout: 264 seconds]
TweyII has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @rvolosatovs closed pull request #26830 → mopidy-mpris: init at 1.3.1 → https://git.io/vQO24
jperras has joined #nixos
Lears has joined #nixos
lo_mlatu has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @rvolosatovs opened pull request #39011 → mopidy-iris: 3.14.2 -> 3.16.3 → https://git.io/vpfQx
<johnw> shlevy: here's how the implicit coercions ends up being implemented: https://github.com/jwiegley/hnix/commit/df9092b4d2f0d457c431b47757a1b1626b16145d
<johnw> shlevy: anywhere we demand a string, a path can now suffice after being added to the store
<{^_^}> [nixpkgs] @LnL7 merged pull request #38837 → dockerTools.buildImage: add /nix/store with correct permissions → https://git.io/vxxlR
<{^_^}> [nixpkgs] @LnL7 pushed 2 commits to master: https://git.io/vpf7G
<{^_^}> → 9751771c by @eonpatapon: dockerTools.buildImage: add /nix/store with correct permissions
<{^_^}> → c4dea092 by @LnL7: Merge pull request #38837 from eonpatapon/fix-38835
MarcWeber has joined #nixos
<shlevy> Nice :) That looks right
<shlevy> johnw: I've never seen the #extern directive before :o
sehqlr has quit [Ping timeout: 276 seconds]
<johnw> what is #extern?
<MarcWeber> Despite adding reiserfs to availableKernelModules and kernelModules its not includeded in the initrd image so booting fails - is there something trivial I missed?
periklis has quit [Ping timeout: 255 seconds]
<orbekk> MarcWeber: a guess: boot.initrd.kernelModules
<MarcWeber> initrd = {
<MarcWeber> availableKernelModules = [ "reiserfs" "tun" "vfat" "fuse" ];
<MarcWeber> kernelModules = [ "reiserfs" "tun" "vfat" "fuse" ];
<MarcWeber> };
<MarcWeber> That's what I have.
xy2_ has quit [Quit: WeeChat 1.9.1]
<shlevy> johnw: Apparently lsof thinks it's a CPP directive
<shlevy> Oh no just someone never compile-tested their code :'(
xy2_ has joined #nixos
Lisanna has joined #nixos
<shlevy> johnw: So yeah there's a line lin dialects/darwin/libproc/dfile.c that starts with #extern when it just should be extern
<shlevy> I'll try outa patch later tonight if you haven't gotten a chance
<johnw> i won't get a chance today
<johnw> bleh, even some perl modules are broken with the latest unstable
<johnw> perl-List-MoreUtils-XS
freeman42x]NixOS has joined #nixos
<{^_^}> [nixpkgs] @dezgeg pushed 318 commits to staging: https://git.io/vpfdo
<{^_^}> → 6c3068ad by @armijnhemel: remove expression for bluez5_28, as it is no longer needed
<{^_^}> → ee8495c4 by @aneeshusa: salt: fix msgpack dependency
<{^_^}> → 9580f221 by @wucke13: Solving #30396
Reventlov has left #nixos ["WeeChat 2.0.1"]
freeman42x[nix] has joined #nixos
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
blym has quit [Quit: Leaving]
xcmw has joined #nixos
cross has joined #nixos
odi has joined #nixos
humanoyd has quit [Quit: WeeChat 2.1]
xcmw has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @LnL7 pushed 2 commits to release-18.03: https://git.io/vpfbg
<{^_^}> → dfa8a5e9 by @LnL7: docker-tools: add a test for permissions issues with AUFS/overlay
<{^_^}> → f3353fff by @eonpatapon: dockerTools.buildImage: add /nix/store with correct permissions
<zybell> shlevy: the commit from johnw l152 doubles l156 (in the new file) and the following too. I think thats not intended.
<johnw> zybell: which commit is this?
freeman42x]NixOS has quit [Quit: Leaving]
<zybell> df9092...
<johnw> i'm sorry, but which project?
<johnw> i don't find that commit anywhere in nixpkgs
<zybell> scrollback
<johnw> ah
<johnw> ah, I see whaty ou mean
bkchr has joined #nixos
<johnw> is there a way to get nix's support for Haskell (I'm using developPackage) to automatically determine dependency versions from a cabal.config freeze file?
ma27 has quit [Quit: WeeChat 2.0]
ma27 has joined #nixos
<johnw> when I do overrides with Haskell, how do I get them to be recursively applied everywhere?
<johnw> I don't want mixed versions of some libraries
<Mic92> overlays?
<johnw> I have conduit = super.conduit_1_2_13_1, for example
<johnw> but cabal says:
<johnw> package yaml (yaml-0.8.28-FuaQGKfuvoGLJ32xoz6z2d) requires conduit-1.3.0.2-72NYX1afwa998EMiFPGAG1
<johnw> now, I can always do a yaml = override .... conduit = ...
<johnw> but that seems laborious
<johnw> I set recurseForDerivations = true; but it didn't seem to have any effect
bkchr has quit [Ping timeout: 256 seconds]
<avn> johnw: you can try `doJailbreak = true` in some cases
<lejonet> Hmm, if I want to add more than 1 kernelExtraConfig, do I make it a list of strings then?
vaninwagen has joined #nixos
<avn> or use something like stack2nix
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
reinhardt has quit [Quit: Leaving]
ckauhaus_ has joined #nixos
olto has joined #nixos
ckauhaus_ has quit [Remote host closed the connection]
<YegorTimoshenko[> could someone review https://github.com/NixOS/nixpkgs/pull/33596?
hiroshi has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @yegortimoshenko merged pull request #38992 → gnupg: 2.2.5 -> 2.2.6 → https://git.io/vpvbm
<{^_^}> → ecc5a2bc by @lsix: gnupg: 2.2.5 -> 2.2.6
<{^_^}> [nixpkgs] @yegortimoshenko pushed 2 commits to master: https://git.io/vpfhL
<{^_^}> → e51eabba by @yegortimoshenko: Merge pull request #38992 from lsix/gnupg_2_2_6
freeman42x[nix] has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @booxter opened pull request #39013 → git-review: 1.25.0 -> 1.26.0 → https://git.io/vpfhl
<{^_^}> [nixpkgs] @yegortimoshenko pushed 2 commits to master: https://git.io/vpfh2
<{^_^}> → 3476b4c7 by @clefru: Remove overrides for dead emacs packages.
<{^_^}> → c385ad45 by @yegortimoshenko: Merge pull request #39004 from clefru/emacs-pkgs
<{^_^}> [nixpkgs] @yegortimoshenko merged pull request #39004 → Remove overrides for dead emacs packages. → https://git.io/vpfIz
<{^_^}> [nixpkgs] @LnL7 merged pull request #38826 → yosys: fix build on darwin → https://git.io/vxAjq
<{^_^}> [nixpkgs] @LnL7 pushed 3 commits to master: https://git.io/vpfha
<{^_^}> → f13cb563 by @vbgl: yosys: fix build with clang
<{^_^}> → 6f416dc5 by @LnL7: Merge pull request #38826 from vbgl/darwin-yosys
<{^_^}> → dc4a8435 by @vbgl: symbiyosys: larger meta.platforms
ckauhaus_ has joined #nixos
<Lisanna> oh boy, here's a fun one
<Lisanna> remote building is screwing with exportReferencesGraph
odi has quit [Ping timeout: 260 seconds]
ckauhaus_ has quit [Client Quit]
<Lisanna> I'll debug more on wednesday probably, but I'm hitting https://github.com/NixOS/nix/blob/master/src/libstore/build.cc#L1745 when I build remotely, and I don't hit it when I set "--builders ''"
<htafdwes> okay I did the curl |sh thing and nix installed, but I have no idea what to do next.
<htafdwes> I don't have access to any nix commands.
<tilpner> It tells you to source another file. Did you do that?
<tilpner> (Or you could login again)
<htafdwes> tilpner: uh, which file? I don't know which terminal it was now.
<htafdwes> okay i'll try relogin
<Lisanna> hey wait a second, exportReferencesGraph is impure!
<Lisanna> that's not fair ):
<htafdwes> nice it worked :-D
<htafdwes> hey, do you think I could like incrementally move to nixOs from ubuntu by adding more packages from Nix and taking them out of Ubuntu?
<htafdwes> for instance firefox
katona has quit [Quit: Connection closed for inactivity]
<Lisanna> My current hypothesis is that if you discard a store path and pass that into exportReferencesGraph that if it exists anyways it will work, even if it's not part of your closure
<LnL> sure, you can use nix as a second package manager
<Lisanna> but if it doesn't exist, since it's not part of your closure, exportReferencesGraph complains
<Lisanna> ugh, replaceDependency is so weird
jtojnar has quit [Quit: jtojnar]
jtojnar has joined #nixos
<htafdwes> muwahaha I did it! now using nix firefox instead of ubuntu firefox.
acarrico has quit [Ping timeout: 268 seconds]
<Lisanna> Oh... and IFD + exportReferencesGraph is a bad combination, since you can end up with a string containing /nix/store paths without the appropriate string context
olto has quit [Quit: ZNC 1.6.6 - http://znc.in]
olto has joined #nixos
<Lisanna> That seems like a bug actually...
<Lisanna> htafdwes cool :)
Guest74202 has quit [Quit: Konversation terminated!]
astrofog has quit [Quit: Quite]
<Lisanna> no idea how to fix it though ):
toby has joined #nixos
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/f3353fffc4b (from 76 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
toby is now known as Guest80682
<Lisanna> I guess those paths just need to be registered as references of the output derivation
<Lisanna> that is being IFD'd
MarcWeber has quit [Ping timeout: 265 seconds]
mkoenig_ has quit [Remote host closed the connection]
colonel_john_by has joined #nixos
mkoenig has joined #nixos
<htafdwes> what about enigmail for thunderbird?
<Lisanna> no wait, that info would still get lost in the IFD
ambro718 has quit [Quit: Konversation terminated!]
xcmw has joined #nixos
<htafdwes> I did nix install awesome, but I don't know how to get it to load the grpahical w/e
<htafdwes> says there is no display-manager
<Lisanna> :b runCommand "test" {} ''ls /nix/store/2kcrj1ksd2a14bm5sky182fv2xwfhfap-glibc-2.26-131 > $out''
grp has quit [Quit: box shutting down...]
<Lisanna> how on earth does this work
<Lisanna> that /nix/store path shouldn't be allowed in the sandbox
<{^_^}> [nixpkgs] @mbode opened pull request #39014 → adr-tools: init at 2.1.0 → https://git.io/vpJvg
<tilpner> It doesn't for me (with updated path). Are you sure sandboxing is enabled?
<tilpner> grep 'sandbox ' /etc/nix/nix.conf
<Lisanna> tilpner yes, I always have sandboxing enabled
<Lisanna> is that path in your /nix/store?
mounty has joined #nixos
<Lisanna> wait, with updated path?
<Lisanna> oh, so you used a glibc that exists on your system
<tilpner> I nix-built hello, and pasted that path
<Lisanna> oh wait, glibc is probably already always in the path
<Lisanna> that was a bad test... yeah, hello works fine
guest__ has joined #nixos
flyx has joined #nixos
<Lisanna> woo, builtins.storePath can be used to restore a string context to a /nix/store path string
<nh2[m]> hey, when I change `boot.loader.grub.storePath`, should `nixos-rebuild switch` run `grub-install`? Because it doesn't seem to and my system stops booting when I do that
<sphalerite> Lisanna: is it just me or do you always seem to be performing various degrees of black magic? :p
<Lisanna> sphalerite some combination of performing and getting burned by :p
<sphalerite> :D
<sphalerite> also, does anyone know a nice tool I could use to make C library calls in an interactive shell?
<Lisanna> sphalerite CERN or something has something like that I think
<sphalerite> Lisanna: as in the nuclear research centre..?
<Lisanna> yeah, it's either CERN or a related group
<sphalerite> oh, "cling"
<sphalerite> thanks for the pointer, I'll have a look at it!
<Lisanna> yeah, cling was it
<sphalerite> not in nixpkgs of course :(
<htafdwes> lol, I accidentally allocated only 2GB for my root partition, and 8GB to my swap
<htafdwes> uh, hoow do I fix that?
<tilpner> Do you have LVM setup?
<sphalerite> htafdwes: you'll need to boot into the installer again
<sphalerite> htafdwes: also I hope the swap partition is after the root one?
<htafdwes> sphalerite: nah, I think it was because the instructions said to fix partition order, but they also said to make the swap first.
<htafdwes> sphalerite: yes it is after
<Lisanna> sphalerite so, the awful thing that burned me today was that I was doing an IFD on an exportReferencesGraph result, losing important string context information. I was then passing this result back into exportReferencesGraph, which is not 100% pure, such that if you pass a "/nix/store" string into it without proper string context and it exists, it will still work, but if it doesn't exist, it will throw an error. So when I built my derivation
<Lisanna> locally, it worked, because all the references *happened* to already exist on my local system, but when I built it remotely, not all of them existed *all the time*, so *sometimes* it would break
<sphalerite> actually maybe just redoing the whole install would be simpler
hotfuzz_ has joined #nixos
<sphalerite> unless you've got important stuff in your /home or whatever
<sphalerite> Lisanna: wow
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/f3353fffc4b (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
hotfuzz has quit [Ping timeout: 240 seconds]
<htafdwes> okay fixed it
<htafdwes> :-D
ryanartecona has joined #nixos
sanscoeu_ has joined #nixos
orivej has joined #nixos
<sphalerite> Lisanna: bleh, the cling repos don't seem to be publicly accessible >_>
sanscoeur has quit [Ping timeout: 256 seconds]
<Lisanna> ):
<sphalerite> I think they are *supposed* to be, they just aren't
<sphalerite> oh wait no, it just requires auth via HTTPS, but not via HTTP
<htafdwes> hmmm but I had to make a new swap partition, is there a way of getting it to recognize that?
<htafdwes> other than editing /etc/fstab
<sphalerite> htafdwes: swapon it, then rerun nixos-generate-config
<htafdwes> sphalerite: awesome
<htafdwes> wait, but would that destroy what I changed in the config?
astiles has joined #nixos
<htafdwes> also, does nix work on cygwin?
<htafdwes> ah I see it doesn't overwrite it nice
<sphalerite> htafdwes: yeah it only overwrites hardware-configuration.nix
<htafdwes> so do I just put the packages I want installed by default into my configuration.nix or is there a different way? like a user defined version. cause I got headless servers, and some desktops that use graphical applications.
astiles has quit [Remote host closed the connection]
<zybell> ssphalerite:python has a FFI and a repl,so you can import any function and call it how you want.
ThatPako has joined #nixos
<zybell> sphalerite:simpler solution: python has a FFI and a repl,so you can import any function and call it how you want.
chreekat has joined #nixos
<sphalerite> zybell: yeah, I want to mess with curses though and it seems to use curses for its own REPL
<sphalerite> stuff went wonky when I tried that
<sphalerite> grumble grumble libraries with global state
<Lisanna> sphalerite zybell oh don't try to turn python into a C repl
<Lisanna> you'll just end up crying in a corner
<sphalerite> haha
srdqty has quit [Ping timeout: 260 seconds]
<htafdwes> how do I find a list of what options are available for like xserver.displayManager ?
srdqty has joined #nixos
<htafdwes> ThatPako: thanks
<htafdwes> hmmm, awesome isn't on the list of displayManagers :'-(
<ThatPako> htafdwes: isn't awesome a windowManager?
<ThatPako> there's `services.xserver.windowManager.awesome.enable`
<sphalerite> yep
<sphalerite> htafdwes: there are display managers like sddm, slim, lightdm (which do the login screen), desktop managers like plasma and gnome (which do a full desktop), and window managers like i3 which just manage windows
<htafdwes> ThatPako: awesome!
<ThatPako> yep, that's what the WM is called
<sphalerite> lol
blankhart has quit [Read error: Connection reset by peer]
blankhart has joined #nixos
chreekat has quit [Quit: quitting]
<infinisil> Okay I am confused
<zybell> Lisanna:*I* do not such a thing. but python is packaged for nix already and has a cool tk based IDE, where ncurses cant interfere with your cmdline.
<infinisil> According to http://howoldis.herokuapp.com/ nixos-unstable is 12 days old
mahalel_ has joined #nixos
<infinisil> But nixos-unstable doesn't include that commit
ambro718 has joined #nixos
<ambro718> Has anyone tried getting clangd and the vscode plugin working?
tmaekawa has joined #nixos
<htafdwes> can I search nixos options from the command line?
<sphalerite> htafdwes: man configuration.nix
<htafdwes> k thanks
<sphalerite> (then use your pager's search, / in less)
tmaekawa has quit [Client Quit]
coot has joined #nixos
<elvishjerricco> htafdwes: There's also the nixos-option command.
<zybell> infinisil:Was it merged into master or into unstable at that point in time?
slyfox has quit [Ping timeout: 260 seconds]
<sphalerite> zybell: given that the *merge* commit is 18 days old, I'd wager yes :)
<htafdwes> elvishjerricco: wow great, that's what I needed
Fare has joined #nixos
<infinisil> zybell: Yeah, nixos-unstable should use latest master as a base
jacob_ has quit [Quit: Lost terminal]
<infinisil> And in that link you can see it got merged into master
ma27 has quit [Remote host closed the connection]
ma27 has joined #nixos
<pbogdan> seems like the eval was done on 24/03 but the tested job only succeeded on 03/04 ?
slyfox has joined #nixos
<infinisil> WHaaaa
<pbogdan> so the commit the channel is based on would be from the 24th but channel didn't actually update until ten days later it seems ?
stabbmesiter has joined #nixos
<infinisil> Oh I guess it makes sense if people have to restart and fix stuff to make it work
Guest80682 is now known as toby1851
sigmundv has joined #nixos
<infinisil> It's kind of time to have it update again though..
hiroshi has joined #nixos
<infinisil> Can't be called unstable if you only get a new version every month :P
jperras has quit [Ping timeout: 264 seconds]
<toby1851> was just setting up dovecot with TLS, and initially it didn't work because of missing DH parameters
<toby1851> i fixed it with
<zybell> if it needs a month to build you cant get more;-)
<toby1851> services.dovecot2.extraConfig = ''
<toby1851> ssl_dh= </root/dh.pem
<toby1851> '';
stabbmesiter has quit [Quit: Leaving]
<infinisil> toby1851: I guess you haven't seen https://github.com/r-raymond/nixos-mailserver
<toby1851> (i'm a nixos newbie, so i'm tending to stuff random stuff in /root till i work out what i'm doing)
<toby1851> i have seen that; it's not something that i want to use though :)
<infinisil> Why not?
<{^_^}> [nixpkgs] @LnL7 pushed 2 commits to release-18.03: https://git.io/vpJty
<{^_^}> → 008af145 by @vbgl: symbiyosys: larger meta.platforms
<{^_^}> → 3658e3fa by @vbgl: yosys: fix build with clang
<toby1851> because i'm developing mail software
<{^_^}> [nixpkgs] @joachifm merged pull request #38982 → nixos manual: add missing space after "copytoram" → https://git.io/vpvcb
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/vpJt7
<{^_^}> → 368947a3 by @das-g: nixos manual: add missing space after "copytoram"
<infinisil> Ah I see
<{^_^}> → 4881002e by @joachifm: Merge pull request #38982 from das-g/patch-2
<{^_^}> [nixpkgs] @joachifm merged pull request #38989 → linux_testing_bcachefs: 4.15.2018.03.22 -> 4.15.2018.04.14 → https://git.io/vpvDa
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/vpJtF
<{^_^}> → 9c24f500 by Okina Matara: linux_testing_bcachefs: 4.15.2018.03.22 -> 4.15.2018.04.14
<{^_^}> → 638ba144 by @joachifm: Merge pull request #38989 from Chiiruno/update/bcachefs
ma27 has quit [Ping timeout: 245 seconds]
<htafdwes> hey is there ipfs support planned for the packages?
<htafdwes> package-distribution rather
ilyaigpetrov has quit [Quit: Connection closed for inactivity]
<sphalerite> htafdwes: it was implemented as a prototype but didn't work well apparently
<sphalerite> performance issues I think
<htafdwes> too slow I'm guessing?
<sphalerite> that is, ipfs can't handle the volume of data and changes in nixpkgs binary caches
<sphalerite> I htink
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ariakenom has quit [Quit: Leaving]
ThatPako has quit [Quit: Lost terminal]
<htafdwes> ah I guess I was under the impression the nix pkgs were like frozen, like tarballs.
<htafdwes> cause they have a hash of their contents.
<sphalerite> well yes the binaries are immutable, but there's a lot of new stuff coming in
<foldingcookie> the (go-)ipfs implementation is pretty poor, last I checked
k3k2k3 has joined #nixos
<sphalerite> htafdwes: nixpkgs gets several hundred commits a day, sometimes over 1000
ckauhaus has quit [Quit: Leaving.]
<sphalerite> and all those commits mean lots of new stuff coming in
<htafdwes> sphalerite: ah, okay, that makes sense.
<k3k2k3> Hi everyone. Where can I get some help with nixops? I need to import an already existing EC2 instance. Thank you
<htafdwes> so is it fairly easy to get a package added to nixos?
<sphalerite> yep
mkaito has quit [Read error: Connection reset by peer]
kerrhau has joined #nixos
kerrhau has quit [Changing host]
kerrhau has joined #nixos
mkaito has joined #nixos
mkaito has quit [Changing host]
mkaito has joined #nixos
<htafdwes> cool, so how about my friends that have the Monte programming language. what would they have to do to get it added?
<htafdwes> they already have a default.nix file or what not
jperras has joined #nixos
<sphalerite> simpson is a pretty active nix user, I think he'd have put it in nixpkgs already if it were appropriate
<sphalerite> he's also around here a lot :)
<htafdwes> :-D okay cool.
<{^_^}> [nixpkgs] @yegortimoshenko merged pull request #39011 → mopidy-iris: 3.14.2 -> 3.16.3 → https://git.io/vpfQx
<{^_^}> → 1f230af9 by @rvolosatovs: mopidy-iris: 3.14.2 -> 3.16.3
<{^_^}> [nixpkgs] @yegortimoshenko pushed 3 commits to master: https://git.io/vpJmq
<{^_^}> → 463a2284 by @yegortimoshenko: mopidy-iris: add tornado to dependencies
<{^_^}> → 50160605 by @yegortimoshenko: Merge pull request #39011 from rvolosatovs/update/mopidy-iris
<sphalerite> idk why it actually isn't there, but yeah simpson would be the one to ask about it
<{^_^}> [nixpkgs] @dywedir opened pull request #39016 → linuxPackages.exfat-nofuse: 2017-06-19 -> 2018-04-16 → https://git.io/vpJm3
oida has quit [Ping timeout: 268 seconds]
<htafdwes> how do I get the default configuration files like this https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/security/sudo.nix
<htafdwes> other than git cloning that repo, I'm assuming there is a command for it or something.
<htafdwes> can't seem to find those in /nix/var
xcmw has joined #nixos
<sphalerite> htafdwes: that's just the implementation of the security.sudo option
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to release-18.03: https://git.io/vpJmK
<{^_^}> → 4cd87aca by @ryantm: git-review: 1.25.0 -> 1.26.0
<{^_^}> → cb13b7d4 by @Mic92: Merge pull request #39013 from booxter/release-18.03
<sphalerite> s
<{^_^}> [nixpkgs] @Mic92 merged pull request #39013 → git-review: 1.25.0 -> 1.26.0 → https://git.io/vpfhl
<sphalerite> htafdwes: it's already included by default, and you configure it via configuration.nix
<htafdwes> sphalerite: ah, so everything goes into that file? I thought I saw some examples of people importing other files like for nginx or nextcloud
vaninwagen has quit [Ping timeout: 268 seconds]
sanscoeu_ has quit [Remote host closed the connection]
k3k2k3 has left #nixos [#nixos]
<sphalerite> htafdwes: you can import additional files, but all the modules in nixpkgs/nixos/modules are included automatically
apostolis has joined #nixos
sanscoeur has joined #nixos
<sphalerite> which is why many of them have enable options, which prevent the stuff from actually being activated
Arcaelyx has quit [Ping timeout: 260 seconds]
<apostolis> Silly question but how do I assign a name to a derivation. I am doing d = derivation {} but it returns an error.
alexteves_ has quit [Ping timeout: 240 seconds]
ryanartecona has quit [Quit: ryanartecona]
oida has joined #nixos
<sphalerite> apostolis: derivation { name = "foo"; }
<sphalerite> !pills
Sonarpulse has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #39009 → browserpass: fix gnupg dependency issue → https://git.io/vpfEm
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vpJmj
<{^_^}> → be660b8f by @etu: browserpass: fix gnupg dependency issue
<{^_^}> → 6bad8ddc by @Mic92: Merge pull request #39009 from etu/browserpass-fix
<sphalerite> apostolis: if you want to learn the nitty-gritty of nix, you may want to have a look at the nix pills ^
<apostolis> No, I mean, to have multiple derivations and one be a dependency of the other. I need to give a name.
<apostolis> Is everything inside a set? So I need to create a "rec" set with both derivations?
goibhniu has joined #nixos
<sphalerite> apostolis: yes, you could use a rec set, or a let binding
darlan has joined #nixos
<apostolis> Those are the only ways, right?
<sphalerite> so `let a = derivation {…}; in derivation {input = a;}`
<sphalerite> no, you can also do the weird fixpoint stuff that nixpkgs does
<htafdwes> sphalerite: k thanks
darlan has quit [Client Quit]
<sphalerite> but those are the two easy options
srdqty has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @Mic92 pushed commit from @etu to release-18.03 « browserpass: fix gnupg dependency issue »: https://git.io/vpJYn
<{^_^}> [nixpkgs] @Mic92 merged pull request #39010 → babelstone-han: 11.0.0 -> 11.0.2 → https://git.io/vpfPd
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vpJYB
<{^_^}> → 2c1f2c0f by @volth: babelstone-han: 11.0.0 -> 11.0.2
<{^_^}> → 691cc358 by @Mic92: Merge pull request #39010 from volth/patch-125
<apostolis> Ok, thanks.
srdqty has joined #nixos
ihar has quit [Quit: WeeChat 2.0]
szicari has quit [Quit: szicari]
vidbina has joined #nixos
joehh has quit [Ping timeout: 264 seconds]
apostolis has quit [Quit: WeeChat 1.6]
nick_l has joined #nixos
<nick_l> Why can't release notes be complete in NixOS?
<nick_l> In version 17.09 certain packages were available (e.g. attic), which do not exist in 18.03.
Sonarpulse has joined #nixos
<nick_l> TeX also lost 5 packages or so.
ma27 has joined #nixos
<johnw> avn: I'm not interested in stack; there should be a way in Haskell overrides to say "make *all* uses of conduit use this version, recursively)", I just don't seem to know how to say it...
<samueldr> nick_l: about attic, it is mentioned in the release notes, that it was removed
ouvve has joined #nixos
jtojnar has quit [Read error: Connection reset by peer]
<nick_l> samueldr: OK, then the TeX packages.
<samueldr> (though it looks accurate that not everything is mentioned)
jtojnar has joined #nixos
ryanartecona has joined #nixos
<samueldr> nick_l: could you name one, I want to check something
ma27 has quit [Ping timeout: 265 seconds]
joehh has joined #nixos
<nick_l> samueldr: Something matching generic*math*.
sehqlr has joined #nixos
lord| has joined #nixos
<ouvve> Is there a good way to set `srcs` based on a glob?
<nick_l> samueldr: You are in luck: collection-genericextra
<nick_l> samueldr: this is another one.
<nick_l> samueldr: collection-genericrecommended # and yet another one
<nick_l> samueldr: Uses via texlive.combine { <snip> }
<nick_l> Used*
<nick_l> samueldr: I don't really care about those packages, but I do find it annoying that this stuff can't be automatically taken care off.
<nick_l> Something like "You just switched to 18.03. you were using the following expressions which are now not available anymore, but those are no longer supported". Currently, the setup is that it takes minutes to compute that something is not available and then I can try again.
<nick_l> Since it is NixOS, one can revert anyway. Not bothering the user with every little detail seems to be more useful than throwing an error on such unimportant things.
<{^_^}> [nixpkgs] @xeji opened pull request #39018 → kdeApplications.mbox-importer: fix hydra build → https://git.io/vpJsP
<nick_l> Now, if *all* gcc compilers were to be broken or unavailable, that would be something to be concerned about, but if gcc-bleededge-edition would not be there, who cares? Nobody?
<nick_l> Documentation is at most a substitute for informing the user of relevant information. The people who don't use certain removed software don't want to hear about it and the ones who do prefer to just see it in their terminals.
<{^_^}> [nixpkgs] @dotlambda merged pull request #38977 → borgbackup: add blake2 library to build inputs → https://git.io/vpvZ2
<{^_^}> [nixpkgs] @dotlambda pushed 3 commits to master: https://git.io/vpJs5
<{^_^}> → 232e0386 by @Moredread: borgbackup: add blake2 library to build inputs
seafood_ has joined #nixos
<{^_^}> → 406749c8 by @dotlambda: borgbackup: use system zstd
<{^_^}> → 0a9b4365 by @dotlambda: Merge pull request #38977 from Moredread/borg/libb2
seafood has quit [Ping timeout: 246 seconds]
seafood_ is now known as seafood
nick_l has quit [Quit: Page closed]
<BlessJah> this is so wrong... (nix-shell to make ansible work) http://dpaste.com/32JCCCM
telent has joined #nixos
dan_b has joined #nixos
hiratara has quit [Ping timeout: 260 seconds]
xeji has joined #nixos
<johnw> ah, it was recursive
<johnw> it's just that another dependency, outside of the recursion, was pulling in conflicting versions
hiratara has joined #nixos
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/cb13b7d46a4 (from 45 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
ryanartecona has quit [Quit: ryanartecona]
<BlessJah> ~> nix-repl
<BlessJah> error: Nix database directory ‘/nix/var/nix/db’ is not writable: Permission denied
<BlessJah> huh?
jtojnar has quit [Remote host closed the connection]
<BlessJah> last time I've used nix-repl from non-root user was before 17.09->18.03
<symphorien> BlessJah: export NIX_REMOTE=daemon or use nix repl
<BlessJah> nix repl works, thanks
<{^_^}> [nixpkgs] @matthewbauer pushed to master « darling: darwin only for now »: https://git.io/vpJZk
jtojnar has joined #nixos
jrolfs has quit [Ping timeout: 256 seconds]
chisui_ has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<{^_^}> [nixpkgs] @frontsideair opened pull request #39019 → flow: 0.69.0 -> 0.70.0 → https://git.io/vpJZH
jrolfs has joined #nixos
boomshroom has joined #nixos
<boomshroom> Hello!
joehh has quit [Ping timeout: 260 seconds]
chisui has joined #nixos
xy2_ has quit [Ping timeout: 276 seconds]
jrolfs has quit [Ping timeout: 265 seconds]
<ryantm> Did anyone else notice buildGoPackage doesn't seem to be setting the interpreter of binaries anymore? This looks like it could be related: https://github.com/NixOS/nixpkgs/commit/12f52d234e40f7302c0aa41c737cfa5c18053cca#diff-5cc2ec5eab07fa4ee4e3ba57846f5134
guest__ has quit [Ping timeout: 260 seconds]
<Ralith> how often does staging get merged?
ndrei has quit [Ping timeout: 240 seconds]
knupfer has quit [Ping timeout: 276 seconds]
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 268 seconds]
mbrgm_ is now known as mbrgm
coot has quit [Quit: coot]
<ryantm> Mic92: Sorry, that wasn't you, and it was a long time ago.
<{^_^}> [nixpkgs] @pbogdan opened pull request #39020 → cantata: build with vlc_qt5 → https://git.io/vpJcf
alex`` has quit [Ping timeout: 256 seconds]
htafdwes[m] has joined #nixos
<Ralith> if anyone is having frustrating and mysterious font issues after upgrading to 18.03, rejoice! the problem is that ~/.cache/fontconfig was invalidated and apparently fontconfig doesn't handle this gracefully; nuke it and all will be well
<htafdwes[m]> how about mimetypes like default applications for xdg open, and when clicking. how to configure?
hiratara has quit [Quit: ZNC - http://znc.in]
<{^_^}> [nixpkgs] @pbogdan opened pull request #39021 → vlc: drop unused onlyLibVLC argument → https://git.io/vpJc1
ouvve has quit [Remote host closed the connection]
hiratara has joined #nixos
kreisys has joined #nixos
joehh has joined #nixos
thblt has quit [Remote host closed the connection]
jrolfs has joined #nixos
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/cb13b7d46a4 (from 84 minutes ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
jperras has quit [Ping timeout: 260 seconds]
jperras has joined #nixos
hamishmack has quit [Quit: hamishmack]
hamishmack has joined #nixos
blankhart has quit [Ping timeout: 240 seconds]
joehh has quit [Ping timeout: 268 seconds]
jperras has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @pbogdan opened pull request #39022 → libsmbios: re-enable python utilities → https://git.io/vpJWr
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kerrhau has quit [Quit: ZNC 1.6.6 - http://znc.in]
hamishmack has quit [Quit: hamishmack]
<{^_^}> [nixpkgs] @puffnfresh opened pull request #39023 → pythonPackages.yeelight: init at 0.4.0 → https://git.io/vpJWx
<{^_^}> [nixpkgs] @shlevy pushed to master « lsof: Fix build on darwin. »: https://git.io/vpJlf
zybell has quit [Ping timeout: 265 seconds]
sigmundv__ has joined #nixos
ambro718 has quit [Ping timeout: 268 seconds]
joehh has joined #nixos
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/c0c5571ec1a (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<htafdwes[m]> so is there no way to set the default apps in nixos?
zybell has joined #nixos
xeji has quit [Quit: WeeChat 2.0]
Lisanna has quit [Quit: Lisanna]
Lisanna has joined #nixos
xcmw has joined #nixos
<{^_^}> [nixpkgs] @KingOfThePirates opened pull request #39024 → hyper: 1.4.8 -> 2.0.0 → https://git.io/vpJ81
patrl has quit [Ping timeout: 264 seconds]
ryanartecona has joined #nixos
nadley has quit [Ping timeout: 268 seconds]
erasmas has quit [Quit: leaving]
jperras has joined #nixos
seafood has quit [Quit: seafood]
hamishmack has joined #nixos
<{^_^}> [nixpkgs] @jtojnar opened pull request #39026 → gdk_pixbuf: 2.36.7 → 2.36.12 → https://git.io/vpJ4p
<{^_^}> [nixpkgs] @mpickering opened pull request #39027 → grass: Compile with libLAS → https://git.io/vpJBf
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/c0c5571ec1a (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
jgt has joined #nixos
<nh2[m]> what web server software runs cache.nixos.org?
jperras has quit [Ping timeout: 240 seconds]
<nh2[m]> (I mean the upstream of cloudfront)
<jgt> I have this shell.nix: http://ix.io/17YG It contains a call to mkDerivation for my package 'riskbook'. I don't think I need this, because the same derivation is available in the haskell-packages.nix expression I import. How do I call the derivation in the other file?
<jtojnar> nh2[m]: I think it is Amazon S3
<nh2[m]> jtojnar: OK thanks!
ryanartecona has quit [Quit: ryanartecona]
blankhart has joined #nixos
jrolfs has quit [Ping timeout: 256 seconds]
ZaraChimera has quit [Quit: ZNC - https://znc.in]
<jgt> hmm… looks like I've figured it out
jperras has joined #nixos
<jgt> I replace `drv = variant (haskellPackages.callPackage f {});` with `drv = variant (haskellPackages.riskbook);`
jackdk has joined #nixos
jtojnar has quit [Ping timeout: 264 seconds]
jperras has quit [Read error: Connection reset by peer]
ericsagnes has quit [Ping timeout: 256 seconds]
<iqubic> Does anyone know to command line interface to ALSA. I can't seem to find the commands to modify my sound levels.
jperras has joined #nixos
<iqubic> Specifically I want raise, lower, and mute from the command line. Trying to make my media keys work.
<iqubic> Forgive me if this is not the right place for this.
<boomshroom> iqubic: Those are the same commands that the default media keys configuration uses.
<iqubic> Define default.
<iqubic> Because I use an obsucre window manager that doesn't support this kind of thing.
timokau has quit [Ping timeout: 240 seconds]
blankhart has quit [Ping timeout: 265 seconds]
<iqubic> *obscure
<boomshroom> iqubic: As in, if you include sound.mediaKeys.enable = true; in configuration.nix, it will automatically enable the volume up, down, and mute buttons.
<iqubic> It will? How does that work?
<iqubic> How do you bypass the window manager and go straight to commands?
<boomshroom> iqubic: It's defined in github.com/NixOS/nixpkgs/blob/release-18.03/nixos/modules/services/audio/alsa.nix
<boomshroom> iqubic: It uses actkbd.
<iqubic> Do I have to reboot my machine for this to work, or will a simple "nixos-rebuild switch" work?
cheshircat has quit [Ping timeout: 240 seconds]
<boomshroom> iqubic: nixos-rebuild switch is all that's nessisary. Mind if I ask which window manager you're using?
jperras has quit [Ping timeout: 256 seconds]
<iqubic> EXWM
jperras has joined #nixos
<iqubic> And the nixos-rebuild switch didn't work for me.
<boomshroom> iqubic: Reboot usually makes things work even if it shouldn't be nessisary. If not, the commands are listed in the file I linked.
<iqubic> Cool. What keys does this set-up?
acarrico has joined #nixos
blankhart has joined #nixos
nadley has joined #nixos
jrolfs has joined #nixos