gchristensen changed the topic of #nixos to: 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
robstr_ has quit [Quit: WeeChat 1.9.1]
coot has quit [Quit: coot]
ryanartecona has quit [Quit: ryanartecona]
ryanartecona has joined #nixos
<Lisanna> ...maybe it's a lost cause, the Nix builder doesn't work with the latest master of NixOS/nix anyways
<Lisanna> some boost dependency got added that isn't available normally or something... hrmph
vidbina has joined #nixos
<Lisanna> LOL I just stuck "boost" in Nix's buildInputs and it works now
<Lisanna> thank you to whoever I'm sure spent a lot of time making that usecase work <3
robstr has quit [Remote host closed the connection]
robstr has joined #nixos
xcmw has joined #nixos
<coconnor> Lisanna: I agree - the current builder for nix in nixpkgs is not set up to build from source
vidbina has quit [Ping timeout: 260 seconds]
robstr has quit [Ping timeout: 260 seconds]
<coconnor> Lisanna: that said... I think I can get to the same state using an override "fatal error: boost/format.hpp: No such file or directory"
orivej has joined #nixos
ryanartecona has quit [Quit: ryanartecona]
pxc has joined #nixos
<coconnor> looks like the "common" structure is evaluated too early relative to the derivation arguments like "fromGit"
pxc has quit [Quit: WeeChat 2.0]
pxc has joined #nixos
Sonarpulse has quit [Ping timeout: 256 seconds]
<coconnor> which means there might be a workaround... pass nativeBuildInputs manually
newhoggy has joined #nixos
<foldingcookie> nixOS doesn't seem to have /var/cache; what directory is analogous?
newhoggy has quit [Ping timeout: 240 seconds]
simukis has quit [Ping timeout: 264 seconds]
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/2a32f6bc0cc (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<ottidmes> foldingcookie: probably depends on the kind of cache you are looking for, but /root/.cache/nix is used (at least in nix 2.0)
<coconnor> Lisanna: oh! just saw that you got it working. here's hte overlay I made that adds boost as well https://github.com/coreyoconnor/nix_configs/blob/dev/standard-overlay.nix#L15
<foldingcookie> ottidmes: for caching files produced by a system service
<pxc> foldingcookie: I have a `/var/cache` on this NixOS system
<foldingcookie> nothing nix-specific
<foldingcookie> hmm
<foldingcookie> maybe I'll just make one
<pxc> foldingcookie: could you describe your use case a little more? :-)
<pxc> foldingcookie: NixOS modules apparently make their own cache directories with `mkdir -p`. Take a look at these examples: https://nixos.org/nixos/options.html#cachedir
<foldingcookie> I run a service that compiles software and caches build artifacts
<pxc> if you expand those examples, you'll see that they use `/var/cache/<something>` for their cache directories, and then you can see how they make sure that directory is present by following the links to the source under the entry 'declared in'
<foldingcookie> I guess making a subdir in /var/cache is fine, and I should let nix know about it, probably by doing something like those services
<foldingcookie> thanks
<pxc> yeah, so just `mkdir -p` in your NixOS module looks like like the conventional way
<pxc> yw :-)
<foldingcookie> next I need to figure out how to get the intel backlight helper working for https://nixos.wiki/wiki/Using_X_without_a_Display_Manager
<foldingcookie> and then set up Rust and Haskell toolchains
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ottidmes> I found a workaround to my problem that fits my needs, I will just dynamically add --option extra-substituters to my nixops/nixos-rebuild to allow "not always on" subsituters
<foldingcookie> I guess urxvtcd (script that auto-starts urxvtd) isn't packaged for nixOS?
Soni has quit [Quit: Leaving]
<ottidmes> foldingcookie: This is all I can find: urxvt_autocomplete_all_the_things urxvt_perl urxvt_perls urxvt_tabbedex urxvt_font_size urxvt_theme_switch urxvt_vtwheel
Fare has joined #nixos
<foldingcookie> yeah, that's what I was seeing
<foldingcookie> I'm still not to the point of writing my own nix packages yet...
<foldingcookie> but it's getting close
<pxc> Nix seduces users into making small contributions that way, hehe
<pxc> anyway we have something for that
<pxc> foldingcookie: that NixOS options webpage is a good place to search for services; sometimes package names are not clear. And services in NixOS all use systemd, so the launcher for the urxvt daemon seems unlikely for inclusion in NixOS
<foldingcookie> pxc: I'm still not sure if I trust systemd user sessions enough to abandon my venerable .xinitrc...
<pxc> that webpage may not match your version of Nixpkgs/NixOS if you're on unstable or playing with the upcoming 18.03 release. In such cases you can search for the same things with nixui
<foldingcookie> what's nixui?
<pxc> foldingcookie: give it a try! NixOS makes it easy to roll back if you don't like it :-P
<pxc> nixui is a utility for examining available packages and services. it uses whatever Nixpkgs your system is actually using, so it'll always be 'in sync' with your actual system in that sense
<foldingcookie> cool
<pxc> it's in Nixpkgs, so you can install it with `nix-env` to give it a try
<pxc> you can also examine NixOS options with `nixos-option` at the command-line
<foldingcookie> oh it's a web browser
<foldingcookie> I'll probably stick with nixos-option
<pxc> already got enough instances of Google Chrome in your life? ;-)
<foldingcookie> more than :D
<pxc> I feel you
<pxc> FWIW, I use systemd user sessions to launch the Emacs daemon on startup and it has never failed and always launches fast enough that I can't catch it loading when I run `emacsclient`
<pxc> and I have a big fat Spacemacs setup, so it takes several seconds to launch Emacs, lol
ryanartecona has joined #nixos
ashgillman has quit [Ping timeout: 260 seconds]
xcmw has joined #nixos
dan_b has quit [Ping timeout: 240 seconds]
alhariel has quit [Ping timeout: 264 seconds]
<ottidmes> checking nixui, did not know it yet, but seems to be old, I mean "nodejs-4.8.7"
<pxc> yeah, it is old. I think it's a hackathon project which has seen few updates
<iMatejC> that project is more or less deprecated
maximiliantagher has quit [Remote host closed the connection]
maximiliantagher has joined #nixos
ashgillman has joined #nixos
<ottidmes> jep, not worth its 145MB any more, just tried it, hoping it was a local version of /nixos/options.html and packages.html, but its not
maximiliantagher has quit [Ping timeout: 240 seconds]
maximiliantagher has joined #nixos
<pxc> iMatejC: do you know any suitable alternatives?
maximiliantagher has quit [Remote host closed the connection]
<pxc> hm, maybe I misremembered some of what it did
maximiliantagher has joined #nixos
<pxc> or maybe it's just finally broken on Nix 2.0. I'm seeing messages on stderr baout being unable to open the Nix store.
thc202 has quit [Ping timeout: 240 seconds]
kerrhau has joined #nixos
kerrhau has joined #nixos
kerrhau has quit [Changing host]
<pxc> sorry for unwittingly giving bad advice re: nixui :-(
disasm has quit [Quit: WeeChat 2.0]
maximiliantagher has quit [Ping timeout: 240 seconds]
dan_b has joined #nixos
<Lisanna> argh, those patches didn't seem to help with the memory usage of build-remote ):
muzzy has joined #nixos
ma27 has quit [Ping timeout: 256 seconds]
ashgillman has quit [Ping timeout: 264 seconds]
aarvar has joined #nixos
<jtojnar> any idea what is up with QEMU on master?
<jtojnar> env QEMU_NET_OPTS="hostfwd=tcp::2222-:22" ./result/bin/run-*-vm
<jtojnar> qemu-system-x86_64: -netdev user,id=user.0,,hostfwd=tcp::2222-:22: Parameter 'id' expects an identifier
<jtojnar> Identifiers consist of letters, digits, '-', '.', '_', starting with a letter.
<Lisanna> ...guess I'm just gonna have to add more memory to my system
<kaychaks> another attempt at installing `Jupyter`, this time failing coz of this error -
<kaychaks> ```
<kaychaks> ```
<kaychaks> QtWebEngine will not be built.
<kaychaks> Using Xcode version , but at least version 7.3 is required to build Qt WebEngine.
<kaychaks> I've Xcode 9.2
blankhart has joined #nixos
disasm has joined #nixos
loonquawl has quit [Quit: loonquawl]
alhariel has joined #nixos
newhoggy has joined #nixos
<disasm> and that's the final reboot of my server for hopefully a long, long time (barring any major kernel vulnerabilities).
xcmw has quit [Ping timeout: 246 seconds]
xcmw has joined #nixos
newhoggy has quit [Ping timeout: 264 seconds]
maximiliantagher has joined #nixos
kiliankoe has quit []
pkill9 has quit [Ping timeout: 264 seconds]
maximiliantagher has quit [Ping timeout: 264 seconds]
logzet has quit [Ping timeout: 265 seconds]
logzet has joined #nixos
Ariakenom has quit [Quit: Leaving]
<Lisanna> anyone have any other suggestions for making build-remote not use so much memory? the recent patches to NixOS/nix master didn't seem to help at all. I looked at the systemd resource management options but there's no way to force something to fallback to swap if it passes its threshold :/
markus1189 has joined #nixos
cx405 has left #nixos ["Konversation terminated!"]
Supersonic has quit [Ping timeout: 248 seconds]
n0qqe has joined #nixos
markus1199 has quit [Ping timeout: 264 seconds]
srdqty has quit [Ping timeout: 260 seconds]
noqqe has quit [Ping timeout: 260 seconds]
n0qqe is now known as noqqe
srdqty has joined #nixos
Supersonic has joined #nixos
alhariel has quit [Quit: Leaving]
kerrhau has quit [Ping timeout: 264 seconds]
alhariel has joined #nixos
ottidmes has quit [Ping timeout: 240 seconds]
ma27 has joined #nixos
logzet has quit [Remote host closed the connection]
maximiliantagher has joined #nixos
<infinisil> gchristensen: Whoa, this article you apparently commissioned uses Alloy :O
<gchristensen> Yep!
<infinisil> Never thought I'd see Alloy outside of my university
<infinisil> Um, but the last sentence "I didn’t actually try any of these so they might be trivial or impossible. Have fun!"
<infinisil> What? You wrote a ton of Alloy and didn't even verify it?
maximiliantagher has quit [Ping timeout: 260 seconds]
spietz has quit [Ping timeout: 246 seconds]
<gchristensen> =)
ryanartecona has quit [Quit: ryanartecona]
newhoggy has joined #nixos
alhariel has quit [Ping timeout: 264 seconds]
alhariel has joined #nixos
newhoggy has quit [Remote host closed the connection]
<{^_^}> Channel nixos-18.03 advanced to https://github.com/NixOS/nixpkgs/commit/9e3aa30b794 (from 13 hours ago, history: https://channels.nix.gsc.io/nixos-18.03)
ertes has joined #nixos
mbrgm has quit [Ping timeout: 265 seconds]
mbrgm has joined #nixos
ericsagnes has quit [Ping timeout: 246 seconds]
ma27 has quit [Ping timeout: 246 seconds]
andreagusRNTD9I has joined #nixos
andreagusRNTD9I has quit [Client Quit]
kreisys has quit [Read error: Connection reset by peer]
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
marusich has joined #nixos
lopsided98 has quit [Remote host closed the connection]
newhoggy has joined #nixos
garbas has quit [Ping timeout: 245 seconds]
garbas has joined #nixos
newhoggy has quit [Ping timeout: 256 seconds]
drakonis has joined #nixos
nuncanada has quit [Quit: Leaving]
<coconnor> what article is this?
ericsagnes has joined #nixos
jimmylu2333 has joined #nixos
jimmylu2333 has quit [Excess Flood]
jimmylu2333 has joined #nixos
jimmylu2333 has left #nixos [#nixos]
null_ has joined #nixos
dnovosel has joined #nixos
MP2E has quit [Remote host closed the connection]
lopsided98 has joined #nixos
newhoggy has joined #nixos
newhoggy has quit [Ping timeout: 264 seconds]
newhoggy has joined #nixos
marusich has quit [Ping timeout: 265 seconds]
Rusty1_ has quit [Quit: Konversation terminated!]
Myrl-saki has joined #nixos
marusich has joined #nixos
newhoggy has quit [Ping timeout: 263 seconds]
schoppenhauer has quit [Ping timeout: 265 seconds]
schoppenhauer has joined #nixos
marusich has quit [Ping timeout: 265 seconds]
marusich has joined #nixos
mkoenig has quit [Ping timeout: 264 seconds]
mkoenig has joined #nixos
dnovosel has quit [Ping timeout: 245 seconds]
newhoggy has joined #nixos
drakonis has quit [Read error: Connection reset by peer]
newhoggy has quit [Ping timeout: 246 seconds]
<Lisanna> wtf... nix-build is giving me a different hash if I build it from the channel vs. build from a local directory
<Myrl-saki> clever: Wow. Optimizing dependency trees is really useful.
<Myrl-saki> clever: Currently, if I change my HTML, I have to rebuild my server, my client, and my client.
<Myrl-saki> Err, I just said my client twice.
* Myrl-saki facepalm
s2mitrov has joined #nixos
isHavvy has joined #nixos
srjek has joined #nixos
<s2mitrov> any rust folks around? i'm trying to get rust setup on nixos, but rustup doesn't really work (nor do I think I want it to? I'm pretty sure it fills the same role as nix, so in theory I shouldn't need it, right?) so I'm not really sure how to install the rust language server for neovim without it as it isn't in nix-env -qa or whatever either.
michas_ has joined #nixos
Havvy has quit [Ping timeout: 260 seconds]
<pxc> s2mitrov: I'm trying to get started playing with Rust on NixOS atm, too. I'm _just_ getting started though, so idk how I'm going to work yet
Xal has joined #nixos
<Xal> how can I add a dependency like rake to a gem I'm trying to build with bundix?
<Xal> right now it tries to build and complains "sh: rake: command not found"
TheAppleMan has quit [Quit: No Ping reply in 120 seconds.]
<Xal> alias nixpaste="curl -F 'text=<-' http://nixpaste.lbr.uno"
<Xal>
<Xal> oops
<Xal> this isn't a shell
GlennS has quit [Quit: No Ping reply in 180 seconds.]
AluisioASG has quit [Quit: No Ping reply in 180 seconds.]
orivej has quit [Read error: Connection reset by peer]
orivej has joined #nixos
<Xal> here's my default.nix: http://nixpaste.lbr.uno/MZm9_0Iz
AluisioASG has joined #nixos
GlennS has joined #nixos
<s2mitrov> pxc: yeah, i only spent like half an hour or so searching around but i wasn't able to find too much from rust folks about nix
<s2mitrov> i found some post directly mentioning rustup+nix but it was in japanese, so not really useful to me as someone who doesn't speak japanese :p
orivej has quit [Ping timeout: 260 seconds]
bsima has quit [Quit: Bye!]
robstr has joined #nixos
<pxc> s2mitrov: I know one person who has done it and documented it, but he's a YouTuber so it's in a format that's kind of annoying to use as a reference. Right now I got sidetracked because I noticed that my Emacs systemd user service is starting for the SDDM user, which seems like a bug
<s2mitrov> oh sweet
<s2mitrov> what's their channel name? or what should i search to find the video?
srjek has quit [Ping timeout: 245 seconds]
davidlt_ has joined #nixos
<pxc> I should be clear, I'm not sure about LSP specifically
davidlt has quit [Ping timeout: 265 seconds]
<s2mitrov> that's alright, anything is better than nothing i suppose
<s2mitrov> could be that i end up figuring out a solution from somthing in their video
vidbina has joined #nixos
<pxc> I can't find the videos I wanted for some reason (I commented on some at one point, so idk why I can't find them) but here's the GitHub account for it: https://github.com/tsoding
simukis has joined #nixos
<pxc> the rust projects have `default.nix` files he uses for the development environments
<s2mitrov> great, i'll check that out, thanks :)
<fearlessKim[m]> I ran `cabal2nix --no-check .` on https://github.com/rdnetto/powerline-hs, then starts nix-shell, it starts some tests `test suite global-posix-test: fail` (it doens't find /usr/local or $HOME), how can I skip these tests ? The default.nix already has doCheck = false;
Jackneillll has joined #nixos
Jackneilll has quit [Ping timeout: 240 seconds]
<Lisanna> What other than the nix expression itself can change the store path (hash) of a derivation?
<pxc> Lisanna: the store paths of all the deps, right? the same expression with different versions of Nixpkgs will get different hashes
<Lisanna> pxc I consider that to be part of the expression... since the entire expression will include <nixpkgs>, which includes source / build information
<pxc> ah ok
<Lisanna> I'm wondering if there's anything else
<sphalerite> Lisanna: I don't think anything other than the attrset passed to builtins.derivation is considered
alex`` has joined #nixos
<pxc> how come? I saw your earlier message but wasn't sure of the context. Sounds like you've hit something really weird. Is that right?
<Lisanna> pxc yeah, a nix-build with apparently the exact same arguments run in my systemd service is giving a different outpath than nix-build run on my regular shell manually
<pxc> s2mitrov: the Rust Language Server is in the Mozilla Nixpkgs overlay for Rust. Just found it
<Lisanna> even though I've made sure the NIX_PATH has the same paths for each entry
<pxc> s2mitrov: see, for example, rustChannels.stable.rls-preview
marusich has quit [Quit: Leaving]
<sphalerite> Lisanna: well there's a number of impure builtins like builtins.getEnv, builtins.readFile, etc
<Lisanna> sphalerite I don't use those afaik
<sphalerite> Lisanna: most of that stuff is restricted to the top level in nixpkgs/pkgs/top-level/impure.nix, maybe you could try building <nixpkgs/pkgs/top-level/default.nix> instead of <nixpkgs> (the latter of which is essentially an alias for <nixpkgs/pkgs/top-level/impure.nix>)
<sphalerite> you'll need to explicitly pass a localSystem value, like "x86_64-linux"
<Lisanna> sphalerite okay, I'll add that to my list of things to try next
<Lisanna> it doesn't happen with all packages, just one of them
<Lisanna> and it's a custom package
<sphalerite> it could be something like nixpkgs config or an overlay which isn't included in the systemd service's environment
<sphalerite> which should be eliminated by using pkgs/top-level/default.nix rather than impure.nix
vidbina has quit [Ping timeout: 260 seconds]
<Lisanna> okay
<Lisanna> (I don't *think* it's a nixpkgs config difference, the systemd service is part of a module, and it's getting the same nixpkgs as my regular shell)
<Lisanna> and I don't change anything that would affect the package anyways
<sphalerite> you could also use nix-diff to compare the drvs and see what the actaul difference is
<Lisanna> yeah, was going to try that next
<sphalerite> any haskell+emacs users who can advise on how to get haskell-mode to compile stuff? Currently trying to use emacs in a cabal2nix-based nix-shell, but it wants to use cabal to build, and cabal isn't included in cabal2nix shell expressions
<sphalerite> I *think* the appropriate fix would be either to get cabal included in the shell or to get haskell-mode to use runhaskell Setup.hs instead of cabal, but I'm not sure how to do either of those. I'd also quite like to get ghc-mod working
qewzee has quit [Quit: ZNC 1.6.6 - http://znc.in]
endformationage has quit [Quit: WeeChat 1.9.1]
null_ has quit [Ping timeout: 260 seconds]
<s2mitrov> pxc: so it seems to have worked-ish? how would i go about adding something from the overlay into my nixconf?
<pxc> s2mitrov: installing `rls-preview` by itself doesn't seem to work, but it looks like it's included in the `rust` attribute for the `rustChannel.
<s2mitrov> that doesn't append to/update nixconf though, right?
<pxc> basically clone instructions and a script for making the symlink are also in the repo for the overlay itself: https://github.com/mozilla/nixpkgs-mozilla
knupfer has joined #nixos
<pxc> s2mitrov: no, it just creates the symlink in the overlays directory
<pxc> sorry my previous messages were a little half-baked because I'm watching TV as I type and forgetting drafts of these messages between edits. I'm a mess lol
<pxc> see https://nixos.org/nixpkgs/manual/#chap-overlays on how overlays are used
mkoenig has quit [Ping timeout: 263 seconds]
mkoenig has joined #nixos
<Lisanna> OH
<Lisanna> I'm dumb
<Lisanna> x_x
<Lisanna> <nixpkgs> in nixos module systemd service is much much newer than <nixpkgs> in my shell
<Lisanna> wait.. no they're not
<Lisanna> argh, nvm
<pxc> s2mitrov: you can also specify overlays for use in NixOS (as opposed to just the Nix tools, as your user/interactively or in nix-shell) https://nixos.org/nixos/options.html#overlays
<sphalerite> Lisanna: use the nix-diff!
<Lisanna> sphalerite I don't think I can actually... I haven't been able to reproduce one in the other
<sphalerite> Lisanna: can't you just use nix-instantiate?
<Lisanna> OMG OK I just made some progress
<Lisanna> for some reason the pkgs input into my module did NOT match what <nixpkgs> is set to
<Lisanna> where on earth does the NixOS imports system get "pkgs" from anyways?
<sphalerite> something something importing nixpkgs with the args specified by config.nixpkgs
<Lisanna> :/
<sphalerite> use nix-diff! I'm sure it'll be enlightening :)
<Lisanna> how am I supposed to call nix-diff on the pkgs from { config, pkgs, ... }??
<Lisanna> it's ok though, that was the issue, now I just need ot figure out where pkgs actually comes from, because it's not coming from <nixpkgs>
<Lisanna> "The first line ({ config, pkgs, ... }:) denotes that this is actually a function that takes at least the two arguments config and pkgs. (These are explained later.)"
<Lisanna> ...how much later though ):
<s2mitrov> pxc:so it runs and links the overlay into ~
eliaslfox has quit [Read error: Connection reset by peer]
<s2mitrov> ~/.config/nixpkgs/overlays, sorry accidentaly enter :p
<Lisanna> I think the manual is lying, I do not see any further explanation <_<
<s2mitrov> the overlay is there, but I can't query `nixos.latest.rustChannels` eg
<Lisanna> " The variable pkgs contains Nixpkgs"
<Lisanna> wow so helpful
<pxc> Lisanna: I hope I'm not referring you to something you've already seen. Is this at all helpful? https://github.com/NixOS/nixpkgs/blob/3956435d0a2197709e475c6fd3adab4a4217dc2d/nixos/lib/eval-config.nix#L40
<Lisanna> pxc that is not something I have seen before! although I don't quite understand it...
<pxc> then now that you're seeing it, we're on the same page ;-)
<Lisanna> OK, so now the question is, where does eval-config.nix get pkgs from...
<Lisanna> maybe I'll print pkgs.path
<pxc> s2mitrov: can you show me your ~/.config/nixpkgs/overlays? I don't think there are supposed to be extra steps like that
<{^_^}> Channel nixos-18.03 advanced to https://github.com/NixOS/nixpkgs/commit/2a32f6bc0cc (from 11 hours ago, history: https://channels.nix.gsc.io/nixos-18.03)
<s2mitrov> did a rebuild and rebooted as well to no success, fwiw
<s2mitrov> though i haven't yet figured out how to add `rust-overlay.nix` to my `configuration.nix`
<s2mitrov> not sure that would make a difference though considering the nixpkgs-mozilla repo doesn't mention it oranything
hamishmack has quit [Quit: hamishmack]
<pxc> s2mitrov: what versions of Nix and Nixpkgs/NixOS are you on?
<hyper_ch> hmmmm, something is blocking nixos-unstable
<pxc> s2mitrov: there are additional steps for adding it to `configuration.nix`, but they're simple. I have it set up on my system. We can go over it once we get it working with `nix-env` and friends :-)
<s2mitrov> pxc: nixos-version is 17.09.3129.13dcd022f01b (Hummingbird)
<s2mitrov> nix-env (Nix) 1.11.16
<sphalerite> Lisanna: you're supposed to call nix-diff on the drvs that nix-instantiate gives you in the two different environments
<Lisanna> sphalerite oh
<Lisanna> okay, I'll remember that for future reference :)
<sphalerite> so you've solved your issue now?
<pxc> s2mitrov: I can't test with older Nix on my system anymore, it seems :-(
<s2mitrov> so what, run `nix-channel --update nixpkgs`?
<sphalerite> pxc: why not?
<sphalerite> pxc: nix-shell -p nix1 ?
<s2mitrov> or do I need to switch to unstable and update nixos itself to a newer version?
<pxc> I don't think so
<pxc> I just wanted to make sure because I saw this issue: https://github.com/mozilla/nixpkgs-mozilla/issues/79
<pxc> but when I try to use `nix1`, installs fail with the message `error: Nix database directory ‘/nix/var/nix/db’ is not writable: Permission denied`
<Lisanna> sphalerite yeah, I think so
<pxc> Lisanna: what was it, in the end?
<Lisanna> pxc pkgs from { config, pkgs, ... } was different from <nixpkgs> for some reason... fixing it by having my custom channel and module specify exactly what version of nixpkgs it uses rather than depending on whatever the user has in their env
orivej has joined #nixos
<s2mitrov> hmm.. is it normal for `nix-channel --list` to be empty?
<pxc> s2mitrov: for non-root users, I think so
<s2mitrov> ah, that would make sense
<s2mitrov> sudo-ing beforehand shows `nixos https://nixos.org/channels/nixos-17.09`
<pxc> so `nix-env -iA nixos.rustChannels.stable.rust` just says there's no such attribute or what?
<s2mitrov> oh
<s2mitrov> hmm..
<s2mitrov> that works but im confused now
<s2mitrov> why couldn't i query that before?
orivej has quit [Ping timeout: 256 seconds]
<pxc> were you using `nixpkgs` instead of `nixos` at the beginning before?
<s2mitrov> i.e `nix-env -qa nixos.rustChannels`
<s2mitrov> nope
John882 has joined #nixos
<pxc> take a closer look at that error message!
<pxc> > ... matches no _derivations_
<pxc> rustChannels isn't a derivation; it's just an attribute set
<s2mitrov> ahhh
<s2mitrov> is there a way to query/see what's inside an attribute set, then?
<pxc> hmm
<pxc> actually I'm not sure I'm satisfied with what I just said now that I'm doing some more playing
<Lisanna> what are all of the possible arguments ot builtins.fetchTarball? It's not documented from what I can see.
<Lisanna> also... why on earth does it produce a string path instead of a derivation?
<pxc> s2mitrov: I think `nix-env -qa` only shows you things available as exposed from a specific expression, i.e., things from `pkgs/top-level/default.nix`. If you pass it an appropriate `--file` option it will probably do what you expected
leotaku has joined #nixos
<pxc> I know certain things (like the contents of most of `haskellPackages`) don't show up in `nix-env -qa`-style searches because there are so many they'd slow things way down
<s2mitrov> ah
<pxc> there's probably a better way, but I check for the presence of things packages using tab completion inside `nix repl` (`nix-repl` for Nix 1.x)
<s2mitrov> so I just tried to install rls-preview, and like you said it's included with rust
<leotaku> is it possible to define a "service.something" in configuration.nix without enabling it, to then enable it with "systemctl start"?
<pxc> once the repl starts use `:l <nixpkgs>` and then start typing attribute names (without the channel prefix) and hit tab
<s2mitrov> how would i find `rls-preview`? ex. `which rustc` works fine but not rls-preview
<s2mitrov> that sounds pretty good, i'll add nix-repl to my conf
<etu[m]> Hi, I'm trying out Nixops for the first time today on DigitalOcean. My machines hangs for 90 seconds during boot due to `A start job is running for sys-subsystem-net-devices-enp0s4.device`. If that device doesn't exist, why is it enabled? :)
<pxc> s2mitrov: the binary is just `rls`
<s2mitrov> well that would explain it, haha
<pxc> leotaku: idk about for all services, but at least some have a `.install` option, which is like `.enable` but it just puts the systemd unit somewhere and doesn't enable it, e.g., https://nixos.org/nixos/options.html#services.emacs.install
<leotaku> pxc: thanks but the service i want doesn't have that
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/0e00bd52bd0 (from 53 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
<Dezgeg> if you don't make a systemd unit have a wantedBy it doesn't get started by default
<pxc> I'm too slow a typist, but I just figured that out from a glance at the implementation for the services.emacs.install option. ☺ https://github.com/NixOS/nixpkgs/blob/release-17.09/nixos/modules/services/editors/emacs.nix#L75
Mateon2 has joined #nixos
Mateon1 has quit [Ping timeout: 260 seconds]
Mateon2 is now known as Mateon1
<Lisanna> ugh, nvm, that didn't fix it
<Lisanna> OK i'm going ot use nix-diff now
<leotaku> so it looks like my best option is editing the module for my service, correct?
Izorkin has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
<Dezgeg> to override the module default
<leotaku> ok, I'll try that, thanks
<Lisanna> nvm... appears to have fixed... itself? 0_o
robstr has quit [Remote host closed the connection]
<Lisanna> ugh, I hate things that fix themselves
robstr has joined #nixos
Izorkin has joined #nixos
<pxc> ‘‘‘‘fix’’’’ themselves
<pxc> intermittent problems are definitely awful
<pxc> s2mitrov: you wanna go over using the overlay in NixOS or would you rather just explore it on your own later?
rogue_koder has quit [Ping timeout: 260 seconds]
<s2mitrov> i'd definitely appreciate help with it :)
blahdodo has quit [Ping timeout: 264 seconds]
John882 has quit [Ping timeout: 240 seconds]
robstr has quit [Ping timeout: 264 seconds]
<s2mitrov> the idea is to get comfy with nix/nixos running as a vm, and cram as much as i can into config so that when i think i can switch from windows -> nixos fully i can just have everything working right out of the box more or less
blahdodo has joined #nixos
<pxc> that's a good plan for a smooth transition
<pxc> I have found that just jumping in is pretty, uh, motivating, when it comes to NixOS :-D
John882 has joined #nixos
<pxc> but I live my life as a series of distractions, a few hours here and there
<pxc> anyway basically all of it is in this NixOS option: https://nixos.org/nixos/options.html#nixpkgs.overlays
<s2mitrov> i saw that earlier, but i'm kind of confused with the example
<s2mitrov> they've essentially embedded the contents of an overlay file directly, right?
<s2mitrov> is there some way to do it where i still keep `rust-overlay.nix` separate and then just have that be in overlays?
<pxc> mhm
<pxc> on my system /etc/nixos is a symlink to ~/.config/nixpkgs. You may not want to go that far; alternatively you can put your Rust overlay in /etc/nixos, and link _that_ into your overlays dir under ~/.config/nixpkgs
<pxc> then in your nixos configuration, in that option
<pxc> instead of adding overrides in there manually, you can use `import` statements
magnetophon has joined #nixos
<pxc> my dotfiles are a mess, so don't look to them for examples generally
<pxc> but
John882 has quit [Ping timeout: 264 seconds]
<pxc> my NixOS config files layout is stupid and overcomplicated but it works reliably so I've been lazy about fixing it up, lol
John882 has joined #nixos
<s2mitrov> thanks, i'll check it out :)
ericsagnes has quit [Ping timeout: 240 seconds]
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/0e00bd52bd0 (from 88 minutes ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
John882 has quit [Ping timeout: 263 seconds]
mounty_ has joined #nixos
<s2mitrov> is there some way to get vim/nvim to work properly with `configuration.nix`?
<s2mitrov> wait, nevermind
<pxc> what did you mean by the question?
<s2mitrov> it would ignore my init.vim/vimrc
<s2mitrov> but it's because i have to run it with sudo to make changes
<s2mitrov> so i'm assuming it's because the root user has no vim config
hakujin1 has joined #nixos
<pxc> do you use mainly vim, nvim, or both?
<s2mitrov> as of a few hours ago, nvim :p
<pxc> ok
<s2mitrov> also only on the vm; i'm currently typing to you in emacs haha
<s2mitrov> ah
<pxc> haaaaaaaahahahaha okay. I use all three too, although mostly Emacs these days
<s2mitrov> sudoedit seems like i want
<s2mitrov> emacs is great, i'm literally only running nvim because my pc only has 8gb ram
<s2mitrov> nvim is pretty decent though
<s2mitrov> oh
<s2mitrov> is there a special .profile nixos uses?
John882 has joined #nixos
<pxc> yeah
<pxc> but anyway so I understand you, do you want to use `configuration.nix` to set up your vim config and plugins as well?
<pxc> or did you just mean to edit /etc/nixos/configuration.nix
<s2mitrov> nono, i was just trying to edit configuration.nix haha
<pxc> ah okay
<s2mitrov> because i was running the command as sudo it'd lose my init.vim info so there was no line numbering, etc.
zzamboni has joined #nixos
<pxc> well maybe you _do_ want to do the ther thing
<pxc> *other thing
hakujin1 has quit [Ping timeout: 246 seconds]
<s2mitrov> definitely eventually, yeah
leotaku has quit [Ping timeout: 240 seconds]
<s2mitrov> do i ignore the warning in `/etc/profile`?
<pxc> Nixpkgs has facilities for bundling a config with a vim package, and the same for neovim
<pxc> if you use that, then root can use that vim and it'll come with your usual config
<s2mitrov> ah
<s2mitrov> so no need to add `EDITOR=nvim` or whatever to my /etc/profile if i do that
<pxc> you can give it a different executable name like 'nicevim' if you want to keep 'vim' clean or w/e
<pxc> yeah
<s2mitrov> what about modifying `PATH`?
<pxc> and you definitely don't want to edit p. much anything in `/etc`
<pxc> everything in `/etc/static`, which is from where most stuff in `/etc` is linked, points into the Nix store, which is mounted read-only
<pxc> even root can't edit without extra steps
<s2mitrov> ah
John882 has quit [Ping timeout: 256 seconds]
<pxc> it is easy to do the equivalent, though!
cfricke has joined #nixos
zzamboni has quit [Ping timeout: 256 seconds]
<pxc> s2mitrov: there are others, too: https://nixos.org/nixos/options.html#shellinit
leotaku has joined #nixos
<pxc> that's how you do global shell config, and NixOS will insert your config into the generated /etc/profile files and company
leotaku has quit [Client Quit]
s2mitrov has left #nixos ["ERC (IRC client for Emacs 25.3.1)"]
John882 has joined #nixos
ma27 has joined #nixos
John882 has quit [Ping timeout: 264 seconds]
<aminechi1haoui> Hi everybody, I'm trying to have sandboxed build run perf record on a script/binary, is there a way to get perf running inside a build without dropping sandoxing ?
i-am-the-slime has joined #nixos
<aminechi1haoui> this seems to be only writable by root inside chroot -> `-rw-r--r-- 1 nobody nogroup 0 Mar 17 09:32 /proc/sys/kernel/perf_event_paranoid`
<Dezgeg> well, you need to enable that system-wide
John882 has joined #nixos
<aminechi1haoui> Dezgeg: hm ok so there is no other workaround, btw I wonder why the default is to disable that for unpreviliged users. It makes me feel I'm doing something wrong :D
John882 has quit [Ping timeout: 240 seconds]
<Dezgeg> I guess some people fear the perf interface is so buggy that it could be exploited
John882 has joined #nixos
coot has joined #nixos
John882 has quit [Ping timeout: 256 seconds]
John882 has joined #nixos
Turion has joined #nixos
John882 has quit [Ping timeout: 260 seconds]
pxc has quit [Ping timeout: 265 seconds]
John882 has joined #nixos
<Turion> I have this strange error again whenever I "nix-env -iA anything", I get "error: unexpected EOF reading a line"
Ariakenom has joined #nixos
<Turion> while building path(s) ...user-environment
dan_b has quit [Ping timeout: 240 seconds]
<Turion> It even persists if I do it via su
leotaku has joined #nixos
robstr has joined #nixos
John882 has quit [Ping timeout: 240 seconds]
leotaku has quit [Ping timeout: 263 seconds]
Turion has quit [Ping timeout: 248 seconds]
John882 has joined #nixos
hamishmack has joined #nixos
John882 has quit [Ping timeout: 268 seconds]
John882 has joined #nixos
robstr_ has joined #nixos
davidlt has joined #nixos
thc202 has joined #nixos
davidlt_ has quit [Ping timeout: 256 seconds]
Turion has joined #nixos
pSub_ has joined #nixos
John882 has quit [Ping timeout: 246 seconds]
pSub_ has quit [Client Quit]
pSub_ has joined #nixos
pSub_ has quit [Client Quit]
pSub_ has joined #nixos
pSub_ has quit [Client Quit]
pSub_ has joined #nixos
John882 has joined #nixos
i-am-the-slime has quit [Ping timeout: 246 seconds]
pSub_ has quit [Client Quit]
John882 has quit [Ping timeout: 260 seconds]
davidlt_ has joined #nixos
davidlt has quit [Ping timeout: 264 seconds]
John882 has joined #nixos
<robstr_> Morning
mudri has joined #nixos
<robstr_> can someone tell me, what is the preferred way to resolve the `haskellPackage.ghc-mod` problem https://github.com/NixOS/nixpkgs/issues/36604 I dont get how this error can occur, It was working before
mkoenig_ has joined #nixos
mkoenig has quit [Ping timeout: 246 seconds]
<LnL> try haskell.lib.doJailbreak haskellPackages.ghc-mod
la_putin has quit [Read error: Connection reset by peer]
la_putin_ has joined #nixos
John882 has quit [Ping timeout: 260 seconds]
pkill9 has joined #nixos
<robstr_> LnL: same error, hlint >=2.0.8 && <2.1
<etu[m]> Is there a good way to define channel used for remote boxes when using NixOps?
coot has quit [Quit: coot]
nD5Xjz has joined #nixos
pSub_ has joined #nixos
pSub_ has quit [Client Quit]
<kandinski> so a question I have. I've installed synergy. Where should I configure it?
<kandinski> certainly not /etc/nixos/configuration.nix
<kandinski> where is the boundary of what I configure as part of nixos, and what I configure by simple dotfiles?
fendor has joined #nixos
fendor has quit [Client Quit]
fendor has joined #nixos
<robstr_> kandinski: for dotfiles you should check https://github.com/rycee/home-manager , I'm new to nixos too but i heared it quite often
<kandinski> thanks
thblt has joined #nixos
<robstr_> LnL: It looks you are right, https://github.com/NixOS/nixpkgs/commit/c665fcca9e7be8cd06c1f3c5bbe2b00d4c8f2a92 Is this in the 17.9 channel ? :-/
<sphalerite> kandinski: it's pretty much up to you how much you want to manage with nix
<sphalerite> robstr_: yes it is
<robstr_> sphalerite LnL : I see, thank you
<LnL> but nix-build -E 'with import <nixpkgs> {}; haskell.lib.doJailbreak haskellPackages.ghc-mod' should work either way
<robstr_> Right, i missed to update the channel...
<robstr_> currently i specify everything inside the configuration.nix (splitted) and use a sudo nixos-rebuild, i dont get the real difference/benefit of using what you wrote
<robstr_> there are so many ways to specify development env
Lisanna has quit [Quit: Lisanna]
jmc_fr has joined #nixos
<jmc_fr> trying to install but wierd error :
<jmc_fr> [root@nixos:~]# nixos-install ==> "configuration file /mnt//etc/nixos/configuration.nix doesn't exist"
<jmc_fr>
<jmc_fr>
<jmc_fr> yes yes, the error message tells "/mnt//" with double slash ... ????
<jmc_fr> The regular /mnt/etc/nixos/configuration.nix does exist
rauno has quit [Ping timeout: 260 seconds]
<thblt> Hi! Is it possible to add packages to a running nix-shell from inside the shell?
<thblt> (to avoid rebooting the Emacs running in a project's build shell whenever I need to add or remove a lib or something))
<Mic92> How can I find out in a script if a package or its dependencies is not marked as broken?
cfricke has quit [Quit: WeeChat 2.0]
<fendor> thblt, imo, you can just execute nix-env -i to install packages, they will only be present in your nix-shell
<Mic92> builtins.tryEval "${junit}"
ottidmes has joined #nixos
orivej has joined #nixos
<thblt> fendor: thanks, will try that
<gchristensen> clever do you have any magic tricks for provider the password to sudo across an ssh connection?
<gchristensen> preferably using a program on the the local side to provide it
<gchristensen> clever: ^
robstr_ has quit [Quit: WeeChat 1.9.1]
rauno has joined #nixos
pSub_ has joined #nixos
pSub_ has quit [Client Quit]
pSub_ has joined #nixos
pSub_ has quit [Client Quit]
pSub_ has joined #nixos
pSub_ has quit [Client Quit]
<ottidmes> gchristensen: Might be a stupid suggestion, but I am going to make in it nonetheless, could you not create a user with an invalid password (like you do if you want an inaccessible root), so the only way to login into that user is via having the right SSH key or having sudo access, and then you give the user passwordless access via sudoers to the few things it needs access to
<thblt> gchristensen: from a script or manually? Manually, I'd use some combination of pass + xdotool
<gchristensen> ottidmes: I can't :(
<gchristensen> thblt: from a script
<samueldr> pty allocation issues?
xcmw has joined #nixos
<samueldr> SUDO_ASKPASS + -A, would it work through ssh just like forwarding an agent does?
<gchristensen> samueldr: I can allocate a pty (passing -t) but I don't want to paste a bunch of times
<gchristensen> ooooohhh
<LnL> yeah, askpass but sudoes is a much better solution if possible
robstr_ has joined #nixos
<robstr_> while building my project i receive `missing header file: zlib.h` I added `zlib` and `zlib.dev` as dep. Is there a known problem?
<LnL> as a buildInput?
<robstr_> systemPackage
<gchristensen> !libraries
<gchristensen> !library
<{^_^}> Don't install libraries through nix-env or systemPackages. See https://nixos.wiki/wiki/FAQ/Libraries for details.
<ottidmes> That entry of the bot is used the most I think
knupfer has quit [Remote host closed the connection]
mounty_ has quit [Ping timeout: 256 seconds]
<robstr_> I see, i receive this when trying to build with `stack` and nix enable, does someone know how to handle this
<robstr_> LnL: who thanks, i need to look there first :+1
<LnL> might be worth reading through the entire haskell section
<robstr_> true
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @gebner merged pull request #36933 → aspino: fix build → https://git.io/vxTCI
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/vxYAI
<{^_^}> → 29bc0a00 by @Ma27: aspino: fix build
<{^_^}> → fe7d82e6 by @gebner: Merge pull request #36933 from Ma27/fix-aspino
<{^_^}> [nixpkgs] @gebner pushed commit from @Ma27 to release-18.03 « aspino: fix build »: https://git.io/vxYAm
<{^_^}> [nixpkgs] @Fuuzetsu closed pull request #37135 → pypi2nix: update to current git master → https://git.io/vxtS7
Ariakenom has quit [Quit: Leaving]
ottidmes has quit [Quit: WeeChat 1.9.1]
FRidh has joined #nixos
<{^_^}> [nixpkgs] @gebner merged pull request #37101 → itk: 4.11.0 -> 4.12.2, fix build → https://git.io/vxL7F
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/vxYAr
<{^_^}> → f43e06e9 by @xeji: itk: 4.11.0 -> 4.12.2, fix build
<{^_^}> → 593e7188 by @gebner: Merge pull request #37101 from xeji/p/itk
<{^_^}> [nixpkgs] @gebner pushed commit from @xeji to release-18.03 « itk: 4.11.0 -> 4.12.2, fix build »: https://git.io/vxYAM
<{^_^}> [nixpkgs] @ryantm opened pull request #37243 → usb-modeswitch-data: 20170205 -> 20170806 → https://git.io/vxYAy
<{^_^}> [nixpkgs] @gebner merged pull request #36939 → libs3: 2015-04-23 -> 2017-06-01, fix build → https://git.io/vxTE3
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/vxYAS
<{^_^}> → 823b155a by @xeji: libs3: 2015-04-23 -> 2017-06-01, fix build
<{^_^}> → 8d83f113 by @gebner: Merge pull request #36939 from xeji/p/libs3
<{^_^}> [nixpkgs] @gebner pushed commit from @xeji to release-18.03 « libs3: 2015-04-23 -> 2017-06-01, fix build »: https://git.io/vxYAN
<{^_^}> [nixpkgs] @gebner merged pull request #36942 → manticore: 2014.08.18 -> 2017.08.22, fix build → https://git.io/vxTgE
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/vxYAj
<{^_^}> → 7ec30b3f by @xeji: manticore: 2014.08.18 -> 2017.08.22, fix build
<{^_^}> → f1ff1fe2 by @gebner: Merge pull request #36942 from xeji/p/manticore
<vaibhavsagar> can someone force a rebuild of that qtwebengine package?
<{^_^}> [nixpkgs] @gebner pushed commit from @xeji to release-18.03 « manticore: 2014.08.18 -> 2017.08.22, fix build »: https://git.io/vxYxv
<vaibhavsagar> it's been broken for >1 days now
<vaibhavsagar> can't even see the logs for it when I look
<gchristensen> link, vaibhavsagar ?
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/vxYxO
<{^_^}> → d16f9de4 by @matthewbauer: anki: 2.0.47 -> 2.0.50
<{^_^}> → 4b38f51b by @gebner: Merge pull request #37235 from matthewbauer/auto-update/anki
<{^_^}> [nixpkgs] @gebner merged pull request #37235 → anki: 2.0.47 -> 2.0.50 → https://git.io/vxYHR
obadz has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @gebner merged pull request #37237 → antlr4: 4.7 -> 4.7.1 → https://git.io/vxYHV
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/vxYxs
<{^_^}> → 7e59fd5b by @matthewbauer: antlr4: 4.7 -> 4.7.1
<{^_^}> → 82c5beec by @gebner: Merge pull request #37237 from matthewbauer/auto-update/antlr4
obadz has joined #nixos
<vaibhavsagar> hmm, this is more useful: https://hydra.nixos.org/build/71190207/nixlog/1
<vaibhavsagar> looks like there is actually an error somewhere
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/vxYxC
<{^_^}> → 224bc7dd by @ryantm: nq: 0.2.2 -> 0.3.1
<{^_^}> → 2a4733f9 by @gebner: Merge pull request #37234 from ryantm/auto-update/nq
<{^_^}> [nixpkgs] @gebner merged pull request #37234 → nq: 0.2.2 -> 0.3.1 → https://git.io/vxYHm
<{^_^}> [nixpkgs] @gebner merged pull request #37202 → imapfilter: 2.6.10 -> 2.6.11 → https://git.io/vxYaB
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/vxYxl
<{^_^}> → 2c02923e by @gebner: Merge pull request #37202 from ryantm/auto-update/imapfilter
<{^_^}> → bc0d0587 by @ryantm: imapfilter: 2.6.10 -> 2.6.11
ambro718 has joined #nixos
<{^_^}> [nixpkgs] @gebner merged pull request #37176 → eccodes: 2.6.0 -> 2.7.0 → https://git.io/vxm8k
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/vxYx4
<{^_^}> → 8016b150 by @ryantm: eccodes: 2.6.0 -> 2.7.0
<{^_^}> → cf7ef3c3 by @gebner: Merge pull request #37176 from ryantm/auto-update/eccodes
MP2E has joined #nixos
<{^_^}> [nixpkgs] @ryantm opened pull request #37244 → vim: 8.0.1451 -> 8.0.1605 → https://git.io/vxYxD
<gchristensen> !library
<{^_^}> Don't install libraries through nix-env or systemPackages. See https://nixos.wiki/wiki/FAQ/Libraries for details.
<gchristensen> oops...
<{^_^}> [nixpkgs] @gebner merged pull request #37144 → xe: 0.6.1 -> 0.11 → https://git.io/vxtji
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/vxYx9
<{^_^}> → 745efc94 by @ryantm: xe: 0.6.1 -> 0.11
<{^_^}> → 00449060 by @gebner: Merge pull request #37144 from ryantm/auto-update/xe
coot has joined #nixos
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/vxYx5
<{^_^}> → 4b43f9e5 by @ryantm: sassc: 3.4.8 -> 3.5.0
<{^_^}> → e70d3f0a by @gebner: Merge pull request #37106 from ryantm/auto-update/sassc
<{^_^}> [nixpkgs] @gebner merged pull request #37106 → sassc: 3.4.8 -> 3.5.0 → https://git.io/vxLFM
<{^_^}> [nixpkgs] @gebner merged pull request #37009 → igv: 2.4.8 -> 2.4.9 → https://git.io/vxIRw
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/vxYxF
<{^_^}> → 9b4c82d3 by @ryantm: igv: 2.4.8 -> 2.4.9
<{^_^}> → 5df4f227 by @gebner: Merge pull request #37009 from ryantm/auto-update/igv
coot has quit [Client Quit]
<{^_^}> [nixpkgs] @gebner merged pull request #37086 → pshs: 0.3.2 -> 0.3.3 → https://git.io/vxLEK
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/vxYxp
<{^_^}> → 52a0fd0d by @ryantm: pshs: 0.3.2 -> 0.3.3
<{^_^}> → 31becd8a by @gebner: Merge pull request #37086 from ryantm/auto-update/pshs
jmc_fr has quit [Ping timeout: 260 seconds]
ottidmes has joined #nixos
davidlt_ is now known as davidlt
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/0c52ab986be (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
dvim has quit []
freeman42x]NixOS has joined #nixos
<{^_^}> [nixpkgs] @gebner merged pull request #37011 → inboxer: 1.0.2 -> 1.0.3 → https://git.io/vxIEl
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/vxYpL
<{^_^}> → b1113360 by @ryantm: inboxer: 1.0.2 -> 1.0.3
<{^_^}> → 6b541ecc by @gebner: Merge pull request #37011 from ryantm/auto-update/inboxer
<{^_^}> [nixpkgs] @gebner merged pull request #37078 → pgroonga: 2.0.2 -> 2.0.3 → https://git.io/vxLWT
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/vxYps
<{^_^}> → 07d69bb5 by @ryantm: pgroonga: 2.0.2 -> 2.0.3
<{^_^}> → 4fc0d903 by @gebner: Merge pull request #37078 from ryantm/auto-update/pgroonga
dvim has joined #nixos
<{^_^}> [nixpkgs] @gebner merged pull request #37076 → pgbouncer: 1.7.2 -> 1.8.1 → https://git.io/vxLcD
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/vxYpW
<{^_^}> → b661ecb9 by @ryantm: pgbouncer: 1.7.2 -> 1.8.1
<{^_^}> → 1c183bf9 by @gebner: Merge pull request #37076 from ryantm/auto-update/pgbouncer
mduggie has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @gebner merged pull request #37069 → opendht: 1.5.0 -> 1.6.0 → https://git.io/vxLO1
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/vxYp0
<{^_^}> → 30ddce68 by @ryantm: opendht: 1.5.0 -> 1.6.0
<{^_^}> → 71d9dfa4 by @gebner: Merge pull request #37069 from ryantm/auto-update/opendht
<{^_^}> [nixpkgs] @gebner merged pull request #36905 → calibre: 3.17.0 -> 3.19.0 → https://git.io/vxJpi
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/vxYpw
<{^_^}> → 54471fd0 by @AndersonTorres: calibre: 3.17.0 -> 3.19.0
<{^_^}> → 77800f44 by @gebner: Merge pull request #36905 from AndersonTorres/upload/calibre
mduggie has joined #nixos
<{^_^}> [nixpkgs] @gebner closed pull request #36491 → calibre: 3.17.0 -> 3.18.0 → https://git.io/vANXV
<{^_^}> [nixpkgs] @gebner merged pull request #37006 → flink: 1.4.0 -> 1.4.2 → https://git.io/vxI42
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/vxYp6
<{^_^}> → 50f42f0c by @mbode: flink: 1.4.0 -> 1.4.2
Ariakenom has joined #nixos
<{^_^}> → a68b3da7 by @gebner: Merge pull request #37006 from mbode/flink_1_4_2
dvim has quit [Client Quit]
dvim has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to master: https://git.io/vxYpM
<{^_^}> → 0ea3fc37 by @ryantm: liferea: 1.12.1 -> 1.12.2
<{^_^}> → c3aadd5b by @vcunat: Merge #37059: liferea: 1.12.1 -> 1.12.2 (bugfix)
<{^_^}> [nixpkgs] @gebner merged pull request #37041 → dehydrated: 0.5.0 -> 0.6.1 → https://git.io/vxIAO
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/vxYpy
<{^_^}> → 87f7ea33 by @ryantm: dehydrated: 0.5.0 -> 0.6.1
<{^_^}> → 51794dfd by @gebner: Merge pull request #37041 from ryantm/dehydrated
dvim has quit [Client Quit]
<{^_^}> [nixpkgs] @gebner merged pull request #37036 → libraw: 0.18.7 -> 0.18.8 → https://git.io/vxIFy
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/vxYpS
<{^_^}> → f3d17b66 by @ryantm: libraw: 0.18.7 -> 0.18.8
<{^_^}> → 4f8419b0 by @gebner: Merge pull request #37036 from ryantm/auto-update/libraw
dvim has joined #nixos
<{^_^}> [nixpkgs] @gebner merged pull request #37059 → liferea: 1.12.1 -> 1.12.2 → https://git.io/vxLtx
<{^_^}> [nixpkgs] @gebner merged pull request #36986 → fricas: 1.3.2 -> 1.3.3 → https://git.io/vxk9r
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/vxYpd
<{^_^}> → bf06f445 by @ryantm: fricas: 1.3.2 -> 1.3.3
<{^_^}> → 5693c5da by @gebner: Merge pull request #36986 from ryantm/auto-update/fricas
mduggie has quit [Ping timeout: 264 seconds]
Turion has quit [Remote host closed the connection]
<infinisil> Are PR's really the best strategy to update packages..
<octe> i'm trying to install nixos with encrypted root, but after booting the installation it just says "waiting for device <uuid i specified in configuration.nix>"
fl3 has joined #nixos
xcmw has joined #nixos
<{^_^}> [nixpkgs] @gebner pushed 2 commits to release-18.03: https://git.io/vxYhe
<{^_^}> → b1053e61 by @xeji: rename: fix build
<{^_^}> → 6e6417c0 by @xeji: libdynd: fix build w/gcc7
mduggie has joined #nixos
<clever> fendor: nix-env completely ignores the nix-shell and the packages persist after leaving it
<octe> that's what the section looks like in the configuration.nix
<clever> thblt: ^^
<octe> crap.
<octe> it's disk, not disks
<octe> thanks for the rubberduck debugging :D
<clever> octe: i did the same thing lastnight while trying to figure out why a file hash was wrong
<clever> and managed to get a different hash the 2nd time thru
<clever> i had the repo cloned on 2 machines, with ssh open to both, on different branches
<fendor> clever, dammit
<clever> so the URL to the file was simply different
<clever> fendor: nix-env -q to see everything youve installed
<fl3> Hello! Installed grml-zsh-config and now I have .nix-profile/etc/zsh/keephack, but I dont have /etc/zsh/keephack. Any tips?
<infinisil> fl3: That's how nix installs stuff with nix-env, it's a user-space installation, it can't modify /etc
<clever> fendor: nix-env cant control /etc
mtetreault has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed to release-18.03 « Merge #37059: liferea: 1.12.1 -> 1.12.2 (bugfix) »: https://git.io/vxYhL
<fendor> unrelated question, currently, nix-collect-garbage removes all my user applications, does someone has an idea why this happens?
raynold has quit [Quit: Connection closed for inactivity]
dvim has quit [Quit: WeeChat 2.0.1]
<clever> fendor: can you run `tree /nix/var/nix/gcroots/` and gist the outout?
<clever> output*
dvim has joined #nixos
<{^_^}> [nixpkgs] @ryantm opened pull request #37245 → weston: 3.0.0 -> 3.0.91 → https://git.io/vxYhs
srjek has joined #nixos
<fl3> infinisil: I am really new to nixos, to avoid XY problem, could you please give me tips on how to get zsh with grml-zsh-config as my shell? I added programs.zsh.enable and "shell = pkgs.zsh" to my configuration.nix. What else should I do?
<clever> fendor: and what does ls -l ~/.nix-profile/ say?
qewzee has joined #nixos
Rusty1_ has joined #nixos
<clever> fendor: oops, without the strailing /
Myrl-saki has quit [Ping timeout: 256 seconds]
dvim has quit [Quit: WeeChat 2.0.1]
<fendor> clever that links to .nix-profile-2-link
dvim has joined #nixos
<clever> fendor: thats your problem
dvim has quit [Client Quit]
<clever> fendor: .nix-profile should point into /nix
FRidh has quit [Quit: Konversation terminated!]
<fendor> clever, how did that happen?
<clever> lrwxrwxrwx 1 clever users 45 Oct 11 2015 .nix-profile -> /nix/var/nix/profiles/per-user/clever/profile
<clever> no idea
alhariel has quit [Quit: Leaving]
das_j has joined #nixos
<clever> but if you fix the symlink, nix will notice your using those things
<{^_^}> [nixpkgs] @LnL7 opened pull request #37246 → chuck: fix darwin build → https://git.io/vxYhW
<fendor> it links to somewhere in /nix/store
<clever> can you paste the exact output of the ls command?
davidlt_ has joined #nixos
dvim has joined #nixos
<infinisil> fl3: I'll look into it hold on
dvim has quit [Client Quit]
<freeman42x]NixOS> should ghc-8.4.1 appear when querying: nix-env -f "<nixpkgs>" -qaP -A haskell.compiler on nixos stable + nixpkgs unstable ? (did a a nix-channel update) wondering if it was not packaged yet or I am just doing something wrong
<das_j> Is this also the correct channel for nixops questions?
<clever> das_j: yes
<clever> fendor: yeah, thats wrong, try just `rm ~/.nix-profile` and then install something with nix-env again
davidlt has quit [Ping timeout: 256 seconds]
<fendor> clever, permission denied :D
mtetreault has quit [Quit: Leaving]
<epta> Trying to install nix on windows subsystem, got this permission error - http://lpaste.net/raw/2935384996040409088
<clever> drwxrwxrwt 8 root root 8 Jun 18 2016 /nix/var/nix/profiles/per-user/
<clever> drwxr-xr-x 3 clever users 21 Mar 8 19:26 /nix/var/nix/profiles/per-user/clever
<infinisil> fl3: Hmm, that package doesn't seem to be properly packaged
<clever> fendor: you need to own your per-user directory
<das_j> Nice. So I'm currently running some machines on Ubuntu with Ansible. However, I really like NixOS (on my private machines) so I think about a switch from Ansible to nixops. Is nixops as stateless as Ansible? Or will it create state files on my local machine?
<infinisil> fl3: if it would've been done properly it would work without doing anything
<fendor> clever, really sure i do, could not open lok file in `/nix/var/nix/profiles/default.lock`
dvim has joined #nixos
<clever> das_j: nixops uses a state file to keep track of what machines have been deployed
<das_j> clever: Is that on my local machine or on the remote one?
<clever> fendor: create a symlink from .nix-profile to /nix/var/nix/profiles/per-user/$USER/profile
<clever> das_j: the local machine
<das_j> Damn it. So if we were working as a team, we'd need a central machine where the nixops runs are performed?
<clever> das_j: it needs that to know where the remote machines even are
<clever> das_j: yeah, thats how its typically done
<infinisil> fl3: Wait, is this zsh config meant to replace your own .zshrc???
<ij> adisbladis[m], Hi. I see you've packed perkeep on master. Did you try using it / does the UI work? Perkeep's UI seems to be unable to load an asset / react-with-addons.js.
<fendor> clever, i think now it works!
<fendor> thanks!
<fl3> infinisil: hmm, give me a minute, I'll check on my arch machine
<das_j> So I'll probably end up with something like "ssh machine 'cd /var/src/myrepo; git pull; nixos-rebuild switch'"...
silver_hook has quit [Quit: ZNC 1.6.5+deb1 - http://znc.in]
<clever> das_j: nixops does the nixos build on the local machine, then copies it to the remote one with nix-copy-closure
<fendor> in my home folder there is a weird file `result@` what is that?
<clever> fendor: thats a symlink with the name result
<tilpner> das_j - Look at nix-deploy, you can use it without a state directory, so deploying from different devices should be fine
<clever> fendor: ls -l result
<fl3> infinisil: it looks that it should only create /etc/zsh folder with zshrc
chisui has joined #nixos
<infinisil> fl3: Ah, so a global default configuration..
maximiliantagher has joined #nixos
<tilpner> fl3 - You could try calling ${grml-zsh-config}/etc/zsh/zshrc from your own zsh. E.g. from interactiveShellInit or loginShellInit
<das_j> tilpner: That really looks like what I need. Thank you for pointing me into the right direction
<fendor> clever, ok, that i knew :D i meant, how do i find out who created it? https://hastebin.com/jokucuzaxo.hs
<fendor> Also is it save to remove?
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/d862661b7c2 (from 73 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
<clever> fendor: nix-build creates a result symlink pointing to the result
<infinisil> Yeah what tilpner said should work fl3
<clever> fendor: ahh, that one specifically is from `nixos-rebuild build`
<clever> fendor: you can safely delete it
<clever> fendor: also, `ls -l result` is very different from `ls -l result/`
<fendor> clever, cool, thanks!
<fendor> clever, dang it, yeah i see now ^^
<fl3> tilpner: it will not be in conflict with previously installed /etc/zshrc?
alhariel has joined #nixos
<tilpner> fl3 - I don't know, I don't use grml, so I'm not familiar with it. You can try though
<fendor> similar question, i have a bunch of symlinks of the form .nix-profile-\d-link-\d-link, where \d is some number, are those also build artifacts?
<fendor> *in my home folder
<infinisil> fl3: This won't change /etc/zshrc at all, it just sources the grml config
<tilpner> das_j - Check PMs
<infinisil> fl3: Which probably has the same effect
JosW has joined #nixos
silver_hook has joined #nixos
silver_hook has quit [Changing host]
silver_hook has joined #nixos
maximiliantagher has quit [Ping timeout: 264 seconds]
leotaku has joined #nixos
<{^_^}> [nixpkgs] @Ma27 opened pull request #37247 → Fix tablib → https://git.io/vxYjc
<fl3> Added this environment.interactiveShellInit = ''
<fl3> source ${pkgs.grml-zsh-config}/etc/zsh/zshrc
<fl3> '';
<fl3> still no grml :(
<infinisil> fl3: Try to just do in zsh: `source ~/.nix-profile/etc/zsh/zshrc`
<fl3> infinisil: it works, also I added "echo ${pkgs.grml-zsh-config}" and then called source from printed path - it also works fine
<infinisil> but the interactiveShellInit doesn't work?
<fl3> Just found that interactiveShellInit adds commands to /etc/zshrc, so echo works, but entire grml config is overwriten lately in that zshrc
<infinisil> fl3: A simple solution is to just put it in your users zshrc file
<{^_^}> [nixpkgs] @ryantm opened pull request #37248 → xlsfonts: 1.0.5 -> 1.0.6 → https://git.io/vxYjy
<fl3> wow it looks that I workarounded it. Added programs.zsh.promptInit = ""; to config and grml works fine
<fl3> just to clarify things - /etc/zshrc is created by nixos-rebuild, right? No package could write to /etc, each config file modified in /etc is the result of nixos-rebuild?
<clever> fl3: some things in /etc are writable, but packages that are installed cant just create files when installed
<clever> fl3: if you ls -l /etc/zshrc youll see its a symlink
<clever> but /etc/passwd is a normal writable file
<ottidmes> Got any simple way to test if the grml config is working, I have it installed, but it could very well be that I have not actually be using it all this time...
leotaku_ has joined #nixos
<fl3> That symlink was created by nix-env -i zsh? Or its because I made some changes in configuration.nix?
<clever> fl3: only configuration.nix can manage /etc/
<fl3> clever: got it, thx!
<clever> and 11
<clever> if you set programs.zsh.enable = true; then zsh.nix will set environment.etc."zshrc".text =
<clever> and that is what created /etc/zshrc
<ottidmes> so /etc/zshrc.local could be used to load the grml config?
<clever> yep
<clever> but you could also use programs.zsh.interactiveShellInit = "source grml";
Guest25915 has quit [Changing host]
Guest25915 has joined #nixos
<fl3> thx, it seems I got it :)
<ottidmes> infinisil: What would have been a better way to have grml config packaged?
<ertes> is there a way to do anti-quotation in non-nix text files? i'd like to do text file templates
<ertes> so what i need is a way to read a file and then evaluate any anti-quotes
<infinisil> ottidmes: Not sure actually
<clever> ertes: yeah, one min
logzet has joined #nixos
<ottidmes> infinisil: Maybe adding a module to it would have helped I guess. One that added programs.zfs.grml.enable or something
<infinisil> ottidmes: I guess a nice zsh module would be the best thing
<clever> ertes: there is also an @nix@ on 218
<ertes> clever: yeah
<infinisil> ottidmes: Yeah but that's kind of arbitrary, usually zsh plugins only define functions
<infinisil> Maybe it could be changed to use a function and then call a setup function from your init files manually
<clever> pkgs.substituteAll { name = "foo"; src = ./input.txt; var1 = "val1"; } will replace @var1@ in input.txt with val1
<ertes> clever: but that's not anti-quotation, that's just variable substitution
<clever> shell and a couple of others are already set by the stdenv
<clever> ertes: what exactly are you trying to do?
<ertes> clever: the same as ''blah ${f x} blubb'', but where i have a text file that contains: blah ${f x} blubb
<clever> ertes: using pkgs.substituteAll, you can set var1 = f x; and then put @var1@ into the txt file
<ottidmes> ertes: maybe use eval?
<clever> thats about the only way to do it, without putting the whole file in quotations
<ertes> yeah, seems to be
<ertes> i guess i'll quote the file then
<ertes> ottidmes: you mean calling out to nix-instantiate?
<{^_^}> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/2c61d012ba7 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
vidbina has joined #nixos
romildo has joined #nixos
<ottidmes> ertes: That could work probably, there is also: builtins.tryEval e
romildo has quit [Read error: Connection reset by peer]
<octe> anyone sharing zfs with nfs?
<octe> i've installed nfs-server and set sharenfs attribute
romildo has joined #nixos
<octe> i can mount exports specified in configuration.nix, but not filesystems shared through zfs
<octe> i get permission denied
<clever> octe: i have no trouble with nfs and zfs
romildo has quit [Read error: Connection reset by peer]
<ertes> ottidmes: builtins.tryEval doesn't seem to do what its name suggests
romildo has joined #nixos
<clever> ertes: tryEval is to catch errors, not eval strings
<ertes> yeah, and it doesn't even seem to do that
romildo has quit [Read error: Connection reset by peer]
<ertes> nix-repl> builtins.tryEval "\""
<ertes> { success = true; value = "\""; }
<clever> "\"" didnt return an error
<clever> so it did exactly what it should do
<ertes> ah!
<octe> clever, https://pastebin.com/cQypaxSV this is the config
<octe> am i missing something?
romildo has joined #nixos
<octe> the exports are just to test
<ertes> looks like it's something like 'evaluate' in haskell
romildo has quit [Read error: Connection reset by peer]
<octe> access denied by server while mounting 192.168.1.x:/tank/foo
romildo has joined #nixos
<clever> octe: i didnt touch the ports or firewall
<ertes> ok, so it doesn't seem to be possible
romildo has quit [Read error: Connection reset by peer]
<ertes> clever, ottidmes: thanks
<MichaelRaskin> ertes: eval is in the sense of lazy evaluation, an attribute of an attrset can be faulty even if you can get a hold of the set itself
<octe> so you basically have just services.nfs.server.enable = true and sharenfs attributes set and it just works?
<clever> octe: oh, and i dont use sharenfs either
romildo has joined #nixos
<clever> octe: i just use plain exports
<octe> ah.. well that's the part i'm having troubles with :)
<clever> octe: i dont think linux supports the flags like sharenfs
<octe> it does, it worked on the previous centos install i had
romildo has quit [Read error: Connection reset by peer]
<octe> i had nfs sharing working with no exports specified other than sharenfs-attributes on zfs
<ertes> MichaelRaskin: ah, so it's related to 'deepseq' in haskell (introduce a dependency on the normal form of a value)
<clever> octe: ah, maybe nixos never enabled that support then
romildo has joined #nixos
<octe> perhaps
<octe> i'll try to dig further
<clever> ertes: tryEval is more like catch
<octe> not sure where that would be enabled, maybe inside zfsonlinux-stuff?
romildo has quit [Read error: Connection reset by peer]
<clever> ertes: it will catch certain exceptions, and return success = false;
<ertes> clever: but with NF ("deep") evaluation?
<clever> ertes: i dont think so, have to mix deepSeq for that
romildo has joined #nixos
<{^_^}> [nix] @shlevy pushed commit from @lheckemann to master « nix-shell: allow symlinks to .drvs »: https://git.io/vxOve
<romildo> Can someone merge pull request #36320 (gsettings-qt: init at 0.1.20170824)?
<clever> ertes: but i also ran into trouble last night doing just that, i dont think tryEval can catch the foo.bar error when foo = null;
<coconnor> morning all
<{^_^}> [nix] @shlevy merged pull request #1983 → nix-shell: allow symlinks to .drvs → https://git.io/vxYWb
<ertes> yeah, it's not deep
romildo has quit [Read error: Connection reset by peer]
<ertes> nix-repl> builtins.tryEval { x = throw "x"; }
<ertes> { success = true; value = { ... }; }
romildo has joined #nixos
romildo has quit [Read error: Connection reset by peer]
romildo_ has joined #nixos
<ertes> nix-repl> let s = { x = throw "x"; }; in builtins.tryEval (builtins.deepSeq s s)
<ertes> { success = false; value = false; }
<ertes> there we go
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/4062990844a (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
pkill9 has quit [Ping timeout: 264 seconds]
vidbina has quit [Ping timeout: 240 seconds]
romildo_ has quit [Read error: Connection reset by peer]
romildo__ has joined #nixos
romildo__ has quit [Read error: Connection reset by peer]
romildo_ has joined #nixos
romildo_ has quit [Read error: Connection reset by peer]
romildo__ has joined #nixos
romildo__ has quit [Read error: Connection reset by peer]
romildo_ has joined #nixos
<{^_^}> [nixpkgs] @shlevy pushed 11 commits to glibc-2.27: https://git.io/vxOv3
<{^_^}> → 4abfb0b3 by @shlevy: help2man: Make safe to use in bootstrap stdenv.
<{^_^}> → a546d776 by @shlevy: glibc: Make 2.27 the default.
romildo_ has quit [Read error: Connection reset by peer]
<{^_^}> → 6d7e964b by @shlevy: xfsprogs: Fix build on glibc-2.27
romildo_ has joined #nixos
romildo_ has quit [Read error: Connection reset by peer]
romildo__ has joined #nixos
romildo__ has quit [Read error: Connection reset by peer]
spear2 has quit [Remote host closed the connection]
romildo has joined #nixos
romildo has quit [Read error: Connection reset by peer]
romildo_ has joined #nixos
fl3 has quit [Quit: Lost terminal]
romildo_ has quit [Read error: Connection reset by peer]
<ottidmes> infinisil: any idea how to fix my keymap to allow those keys registered as japanese, it says "symbols ignored" after warning the key could not be found, and thus ignoring my mapping
<{^_^}> [nixpkgs] @primeos pushed to master « wlroots: 2017-12-22 -> 2018-03-16 »: https://git.io/vxOvi
romildo_ has joined #nixos
<infinisil> ottidmes: does remapping with the xkb file not work?
romildo_ has quit [Read error: Connection reset by peer]
i-am-the-slime has joined #nixos
romildo_ has joined #nixos
romildo_ has quit [Read error: Connection reset by peer]
romildo__ has joined #nixos
romildo__ has quit [Client Quit]
<ottidmes> infinisil: I tried, I have for example: key <I101> { [ XF86Excel ] }; which originally was Hiragana_Katakana, however when I reload it, I get: Warning: Key <I101> not found in evdev+aliases(qwerty) keycodes Symbols ignored
<{^_^}> [nixpkgs] @shlevy pushed 3 commits to master: https://git.io/vxOvN
<{^_^}> → 2963d76c by @shlevy: pythonPackages.pyspark: Init at 2.3.0
<{^_^}> → 4322f2b8 by @shlevy: pythonPackages.py4j: Init at 0.10.6.
<ottidmes> infinisil: I guess I have to extend xkb_keycodes with something to allow those keys
<{^_^}> → 7215194f by @shlevy: Merge branch 'pyspark'
<{^_^}> [nixpkgs] @Mic92 merged pull request #37244 → vim: 8.0.1451 -> 8.0.1605 → https://git.io/vxYxD
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vxOfe
<{^_^}> → a998162d by @ryantm: vim: 8.0.1451 -> 8.0.1605
<{^_^}> → 2f07f287 by @Mic92: Merge pull request #37244 from ryantm/auto-update/vim
<{^_^}> [nixpkgs] @primeos merged pull request #36529 → Add pyspark → https://git.io/vAAzR
<infinisil> ottidmes: Look in /etc/X11/xkb/keycodes/evdev
<infinisil> ottidmes: There you can see `<HKTG> = 101; // Hiragana/Katakana toggle
<clever> infinisil: 404, /etc/X11/xkb not found
<infinisil> It's not always just I101
<infinisil> clever: services.xserver.exportConfiguration = true :)
<infinisil> Yeah i could just use cd $(nix-build blablabla xkb) too
fl3 has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #37227 → most: 5.0.0 -> 5.0.0a → https://git.io/vxYyM
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vxOfY
<{^_^}> → 68abbd6f by @ryantm: most: 5.0.0 -> 5.0.0a
<{^_^}> → f4d0ca98 by @Mic92: Merge pull request #37227 from ryantm/auto-update/most
<ottidmes> infinisil: Thanks again :D changing it to HKTG worked
<fl3> What does it mean? "error: cannot auto-call a function that has an argument without a default value (‘lib’)"
<ottidmes> my keyboard is just weird, its technically a mouse as well, its made in china, but has japanese keycode even though it is just an US international keyboard with some additional media keys
<fl3> Got that error after nix-channel add and update, from https://github.com/NixOS/nixos-hardware
<infinisil> ottidmes: What's the keyboards name again?
<clever> fl3: what does nix-channel --list report?
<ottidmes> infinisil: Multimedia Scroll Keyboard KB-2200
<fl3> clever: nothing
<clever> fl3: as root
<infinisil> ottidmes: what does this 101 key represent on the keyboard?
<ottidmes> infinisil: Excel
<fl3> 130 fl3@nix ~ % sudo nix-channel --list :(
<infinisil> Ah right
<ottidmes> infinisil: So I mapped it like: key <HKTG> { [ XF86Excel ] }; even though I will probably assign some different meaning to it, it makes sense to me to map to what it represents on the keyboard instead of its semantics
<infinisil> ottidmes: Ah and I just found out there's the FK14 key which will automatically map to XF86Excel, so probably you could put just `<FK14> = 101;` to the xkb_keycodes section and it'll work too
<{^_^}> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/2c61d012ba7 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
<infinisil> This key is defined for a couple different keyboards in the keycodes folder
Tehnix has quit [Read error: Connection reset by peer]
Tehnix1 has joined #nixos
<ottidmes> infinisil: That changes it to XF86Launch5
<{^_^}> [nixpkgs] @Mic92 merged pull request #37240 → pidgin-sipe: 1.23.0 -> 1.23.2 → https://git.io/vxY7Q
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vxOfy
<{^_^}> → 5b118925 by @ryantm: pidgin-sipe: 1.23.0 -> 1.23.2
<{^_^}> → 291d18d2 by @Mic92: Merge pull request #37240 from ryantm/auto-update/pidgin-sipe
endformationage has joined #nixos
<infinisil> ottidmes: Oh, yeah my mistake
<infinisil> Never mind
zzamboni has joined #nixos
<srjek> f13: Have you added a nixos-hardware line to your imports in /etc/nixos/configuration.nix ? And if so, what hardware did you add? (I'm wondering if it's the same issue as https://github.com/NixOS/nixos-hardware/issues/52 )
nD5Xjz has quit [Ping timeout: 240 seconds]
pkill9 has joined #nixos
<ottidmes> infinisil: It now at least no longer gives any warnings about the symbols I defined (still give plenty for other symbols, not sure how to fix) and my mappings now all work, so they can now actually be put to some use :D
vaninwagen has joined #nixos
<infinisil> Yeah I also have these warnings, they don't really matter
<infinisil> You could look in the xkb directory to find something that defines them
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/c1c6b006278 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
gemishhood has left #nixos [#nixos]
zzamboni has quit [Quit: Leaving.]
clefru has joined #nixos
vaninwagen has quit [Read error: Connection timed out]
vaninwagen has joined #nixos
<mpickering> Someone close this issue pls? https://github.com/NixOS/nixpkgs/issues/36374
matthias_wahl has joined #nixos
nD5Xjz has joined #nixos
<gchristensen> thanks mpickering
<ottidmes> infinisil: I checked and indeed, they are set in various files of the included xkb_symbols, e.g. 255 is defined in /etc/X11/xkb/symbols/inet as hibernate
Fare has quit [Ping timeout: 260 seconds]
<ottidmes> infinisil: And you were right about logind capturing those keyboard events, so I just disabled them via services.logind.extraConfig
chessai has joined #nixos
zzamboni has joined #nixos
<infinisil> ottidmes: indeed, using it to make my power key suspend instead of stutdown
<infinisil> Was really annoying to accidentally hit the power button and have it shut down..
nD5Xjz has quit [Ping timeout: 256 seconds]
<mpickering> There's no permission setting which allows being able to edit the issue tracker but not commit is there?
<LnL> no, same with labels etc.
leotaku_ has quit [Quit: ZNC 1.6.5 - http://znc.in]
<ottidmes> infinisil: I made it so that my poweroff and reboot command no ask me if I want to shut it down showing explicity the machine name, had it happen a few times already that I rebooted my desktop instead of the remote machine... (e.g. being used to call nixos-rebuild boot and then reboot, and then start using nixops and still calling reboot out of habit... not nice :P)
leotaku_ has joined #nixos
<ottidmes> * no = now
leotaku_ has quit [Client Quit]
Myrl-saki has joined #nixos
zzamboni has quit [Quit: Leaving.]
leotaku_ has joined #nixos
zzamboni has joined #nixos
ThatPako has joined #nixos
<fl3> srjek: no, I did not yet add it to configuration.nix
<srjek> huh
<ThatPako> https://github.com/rycee/home-manager this only allows you to configure your user's profile the same way the system packages are managed, right?
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/0e7c9b32817 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<ThatPako> Or is there any way I can completely get rid of dotfiles and only use .nix stuff?
nD5Xjz has joined #nixos
lhart has joined #nixos
<sphalerite> ThatPako: pretty much, re home-manager
<fl3> srjek: the same issue with added hardware import
fl3 has quit [Remote host closed the connection]
<sphalerite> ThatPako: with creative use of wrapper scripts, you can eliminate almost all dotfiles
<{^_^}> [nixpkgs] @gebner merged pull request #37178 → trayer: 1.1.7 -> 1.1.8 → https://git.io/vxmzq
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/vxOTX
<{^_^}> → 3f2f5e5c by @sargon: trayer: 1.1.7 -> 1.1.8
<{^_^}> → d985f29e by @gebner: Merge pull request #37178 from sargon/trayer-1.1.8
<ThatPako> wrapper scripts?
<{^_^}> [nixpkgs] @gebner merged pull request #37189 → libtins: init at 3.5 → https://git.io/vxmpL
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/vxOTS
<{^_^}> → 298f6169 by Felipe Espinoza: libtins: init at 3.5
<{^_^}> → 065fda26 by @gebner: Merge pull request #37189 from fdns/libtins
fl3 has joined #nixos
<{^_^}> [nixpkgs] @dotlambda opened pull request #37250 → Python fixes → https://git.io/vxOTQ
<{^_^}> [nixpkgs] @gebner merged pull request #37105 → st: 0.7 -> 0.8 → https://git.io/vxLdt
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/vxOTd
<{^_^}> → ce6e3368 by @Ekleog: st: 0.7 -> 0.8
<{^_^}> → fe8c36ad by @gebner: Merge pull request #37105 from Ekleog/st-0.8
<sphalerite> ThatPako: rather than installing, say, tmux, you install a wrapper script named tmux that calls the actual tmux and passes the path to a (nix-managed) config file to it
<{^_^}> [nixpkgs] @gebner merged pull request #36461 → givaro: 4.0.2 -> 4.0.4 → https://git.io/vANCs
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/vxOTF
<{^_^}> → 9c790169 by Timo Kaufmann: givaro: 4.0.2 -> 4.0.4
<{^_^}> → 77835bd3 by @gebner: Merge pull request #36461 from timokau/givaro-4.0.4
nD5Xjz has quit [Ping timeout: 246 seconds]
<sphalerite> ThatPako: I'm using this approach rather than home-manager because it's simpler and I'm not really sold on using the module system in more places
nD5Xjz has joined #nixos
slack1256 has joined #nixos
<sphalerite> ThatPako: some packages have existing support for generating wrapper scripts. vim_configurable for example
<fl3> srjek: hmm, I have no idea what does that error means, but nixos-rebuild worked just fine with imported line, the problem is only in nix-env :|
zzamboni has quit [Quit: Leaving.]
zzamboni has joined #nixos
nD5Xjz has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @ttuegel merged pull request #37162 → atlas: 3.10.2 -> 3.10.3 → https://git.io/vxq9q
<{^_^}> [nixpkgs] @ttuegel pushed 2 commits to master: https://git.io/vxOkr
<{^_^}> → 4c28d80b by @ryantm: atlas: 3.10.2 -> 3.10.3
<{^_^}> → c66e5e0c by @ttuegel: Merge pull request #37162 from ryantm/auto-update/atlas
<srjek> fl3: You can try adding --verbose to nix-env to see what file it's tripping up on.
<srjek> though, I suspect the problem is how the file is pulled in, not the file itself
<fl3> "nix-env --verbose -qa" outputs exectly the same error as in github issue(about dell xps)
leotaku_ has quit [Quit: ZNC 1.6.5 - http://znc.in]
zzamboni has quit [Quit: Leaving.]
leotaku_ has joined #nixos
zzamboni has joined #nixos
<sphalerite> fl3: how are you using the file?
<fl3> sphalerite: the error persist even if I dont use any files, just exec commands from setup section https://github.com/NixOS/nixos-hardware (nix-channel add && nix-channel update)
nD5Xjz has joined #nixos
leotaku has quit [Ping timeout: 264 seconds]
<sphalerite> fl3: hm, this shouldn't happen AFAIU… What's does ls /nix/var/nix/profiles/per-user/root/channels say?
<fl3> binary-caches manifest.nix nixos nixos-hardware
<sphalerite> and ls /nix/var/nix/profiles/per-user/root/channels/nixos-hardware ?
<coconnor> fl3: what awas the github issue again?
<{^_^}> [nixpkgs] @Profpatsch opened pull request #37252 → Rewrite meta-check.nix type checking logic. → https://git.io/vxOIk
<roconnor> oh boy. nix build doesn't echo the build path to stdout. That feature of nix-build was so good!
clefru has quit [Quit: Leaving]
nD5Xjz has quit [Ping timeout: 256 seconds]
<srjek> coconnor: https://github.com/NixOS/nixos-hardware/issues/52 was the github issue that matches his problem.
peterzky has joined #nixos
<coconnor> roconnor: yeaaaa. not thrilled about that. You have to use a second command to fetch the log
<coconnor> srjek: thanks!
<tilpner> roconnor - nix eval --raw -f '<nixpkgs>' hello
<sphalerite> oops wrong highlight
<sphalerite> roconnor: ^
<sphalerite> why are your names so similar x)
<coconnor> same last name IIRC
<coconnor> and, at least myself, I'm boring about usenames
<tilpner> Any idea why "nix eval --raw nixpkgs.hello" errors with "attribute 'nixpkgs' in selection path 'nixpkgs.hello' not found"?
<ottidmes> infinisil: I assume your xsession.profileExtra option in mine.xUserConfig add stuff to your ~/.xprofile file? Is adding ${pkgs.xorg.xkbcomp}/bin/xkbcomp ${keymap} $DISPLAY there necessary if you already have it in sessionCommands?
<tilpner> (It's an example from --help, so it should work)
zzamboni has quit [Quit: Leaving.]
<infinisil> ottidmes: Yeah not both of those are needed, i should refactor that
<ottidmes> tilpner: Depends on how you have your channels setup
<tilpner> ottidmes - Sure, but I can't find any docs on where nix eval looks for channels
dvim has quit [Ping timeout: 264 seconds]
<tilpner> ottidmes - So I don't know how to set up my channels so that nix eval will find them
<coconnor> fl3 's issue is familiar. There was an API change for modules related to the "lib" argument.
<coconnor> that was a long while ago
<tilpner> (I don't use channels, I was hoping to make this work with NIX_PATH)
<ottidmes> infinisil: Which one should be kept? BTW little nitpick, you have with pkgs; [ pkgs.xorg.xkbcomp ]; (pkgs. not necessary with your with ;))
<infinisil> ottidmes: Certainly the global one with sessionCommands, because otherwise I wouldn't have my keyboard config at the display-manager
<infinisil> I guess with multiple users it would make sense to keep both of those thougg
<coconnor> specifically the change I'm thinking of is mentioned here https://nixos.org/nixos/manual/release-notes.html#sec-release-15.09
<ottidmes> infinisil: Pfew, the ~/.xprofile one would be annoying to setup, would have to create a systemd service or go with home-manager or somesuch
<infinisil> ottidmes: Well the xUserConfig is actually being relayed to home-manager :)
<ottidmes> tilpner: I do not have any channels setup as well, but it works for me, what is your NIX_PATH?
<tilpner> ottidmes - /cfg/nixos/nixpkgs
<{^_^}> [nixpkgs] @dotlambda pushed to release-18.03 « pythonPackages.wp_export_parser: uninit »: https://git.io/vxOIN
<tilpner> (But that doesn't really help... I know)
<infinisil> home-manager sets the ~/.xsession file, which sources ~/.xprofile
<ottidmes> tilpner: Try: NIX_PATH=nixpkgs=/cfg/nixos/nixpkgs:/cfg/nixos/nixpkgs
<clever> infinisil: if what you said is true, things will get very buggy
nD5Xjz has joined #nixos
<clever> infinisil: nixos already sources .xprofile, before it runs .xsession
<coconnor> tilpner: I don't use channels as well.
<tilpner> ottidmes - Woah. That changed the error, but it really shouldn't have
<infinisil> clever: Well I've been using it for a while now and no bugs seen so far
<fl3> coconnor: hmm, no idea how to fix it :(
<infinisil> clever: What's the problem with sourcing .xprofile twice?
<coconnor> fl3: I can tell you the changes required to the module to try. However, that requires building that channel from source.
<tilpner> ottidmes - Actually, no, false alarm
<tilpner> coconnor - And does nix eval --raw nixpkgs.hello work for you?
<ottidmes> infinisil: "Allow the user to execute commands at the beginning of the X session." and generally commands are not idempotent, calling them twice can do stuff like starting programs twice and whatnot
<clever> infinisil: if it runs anything like a window manager or another progream in the background
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to gnome-3.28: https://git.io/vxOLk
<{^_^}> → 355cf764 by @jtojnar: fixup! gnome3: automated update
<{^_^}> → 2fabd17e by @jtojnar: fixup! gvfs: fix build
<clever> yep
<fl3> coconnor: it would be nice! googling how to build modules now :)
<infinisil> clever: ottidmes: Ohh, but I see, it's setting `HM_XPROFILE_SOURCED=1` and not doing it again
<coconnor> tilpner: yes.
<mpickering> Where is the API reference for stdenv.lib?
<ottidmes> tilpner: What do you mean with false alarm, that it is now fixed, that is still giving the same error?
zzamboni has joined #nixos
<tilpner> ottidmes - I sent you the new error in a PM
<clever> infinisil: ah, then they are going out of their way to source it twice, and make the 2nd one a no-op, lol
<tilpner> (Just to keep clutter down here)
<infinisil> clever: What's bad about this? I mean this is only sourced twice because nixos, it might not be with a different distro
<infinisil> (would be sourced twice if it wasn't checked)
<clever> infinisil: yeah, id have to look at what other distros do to know what can hapen there
nD5Xjz has quit [Ping timeout: 256 seconds]
<ottidmes> mpickering: stdenv.lib == _module.args.lib (the one passed in the attrset to each module) == import <nixpkgs/lib>, i.e. if you check nixpkgs/lib/default.nix, there you can find the definitions (imports the subsequent nix files that contain the actual definitions)
<clever> ottidmes: its also at pkgs.lib
<tilpner> It seems Nix 2.0 forgot how to look for path elements :/
<coconnor> fl3: did you also send out a gist of your configuration.nix ?
<mpickering> so I have to look at the source code is what you're saying?
zzamboni has quit [Client Quit]
<infinisil> clever: ottidmes: Here are the full .xsession and .xprofile of home-manager (you need to enable an option for it to manage the xsession though)
<fl3> coconnor: I tried it firstly with the default one, the issue was exectly the same
<tilpner> I'll make sure there's an issue for this
<infinisil> if you're interested
<slack1256> Should "nix run nixpkgs.haskellPackages.ghcWithPackages (p: with p; [ lens ]) " run without problems?
<clever> infinisil: ah, i see
<gchristensen> probably not, slack1256
<gchristensen> you probably need to quote the third argument
zzamboni has joined #nixos
<ottidmes> mpickering: yeah, the source code is as far as I know the best way to understand what lib functions there are, and what they do, and it helps learning nix as a "feature" :P
<slack1256> oh, "nix run 'nixpkgs.haskellPackages.ghcWithPackages (p: with p; [ lens ])' " also fails
<{^_^}> [nixpkgs] @LnL7 opened pull request #37253 → communi: fix darwin build → https://git.io/vxOL0
<gchristensen> I don't know if that should work :)
<jtojnar> hedning[m]: that just makes not sense, it worked yesterday when I added the install_dir but I cannot make it work today
<mpickering> slack1256: What is going wrong?
<clever> $ nix run '(haskellPackages.ghcWithPackages (p: with p; [ lens ]))'
<clever> error: undefined variable 'haskellPackages' at (string):1:2
<{^_^}> [nixpkgs] @angerman opened pull request #37254 → [WIP] mingw-w64 for haskell cross compilation with ghc. → https://git.io/vxOLw
<{^_^}> [nixpkgs] @ryantm opened pull request #37255 → ace: 6.4.6 -> 6.4.7 → https://git.io/vxOLr
<fl3> coconnor: hmm, added "with pkgs.lib; " to that dell's default.nix and it seems fixed!
<coconnor> fl3: cool! That makes sense.
<slack1256> error: don't know what to do with argument 'nixpkgs.haskellPackages.ghcWithPackages (p: with p; [ lens ])'
<ottidmes> infinisil: That "systemctl --user stop graphical-session.target" is HM trying to take over handling the session stuff, right?
newhoggy has joined #nixos
simendsjo has joined #nixos
<angerman> impressive. The notification here came, prior to the website finishing to load.
<coconnor> fl3: tho, that module says "updated 3 months ago". That API change was over a year ago... weird!
<mpickering> slack1256: What are you trying to do?
<slack1256> having and shell environment with ghc knowing the lens library is installed
leotaku_ has quit [Quit: ZNC 1.6.5 - http://znc.in]
<fl3> coconnor: hmm, maybe I just did not add modified channel properly :(
<infinisil> ottidmes: the xsession file is the whole x session, once it's done running your user is logged out, so it stops stuff when its done
<clever> $ nix run '(with import <nixpkgs> {}; haskellPackages.ghcWithPackages (p: with p; [ lens ]))'
<clever> slack1256: its more verbose then i was expecting, but this appears to be working
<ottidmes> infinisil: Ow, that explains then (I obviously never used the file...)
<infinisil> ottidmes: yeah, and how nixos handles it is that if ~/.xsession exists it will use that, otherwise it will start the stuff defined in services.xserver (display manager and such)
<clever> slack1256: ghc-pkg list now shows lens
<mpickering> Does nixpkgs.haskellPackages work as well?
<slack1256> clever: Wow, it works. I wonder if it's the parens around the expression ?
<clever> slack1256: the parens convince it that its an expression and not an attr path
<clever> slack1256: but it dosnt import nixpkgs on its own
<clever> mpickering: pkgs, nixpkgs, and nixos all fail
newhoggy has quit [Ping timeout: 260 seconds]
<mpickering> nix run --help seems to indicate that nixpkgs might work?
<coconnor> fl3: what OS release are you using? cat /etc/os-release ?
<mpickering> Is nix run the replacement for nix-shell?
<clever> mpickering: i suspect its doing the same fun stuff as -A with nix-build and nix-env
zzamboni has quit [Quit: Leaving.]
<clever> mpickering: where it splits the string at the .'s and calls functions at every step
<fl3> coconnor: VERSION="17.09.3150.c7f415b5225 (Hummingbird)"
zzamboni has joined #nixos
<ottidmes> infinisil: Ah, I see, "Allow the user to setup a custom session type."
<slack1256> clever: Yes, I just tried with the parens but without the import of <nixpkgs>. Thank you for helping me out.
newhoggy has joined #nixos
<coconnor> nix run seems to inspect the provided argument to determine if it's an expression or package path
<slack1256> *import of <nixpkgs>, it doesn't work.
<coconnor> slack1256: that would require nixpkgs being defined in NIX_PATH. I suspect your system does not have that
zzamboni has quit [Client Quit]
<slack1256> mpickering: nix run wants to replace nix-shell but not yet.
<coconnor> "nix run nixpkgs.haskellPackages.lens" builds but I don't know if the result is the same as that "ghcWithPackages" expression
newhoggy has quit [Remote host closed the connection]
<clever> coconnor: that wont include a ghc, and ghc wont be modified to look for it
<clever> the biggest difference i can see, is that `nix run` doesnt get normal compile-time packages or handle setup hooks
<clever> so its more suited to just run a program, and not build things
newhoggy has joined #nixos
<clever> ghc is a weird exception, due to how it works in nix
leotaku has joined #nixos
<clever> coconnor: ghcWithPackages creates a bash script that sets export NIX_GHCPKG='/nix/store/0pv3ghl8087f0dhw9k7475299n8hqfii-ghc-8.2.2-with-packages/bin/ghc-pkg' and a few other vars
<clever> then runs the real ghc
newhoggy has quit [Remote host closed the connection]
<clever> it will also buildEnv all of the libraries, and their deps, into a single directory
<clever> which is very different from how nixos handles gcc/clang
<clever> for c based compilers, nixos just appends -I flags to an env var, and the gcc wrapper forces those in, so an app is free to clear $CFLAGS and still get the cflags
<clever> i think the problem, is that ghc cant accept multiple flags for where to find deps?
<clever> so they have to be in a "single directory"
zzamboni has joined #nixos
<fl3> coconnor: updated modified module - and its not fixed, the issue was not in the with pkgs.lib :(
<{^_^}> [nixpkgs] @ryantm opened pull request #37256 → acpica-tools: 20180209 -> 20180313 → https://git.io/vxOt6
slack1256 has quit [Quit: rebooting]
slack1256 has joined #nixos
slack1256 has quit [Remote host closed the connection]
<coconnor> fl3: This is why I'm confused. As of 15.03 the arguments to modules must include a "lib" argument and not "with pkgs.lib;". Typically go like { config, pkgs, lib, ... }:
<coconnor> fl3: pkgs.lib is supposed to result in an infinite recursion now "Any use of module arguments such as pkgs to access library functions, or to define imports attributes will now lead to an infinite loop at the time of the evaluation"
<clever> coconnor: i think that only applies to the imports attribute
nD5Xjz has joined #nixos
<clever> it needs to scan all imports recursively, to find nixpkgs.config, to create pkgs
<ThatPako> sphalerite: so packages like vscode_with-extensions allows you to define the extension in your .nix while vscode would remove them after installing a new version?
<clever> so pkgs cant depend on the result of config
<coconnor> gotcha.
<sphalerite> ThatPako: yes to the first bit, no to the second
<hedning[m]> jtojnar: yeah, that's really strange. Tried out the libgweather patch and I'm getting the wrong typelib path too :(
<sphalerite> vscode would probably store them in a stateful path (dotfiles), and they would persist through upgrades.
<fl3> coconnor: coconnor https://github.com/NixOS/nixos-hardware/blob/master/dell/xps/15-9550/default.nix but there is no pkgs here :(
zzamboni has quit [Quit: Leaving.]
nallar has joined #nixos
<ottidmes> clever: I tried to place my custom lib also in pkgs, tried many alternatives, but the only solution that works all the time for me is just using a direct import, which should be cached, so its not that bad
Ross has quit [Ping timeout: 264 seconds]
nallar is now known as Ross
<clever> ottidmes: what are you trying to do?
<ottidmes> clever: I tried to have certain lib functions available everywhere, via a module argument or config/pkgs.libs
Ross has quit [Client Quit]
<manveru> Xal: you figured it out?
nD5Xjz has quit [Ping timeout: 264 seconds]
<clever> ottidmes: that should just work if you { config, pkgs, lib, ... }: and maybe with lib;
<roconnor> sphalerite: hmmm, interesting argument about GC roots. I hate unix.
<ottidmes> clever: only if you define those lib functions in your nixpkgs checkout, otherwise you will get infinite recursion
<clever> ottidmes: ahh, yeah
<clever> ottidmes: if you want something custom you could do _module.args.mylib = ...
<clever> then you can { config, pkgs, lib, mylib, ... }:
<ottidmes> clever: Yeah, I tried that, but no, I could not
<ottidmes> clever: Although, maybe I could for most modules, but not for all, because then it will be part of config, and config is determined by imports, and if your imports use your lib functions, you've got a loop
<clever> ottidmes: yeah, you cant use mylib for imports, thats the main restriction
zzamboni has joined #nixos
blankhart has quit [Read error: Connection reset by peer]
<coconnor> hrm. New error in this binary cache setup "file 'nar/pf6i9aisgyjdvs0i3xvari0m6asdfpd7.nar.bz2' missing from binary cache". Seems like a corrupt store?
Ross has joined #nixos
<clever> coconnor: which binary cache?
newhoggy has joined #nixos
newhoggy has quit [Remote host closed the connection]
<ottidmes> clever: And I would like to be able to add to these libs in different config, so I might have a shared lib, a lib for a class of machines (backup server e.g.) and a lib for a specific machine, by just using with import /path/to/file I still have that flexibility (and just extend the way I want in the files themselves)
blankhart has joined #nixos
<coconnor> clever: this is a nix-serve binary cache I have running locally.
<clever> coconnor: you likely ran a garbage collection and deleted that path
<coconnor> clever: I think it's stale binary cache entries in the nix sqlite DB
<clever> coconnor: yeah, is the client nix1 or nix2?
<coconnor> clever: nix 2
<{^_^}> [nixpkgs] @ryantm opened pull request #37257 → adapta-gtk-theme: 3.93.0.1 -> 3.93.0.174 → https://git.io/vxOqD
<coconnor> clever: the client isn't even querying for the narinfo for those paths. Only the nar.bz2
<clever> ~/.cache/nix/binary-cache-v5.sqlite*
<coconnor> clever: which is what I've seen when the narinfo is cached in the DB.
<fl3> the same error with error: cannot auto-call a function that has an argument without a default value (‘config’)
<coconnor> haha aye
<clever> coconnor: the client uses this database to keep track of the .narinfo so it doesnt have to re-query it
<coconnor> I was using sqlite3 to modify that
<clever> coconnor: if you delete that path, it will have to re-query every .narinfo, and discover that things arent there anymore
<coconnor> perfect! I was afraid to delete it. Only was deleting entries from the DB directly. annoying
<clever> fl3: what command did you run, and can you gist the file you ran it on?
<clever> coconnor: nix will recreate it automatically any time its missing
<clever> coconnor: for nix1 its /nix/var/nix/binary-cache-v3.sqlite*
<fl3> I am doing this tar -czvf master.tar.gz nixos-hardware-master/ && sudo nix-channel --update nixos-hardware && nix-env --verbose -qa
blankhart has quit [Read error: Connection reset by peer]
newhoggy has joined #nixos
<coconnor> clever: cool. that appeared to work
blankhart has joined #nixos
<clever> fl3: nix-env expects the default.nix in a channel to have default arguments, and to return a package set
<fl3> coconnor: but its the same error with steps from nixos-hardware setup guide :(
<clever> fl3: it sounds more like your default.nix is a nixos module, so it makes sense why it fails
<{^_^}> [cabal2nix] @peti pushed to master « travis: enable CI builds for ghc 8.4.1 »: https://git.io/vxOqx
blankhart has quit [Read error: Connection reset by peer]
leotaku has quit [Quit: ZNC 1.6.5 - http://znc.in]
leotaku has joined #nixos
<fl3> clever: hmmm cant get it :( https://github.com/NixOS/nixos-hardware - what else should I do except two commands in setup section?
nallar has joined #nixos
<fl3> Probably I dont know something very basic about default.nix or something, so any tips or google keywords will be very welcome!
iyzsong-x has joined #nixos
<clever> fl3: ah, i suspect those directions just break nix-env -qa, and nobody noticed
blankhart has joined #nixos
Ross has quit [Ping timeout: 260 seconds]
nallar is now known as Ross
<fl3> clever: hmmm but it also breaks nix-env -i, which is essential for installing packages O_O
<clever> !-A
<{^_^}> You'll usually want to use nix-env -i with -A. It's faster and more precise. See https://nixos.wiki/wiki/FAQ/nix-env_-iA for details.
<clever> fl3: -iA will still work, and its better anyways
newhoggy has quit [Ping timeout: 248 seconds]
<fl3> hm, yes, -iA works fine.
<clever> the problem, is that -i will search the .name attribute of every package, on every channel
<clever> and it fails when loading the nixos-hardware channel
<clever> it also wastes a ton of ram and cpu reading every package under the sun
<clever> but -iA nixos.hello tells it to use the hello package in the nixos channel, so it can skip nixos-hardware entirely
iyzsong has quit [Ping timeout: 263 seconds]
<fl3> ok, I got it! Now I want to fix it just to know more about nix and to help in this issue https://github.com/NixOS/nixos-hardware/issues/52. Any tips on what I should read before I'll get it?
<clever> i suspect it will be fixed by just adding a default.nix in the root of the project, that contains { ... }: {}
<fl3> by project you mean nixos-hardware?
<{^_^}> [nixpkgs] @eonpatapon opened pull request #37258 → nextcloud: 13.0.0 -> 13.0.1 → https://git.io/vxOmg
<clever> yeah
<clever> due to the layout of nixos-hardware, and the lack of a default.nix at the root, nix-env thinks you have 15 channels
<clever> called 4810t, n990, apple, asus ....
<clever> it then tries to load every single one of those, and treat its default.nix as a channel
<clever> but those are nixos modules, that expect a config argument
coot has joined #nixos
<fl3> clever: wow, it works!
<fl3> cant say that I totaly understand why, but going to make a PR :D
<clever> when you added that channel, it created ~/.nix-defexpr/channels/nixos-hardware
<clever> and nix-env will recursively search ~/.nix-defexpr/ until it either finds a <name>/default.nix or a <name>.nix
<clever> that name is then added to nix-env, so you can nix-env -iA <name>.hello
blankhart has quit [Ping timeout: 260 seconds]
<clever> because nixos-hardware/default.nix doesnt exist, it goes one level deeper
<clever> and it finds nixos-hardware/apple/default.nox
lhart has quit [Ping timeout: 260 seconds]
<clever> so now you have an apple channel, that is based on the result of import <nixos-hardware/apple/default.nix> {}
<clever> { config, lib, ... }:
<clever> and apple/default.nix doesnt have defaults for these params, so the import fails
blankhart has joined #nixos
<fl3> clever: I see, thanks! could you point where is the defaults whith added default.nix?
<clever> it should just be in the root of the repo
<clever> and if the repo had actual packages, it could return them
<clever> but the example i gave above, jsut returns an empty set, {}
<fl3> I just cant find the defaults for lib, for example
<clever> thats the default.nix for nixpkgs
<clever> it tests if your nix is the right version, then imports impure.nix
<{^_^}> [nixos-hardware] @not-fl3 opened pull request #53 → default.nix at repo root, for nix-env -qa → https://git.io/vxOmj
<{^_^}> [nixpkgs] @ryantm opened pull request #37259 → allegro: 5.2.3.0 -> 5.2.4.0 → https://git.io/vxOYI
<fl3> clever: thanks for help! i think i should read for a bit about nix lang to completely understand it, but I got the idea in general :)
Myrl-saki has quit [Quit: WeeChat 1.9.1]
nD5Xjz has joined #nixos
<{^_^}> [nixos-hardware] @yegortimoshenko merged pull request #53 → default.nix at repo root, for nix-env -qa → https://git.io/vxOmj
<{^_^}> [nixos-hardware] @yegortimoshenko pushed 2 commits to master: https://git.io/vxOYl
<{^_^}> → ad35d1cd by @not-fl3: default.nix, fix for nix-env -qa
<{^_^}> → a5fa2cc1 by @yegortimoshenko: Merge pull request #53 from not-fl3/master
leotaku has quit [Quit: ZNC 1.6.5 - http://znc.in]
<srjek> ...speedy
leotaku has joined #nixos
nD5Xjz has quit [Ping timeout: 256 seconds]
leotaku has quit [Client Quit]
blankhart has quit [Read error: Connection reset by peer]
leotaku has joined #nixos
blankhart has joined #nixos
leotaku has quit [Client Quit]
leotaku has joined #nixos
leotaku has quit [Client Quit]
leotaku has joined #nixos
leotaku has quit [Client Quit]
mkoenig_ has quit [Ping timeout: 260 seconds]
alhariel has quit [Quit: Leaving]
rogue_koder has joined #nixos
leotaku has joined #nixos
hiroshi has quit [Quit: ZNC 1.6.5 - http://znc.in]
Ross has quit [Ping timeout: 260 seconds]
<ottidmes> Is there a way to prevent collisions when rebuilding your config for e.g. services.server.windowManager.bspwm.package = pkgs.writeScriptBin "bspwm" '' while true; do bspwm || break done ''; (I joined the lines for pasting, is actually multi lined)? Or another example, if I want to wrap nixos-rebuild, that will probably complain as well with a similar warning
<{^_^}> [nixpkgs] @ryantm opened pull request #37260 → ant: 1.9.6 -> 1.10.2 → https://git.io/vxOOw
raynold has joined #nixos
Ross has joined #nixos
mkoenig has joined #nixos
leotaku has quit [Quit: ZNC 1.6.5 - http://znc.in]
<sphalerite> ottidmes: set meta.priority on the package
<ottidmes> I guess I will just have to symlink all the things of the package I want to overwrite and then not put the original in systemPackages
<sphalerite> ottidmes: also, `while bspwm ; do : ; done` ;)
<ottidmes> sphalerite: I thought they were all the same, while :; do bspwm; done, or the one with true, or the one you supplied? as in, : is a special true value in bash, or does it have performance implications (doubt they will be anywhere near significant)
<sphalerite> ottidmes: `:` is the same as `true`, they're both builtins which do nothing and return true
<sphalerite> ottidmes: the key in mine is that bspwm is the loop condition so you don't need the || break
<sphalerite> but you can substitute true for the : at your leisure :)
<ottidmes> sphalerite: Ah, like so, that makes more sense
<ottidmes> sphalerite: I would never write it myself, I just copied this from the examples, but somehow it did not register as a code smell, thanks :)
<sphalerite> I usually use : for "do nothing" (when the exit code is ignored) and true for "return true" (when the exit code is relevant, like in a loop condition) but that's just a matter of personal preference
<ottidmes> sphalerite: Agreed, was just about to do it like that, thinking the same, true when you want to be explicit about it being truthy, and : for a noop
<fl3> https://github.com/NixOS/nixpkgs/commit/1005d786ba87a7e3507423e38dba02d04c01819a <- is it possible to get libjpeg62 somewhere now?
<ottidmes> I guess for meta.priority to work I will need to use stdenv.mkDerivation instead of pkgs.writeScriptBin
stanibanani has joined #nixos
<ottidmes> nevermind, there is: hiPrio which sets this on a deriviation, nice
<clever> ottidmes: i think meta.priority only works inside buildEnv
<{^_^}> [nixpkgs] @ryantm opened pull request #37261 → apache-activemq: 5.13.4 -> 5.14.5 → https://git.io/vxO3o
<{^_^}> [nixpkgs] @gebner merged pull request #36956 → Merge swi-prolog 7.4.2 -> 7.6.4 plus enable JPL feature → https://git.io/vxTdx
<{^_^}> [nixpkgs] @gebner pushed 3 commits to master: https://git.io/vxO37
<{^_^}> → cce1e28f by @coreyoconnor: swi-prolog: add JDK to build dependencies to enable JPL.
<{^_^}> → 6c1931b1 by @coreyoconnor: swi-prolog: 7.4.2 -> 7.6.4
<{^_^}> → f54cd16b by @gebner: Merge pull request #36956 from coreyoconnor/merge
vidbina has joined #nixos
<{^_^}> [nixpkgs] @xeji opened pull request #37262 → snabb: 2016.04 -> 2018.01.2 → https://git.io/vxO3d
<ottidmes> clever: nope, I just double checked, worked like I expected it to, hiPrio sets the meta.priority attribute on any deriviation and that in turn works as advertised when adding the deriviation in systemPackages, I get no more collision errors for bspwm :)
<clever> ah, yeah, systemPackages is a buildEnv
<clever> was bspwm already in systemPackages for another reason?
alhariel has joined #nixos
<clever> and wont that bash script now run itself and create a fork-bomb?
<ottidmes> well, it is my window manager, which make heavy use of its cli interface
<fl3> How to use gtk+ as nix-shell argument? -p "gtk+" give me error: syntax error, unexpected ')', at (string):1:104
<ottidmes> clever: That could very well happen... it did work before when I had the collision though
<clever> fl3: try nix-shell -p gtk2
<fl3> clever: I am looking for libgtk-x11-2.0.so.0, which seems to be a part of gtk+, not gtk2
<clever> [clever@amd-nixos:~]$ nix-locate libgtk-x11-2
<clever> gnome2.gtk.out 0 s /nix/store/rdwslb6cywp40dm9rv6aqgapfjcyrzpm-gtk+-2.24.31/lib/libgtk-x11-2.0.so.0
<clever> fl3: that library is in gnome2.gtk
<ottidmes> clever: I guess I should use loPrio, good catch! Since the bspwm module just uses the package provided to the package attribute to run bspwm directly from, while my general PATH bspwm should point the the binary, not my loop
<fl3> wow nix-locate is awesome :)
<clever> fl3: yeah
hiroshi has joined #nixos
leotaku has joined #nixos
alhariel has quit [Quit: Leaving]
blankhart has quit [Read error: Connection reset by peer]
blankhart has joined #nixos
<ottidmes> hah, I kinda needed nix-locate to locate it to be nix-index :P but there always is google
clefru has joined #nixos
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vidbina has quit [Ping timeout: 240 seconds]
<ottidmes> which should have prio: collision between `/nix/store/ni9ilkivjp4d7ai6rpr6jhc44pfmhhmw-xf86-input-evdev-2.10.5/share/X11/xorg.conf.d/10-evdev.conf' and `/nix/store/wwgj4vrn0z78bq3mqalgdkcv91ihvlpj-xorg-server-1.17.4/share/X11/xorg.conf.d/10-evdev.conf' I guess xf86-input-evdev is the less general one, so I guess it should have the higher prio
<obadz> isn't there a way to do a why-depends without building ? would have thought evaluating would be enough…
<{^_^}> [nixpkgs] @ryantm opened pull request #37263 → apache-jena-fuseki: 3.5.0 -> 3.6.0 → https://git.io/vxOsX
leotaku has quit [Quit: ZNC 1.6.5 - http://znc.in]
leotaku has joined #nixos
<clever> ottidmes: and if you run realpath on both?
<ottidmes> clever: on those colliding? they are already real paths, just double checked, but I get what I put in
<clever> ottidmes: yeah, they may be symlinks to the same file
<ottidmes> clever: doesnt it check for that?
<clever> not sure
leotaku has quit [Client Quit]
<ottidmes> clever: I could just disable exporting my x config, or I have to overlay the xf86inputevdev and xorg.xf86inputevdev packages with a hiPrio wrapper
alhariel has joined #nixos
leotaku has joined #nixos
nD5Xjz has joined #nixos
xcmw has joined #nixos
muzzy has quit [Read error: Connection reset by peer]
<ottidmes> clever: weird thing is that xserver.exportConfiguration should have no effect on /share/X11/xorg.conf.d/10-evdev.conf, https://github.com/NixOS/nixpkgs/blob/release-17.09/nixos/modules/services/x11/xserver.nix#L558-L566 should not collide that I can see
<ottidmes> clever: nevermind, that is /etc
<{^_^}> [nixpkgs] @LnL7 pushed to master « far2l: fix clang build »: https://git.io/vxOGL
boomshroom has joined #nixos
<boomshroom> Hello!
fl3 has quit [Remote host closed the connection]
<boomshroom> I'm just wondering, in structure arguments, can the elipsis be anywhere in the struct, or only at the end?
<{^_^}> [nixpkgs] @xeji opened pull request #37264 → archiveopteryx: fix build w/gcc7 → https://git.io/vxOGO
<clever> boomshroom: i think they can be anythwere
Ariakenom has quit [Remote host closed the connection]
nD5Xjz has quit [Ping timeout: 260 seconds]
<boomshroom> clever: That makes the grammer a little more complex, but it shouldn't be too hard.
Ariakenom has joined #nixos
kerrhau has joined #nixos
kerrhau has quit [Changing host]
kerrhau has joined #nixos
fl3 has joined #nixos
John882 has joined #nixos
matthias_wahl has quit [Quit: WeeChat 2.0.1]
<{^_^}> [nixpkgs] @ryantm opened pull request #37265 → appres: 1.0.4 -> 1.0.5 → https://git.io/vxOGE
<ottidmes> clever: This solved it for me: services.xserver.exportConfiguration = true; environment.systemPackages = with pkgs; [ (hiPrio xorg.xf86inputevdev.out) ];
<{^_^}> [nixpkgs] @LnL7 pushed to release-18.03 « far2l: fix clang build »: https://git.io/vxOG2
<foldingcookie> does anyone have gstreamer working on nixOS? https://github.com/NixOS/nixpkgs/issues/10559 seems to mirror my experience
CodeWarrior has joined #nixos
<ottidmes> foldingcookie: not sure if it is relevant to your particular issue, but maybe this solution helps: https://github.com/NixOS/nixpkgs/issues/27050#issuecomment-373171024
<foldingcookie> ottidmes: I'm not sure I understand how to apply that in this case
<{^_^}> [nixpkgs] @ryantm closed pull request #37256 → acpica-tools: 20180209 -> 20180313 → https://git.io/vxOt6
<foldingcookie> at present, if I set GST_PLUGIN_PATH=$HOME/.nix-profile/lib/gstreamer-1.0/ gstreamer works, but it seems like a workaround and certainly isn't documented
ma27 has quit [Ping timeout: 246 seconds]
ma27 has joined #nixos
<ottidmes> foldingcookie: seems unrelated, but shouldn't gstreamer be installed in your system instead of nix-env?
<ottidmes> foldingcookie: or are you running nix and not nixos
<{^_^}> [nixpkgs] @ryantm closed pull request #37261 → apache-activemq: 5.13.4 -> 5.14.5 → https://git.io/vxO3o
<{^_^}> [nixpkgs] @ryantm closed pull request #37260 → ant: 1.9.6 -> 1.10.2 → https://git.io/vxOOw
<foldingcookie> I'm new to nix but running nixos
<foldingcookie> but none of my system services use gstreamer, so why should it be installed system-wide?
<ottidmes> foldingcookie: it is just that it is a widely used thing, so I would expect it to be part of the system, thats all
<{^_^}> [nixpkgs] @ryantm opened pull request #37266 → appstream-glib: 0.7.6 -> 0.7.7 → https://git.io/vxOZ1
<obadz> do we have any tools to analyze the size of a closure?
<clever> obadz: `nix why-depends` and `du --max=0 -hc $(nix-store -qR result) | sort -h`
<obadz> nice
<obadz> thanks
<obadz> hmmm why does hub depend on go?
stanibanani has quit [Ping timeout: 246 seconds]
<fl3> what else should I do?
<fl3> > nix-locate libgtk-x11-2.0.so.0
<fl3> gtk2-x11.out 0 s /nix/store/vbj8g4mf7815x2qmgak7cf2kcbnqbvbg-gtk+-2.24.31/lib/libgtk-x11-2.0.s
<fl3> o.0
<fl3> > nix-shell -p gtk2-x11
<fl3> > ldd mylib.so | grep gtk
<fl3> libgtk-x11-2.0.so.0 => not found
das_j has quit [Quit: WeeChat 2.0.1]
<{^_^}> [nixpkgs] @jtojnar closed pull request #37266 → appstream-glib: 0.7.6 -> 0.7.7 → https://git.io/vxOZ1
<obadz> grrrrr the hub binary contains a path to go
<obadz> so much for standalone executables
<symphorien> fl3: use patchelf
zzamboni has quit [Quit: Leaving.]
<michaelpj> I'm trying to package a rust application with `buildRustPackage`, but it looks like it doesn't support git dependencies? Is that right? if so, is there a known workaround?
<LnL> don't use git dependencies :)
<LnL> or does that not count
<jeaye> michaelpj: Git dependencies work directly against the kind of reproducible builds you would expect in a system like Nix, or arguably any reproducible setup.
<jeaye> They're convenient, but asking for trouble.
<michaelpj> I mean, I hear you, but it's not my project ;)
ThatPako has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @andir opened pull request #37267 → CVE-2018-5146 updates (libvorbis & tremor) → https://git.io/vxOnd
neuralring has joined #nixos
<{^_^}> [nixpkgs] @ryantm opened pull request #37268 → asio: 1.10.8 -> 1.12.0 → https://git.io/vxOcf
<michaelpj> although, haivng said that, the Cargo.lock has a specific revision for the git dep, so it doesn't seem like it's that bad from a reproducibility standpoint
<{^_^}> [nixpkgs] @nlewo merged pull request #37242 → redis: 4.0.7 -> 4.0.8 → https://git.io/vxYFz
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/vxOcU
<{^_^}> → 1cb9f643 by @ryantm: redis: 4.0.7 -> 4.0.8
<{^_^}> → 387cbb1e by @nlewo: Merge pull request #37242 from ryantm/auto-update/redis
<fl3> symphorien: cannot find section .interp
<fl3> when I am trying to patchelf my .so file
<symphorien> Hum I misread -- patchelf may only work on executables, not library
<{^_^}> [nixpkgs] @nlewo merged pull request #37140 → vnstat: 1.17 -> 1.18 → https://git.io/vxtbt
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/vxOcc
<{^_^}> → 60b5fdd6 by @ryantm: vnstat: 1.17 -> 1.18
<fl3> oh, probably I should use patchelf --set-rpath only
<{^_^}> → 22682622 by @nlewo: Merge pull request #37140 from ryantm/auto-update/vnstat
<fl3> ldd mylib.so | grep "not found" | wc -l dropped from 30 to 26! :D
<michaelpj> hm, the cargo vendor part seems to have worked, but it's not picking it up somehow
<neuralring> re: nixos-rebuild build-vm -- is there a default user/pass for logging into the vm instance or should the host's user login info work?
<{^_^}> [nixpkgs] @LnL7 pushed to master « libconfuse: fix tests on darwin »: https://git.io/vxOcP
nD5Xjz has joined #nixos
<{^_^}> [nixpkgs] @LnL7 pushed to release-18.03 « libconfuse: fix tests on darwin »: https://git.io/vxOc1
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/c8b6fd95d49 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
zzamboni has joined #nixos
nD5Xjz has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @ryantm opened pull request #37269 → autoconf-archive: 2017.09.28 -> 2018.03.13 → https://git.io/vxOCn
blankhart has quit [Ping timeout: 260 seconds]
blankhart has joined #nixos
neuralring has quit [Quit: Leaving]
<vaibhavsagar> okay, I've had another look and qtwebengine is currently not building on Hydra because the build of qtdeclarative failed, but qtdeclarative seems fine???
ma27 has quit [Ping timeout: 265 seconds]
<vaibhavsagar> what is happening???
nD5Xjz has joined #nixos
blankhart has quit [Ping timeout: 240 seconds]
<elvishjerricco> vaibhavsagar: Sometimes packages use overriden versions of dependencies, so the derivation that succeeds in hydra might be different than the one used by some package.
blankhart has joined #nixos
nD5Xjz has quit [Ping timeout: 256 seconds]
<obadz> vaibhavsagar: this has been an annoyance for a past few days. until I realized I did not need this version qtwebengine
<obadz> (of)
<Xal> I'm trying to package a ruby application but nix-build keeps failing: sh: rake: command not found
Arcaelyx has joined #nixos
<{^_^}> [nixpkgs] @MichielDerhaeg closed pull request #37043 → spotify: 1.0.69.336.g7edcc575-39 -> 1.0.72.117.g6bd7cc73-35 → https://git.io/vxIjv
<{^_^}> [nixpkgs] @xeji opened pull request #37270 → heapster: fix build → https://git.io/vxOWL
<ottidmes> Xal: "For tools written in Ruby - i.e. where the desire is to install a package and then execute e.g. rake at the command line, there is an alternative builder called bundlerApp."
<{^_^}> [nixpkgs] @ryantm opened pull request #37271 → autofs: 5.1.3 -> 5.1.4 → https://git.io/vxOW4
cnidario has joined #nixos
Guanin has joined #nixos
ma27 has joined #nixos
<Xal> ottidmes: I've got gemset.nix and Gemfile.lock for the package, but when bundlerEnv tries to build all the gems it fails
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/de8842891f5 (from 81 minutes ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<{^_^}> [nixpkgs] @erictapen opened pull request #37272 → nixos/manual: fixed example config for networking.interfaces → https://git.io/vxOWX
<{^_^}> [nixpkgs] @nlewo merged pull request #37089 → redir: 3.1 -> 3.2 → https://git.io/vxLwc
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/vxOW9
<{^_^}> → c37e663e by @ryantm: redir: 3.1 -> 3.2
<{^_^}> → 25164061 by @nlewo: Merge pull request #37089 from ryantm/auto-update/redir
nD5Xjz has joined #nixos
<ottidmes> Xal: I have only shallow experience with Ruby and none in the contex of NixOS, so hopefully there are other that might help you out, but to do so, more information would be necessary, e.g. what does it fail on (on some paste website, do not copy it all here)
<ottidmes> Xal: Or do you mean it then fails on: sh: rake: command not found
nD5Xjz has quit [Ping timeout: 264 seconds]
cnidario has quit [Read error: Connection reset by peer]
<Xal> ottidmes: I just don't understand how defaultGemConfig and gemset.nix interact
<Xal> if I do gemConfig = defaultGemConfig in my bundlerEnv, none of the native dependencies get pulled in, but if I specify them manually it works
<Xal> ottidmes: here's what I have http://nixpaste.lbr.uno/zVmAZlCX?nix
<{^_^}> [nixpkgs] @MichielDerhaeg opened pull request #37273 → spotify: 1.0.69.336.g7edcc575-39 -> 1.0.72.117.g6bd7cc73-35 → https://git.io/vxOlq
<leotaku> Xal: do you have rake in your Gemfile?
<{^_^}> [nixpkgs] @nlewo merged pull request #37034 → liblouis: 3.4.0 -> 3.5.0 → https://git.io/vxIds
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/vxOln
<{^_^}> → cb735c39 by @nlewo: Merge pull request #37034 from ryantm/auto-update/liblouis
<{^_^}> → 96bb1795 by @ryantm: liblouis: 3.4.0 -> 3.5.0
<Xal> leotaku: adding "gem 'rake'" to Gemfile and then doing bundle lock && bundix doesn't help
<leotaku> Xal: that seems strange
<leotaku> do you run "bundix --magic" to generate all files?
<Xal> I've used bundle lock to generate Gemfile.lock because "bundle install" fails with "LoadError: cannot load such file -- pkg-config"
<Xal> well, something seems to have worked now
<leotaku> Xal: i don't think you even have to work with bundle to get bundix to work, you just point it at the Gemfile and it generates its stuff
<Xal> leotaku: everything seems to work now, but I still find it strange I've had to muck around with gemConfig by copy pasting from defaultGemConfig
qknight has joined #nixos
<leotaku> Xal: I actually also don't know anything about gemConfig, so theres nothing I can add to that
<qknight> hey. i need to extend a mkDerivation with a phase-global tmp dir which is unique per mkDerivation. originally i've added a HOME=$TMPDIR on top of each phase, but it would be better if that wasn't required in each phase i'm about to override
<qknight> that is for the emscripten toolchain which is a requirement since emscripten writes something to ~/.emscripten, a cache like feature for compile artefacts which i don't care for but can't be disabled
<qknight> i've tried: HOME="$TMPDIR"; on the level, where name, src, buildPhase and similar is assigned, but the $TMPDIR won't be evaluated
<clever> qknight: you need to do it at the bash level, like preConfigure = "export HOME=$TMPDIR";
<ertes> after i nix-instantiate an expression, can i use the result with nix-shell? also is there a nix 1.12 equivalent to this?
<clever> ertes: nix-shell accepts a lot of the same params as nix-instantiate, so you can just call it directly
<ertes> ah, nevermind… it looks like i need to dereference the symlink
<{^_^}> [nixpkgs] @7c6f434c merged pull request #37259 → allegro: 5.2.3.0 -> 5.2.4.0 → https://git.io/vxOYI
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/vxOlj
<{^_^}> → 51a0ef4b by @ryantm: allegro: 5.2.3.0 -> 5.2.4.0
<{^_^}> → 85531d4f by @7c6f434c: Merge pull request #37259 from ryantm/auto-update/allegro
<{^_^}> [nixpkgs] @7c6f434c merged pull request #37263 → apache-jena-fuseki: 3.5.0 -> 3.6.0 → https://git.io/vxOsX
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/vxO8e
<{^_^}> → 91a914da by @ryantm: apache-jena-fuseki: 3.5.0 -> 3.6.0
<{^_^}> → 30af8ab7 by @7c6f434c: Merge pull request #37263 from ryantm/auto-update/apache-jena-fuseki
alex`` has quit [Quit: WeeChat 2.0.1]
neuralring has joined #nixos
<{^_^}> [nixpkgs] @nlewo merged pull request #36900 → noteshrink: init at 0.1.1 → https://git.io/vxJXo
alex`` has joined #nixos
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/vxO8L
<{^_^}> → dc1c9fb2 by @rnhmjoj: noteshrink: init at 0.1.1
<{^_^}> → 5720286e by @nlewo: Merge pull request #36900 from rnhmjoj/noteshrink
<{^_^}> [nixpkgs] @ryantm opened pull request #37274 → bind: 9.12.0 -> 9.12.1 → https://git.io/vxO8t
neuralring has quit [Client Quit]
zzamboni has quit [Quit: Leaving.]
zzamboni has joined #nixos
<qknight> clever: sigh, thanks!
henrytill_ has joined #nixos
henrytill has quit [Ping timeout: 246 seconds]
nD5Xjz has joined #nixos
<{^_^}> [nixpkgs] @dotlambda merged pull request #37247 → pythonPackages.tablib: fix build → https://git.io/vxYjc
<{^_^}> [nixpkgs] @dotlambda pushed 2 commits to master: https://git.io/vxO8F
<{^_^}> → 4a0c0401 by @Ma27: pythonPackages.tablib: fix build
<{^_^}> → 6d3232f7 by @dotlambda: Merge pull request #37247 from Ma27/fix-tablib
Acou_Bass is now known as Piece_Maker
civodul has joined #nixos
<{^_^}> [nixpkgs] @dotlambda pushed commit from @Ma27 to release-18.03 « pythonPackages.tablib: fix build »: https://git.io/vxO8j
tg has quit [Excess Flood]
nD5Xjz has quit [Ping timeout: 256 seconds]
neuralring has joined #nixos
<{^_^}> [nixpkgs] @ryantm opened pull request #37275 → bluez: 5.28 -> 5.49 → https://git.io/vxO4I
<tazjin> what's the best practice for adding a software that has its own `default.nix` in its repository to nixpkgs?
<tazjin> import its default.nix from the sources?
<clever> tazjin: copy it over to nixpkgs and fix the src=
<tazjin> clever: ok, so foreign imports are frowned upon?
<qknight> tazjin: if you don't follow clever's advice, which would be unwise most of the time, you can use callPackage on the default.nix
<clever> tazjin: nixpkgs should never download things while evaluating the packages
Piece_Maker is now known as Acou_Bass
<tazjin> clever: I can get behind that, alright
<tazjin> thanks
<MichaelRaskin> Yes, this is an example when not following clever's advice is very unwise.
aarvar has quit [Ping timeout: 240 seconds]
tg has joined #nixos
John882 has quit [Ping timeout: 256 seconds]
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/de8842891f5 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
John882 has joined #nixos
qknight has quit [Quit: leaving]
peterzky has quit [Quit: WeeChat 2.0]
nD5Xjz has joined #nixos
sigmundv has joined #nixos
zzamboni has quit [Quit: Leaving.]
John882 has quit [Ping timeout: 256 seconds]
raynold has quit [Quit: Connection closed for inactivity]
ixxie has joined #nixos
sami4ak has joined #nixos
<sami4ak> !keep sami4ak
sami4ak has left #nixos [#nixos]
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/88075cf435c (from 84 minutes ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
mkoenig has quit [Remote host closed the connection]
nD5Xjz has quit [Ping timeout: 246 seconds]
ma27 has quit [Ping timeout: 256 seconds]
ma27 has joined #nixos
mkoenig has joined #nixos
<ertes> is there a way with cabal2nix to specify a certain commit/branch/tag of a local git repo?
<ottidmes> I am trying to get dynamic substituters (substituters that might not be available) working nicely, so I thought about wrapping things like nix-build to check if a substituter is live, and then pass it --option extra-substituters accordingly. I am just wondering which executables would have to be wrapped, would nix (for nix 2.0 stuff) and nix-build (for nix 1.0 stuff) be enough?
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ertes> i'm currently using a super-ugly overriding hack to change a 'cabal2nix .' derivation into one that uses fetchgit
<{^_^}> [nixpkgs] @fpletz pushed commit from @DarkScythe97 to release-18.03 « microcode-intel: 20171117 -> 20180312 »: https://git.io/vxOBW
<{^_^}> [nixpkgs] @peti pushed 17 commits to master: https://git.io/vxOBr
<{^_^}> → 6a71804b by @peti: hackage-packages.nix: automatic Haskell package set update
<{^_^}> → e772848b by @peti: haskell-tasty: drop obsolete override for ghc-8.4.x
<{^_^}> → b59905bf by @peti: haskell-conduit: use latest version when compiling with ghc-8.4.x
nD5Xjz has joined #nixos
<sphalerite> ottidmes: nix-store -r is also affected by substituters
<ottidmes> sphalerite: yeah, I just checked and nix-build states that is in turn uses nix-store --realize, so it makes more sense to go the lowest level in the toolchain
chessai has quit [Remote host closed the connection]
<ottidmes> hmm, English spelling, --realise
<sphalerite> ottidmes: I'm not sure it actually executes nix-store -r though
<sphalerite> is it? I know that for optimise both works
<ottidmes> sphalerite: "nix-build is essentially a wrapper around nix-instantiate (to translate a high-level Nix expression to a low-level store derivation) and nix-store --realise (to build the store derivation)."
<sphalerite> essentially, but does it actually exec those two or is that just its function?
<sphalerite> The nicest thing to do though would be to just patch nix itself
electroc1t is now known as electrocat
nD5Xjz has quit [Ping timeout: 264 seconds]
<ottidmes> sphalerite: For what I am trying to achieve? Yeah, I could create a setting that specifies optional-substituters, or dynamic-substituters, that does what I want, which would be better, not sure how hard that is, I guess I will first try wrapping nix-store and see if that works (I am curious) and maybe then look at how much work it would be to add it to nix directly
nD5Xjz has joined #nixos
alex`` has quit [Quit: WeeChat 2.0.1]
xcmw has joined #nixos
nD5Xjz has quit [Ping timeout: 240 seconds]
<ottidmes> never knew nix-shell was a symlink to nix-build
<hyper_ch> hmmm, my little pass extensions seems to look good: https://images.sjau.ch/img/5a2241d3.png
<sphalerite> hyper_ch: s/dicware/diceware/ ?
<hyper_ch> sphalerite fixed
<hyper_ch> I wonder if I should rename eff to eng_eff
vaninwagen has quit [Quit: Connection closed for inactivity]
<tilpner> What kind of word is "uncrd"? c.c
<hyper_ch> tilpner: don't ask me.. I just used the provided wordlist
<hyper_ch> UNCRD
<tilpner> Oh
<hyper_ch> no idea why that's in the list
<tilpner> Slightly weird to put that abbreviation in there
<hyper_ch> I don't really like that german list
<tilpner> Oh yeah, because zzzz yyyy wwww is such a good passphrase :/
<hyper_ch> I think that german list needs an overhaul but it's the only one I found
zie has joined #nixos
* hyper_ch looks forward to tilpner's improved german diceware word list
nD5Xjz has joined #nixos
ryanartecona has joined #nixos
<tilpner> Nah, my passwords are all 40 random characters. If I used diceware I might have to remember all my passwords...
<hyper_ch> pwgen -ync 40?
<hyper_ch> tilpner: well, diceware is nice for unlocking your password vault or root encrypted computer
<hyper_ch> :)
<ottidmes> tilpner: oh oh, mine are only 32 random chars, but I am always surprised how sites I would think need to have the most secure password have the shortest max password (e.g. by bank's website)
coot has quit [Quit: coot]
<tilpner> hyper_ch - pass generate -n foo 40
<zie> how does one check the nix-build queue and status of the builders?
<ottidmes> I am using pass too, awesome tool
<hyper_ch> Question to swisslos: Why is there a limit of 16 chars for a password? Answer: Our password guidlines are based upon intensive research. A 16 char password is sufficient to provide maximum password safety.
<tilpner> ottidmes - I know, my username is longer than my password :(
<hyper_ch> ottidmes: I finally figured out why tab completion didn't work for me in pass
nD5Xjz has quit [Ping timeout: 260 seconds]
<ottidmes> hyper_ch: Ow, why did it not? I am using zsh with pass, so far it always had a working autocomplete.
<MichaelRaskin> 16 characters with random selection _is_ probably sufficient, but some good password construction practices would benefit from 32… What about 6 random digits?
<hyper_ch> tilpner: well, I use pass isnert -m xxx/xxx becuase usually I also provide username, associated email and url
<hyper_ch> ottidmes: I didn't have programs.bash.enableCompletion = true; in my configuration.nix :)
<MichaelRaskin> (yes, a bank)
<mpickering> jtojnar: It seems your poppler upgrade patch doesn't build on darwin.
<hyper_ch> I do think the 6 random digits isn't too bad for a bank card... because after 3 tries it gets locked
<MichaelRaskin> hyper_ch: that's online banking, though
<mpickering> Can you merge it please?
<ottidmes> lol (or maybe I should be crying instead), I think actually my bank's password is in the top 3 least secure generated passwords I have in my manager
bsima has joined #nixos
zzamboni has joined #nixos
<hyper_ch> MichaelRaskin: oh, online banking... is there some other authentication tool also required?
<hyper_ch> like a hardware token or something?
<ottidmes> hyper_ch: I always generate and then directly add those things you mentioned with edit, ever after I had it happen that I forgot what username I used for a certain website
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/725c6f452b2 (from 42 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
<hyper_ch> that's why I use -m and provide email and username as well
<MichaelRaskin> hyper_ch: it's complicated, I think just for viewing the information — nothing at all
<hyper_ch> and pwgen -ync 40 usually and pick one of those
<ottidmes> hyper_ch: but does that work with generate as well? or only with insert?
<hyper_ch> no, I don't use generate
<ottidmes> hyper_ch: Not generating is an exception in my case
<hyper_ch> :)
<hyper_ch> btw, https://paste.simplylinux.ch/view/raw/ee1d7b44 - the little script behidn my diceware generation
<gchristensen> hyper_ch: you haven't fixed the typo yet
<hyper_ch> s/the typo/all typos/
<gchristensen> "provided dicware language"
<gchristensen> :)
zie has quit [Quit: zie]
<hyper_ch> and defaultCount should be renamed to defaultWordCount or something
<{^_^}> [nixpkgs] @7c6f434c merged pull request #35667 → poppler: fix build on Darwin → https://git.io/vAotV
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to staging: https://git.io/vxOEk
<{^_^}> → 73b135e6 by @vcunat: poppler: fix build on Darwin
<{^_^}> → ed416557 by @7c6f434c: Merge pull request #35667 from vcunat/p/poppler-darwin
<ottidmes> lol, I went to the github overview of NixOS, see 6 project (on my screen), developed in 6 different languages
JosW has quit [Quit: Konversation terminated!]
<hyper_ch> so, time for some k-drama
<ottidmes> I wish Nix was written in Rust, than I had a good reason to learn more Rust, now I have to go through C++ code (not a fan)
<mpickering> thanks MichaelRaskin
zzamboni has quit [Quit: Leaving.]
<MichaelRaskin> I guess when the release manager creates a PR and doesn't merge it people start assuming there is a reason.
<MichaelRaskin> (zero Linux rebuilds, a macOS user who claims success, good enough for me if I ever notice)
<{^_^}> [nixpkgs] @Ma27 opened pull request #37276 → Revert restrictive validation behavior for DM/WM defaults in the X module → https://git.io/vxOEr
alex`` has joined #nixos
mog has quit [Ping timeout: 256 seconds]
robstr_ has quit [Quit: WeeChat 1.9.1]
robstr has quit [Remote host closed the connection]
robstr has joined #nixos
ryanartecona has quit [Quit: ryanartecona]
<{^_^}> [nixpkgs] @LnL7 pushed to master « gargoyle: fix darwin build »: https://git.io/vxOuZ
robstr has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @LnL7 pushed to release-18.03 « gargoyle: fix darwin build »: https://git.io/vxOuc
bitchecker has quit [Ping timeout: 268 seconds]
loonquawl has joined #nixos
mounty_ has joined #nixos
bitchecker has joined #nixos
nullvoid8 has joined #nixos
<{^_^}> [nix] @zimbatm opened pull request #1984 → Document min-free and max-free → https://git.io/vxOui
shabius has quit [Quit: Leaving]
dan_b has joined #nixos
<michas_> Hi, I would like to slightly adapt my xkeyboard layout (caps should be dead_diaeresis) by adding an additional xkbOption. What is the best way to do this in nixos? Is there some way to specify such things in configuration.nix?
shabius has joined #nixos
ixxie has quit [Ping timeout: 240 seconds]
sigmundv has quit [Ping timeout: 246 seconds]
<sphalerite> michas_: services.xserver.xkbOptions
<michas_> sphalerite: yes, I could specify an existing option there. unfortunately I first need to define a custom option before I can use it there. :)
raynold has joined #nixos
nD5Xjz has joined #nixos
<michas_> (Those are defined under xkeyboard-config/share/X11/xkb/)
hiratara has quit [Ping timeout: 245 seconds]
<sphalerite> ooooh. Not sure about how to do that.
<ottidmes> michas_: I configured mine today with services.xserver.displayManager.sessionCommands = '' ${pkgs.xorg.xkbcomp}/bin/xkbcomp ${keymap} $DISPLAY ''; where keymap is my config defined with pkgs.writeScript "keymap.xkb" '' ... '';
<ottidmes> michas_: I did not have sphalerite's "ooooh" moment, so I might not know what you are talking about, if so, just ignore me :P
nD5Xjz has quit [Ping timeout: 260 seconds]
<sphalerite> that does sound like it might be the right thing
knupfer has joined #nixos
hiratara has joined #nixos
neuralring has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @ryantm opened pull request #37277 → cifs-utils: 6.7 -> 6.8 → https://git.io/vxOzN
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<michas_> ottidmes: There are already options like caps:none or caps:escape to give the caps key a more useful meaning. I usually type us-dvorak and it is handy to have a dead_diaeresis key to produce german umlauts. Therfore I would like to add (and use) a caps:diaeresis option.
nD5Xjz has joined #nixos
zzamboni has joined #nixos
<ottidmes> michas_: Ah, so you meant you want to create your own xkb option. Why make it an option, why not just define what you want directly in your config? I just use the menu key as my compose key and use that to create umlauts. Not that I ever really use them, even though I should
<ottidmes> I use the spelling checker to fix my umlauts :P
<sphalerite> ah gotta love those gfortran builds
<sphalerite> ottidmes: writing German on a US keyboard?
nD5Xjz has quit [Ping timeout: 260 seconds]
gspia has quit [Read error: Connection reset by peer]
<ottidmes> sphalerite: No, Dutch
<sphalerite> wait, Dutch has umlauts too?
<sphalerite> TIL
<michas_> On my other "normal" system I usually edit /usr/share/X11/xkb/symbols/capslock to add my option. It feels kind of clearer to have a base keybord with a suitable option. (That's what options are for.) But "redefining" the whole keyboard would probably lead to the same result. - let me think how your solution works. :)
<sphalerite> I usually use altGr + [ to make umlauts myself
<michas_> I hate those altGr stunts. moving hands like that really gets me out of the typing flow.
<sphalerite> thumb 1cm to the left for altgr, pinky 1cm up and right to [
<sphalerite> works fine for me personally :p
nD5Xjz has joined #nixos
<sphalerite> but different (key)strokes for different folks.
simendsjo has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
<ottidmes> sphalerite: Pff, I began to doubt myself (not whether we have them, but whether umlaut is the right term for them), but yeah, we have umlauts, but not German umlauts :P "In Dutch, spellings such as coëfficiënt are necessary because the digraphs oe and ie normally represent the simple vowels [u] and [i], respectively."
<sphalerite> aaaah right
<sphalerite> they have that sort of thing in French as well, although it's really weird because it's not on the letter it's affecting directly
nD5Xjz has quit [Ping timeout: 265 seconds]
<sphalerite> like ambiguë — it prevents the u from getting "swallowed" by the g. But it's on the e, which doesn't get pronounced at all.
<sphalerite> iirc.
xcmw has joined #nixos
<sphalerite> I think in that case it's more accurately called a diaeresis, while umlaut refers specifically to a vowel sound changing independent of context. Not an expert though
<ottidmes> sphalerite: that is just overcomplicating things if you ask me, I dropped the French as soon as I was allowed to in school. On-topic: I can could also use --fallback to make my subsituter optional, but from what I saw it needs to first timeout, which is not ideal, so I will try to add the option anyway
<{^_^}> [nixpkgs] @ryantm opened pull request #37278 → datamash: 1.2 -> 1.3 → https://git.io/vxO2r
hiratara has quit [Quit: ZNC - http://znc.in]
<disasm> Mic92: if I package dnsdist for powerdns you cool being co-maintainer since you maintain powerdns?
<la_putin_> i need help with elf sections
hiratara has joined #nixos
thblt has quit [Ping timeout: 268 seconds]
<disasm> Mic92: if not, I'll pull you before the PR gets merged.
prismate has joined #nixos
prismate has left #nixos ["WeeChat 0.3.8"]
TheAppleMan has joined #nixos
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/725c6f452b2 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
mounty_ has quit [Ping timeout: 265 seconds]
pxc has joined #nixos
<{^_^}> [nixpkgs] @pSub merged pull request #37278 → datamash: 1.2 -> 1.3 → https://git.io/vxO2r
<{^_^}> [nixpkgs] @pSub pushed 2 commits to master: https://git.io/vxOa8
<{^_^}> → 0724300b by @ryantm: datamash: 1.2 -> 1.3
<{^_^}> → b10d9ab6 by @pSub: Merge pull request #37278 from ryantm/auto-update/datamash
throwup has joined #nixos
<sphalerite> umm... what might cause warning: substituter 'local' does not have a valid signature for path '/nix/store/s8jv3yihga3bpwlhf8b143n9ifm8g1c8-libvorbis-1.3.5-dev' ?
<sphalerite> why would 'local' get used as a substituter at all?
<throwup> does anyone here know what is going on with the nixos-unstable channel? It hasn't been updated for quite some time now. I heard that some of the hydra builds are failing?
nD5Xjz has joined #nixos
<ottidmes> sphalerite: What is your nix.conf?
pxc has quit [Ping timeout: 246 seconds]
<sphalerite> ottidmes: substituters = https://cache.nixos.org /mnt/ oh maybe it's the /mnt having unsigned versions of those paths
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/8a7a75372b5 (from 84 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
<ottidmes> throwup: I do not know how they manage the channels exactly, but it could have to do with release 18.03 which is around the corner
i-am-the-slime has quit [Ping timeout: 256 seconds]
<ottidmes> sphalerite: jep, that would be it, the name local comes from this: std::string LocalStore::getUri() { return "local"; }
nD5Xjz has quit [Ping timeout: 246 seconds]
<mpickering> The project I am trying to package does some things trying to find and copy licenses, is this some requirement under certain licenses?
<mpickering> do I need to bother trying to fix this?
<throwup> ottidmes: hmmm... but why would all the other channels not be affected by that?
<{^_^}> [nixpkgs] @pSub pushed to master « opkg: 0.3.5 -> 0.3.6 »: https://git.io/vxOaH
<pbogdan> is it possible to enable network access in NixOS tests?
<ottidmes> throwup: because as far as I know unstable is like the most bleeding edge to the next release, but because we are right on the edge of a new release, they froze 18.03 trying to get to 0 failures, so I guess unstable is basically inactive until 18.03 gets released, at which time it becomes like 18.09pre
<throwup> ottidmes: but unstable-small still gets regular updates
<ottidmes> throwup: could be that they just do not put effort into it, and small just happens to not be broken yet?
<throwup> ottidmes: that does sound reasonable
<throwup> ottidmes: what does "right around the corner" mean in this context?
<ottidmes> throwup: I guess it comes down to as soon as possible, while still achieving the aims, e.g. the 0 failures (or as close as reasonable): https://hydra.nixos.org/jobset/nixos/release-18.03#tabs-evaluations they making great progress towards that end
<ottidmes> throwup: And if you check the failing 370, plenty of them might actually succeed if it was not for some of their dependencies failing
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/8a7a75372b5 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
pxc has joined #nixos
<Mic92> disasm: To be honest I never really used powerdns on nixos. I added myself, when the guy adding the package to nixos wanted a second maintainer.
<Mic92> I have used powerdns before thoug
<disasm> Mic92: would you like me to add myself as maintainer on powerdns as well? :)
nD5Xjz has joined #nixos
<Mic92> disasm: why not
<Mic92> it even has a test
<disasm> we'll see how it works in a second... Compiling was easy, I love nix derivations :)
<disasm> are nixos modules self documenting? triggered rebuilding nixos manual!
<sphalerite> yes
<disasm> that's awesome :)
<disasm> can't believe I didn't realize that before!
<sphalerite> how else is options.html supposed to work? :p
<disasm> very true!
nD5Xjz has quit [Ping timeout: 240 seconds]
<ottidmes> how does one access that manual, I have it enabled, but I only have it enabled so that the manpages work
<sphalerite> man configuration.nix
<sphalerite> or nixos-help
<disasm> I've actually never used options.html (or at least haven't in close to a year). I find `git grep` faster.
<clever> exec "$browser" /nix/store/m855d35jfrh69b19vwdby84lvslchyj9-nixos-manual/share/doc/nixos/index.html
<clever> nixos-help is just a bash script to launch this path in a browser
<{^_^}> [nixpkgs] @Mic92 merged pull request #37273 → spotify: 1.0.69.336.g7edcc575-39 -> 1.0.72.117.g6bd7cc73-35 → https://git.io/vxOlq
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vxOV5
<{^_^}> → febe728b by @MichielDerhaeg: spotify: 1.0.69.336.g7edcc575-39 -> 1.0.72.117.g6bd7cc73-35
<{^_^}> → 856bbf01 by @Mic92: Merge pull request #37273 from MichielDerhaeg/spotify
<{^_^}> [nixpkgs] @ryantm opened pull request #37279 → eigen: 3.3.3 -> 3.3.4 → https://git.io/vxOVd
<sphalerite> disasm: you may also like `man configuration.nix` :)
<sphalerite> exposes the structure a little more nicely than just reading the source
<{^_^}> [nixpkgs] @Mic92 pushed commit from @MichielDerhaeg to release-18.03 « spotify: 1.0.69.336.g7edcc575-39 -> 1.0.72.117.g6bd7cc73-35 »: https://git.io/vxOVb
<ottidmes> how about that, I always disregarded man configuration.nix when people suggested it to others, thinking it was just the basics about how to setup your first configuration.nix
<makefu> disasm: in irc you can link to the options.html page more easily :)
<sphalerite> nope!
<ottidmes> the nicer options.html found on nixos.org is not being generated locally I see, or is it? Changing the URL to options.html of the local build just gives me the big list
<{^_^}> [nixpkgs] @Mic92 pushed commit from @MichielDerhaeg to release-17.09 « spotify: 1.0.69.336.g7edcc575-39 -> 1.0.72.117.g6bd7cc73-35 »: https://git.io/vxOVj
<disasm> makefu: yeah, I usually link to github :)
<clever> ottidmes: that one uses an options.json that can be generated from nix
<clever> ottidmes: but there is no easy way to make the javascript load the new json
knupfer has quit [Ping timeout: 265 seconds]
<ottidmes> clever: I had hoped it was just exactly the same as the online version, but then extended with what you have locally
thc202 has quit [Ping timeout: 246 seconds]
ma27 has quit [Ping timeout: 246 seconds]
<disasm> hmmm, editing the nixos module I just made doesn't trigger a rebuild of the service :(
<clever> disasm: i think it doesnt take the imports of configuration.nix into account
<clever> only the nixos modules listed in nixpkgs/nixos/modules
<disasm> clever: yeah, it's in nixpkgs/nixos/module-list.nix
<disasm> it deployed fine the first time, but had a typo in systemd service
<clever> ah, and your changing the NIX_PATH to find it?
<disasm> nixpkgs=/home/sam/nixpkgs/custom:nixos-config=/etc/nixos/configuration.nix
<mpickering> Any ideas about how to fix "ld: framework not found gdal" on darwin?
<disasm> oh, lol, edited in in wrong worktree
<{^_^}> [nixpkgs] @tazjin opened pull request #37280 → kontemplate: 1.3.0 -> 1.4.0 → https://git.io/vxOw0
<disasm> easy fix
<disasm> rookie mistake :)
blankhart has quit [Ping timeout: 264 seconds]
<ottidmes> Hmm, I should create an issue for this, I just verified again, and indeed, some manpages are missing when you disable services.nixosManual, I get that man configuration.nix is gone, but why would nixos-rebuild's manpage disappear as well?
<clever> 1:
<clever> 3: lrwxrwxrwx 1 root root 89 Dec 31 1969 /run/current-system/sw/share/man/man8/nixos-rebuild.8 -> /nix/store/3apl72d0jqizv407vv2rp384y98zffkm-nixos-manpages/share/man/man8/nixos-rebuild.8
<CrazedProgrammer> i have found something that i think is a little strange. i was optimising my boot times and one thing i did is not letting network.target wait for network-manager.service. i noticed that it still took 3 seconds to get from getty to actual login, and upon inspecting `systemd-analyze plot > /tmp/plot.svg`, i found that systemd-logind.service was taki
<CrazedProgrammer> ng a whopping 5 seconds to run: https://i.crzd.me/emvjMEJR.png does anybody know why this could happen?
<clever> 4: [clever@amd-nixos:~/apps/nixpkgs]$ grep -r --color nixos-manpages .
<clever> 5: ./nixos/doc/manual/default.nix: manpages = runCommand "nixos-manpages"
<clever> ottidmes: the nixos-rebuild manpage is inside the nixos-manpages package, which is apparently part of the manual
<clever> ottidmes: so line 116 of 2 is what includes it
<CrazedProgrammer> maybe dbus has to do with it https://i.crzd.me/ZSSnYcjK.png
<CrazedProgrammer> s/to/something to
<ottidmes> clever: Ehh, but how does that change my issue, my issue is with the fact that I do not want to generate the whole customized manual to get access to the static nixos-rebuild manpage, so in my opinion it should be separated from that
<clever> ottidmes: yeah, that does seem like something that could be split out
<michas_> Hi, is there an easy way to download the source of some package?
<clever> michas_: nix-build '<nixpkgs>' -A hello.src
<ottidmes> clever: It _should_ be split out :P I mean, it is actually the only reason why I re-enabled services.nixosManual again, which took forever to build, luckily it only seems to be so slow initially
amir_ has joined #nixos
<symphorien> hello, I am adding a patch to fix the build of gosmore, whose source files are in dos style line ending, but when checking the file in git, git tells me that the file will be converted to unix style line ending. Then the patch is rejected by patch...
<symphorien> what could I do ?
<pbogdan> CrazedProgrammer: do you get a constant 5s freeze during boot?
<pbogdan>
<mpickering> I am setting CMAKE_FIND_FRAMEWORK=never and it still chooses -- Found GDAL: /Library/Frameworks/gdal.framework
amir has quit [Ping timeout: 265 seconds]
chisui has quit [Ping timeout: 260 seconds]
<symphorien> nice thanks
<symphorien> I guess I could have googled it before asking :°
<clever> symphorien: sometimes its hard to know what keywords you even need to google
<symphorien> ahhh: patch says: (Stripping trailing CRs from patch; use --binary to disable.)
<symphorien> it was working before
<clever> symphorien: patchFlags = "--binary";
<clever> may also need to add --p1, i suspect setting it at all overrides that default
<symphorien> well I didn't have to specify this previously to have it build
<clever> the version of patch may have changed
<michas_> clever, thanks. getting source works fine. If I want to manually change the source for debugging. how do I build the package?
<clever> michas_: if you just want nix to build it, you can unpack it somewhere, and do an override with src = /path/to/source;
blankhart has joined #nixos
<clever> michas_: nix-build -E 'with import <nixpkgs> {}; hello.overrideAttrs (drv: { src = /home/clever/hello; })'
<jtojnar> hedning[m]: do you feel like taking a jab at https://github.com/NixOS/nixpkgs/issues/34988? I have had enough regexes for a week
nD5Xjz has joined #nixos
<symphorien> ah the difference was that the header (the +++ --- lines) didn't have the \r previously
<clever> symphorien: ahh, yeah, things get ugly fast when half the tool uses \n and half uses \r\n
<clever> symphorien: i have my vim configured to render the \r's if the file is mixed
<clever> it also renders tabs, and spaces at the end of lines
<symphorien> same here
<clever> so i can see all the unprintable things!
nD5Xjz has quit [Ping timeout: 246 seconds]
<symphorien> when I saw the warning from git, i ran dos2unix to check it would still work
<symphorien> then I saw it didn't build anymore, so I ran unix2dos to revert
<symphorien> but the header gained \r in the process
<symphorien> making patch remove *all* the \r's
<{^_^}> Channel nixos-18.03 advanced to https://github.com/NixOS/nixpkgs/commit/0c52ab986be (from 15 hours ago, history: https://channels.nix.gsc.io/nixos-18.03)
<{^_^}> [nixpkgs] @xeji opened pull request #37281 → nixos/libvirtd: don't run qemu as root by default → https://git.io/vxOoa
mog has joined #nixos
<clever> symphorien: you could also just throw a prePatch hook in, to dos2unix the entire project!
<clever> go away windows, nobody wants you :P
<symphorien> well it builds now, so I won't touch it anymore
<symphorien> anyway I am not even sure anyone uses this anymore
<symphorien> the last release is from 2010
<symphorien> and even debian is dropping it
<clever> i used gosmore many years ago
nD5Xjz has joined #nixos
zzamboni has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @thorstenweber83 opened pull request #37283 → slic3r-prusa3d: 1.38.7 -> 1.39.1 → https://git.io/vxOo1
boomshroom has quit [Quit: WeeChat 2.0]
fendor has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @ryantm opened pull request #37284 → emscripten: 1.37.16 -> 1.37.36 → https://git.io/vxOoS