gchristensen changed the topic of #nixos to: NixCon live stream: https://www.youtube.com/c/NixCon/live https://nixcon2018.org/ || NixOS 18.09 released https://discourse.nixos.org/t/1076 || 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, #nixcon
<tathougies> Can you self-host?
<simpson> Cachix isn't FLOSS, so not yet. OTOH it's only a matter of time until somebody REs it.
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #50233 → Fix meta.tests system → https://git.io/fpt5K
<{^_^}> [nixpkgs] @Ericson2314 pushed 7 commits to master: https://git.io/fpqse
av4h_ has joined #nixos
av4h_ has quit [Max SendQ exceeded]
romanofskiWork has quit [Ping timeout: 268 seconds]
av4h has quit [Ping timeout: 244 seconds]
romanofskiWork has joined #nixos
Supersonic has quit [Ping timeout: 252 seconds]
sigmundv__ has joined #nixos
Supersonic has joined #nixos
stepcut has joined #nixos
slack1256 has joined #nixos
Supersonic has quit [Ping timeout: 240 seconds]
Supersonic has joined #nixos
maximiliantagher has joined #nixos
jluttine has quit [Ping timeout: 244 seconds]
maximiliantagher has quit [Ping timeout: 240 seconds]
jluttine has joined #nixos
jhillyerd has quit [Quit: WeeChat 2.2]
stepcut has quit [Remote host closed the connection]
zolk3ri has quit [Quit: Lost terminal]
thc202 has quit [Ping timeout: 252 seconds]
jasongrossman has joined #nixos
jasongrossman has quit [Ping timeout: 272 seconds]
jasongrossman has joined #nixos
stepcut has joined #nixos
sophiag has joined #nixos
maximiliantagher has joined #nixos
bbarker has joined #nixos
jasongrossman has quit [Ping timeout: 268 seconds]
<bbarker> I see there are many different ocaml versions currently in nixpkgs at https://github.com/NixOS/nixpkgs/tree/master/pkgs/development/compilers/ocaml ; but how does one use a specified version? e.g. nix-shell -p ocaml_4_06 (does not work - not that I expected it would)
romanofskiWork has quit [Ping timeout: 244 seconds]
romanofskiWork has joined #nixos
pie_ has quit [Remote host closed the connection]
pie_ has joined #nixos
stepcut has quit [Remote host closed the connection]
<sophiag> anyone here use a yubikey? i just got the 5, but chrome69 isn't recognizing it and apparently firefox62 isn't supported :/
camsbury has joined #nixos
<sophiag> wondering if i should try libu2f
cross has joined #nixos
<gchristensen> go to about:config, search for u2f, toggle to true, works great
<gchristensen> (ff)
stepcut has joined #nixos
<ottidmes> bbarker: this seems to work for me: nix-shell -p ocaml-ng.ocamlPackages_4_05.ocaml
camsbury has quit [Ping timeout: 260 seconds]
<sophiag> gchristensen: thanks. although now gitlab is hanging when trying to recognize it. not the same issue as with chrome
<ottidmes> I started using the TOPT feature of Bitwarden (like Google Authenticator), and use Google Authenticator to access my Bitwarden itself, so I no longer need a yubikey for that. What other uses does a yubikey has, that might win me over to buy one myself?
<sophiag> what finally got me to do it was travelling and remembering i still had some stuff using sms
<gchristensen> u2f is nice because it isn't phishable
<sophiag> yeah, this was basically the push for me to do the "right thing"
<sophiag> and the yubikey5 uses fido2 which can be passwordless, although seems like nothing supports it yet
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fpqZ6
<ottidmes> gchristensen: as compared to Google Authenticator?
<gchristensen> right
dbmikus has joined #nixos
maximiliantagher has quit [Remote host closed the connection]
<bbarker> ottidmes, thanks!
maximiliantagher has joined #nixos
<ottidmes> I guess I will just buy one then, they are not cheap, but not extremely expensive either, not an expense I should spare for something as important as getting access to all my other paswords ;)
<ottidmes> gchristensen: thanks for the link :)
<ottidmes> gchristensen: hah! "Google has recently revealed that since the company adopted U2F security keys for all of its employees last year", that alone tells you that Google Authenticator itself is not enough :P
<gchristensen> ottidmes: "no successful phishing in 18 months" -- Google is quite an accomplishment :) https://techbeacon.com/google-claims-validate-u2f-internally-no-more-phishing-all
<ottidmes> nice
<sophiag> ugh, this is a FIDO error. a lot of people on linux are reporting it: "Exception: FIDO Client error: 1 (OTHER ERROR)"
<ottidmes> SMS 2FA being so unsafe, why is my bank still using it...
<gchristensen> ah sophiag, set hardware.u2f.enable = true
<sophiag> omg, thanks :)
maximiliantagher has quit [Ping timeout: 244 seconds]
<gchristensen> seems you can use u2f to log in with nixos, too, neat.
<ottidmes> any reason not to go for: YubiKey 5 NFC, that one seems the most useful, I do not even own a USB C port, and the mini version seems less useful than one on your keychain (since I will carry that on me almost always and e.g. not my laptop per se)
<sophiag> ottidmes: that's the one i got
<ottidmes> sophiag: thats good to know :)
<ottidmes> gchristensen: ooh nice, I did do that with LUKS and a key shaped USB stick, so I am in favor of the idea :)
<sophiag> and remember to set hardware.u2f.enable = true :p
lassulus_ has joined #nixos
romanofskiWork has quit [Ping timeout: 240 seconds]
lassulus has quit [Ping timeout: 246 seconds]
lassulus_ is now known as lassulus
<gchristensen> security.pam.enableU2F not sure how it works exactly
maximiliantagher has joined #nixos
pita has joined #nixos
maximiliantagher has quit [Ping timeout: 268 seconds]
romanofskiWork has joined #nixos
jhillyerd has joined #nixos
freeman42]NixOS has joined #nixos
freeman42x]NixOS has quit [Ping timeout: 246 seconds]
detran has joined #nixos
c0bw3b_ has quit [Remote host closed the connection]
<gchristensen> this reminds me about how insufficiently our PAM modules are
<gchristensen> insufficiently configurable*
<gchristensen> imo a u2f token isn't "suffient" auth, but our config makes it so
sigmundv__ has quit [Ping timeout: 240 seconds]
rprije has quit [Ping timeout: 252 seconds]
Supersonic has quit [Ping timeout: 260 seconds]
sigmundv has joined #nixos
nckx has quit [Quit: Updating my GNU GuixSD server — gnu.org/s/guix]
nckx has joined #nixos
Supersonic has joined #nixos
dbmikus has quit [Ping timeout: 276 seconds]
orivej has joined #nixos
slack1256 has quit [Remote host closed the connection]
<ottidmes> any idea why this is not in the nixpkgs repo itself? https://github.com/svanderburg/nix-patchtools
lostman has joined #nixos
greymalkin has quit [Ping timeout: 246 seconds]
sigmundv has quit [Ping timeout: 252 seconds]
greymalkin has joined #nixos
freeman42]NixOS has quit [Ping timeout: 252 seconds]
dbmikus has joined #nixos
stepcut has quit [Remote host closed the connection]
kyren has quit [Remote host closed the connection]
ottidmes has quit [Ping timeout: 268 seconds]
kyren has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « linux: 4.20-rc1 -> 4.20-rc2 »: https://git.io/fpqCn
freeman42x]NixOS has joined #nixos
Diagon has quit [Read error: Connection timed out]
camsbury has joined #nixos
<jhillyerd> Does anyone know how to get elm 0.18 (the language) installed? Seems like 0.19 is all that is available in nixpkgs
camsbury has quit [Ping timeout: 240 seconds]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
Diagon has joined #nixos
drakonis has quit [Quit: WeeChat 2.3]
mayhewluke has quit [Ping timeout: 240 seconds]
mayhewluke has joined #nixos
<kyren> jhillyerd: are you aware of one-click installation?
<{^_^}> [nixpkgs] @samueldr merged pull request #46845 → python2Packages.plyplus: init at 0.7.5 → https://git.io/fASkS
<{^_^}> [nixpkgs] @samueldr pushed 2 commits to master: https://git.io/fpqCy
<kyren> I mean there are actually a lot of ways to do it, but that's *one* way
carlosdagos has joined #nixos
stepcut has joined #nixos
<jhillyerd> kyren: nope, where can I read up on that?
<kyren> the docs are a bit sparse actually, the link is broken in the nixos manual :/
<kyren> but if you go here: https://nixos.org/nix/manual/ and search for "one-click"
stepcut has quit [Read error: Connection reset by peer]
stepcut_ has joined #nixos
<kyren> I've never personally done that actually, there are lots of other ways as well
<jhillyerd> hmm, but that seems to assume there is a package available for it somewhere. I guess I could check older channels
<kyren> you can use nix-env with the '-f' flag to point at a specific nixos version and install an attribute from that, if you want it installed imperatively
<kyren> yeah that's what you have to do, figure out when it was in nixpkgs as that version, then install it from that version of nixpkgs
<jhillyerd> Will try. nixos may win me over yet... my first weekend.
<kyren> I don't use nix-env imperatively, so if you just want it available to do development with, you could use nix-shell or direnv with use_nix like I normally do
<jhillyerd> So far I've been able to put everything in my configuration.nix; but have been experimenting with nix-shell some.
stepcut_ has quit [Remote host closed the connection]
freeman42x]NixOS has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @samueldr merged pull request #50252 → diskus: init at 0.4.0 → https://git.io/fpqOM
<{^_^}> [nixpkgs] @samueldr pushed 2 commits to master: https://git.io/fpqWq
stepcut has joined #nixos
alienpirate5 has quit [Ping timeout: 264 seconds]
<kyren> looks like this will do it? -- nix-shell https://github.com/nixos/nixpkgs-channels/archive/nixos-18.03.tar.gz -A elmPackages.elm
<kyren> I'm not sure why it's not in the path but there is an elm repl in the store and it's v0.18, you probably know the details better since you have it working with 0.19 already
<jhillyerd> seems like that may be working
<kyren> I'm glad you're liking nixos, I only recently really converted myself, it took me a good 2 or 3 tries I think
<{^_^}> [nixpkgs] @samueldr merged pull request #47887 → pythonPackages.dpath: init at 1.4.2 → https://git.io/fxYOs
<{^_^}> [nixpkgs] @samueldr pushed 2 commits to master: https://git.io/fpqWC
<kyren> I think the v0.18 package might be weird, in the v0.19 one `elm repl` seems to work but not in v0.18, I dunno what's up exactly, but if you just need it for development porpoises then there's lots of tricks you can do once you start understanding the nix language
rpg has joined #nixos
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jhillyerd> there were massive changes between 0.19 and 0.18, I think in 18 most things were elm-make instead of elm make etc
<{^_^}> [nixpkgs] @aneeshusa closed pull request #47312 → [WIP] Update openssh to 7.8p1, disable DSA host keys in client-side config → https://git.io/fANXB
<jhillyerd> it would make more sense to allow people to install either easily, but I think there were a lot of changes to the way nixos packages elm too; so I think they just wanted to start fresh
<jhillyerd> (based on what I read in the commit log)
<kyren> ahaaaaa, that's why I can't find elm-repl in current nixpkgs, s/elm/elm-repl/ in the command above and it works
<kyren> or, maybe it works, I dunno as long as one of us understand it :P
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
drakonis has joined #nixos
drakonis1 has joined #nixos
drakonis_ has quit [Read error: Connection reset by peer]
drakonis has quit [Ping timeout: 252 seconds]
rpg has quit [Quit: Textual IRC Client: www.textualapp.com]
<{^_^}> [nixpkgs] @samueldr merged pull request #49451 → sfxr-qt: init at 1.2.0 → https://git.io/fx55D
<{^_^}> [nixpkgs] @samueldr pushed 2 commits to master: https://git.io/fpqlm
tathougies has quit [Ping timeout: 252 seconds]
pie_ has quit [Ping timeout: 240 seconds]
stepcut has quit [Remote host closed the connection]
jasongrossman has joined #nixos
sb0 has joined #nixos
<jhillyerd> i just got some elm stuff to compile... I think
<jhillyerd> yaaas, it works. Thanks kyren!
<kyren> nice, np!
drakonis has joined #nixos
drakonis1 has quit [Ping timeout: 240 seconds]
jhillyerd has quit [Quit: WeeChat 2.2]
drakonis_ has joined #nixos
jhillyerd has joined #nixos
maximiliantagher has joined #nixos
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
drakonis has quit [Ping timeout: 264 seconds]
dbmikus has quit [Ping timeout: 252 seconds]
maximiliantagher has quit [Ping timeout: 272 seconds]
jhillyerd has quit [Quit: WeeChat 2.2]
alienpirate5 has joined #nixos
maximiliantagher has joined #nixos
maximiliantagher has quit [Remote host closed the connection]
sb0 has quit [Quit: Leaving]
camsbury has joined #nixos
kyren has quit [Quit: ZNC 1.7.1 - https://znc.in]
camsbury has quit [Ping timeout: 268 seconds]
dbmikus has joined #nixos
teto has joined #nixos
<teto> ,locate bin/dig
<{^_^}> Found in packages: host.dnsutils
lostman has quit [Quit: Connection closed for inactivity]
kyren has joined #nixos
maximiliantagher has joined #nixos
maximiliantagher has quit [Ping timeout: 268 seconds]
dbmikus has quit [Remote host closed the connection]
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/ee7b0dbaef2 (from 15 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
sophiag has left #nixos ["ERC (IRC client for Emacs 26.1)"]
dramforever has joined #nixos
<dongcarl> Hi all, I'm writing a service file for the bitcoin daemon. Wondering what's the most idiomatic way of making one option influence the default of other options?
<dongcarl> For example, the listening port of the daemon changes when it runs in `testnet` mode
Rusty1 has quit [Quit: Konversation terminated!]
<dongcarl> also wondering which directory it should go in in `services`, I'm thinking... `misc`?
<{^_^}> [nixpkgs] @teto opened pull request #50256 → Nextcloud → https://git.io/fpq4Q
rprije has joined #nixos
Dedalo has joined #nixos
rprije has quit [Ping timeout: 272 seconds]
maximiliantagher has joined #nixos
maximiliantagher has quit [Ping timeout: 244 seconds]
kyren has quit [Remote host closed the connection]
endformationage has quit [Quit: WeeChat 2.3]
kyren has joined #nixos
bsima has quit [Quit: Bye!]
maximiliantagher has joined #nixos
reinhardt has joined #nixos
maximiliantagher has quit [Ping timeout: 244 seconds]
dramforever has quit [Ping timeout: 256 seconds]
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
romanofskiWork has quit [Ping timeout: 252 seconds]
hyper_ch2 has joined #nixos
mayhewluke has quit [Ping timeout: 252 seconds]
mayhewluke has joined #nixos
maximiliantagher has joined #nixos
maximiliantagher has quit [Ping timeout: 246 seconds]
camsbury has joined #nixos
thc202 has joined #nixos
haslersn has joined #nixos
camsbury has quit [Ping timeout: 245 seconds]
<haslersn> Hi, how can I configure my NixOS to run `ssh-add > /dev/null` after logging in through the display manager?
rauno has joined #nixos
<rauno> Hey
<rauno> is there a way to generate and deploy ssh keypairs with nixops? So there would be access from one machine to another ?
vk3wtf has joined #nixos
Guanin__ has joined #nixos
<clever> haslersn: i think you want `AddKeysToAgent` from `man ssh_config`
<haslersn> clever: There's no such pattern in `man ssh_config`
<haslersn> clever: Nevermind
<haslersn> I was searching the wrong page
periklis has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg opened pull request #50257 → sonota: init at 20181007 → https://git.io/fpq0P
<{^_^}> [nixpkgs] @peterhoeg opened pull request #50258 → mosquitto: enable websockets support → https://git.io/fpq01
reinhardt has quit [Quit: Leaving]
hdeshev has joined #nixos
Itkovian has joined #nixos
maximiliantagher has joined #nixos
<steveeJ> clever: no more than that https://www.irccloud.com/pastebin/keuRnK8m/
Ariakenom has joined #nixos
maximiliantagher has quit [Ping timeout: 245 seconds]
Lisanna has quit [Ping timeout: 272 seconds]
Itkovian has quit [Ping timeout: 264 seconds]
Itkovian has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b closed pull request #49551 → handbrake: 1.1.0 -> 1.1.2 → https://git.io/fxbbd
hyper_ch2_ has joined #nixos
jtojnar2 has joined #nixos
hyper_ch2 has quit [Ping timeout: 256 seconds]
jtojnar22 has joined #nixos
jtojnar2 has quit [Ping timeout: 252 seconds]
jtojnar22 has quit [Read error: Connection reset by peer]
jtojnar2 has joined #nixos
haslersn has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @pacien opened pull request #50260 → youtube-dl: 2018.10.29 -> 2018.11.07 (release-18.09 backport) → https://git.io/fpqzq
vidbina has joined #nixos
jtojnar22 has joined #nixos
Itkovian has quit [Read error: Connection reset by peer]
jtojnar2 has quit [Ping timeout: 244 seconds]
jtojnar22 has quit [Ping timeout: 240 seconds]
Tucky has joined #nixos
maximiliantagher has joined #nixos
maximiliantagher has quit [Ping timeout: 252 seconds]
<{^_^}> [nixos-homepage] @edolstra merged pull request #250 → Drops aliases from the packages listing → https://git.io/fpLMs
<{^_^}> [nixos-homepage] @edolstra pushed 3 commits to master: https://git.io/fpqg3
hdeshev has quit [Quit: Leaving.]
johann__ has joined #nixos
<{^_^}> [hydra] @edolstra merged pull request #612 → [DEVOPS-1126] throttle github status calls to remain under api ratelimits → https://git.io/fpLe6
<{^_^}> [hydra] @edolstra pushed 2 commits to master: https://git.io/fpqgF
bigvalen has joined #nixos
Itkovian has joined #nixos
o1lo01ol1o has joined #nixos
sb0 has joined #nixos
camsbury has joined #nixos
o1lo01ol1o has quit [Ping timeout: 250 seconds]
averell has quit [Quit: .]
camsbury has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @lsix opened pull request #50261 → nano: 3.1 -> 3.2 → https://git.io/fpqaQ
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hamishmack has joined #nixos
vidbina has quit [Ping timeout: 276 seconds]
Itkovian has joined #nixos
ThatDocsLady has joined #nixos
jtojnar2 has joined #nixos
maximiliantagher has joined #nixos
<{^_^}> [nixpkgs] @jeci-sarl opened pull request #50262 → rambox: 0.6.1 -> 0.6.2 → https://git.io/fpqw5
<infinisil> Ummm... "warning: unable to download 'https://r-ryantm.cachix.org/f0835wvx8i2z4dcnlv7fd7ax32lapmjb.narinfo': Peer certificate cannot be authenticated with given CA certificates (60); retrying in 5643 ms"
<infinisil> Prevents me from being able to rebuild my system...
maximiliantagher has quit [Ping timeout: 240 seconds]
nD5Xjz has quit [Ping timeout: 260 seconds]
<infinisil> I can get around it by passing --option substituters manually though
<colemickens> uh oh
<colemickens> I wonder if it's LE gone bad?
<colemickens> yup
<colemickens> :(
<colemickens> I wonder if they're using the LE NixOS module that's broken on nixos-unstable :P
<srhb> colemickens: What's wrong with it?
<colemickens> it's expired
<colemickens> oh
<srhb> The LE module, yeah :)
nD5Xjz has joined #nixos
<srhb> colemickens: Thanks. Looks like mine's fine..
<srhb> But that might just be because they aren't up for renewal yet.
<colemickens> I wonder if it's regressed for new users?
<colemickens> or that too
peterzky has joined #nixos
<srhb> Guess I can try setting up a fresh subdomain..
jtojnar2 has quit [Ping timeout: 252 seconds]
jakub has joined #nixos
<jakub> Hello, i am a total beginner and can't seem to find help in the manuals: I have just installed nix on debian, created a new profile for some tinkering, installed packages in that profile and now i would like to run a nix-shell with that profile (I haven't created any derivation yet), i guess this is not an intended use case, but how would i go about it if it is possible.
<srhb> jakub: That's not generally how you use nix-shell, indeed
<srhb> jakub: Normally, profiles are symlinked in place (eg in ~/.nix-profile)
<srhb> jakub: While shells are used by making "packages" that are collections of whatever you need in a particular ephemenral environment
peterzky has quit [Quit: peterzky]
<jakub> srhb: i thought the profile looked very much like such a package
<{^_^}> [nixpkgs] @Mic92 merged pull request #50176 → docker-compose: rename from docker_compose, python3 by default → https://git.io/fptk6
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fpqos
<srhb> jakub: In many ways it does, in the sense that the profile is usually one big buildEnv (a "package" created by symlinking together a bunch of "packages")
freeman42x]NixOS has joined #nixos
<jakub> srhb: so to make use of nix to create a virtual environment I need to switch to defining derivations straight from the beginning, is that it?
<srhb> jakub: I would recommend you do that, yes. It's much more lightweight and intuitive that making shells somehow enter profiles :)
rprije has joined #nixos
<jakub> srhb: alright, thank you, i hoped i could postpone digging into the syntax etc for a bit before i get the hang of the architecture etc, but nevermind :)
<srhb> jakub: fwiw it's really lightweight and you can totally just cargo cult a small shell.nix to get started with. What's the project type?
<srhb> jakub: Perhaps I can point you in the direction of a starting point.
vidbina has joined #nixos
<jakub> srhb: in the end I am looking to build a virtual machine disk image and I noticed there are some utilities in nix to handle containers/namespaces, I have my prototype in plain bash, which I would like to make more robust by converting it to a nix package (if that makes any sense)
<srhb> jakub: Totally.
<srhb> I'm not super familiar with the subject space though, so I'm not sure what to point you at.
<jakub> srhb: I might come back with specific questions when I hit a dead end, until then, thank you for setting me on the right track :) much appreciated
<srhb> jakub: Sure thing. Have fun :)
sigmundv__ has joined #nixos
<ekleog> jakub: if you can afford having your VM disk image run nixos inside, you may be interested in `nixos-rebuild build-vm` and friends
mayhewluke has quit [Ping timeout: 272 seconds]
<ekleog> though I wouldn't necessarily advise this as a starting point for nix :°
mayhewluke has joined #nixos
<{^_^}> [nixpkgs] @dotlambda pushed to python-unstable « python.pkgs.pyjwt: disable tests »: https://git.io/fpqKo
Itkovian_ has joined #nixos
maximiliantagher has joined #nixos
jtojnar2 has joined #nixos
Itkovian has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @dotlambda merged pull request #50166 → home-assistant: 0.81.5 -> 0.82.0 → https://git.io/fptJH
<{^_^}> [nixpkgs] @dotlambda pushed 6 commits to master: https://git.io/fpqK9
betaboon has joined #nixos
maximiliantagher has quit [Ping timeout: 276 seconds]
jtojnar2 has left #nixos [#nixos]
jtojnar2 has joined #nixos
jtojnar2 has joined #nixos
<{^_^}> [nixpkgs] @volth closed pull request #50222 → gawk: add windows build → https://git.io/fpt6P
carlosdagos has quit [Quit: Connection closed for inactivity]
<jakub> ekleog: thanks :) will check it out, although I might need to stick to debian at first and invest time into switching to nixos later maybe
<ekleog> have fun :)
jtojnar2 has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @srhb merged pull request #50261 → nano: 3.1 -> 3.2 → https://git.io/fpqaQ
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/fpq6K
jtojnar2 has joined #nixos
worldofpeace has quit [Ping timeout: 244 seconds]
iyzsong has joined #nixos
freeman42x]NixOS has quit [Ping timeout: 244 seconds]
jtojnar22 has joined #nixos
jtojnar2 has quit [Ping timeout: 268 seconds]
<srhb> colemickens: A new virtualhost in nginx seemed to get a cert just fine with current nixos-unstable
<colemickens> srhb: hm.
jtojnar22 has quit [Ping timeout: 272 seconds]
sigmundv__ is now known as sigmundv
<{^_^}> [nixpkgs] @Mic92 opened pull request #50263 → Revert "androidsdk: 25.2.5 -> 26.1.1, license agreement" → https://git.io/fpqib
vidbina has quit [Ping timeout: 272 seconds]
jtojnar2 has joined #nixos
jtojnar22 has joined #nixos
jtojnar23 has joined #nixos
jtojnar2 has quit [Ping timeout: 268 seconds]
jtojnar22 has quit [Ping timeout: 240 seconds]
hedning has joined #nixos
asymmetric has joined #nixos
jtojnar23 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @vbgl opened pull request #50264 → coqPackages.bignums: enable for Coq version 8.9 → https://git.io/fpqPS
jtojnar2 has joined #nixos
camsbury has joined #nixos
maximiliantagher has joined #nixos
m0rphism has quit [Quit: WeeChat 2.2]
<{^_^}> [nixpkgs] @edolstra merged pull request #50246 → libredirect: Add support for Darwin → https://git.io/fpqfO
<{^_^}> [nixpkgs] @edolstra pushed 6 commits to master: https://git.io/fpqXn
ThatDocsLady has quit [Ping timeout: 252 seconds]
camsbury has quit [Ping timeout: 244 seconds]
maximiliantagher has quit [Ping timeout: 245 seconds]
rprije has quit [Ping timeout: 268 seconds]
nbardiuk has joined #nixos
ThatDocsLady has joined #nixos
<{^_^}> [nixpkgs] @romildo opened pull request #50265 → matcha: 2018-10-30 -> 2018-11-12 → https://git.io/fpqXy
<{^_^}> [nixpkgs] @gebner merged pull request #50022 → opensmtpd-extras: 5.7.1 -> 6.4.0 → https://git.io/fpIX3
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/fpqXA
<asymmetric> how do i print the version of a program in my nixpkgs? do i have to use `nix-env -q`?
periklis has quit [Read error: Connection reset by peer]
periklis has joined #nixos
jtojnar2 has quit [Ping timeout: 240 seconds]
<infinisil> asymmetric: nix eval nixpkgs.hello.name
<infinisil> (Untested)
<asymmetric> thanks, seems to work!
<{^_^}> [nixpkgs] @peti pushed 2 commits to master: https://git.io/fpq1M
<{^_^}> [nixpkgs] @peti merged pull request #50179 → R: Remove jdk dependency on aarch32/64 → https://git.io/fptLZ
<{^_^}> [nixpkgs] @joachifm merged pull request #50260 → youtube-dl: 2018.10.29 -> 2018.11.07 (release-18.09 backport) → https://git.io/fpqzq
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to release-18.09: https://git.io/fpq19
jtojnar2 has joined #nixos
iyzsong has quit [Ping timeout: 252 seconds]
ottidmes has joined #nixos
jtojnar2 has quit [Ping timeout: 264 seconds]
jtojnar2 has joined #nixos
the-kenny has quit [Quit: WeeChat 2.0]
periklis has quit [Remote host closed the connection]
jtojnar22 has joined #nixos
jtojnar2 has quit [Ping timeout: 252 seconds]
steshaw has quit [Quit: Connection closed for inactivity]
vidbina has joined #nixos
vidbina_ has joined #nixos
<{^_^}> [nixpkgs] @kwohlfahrt opened pull request #50266 → scikitlearn: 0.19.2 -> 0.20.0 → https://git.io/fpqDO
vidbina has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @aszlig opened pull request #50267 → libredirect: Add preload wrapper for stat() → https://git.io/fpqDr
maximiliantagher has joined #nixos
jakub has quit [Quit: leaving]
maximiliantagher has quit [Ping timeout: 244 seconds]
hedning has quit [Read error: Connection reset by peer]
hedning has joined #nixos
jtojnar22 has quit [Ping timeout: 252 seconds]
jtojnar2 has joined #nixos
__monty__ has joined #nixos
<{^_^}> [nixpkgs] @tokudan opened pull request #50268 → firefox-bin: 63.0 -> 63.0.1 → https://git.io/fpqSn
jtojnar2 has quit [Ping timeout: 246 seconds]
sb0 has quit [Quit: Leaving]
<Mic92> (for spec)
<{^_^}> [nixpkgs] @aszlig pushed to master « libredirect: Add preload wrapper for stat() »: https://git.io/fpqSr
<{^_^}> [nixpkgs] @aszlig closed pull request #50267 → libredirect: Add preload wrapper for stat() → https://git.io/fpqDr
ekleog has quit [Quit: WeeChat 2.2]
erictapen has joined #nixos
ekleog has joined #nixos
<{^_^}> [nixpkgs] @dotlambda pushed to python-unstable « Revert "sphinx: don't use capital for pname" »: https://git.io/fpq9u
jtojnar2 has joined #nixos
jtojnar2 has quit [Read error: Connection reset by peer]
iyzsong has joined #nixos
ThatDocsLady has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @hedning pushed 2 commits to gnome-3.30: https://git.io/fpq9j
b has joined #nixos
<gchristensen> joko: what is your github handle?
coconnor has quit [Ping timeout: 245 seconds]
coconnor has joined #nixos
sb0 has joined #nixos
jophish has quit [Quit: WeeChat 2.0]
jakub has joined #nixos
xvnvx is now known as alphabeta
camsbury has joined #nixos
__Sander__ has joined #nixos
<{^_^}> [nixpkgs] @Synthetica9 opened pull request #50269 → sphinx_1_2: use uppercase for override → https://git.io/fpqQX
erictapen has quit [Ping timeout: 252 seconds]
waleee has joined #nixos
sc_ has quit [Quit: reboot]
maximiliantagher has joined #nixos
sc_ has joined #nixos
camsbury has quit [Ping timeout: 244 seconds]
maximiliantagher has quit [Ping timeout: 260 seconds]
ckauhaus has joined #nixos
Dedalo has joined #nixos
drakonis has joined #nixos
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/d9d932fdd4f (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
freeman42x]NixOS has joined #nixos
rauno has quit [Ping timeout: 272 seconds]
zolk3ri has joined #nixos
civodul has joined #nixos
<WilliamHamilton[> hi, I'm trying to open a nix-shell with some python packages (I don't usually use python, but I want to try a project that uses it). Here's what I've come up with: https://pastebin.com/c9VLMQ82
<WilliamHamilton[> when I try to open `nix-shell -p that-thing` it says: `error: undefined variable 'arsenal-2' at (string):1:183`
<WilliamHamilton[> so, why `arsenal-2` instead of `arsenal-2.1`? What's the meaning of that error?
<WilliamHamilton[> oh wait maybe I know
<WilliamHamilton[> yes, solved it, never mind
mayhewluke has quit [Ping timeout: 240 seconds]
mayhewluke has joined #nixos
<glasserc> When I do "nix-env -iA nixos.jq.man", I don't see a man page for it in ~/.nix-profile, but when I do "nix-build '<nixos>' -A jq.all", I see it in result-man. Is there a way to install man pages for just one package?
maximiliantagher has joined #nixos
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
maximiliantagher has quit [Ping timeout: 244 seconds]
freeman42x]NixOS has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @hlolli opened pull request #50270 → use newer clj2nix which passes pkgs as an argument to deps.nix → https://git.io/fpqbj
<glasserc> Another question, is there a way to get nix-env -i to tell me what symlinks it created in the user environment?
<gchristensen> the only thing it does is create a new profile in /etc/profiles/per-user/youruser, and updates /nix/var/nix/profiles/per-user/grahamc/profile to point to the new one
jD91mZM2 has joined #nixos
detran has quit [Ping timeout: 244 seconds]
kp__ has joined #nixos
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos
<{^_^}> [nixpkgs] @uskudnik opened pull request #50272 → sqlite: 3.24.0 -> 3.25.3 → https://git.io/fpqx6
vidbina_ has quit [Ping timeout: 252 seconds]
ubert has joined #nixos
o1lo01ol1o has joined #nixos
<qyliss> Can I have a NixOS option be recursively merged? eg if one module sets option = { foo = [ 1 ]; }; and another sets option = { foo = [ 2 ]; };, the value of the option becomes { foo = [ 1 2 ]; } ?
<steveeJ> qyliss: I think it's automatically like that in the module system
<qyliss> It is at the top level
<qyliss> eg if I set option to { foo = []; } and { bar = []; }, those get merged
<qyliss> But it doesn’t seem to be recursive
<qyliss> I’m guessing I need to do something with lib.types in the option declaration
camsbury has joined #nixos
camsbury has quit [Remote host closed the connection]
camsbury has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<gchristensen> I think you want a submodule for that
<infinisil> qyliss: Just specify the type accordingly, the merging should take care of that
<infinisil> So the type should be `attrsOf (listOf int)` in this case
<{^_^}> [nixpkgs] @lheckemann closed pull request #50272 → sqlite: 3.24.0 -> 3.25.3 → https://git.io/fpqx6
<glasserc> gchristensen: Thanks for the tip about the profile
<infinisil> You'd want to use submodules if foo and bar aren't arbitrary
eliasp has quit [Ping timeout: 246 seconds]
phreedom has quit [Remote host closed the connection]
phreedom_ has joined #nixos
<infinisil> > deepEval ((with lib.types; attrsOf (listOf int)).merge {} [ { value = { foo = [ 1 ]; }; } { value = { foo = [ 2 ]; }; } ])
<{^_^}> value is a string while a set was expected, at /var/lib/nixbot/state/nixpkgs/lib/modules.nix:370:10
<{^_^}> [nixpkgs] @lheckemann merged pull request #50265 → matcha: 2018-10-30 -> 2018-11-12 → https://git.io/fpqXy
<infinisil> > deepEval ((lib.types.attrsOf (lib.types.listOf lib.types.int)).merge {} [ { value = { foo = [ 1 ]; }; } { value = { foo = [ 2 ]; }; } ])
<{^_^}> { foo = [ 1 2 ]; }
<infinisil> qyliss: ^
johann__ has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @aszlig pushed to master « ip2unix: 1.1.1 -> 1.2.0 »: https://git.io/fpqpj
jperras has joined #nixos
<qyliss> Ah, wonderful
<qyliss> They aren’t arbitrary, but I was being lazy and didn’t want them to have to define them strictly yet :P
Rusty1 has joined #nixos
<qyliss> I’m trying to express this with submodules now. Will see how that goes
<{^_^}> [nixpkgs] @Mic92 merged pull request #49557 → rustc: build with system llvm and jemalloc → https://git.io/fxNUZ
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to staging: https://git.io/fpqh0
Mateon3 has joined #nixos
Mateon1 has quit [Ping timeout: 245 seconds]
Mateon3 is now known as Mateon1
johann__ has joined #nixos
stepcut has joined #nixos
<glasserc> gchristensen: However, I only see one new symlink in the user environment, but nix-env -i reported that it "created 597 symlinks in user environment"
<glasserc> Oh, wait, maybe I understand
<gchristensen> some symlinks are all inside of the directory /nix/var/nix/profiles/per-user/youruser/profile points to
<glasserc> That number is total, not new
<glasserc> It's the number of symlinks in the new environment, rather than the number of new symlinks in the environment
<gchristensen> yae
johann__ has quit [Quit: Leaving.]
<glasserc> OK, that makes sense. Unfortunately it doesn't really help me with what I want, which is getting the man page when I nix-env -i a package
johann__ has joined #nixos
oida has quit [Remote host closed the connection]
maximiliantagher has joined #nixos
johann__ has quit [Client Quit]
johann__ has joined #nixos
<slabity> For `packageOverrides`, can you override a package that comes from an overlay? Nix is telling me it can't find the package I'm specifying.
maximiliantagher has quit [Ping timeout: 245 seconds]
<slabity> In this case I'm using the mozilla overlay and trying `rust = super.latest.rustChannels.nightly.rust.override {...};`
erictapen has joined #nixos
<ottidmes> for a package I want to copy over a directory, reconstructing the parent directory structure and symlink instead of copy the executables, I can do it with first doing a find for the executables, and looping over them and doing the mkdir and ln -s, explicitly, and then just use cp for the rest, but is there a better way than this manual loop?
johann__ has quit [Client Quit]
johann__ has joined #nixos
<qyliss> Submodules are doing what I wanted :)
<infinisil> qyliss: Nice :)
<qyliss> (The context here is that I want to be able to write s6-rc services in Nix)
jabranham has joined #nixos
<infinisil> Ohhh I saw your toots about it, very cool
<ottidmes> slabity: I do not believe you can do that, because overlays are applied afterwards: https://github.com/NixOS/nixpkgs/blob/370ce8fcd39a3ed1002db0d7fb281576e39fc4ef/pkgs/top-level/stage.nix#L189
<ottidmes> slabity: so you should just write an overlay yourself, overlaying rust, instead of using packageOverrides
<slabity> ottidmes: Thanks. I'll see if I can add it to my custom overlay
<slabity> Now I just need to figure out where to find the `llvm-nm` binary
<ottidmes> ,locate
<{^_^}> Use ,locate <filename> to find packages containing such a file. Powered by nix-index (local installation recommended).
<slabity> Is that a chat command?
<slabity> ,locate llvm-nm
<{^_^}> Found in packages: llvm_4, emscriptenfastcomp, rustPlatform.rustcSrc
<ottidmes> there you go :)
<slabity> Oh that's cool
<slabity> nix-index does that too?
Guanin__ has quit [Remote host closed the connection]
<infinisil> ,locate is based on nix-index, so yes :)
<slabity> That's a tool I definitely need then. My overlay can wait
<ottidmes> slabity: nix-index is what the tool that contains nix-locate, nix-index generates a local index which nix-locate uses
<infinisil> ,locate nix-locate
<{^_^}> Found in packages: nix-index
<infinisil> :P
<ottidmes> lol
stepcut has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @aszlig pushed to master « nixos/tests/networking: Fix syntax error »: https://git.io/fpmvb
mmercier has joined #nixos
jperras has quit [Read error: Connection reset by peer]
stepcut has joined #nixos
<ottidmes> with nix-index I am getting: error: attribute 'hackage-db_2_0_1' missing, at /wheel/fork/nixpkgs/pkgs/development/haskell-modules/configuration-ghc-8.2.x.nix:92:22
jperras has joined #nixos
<slabity> I am getting a lot of 'Error fetching the file listing for store path '...' failed'
<{^_^}> [nixpkgs] @peti pushed 3 commits to haskell-updates: https://git.io/fpmfW
<infinisil> I think that can happen if you have certain overlays
<{^_^}> [nixpkgs] @peti pushed 3 commits to haskell-updates: https://git.io/fpmfB
<{^_^}> [nixpkgs] @peti pushed 3 commits to master: https://git.io/fpmf0
erictapen has quit [Ping timeout: 268 seconds]
<infinisil> slabity: ottidmes: Temporarily undo the overlays and packageOverrides and try again
<ottidmes> infinisil: good idea, I will try that
jophish has joined #nixos
mmercier has quit [Quit: mmercier]
mmercier has joined #nixos
<ottidmes> infinisil: thanks! that did it :)
<ottidmes> infinisil++
<{^_^}> infinisil's karma got increased to 34
mmercier has quit [Read error: Connection reset by peer]
mmercier_ has joined #nixos
inf is now known as sc_infu
mmercier_ is now known as mmercier
illegalprime has joined #nixos
johann__ has quit [Quit: Leaving.]
<ottidmes> slabity: on what version of NixOS are you? unstable/18.09?
<slabity> I got nix-locate to work though. Just get some errors with some random packages I don't use
mmercier has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @peterhoeg opened pull request #50274 → home-assistant: add support for waze, bluetooth tracker and IFTTT → https://git.io/fpmUR
maximiliantagher has joined #nixos
<{^_^}> [nixpkgs] @Ekleog opened pull request #50275 → nixos-build-vms: fix syntax error → https://git.io/fpmUo
<infinisil> AHhh: nix-index -f channel:nixos-unstable
<infinisil> Works :)
<ekleog> aszlig: thank you and sorry for the syntax error! I've re-read the commit and noticed another one :/ https://github.com/NixOS/nixpkgs/pull/50275
<{^_^}> #50275 (by Ekleog, 30 seconds ago, open): nixos-build-vms: fix syntax error
dbmikus has joined #nixos
romildo has joined #nixos
<romildo> I am packaging the Deepin Desktop Environment and I would like some advice on how to deal with hard coded paths in the source.
<slabity> romildo: Changing source code would best be done with a patch
<slabity> Unless you want to work upstream and expose it as a build option
<romildo> For instance, in the startdde package I have found (and did not fix yet) the following paths: http://dpaste.com/0EMACHR
hyper_ch2_ has quit [Quit: Page closed]
asymmetric_ has joined #nixos
<romildo> Some of the paths are provided by required dependence files. Those I can fix by renaming the path to the exact one installed by the dependence.
<slabity> Might not be the best idea, but you could always create an FHS derivation and symlink those paths to the actual paths
<romildo> Some of the paths are provided by *optional* dependence packages. I do not want to make the dependence obligatory. How to fix them?
asymmetric has quit [Ping timeout: 252 seconds]
<clever> steveeJ: next step then is to read the nixos-install script to see what its trying to run
mmercier has joined #nixos
<arianvp> Mic92: you around?
mmercier has quit [Client Quit]
<romildo> slabity, is it reasonable to use /run/current-system/sw as a prefix for most of those hard coded paths?
<ottidmes> romildo: no, you should use the nix store paths
<ottidmes> romildo: you cannot assume someone wants all dependencies in their system environment
o1lo01ol1o has joined #nixos
sc_infu is now known as inf
<ottidmes> romildo: so just use e.g. "${pkgs.jq}/bin/jq"
<simpson> Indeed, you could conversely make the safe assumption that nobody wants to have to have non-Nix-provided dependencies.
<romildo> For binaries can I rely on the PATH environment variable for the system finding its location?
<slabity> romildo: Not unless the program calling those binaries will resolve the paths
erictapen has joined #nixos
<ottidmes> romildo: more importantly, if you assume /run/current-system, you assume NixOS, while Nix with Nixpkgs can be used outside NixOS
<slabity> If it's looking for an absolute path like /usr/bin/whatever then it's safe to say it needs that exact path
<slabity> If it's looking for a binary name like and being executed by some sort of shell that resolved PATH, then you can rely on it.
Itkovian_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<romildo> I am anticipating cyclic dependencies, because there is some package A that uses a (optional) binary from package B, but B depends on A to be compiled. Any hints for this situation?
<{^_^}> [nixpkgs] @matthewbauer merged pull request #50275 → nixos-build-vms: fix syntax error → https://git.io/fpmUo
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fpmLO
<simpson> Make A take the dep optionally, build A, make B hard-require A, build B, build A with B.
endformationage has joined #nixos
<NickHu> Is there a path like $NIX_CC/nix-support/dynamic-linker which takes you to the 32bit multilib linker you should be using for 32bit executables on an x86_64 system?
johann__ has joined #nixos
<romildo> Is it better to edit those hard coded paths using a patch file, or using commands like sed and substituteInPlace explicitly in the nix expression??
<steveeJ> clever: I gave up on that install and rebooted into a different rescue image on the VPS. the first was "sysrescue" based on gentoo. on debian that issue is gone, but I ran into a few others :D
erasmas has joined #nixos
dbmikus_ has joined #nixos
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Mic92> arianvp: yes
<Mic92> Ideally nixos-enter would be bootstrable from nixpkgs so one can use non-nixos rescue systems.
johann__ has quit [Quit: Leaving.]
<Mic92> Actually it is, but it is not so obivicious or documented.
dbmikus has quit [Ping timeout: 272 seconds]
<ottidmes> I have cp --no-clobber, which works, but "... are the same files" for each existing file, is this normal? If I just do 2>/dev/null I might miss important errors
<steveeJ> Mic92: non-nixos or non-nix? I was able to install nixos from the debian system. still have to confirm it's bootable though ;)
<steveeJ> an option would be to use kexec in the rescue system
drakonis has quit [Read error: Connection reset by peer]
Dedalo has joined #nixos
mmercier has joined #nixos
<NickHu> Also where can I find the 32bit libGL.so.1 on a x86_64 system?
averell has joined #nixos
<clever> NickHu: hardware.opengl.driSupport32Bit = true; and it will put it into the LD_LIBRRARY_PATH for you
<NickHu> clever: It doesn't seem to; at the path /run/opengl-driver-32/lib, I only have libGLES...*
<NickHu> and libGLX_nvidia.so
<clever> NickHu: that might be nvidia to blame, i saw a recent PR where they dropped 32bit support
jschievink has joined #nixos
kai_w has joined #nixos
<NickHu> I found one in /nix/store/r9b4bhgn4745nb08m3yalalz0swwj6j7-nvidia-libs/lib
<clever> NickHu: run nix-store --query --roots on that path
<NickHu> Is there in general a way to get to 32bit libs? I'm trying to patchelf a binary package and it's 32bit
romildo has quit [Quit: Leaving]
<jschievink> If I run nix-build twice in a row without changing anything and the package hash still changes, how would I debug that?
<jschievink> (that's not supposed to happen, right?)
<clever> NickHu: pkgsi686Linux contains all of nixpkgs, but in 32bit
<NickHu> Ah great
<clever> jschievink: if your using src = ./.; then you just added a result symlink to the source, and now the source is different
<samueldr> jschievink: nix-build will put a `result` symlink in the CWD, which if it is the source, will change the source
<clever> jschievink: src = lib.cleanSource ./.; will clean that up
<jschievink> ooh thanks, that makes sense
<clever> cleanSource also gets rid of things like .o files, which can break builds
<clever> nix wipes all timestamps, then make gets confused and thinks the .o is up to date, and doesnt build anything
<NickHu> clever: Do you know if there is a path like $NIX_CC/nix-support/dynamic-linker which takes you to the 32bit multilib linker?
__Sander__ has quit [Quit: Konversation terminated!]
<clever> NickHu: if you use pkgsi686Linux.stdenv.mkDerivation, then $NIX_CC will point to the 32bit gcc/glibc
<clever> and then you dont have to deal with multi-lib at all, its just a pure 32bit env
Itkovian has joined #nixos
maximiliantagher has quit [Remote host closed the connection]
mmercier has quit [Quit: mmercier]
<NickHu> ah ok, I suppose that has some advantages
<clever> pkgsi686Linux.callPackage would give you 32bit for all of your inputs as well
<clever> NickHu: oh, and look at something like the old skype package, its 32bit as well
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
<{^_^}> [nix] @obfusk opened pull request #2533 → fix typo (s/gift/git/) → https://git.io/fpmmD
<Mic92> I created a repository to share shell.nix files to build projects: https://github.com/nix-community/nix-environments
Itkovian has quit [Read error: Connection reset by peer]
drakonis has joined #nixos
mmercier has joined #nixos
drakonis_ has quit [Ping timeout: 245 seconds]
<infinisil> Mic92: hmm, wouldn't it be better to fix this in nixpkgs!
<infinisil> ?*
<arianvp> Mic92: you were working on nscd I saw
maximiliantagher has joined #nixos
<arianvp> I just found out that nscd is actually broken on 18.09 and doesn't load _any_ external modules
<arianvp> only the ones shipped with glibc
obadz has quit [Ping timeout: 244 seconds]
<betaboon> when i have an option of type attrs in a module, is it possible to set attributes in different imports ? oO
<clever> betaboon: should be
<lejonet> is there anyway to tell gfortran that I don't want it, at all? :P
obadz has joined #nixos
<infinisil> lejonet: self: super: { gfortran = null; } :P
<lejonet> infinisil: haha, that should work xD "Your services are not required anymore"
<Mic92> infinisil: There are projects like openwrt or android (the project, not apps) that will unlikely make into nixpkgs. Also some projects that might have development requirements for their tests, that we don't need/want in nixpkgs, but a required for developers
hedning has quit [Quit: hedning]
<betaboon> clever: thanks. i was just stupidly looking at the wrong file ...
<Mic92> arianvp: oh gosh. We need a test for that.
jvassev_ has joined #nixos
<clever> Mic92: if left alone, i would be more likely to turn all of WRT into a single nix expression that builds the entire thing purely :P
<arianvp> Mic92: yes :D
<arianvp> I can add a regression test, but I have no idea how to fix it :P
<Mic92> arianvp: You can add LD_DEBUG to its service to see what it loads.
<arianvp> https://github.com/NixOS/nixpkgs/issues/50273 is the issue by the way
<{^_^}> #50273 (by arianvp, 1 hour ago, open): DynamicUser is broken because Loading NSS Modules that are not in glibc is broken
<arianvp> I did a strace, and it doesn't seem to succesfully load any of the modules outside of glibc
<arianvp> :P
<Dezgeg> it should work with nscd
<lejonet> infinisil: there is a langFortran argument to gcc, I guess I could set that to false :P
<arianvp> Dezgeg: this is a strace of nscd
Ariakenom has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @corngood opened pull request #50276 → androidsdk: fix emulator → https://git.io/fpmOP
<Dezgeg> try doing it from the nscd started by systemd, not a standalone run
<Dezgeg> strace -p $(pidof nscd)
mmercier has quit [Quit: mmercier]
<{^_^}> [nixpkgs] @Profpatsch opened pull request #50277 → cups-filters: add all needed execve runtime paths → https://git.io/fpmOF
maximiliantagher has quit [Remote host closed the connection]
<arianvp> Okay I will trace the service directly
locallycompact has joined #nixos
<locallycompact> Hi, how do I just run standalone stack scripts on nixos?
<locallycompact> I get an error that pkg-config can't be found
<clever> locallycompact: nix-shell -p pkgconfig
<clever> locallycompact: stack itself also has a nix mode you can probably enable
<locallycompact> It doesn't seem to work in the global config
<arianvp> Mic92: adding LD_DEBUG doesnt seem to show any of the nss modules
<arianvp> but maybe that's because nscd is forking?
dbmikus_ has quit [Quit: WeeChat 2.3]
<arianvp> I just added Environment=LD_DEBUG=all to the unit ifle
dbmikus has joined #nixos
<{^_^}> [nixpkgs] @vbgl pushed commit from @Zimmi48 to master « ocamlPackages.*: remove unnecessary unpackCmd »: https://git.io/fpm3X
<{^_^}> [nixpkgs] @vbgl merged pull request #50237 → ocamlPackages.*: remove unnecessary unpackCmd → https://git.io/fptx5
<lejonet> infinisil: awh, doing langFortran = false; doesn't seem to stop it from trying to pull in gfortran :( so maybe your suggestion is the only real way :P
<lejonet> (tho the nixpkgs default.nix seem to say that langFortan always is false)
jvassev_ has quit [Ping timeout: 256 seconds]
maximiliantagher has joined #nixos
<ottidmes> is there a nix/shell variable that contains the hash used in $out, I could of course extract it from $out, but I'd rather not. I want to use it to store the build version to make sure a systemd script is only run once for every new build
Ariakenom has joined #nixos
<{^_^}> [nixpkgs] @nlewo merged pull request #49414 → dockerTools.buildImageWithNixDb: simplifications and switch to closure info → https://git.io/fx7rR
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/fpmsE
<arianvp> Dezgeg: okay so it does seem to load the libraries
<arianvp> oyu're right
mayhewluke has quit [Ping timeout: 276 seconds]
<qyliss> Mic92: that’s awesome! I was thinking about proposing something like that the other day, because I have a bunch of shell.nix fils lying around for various FOSS projects.
maximiliantagher has quit [Ping timeout: 268 seconds]
zolk3ri has quit [Remote host closed the connection]
Thra11 has joined #nixos
deni_ is now known as deni
<arianvp> Ughh
mayhewluke has joined #nixos
<arianvp> Mic92: Okay so good news is nss_modules loading isn't broken
<arianvp> bad news is that stuff is still broken
<arianvp> :(
zolk3ri has joined #nixos
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/fpmGw
<{^_^}> [nix] @edolstra merged pull request #2533 → manual: fix typo (s/gift/git/) → https://git.io/fpmmD
<gchristensen> omg I got a printer to work on Linux for the first time in my life
<arianvp> \o/
worldofpeace has joined #nixos
Thra11 has quit [Ping timeout: 268 seconds]
m0rphism has joined #nixos
c0bw3b_ has joined #nixos
<gchristensen> everybody buy a lottery ticket.
<{^_^}> [nixpkgs] @Mic92 merged pull request #50276 → androidsdk: fix emulator → https://git.io/fpmOP
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/fpmZJ
<{^_^}> [nixpkgs] @Mic92 closed pull request #50263 → Revert "androidsdk: 25.2.5 -> 26.1.1, license agreement" → https://git.io/fpqib
<samueldr> gchristensen: some checkups to do: is it thinking it's printing A4 even though you select Letter in your software, and the printer knows it has Letter in? (personal experience)
erictapen has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @FRidh pushed to staging-next « Revert "Python: reduce amount of warnings when building with `buildPython*`" »: https://git.io/fpmZH
<{^_^}> [nixpkgs] @FRidh pushed 95 commits to staging-next: https://git.io/fpmnT
<Mic92> qyliss: yes, having them in one place allow to keep those recipies up-to-date.
<Mic92> similar like nixos-hardware
maximiliantagher has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 97 commits to staging: https://git.io/fpmnq
<{^_^}> [nixpkgs] @FRidh pushed 486 commits to python-unstable: https://git.io/fpmn2
maximiliantagher has quit [Ping timeout: 240 seconds]
sanscoeur has joined #nixos
sigmundv has quit [Ping timeout: 250 seconds]
<jschievink> is the plan to get rid of channels still current? https://gist.github.com/edolstra/efcadfd240c2d8906348
elibrokeit has joined #nixos
Thra11 has joined #nixos
philippD has joined #nixos
maximiliantagher has joined #nixos
stepcut has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @jD91mZM2 opened pull request #50278 → cargo-tree: 0.21.0 -> 0.22.0 → https://git.io/fpmCW
<{^_^}> [nixpkgs] @florianjacob opened pull request #50279 → curl: 7.61.1 -> 7.62.0 (security) → https://git.io/fpmCV
<ottidmes> I want to write: sed -i '$s|$| grep -Ev '\''(Agent.Rpc.SourceEvent Verbose|Microsoft.Cascade.Rpc.(Request|Response)Message)'\''|' in a script written as a '' ... '' string, how to escape them?
<clever> ,escape''
<{^_^}> '' two single quotes: ''' bash curly bois: ''${} newline: ''\n tab: ''\t any character x: ''\x ''
<clever> ,escape"
<{^_^}> " double quote: \" backslash: \\ bash curly bois: \${} newline: \n tab: \t "
<clever> > '' you can also ${"mix ''"} and " up if your feeling fancy''
<{^_^}> "you can also mix '' and \" up if your feeling fancy"
<{^_^}> [nixpkgs] @florianjacob closed pull request #50279 → curl: 7.61.1 -> 7.62.0 (security) → https://git.io/fpmCV
<ottidmes> clever: thanks, in this case I figured I could just make life easier and use a double quote instead, should be safe
<clever> as in my example above, you can also use " in the middle of a '' by throwing some ${ in first
goibhniu has quit [Ping timeout: 246 seconds]
<manveru> zimbatm: anything new from the designer?
freeman42x]NixOS has joined #nixos
goibhniu has joined #nixos
Thra11 has quit [Ping timeout: 252 seconds]
drakonis_ has joined #nixos
Tucky has quit [Quit: WeeChat 2.2]
drakonis has quit [Ping timeout: 264 seconds]
<Ralith> how can I force my browsers to update their DNS cache/server addresses? I'm trying to use a corporate VPN but nothing resolves properly
<Ralith> except by hand on the command line, which works fine
<Ralith> even when I restart the browser
erictapen has joined #nixos
halfbit has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #35304 → [staging] substitute() print warning if does nothing → https://git.io/vAzJU
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to staging: https://git.io/fpmlq
jmeredith has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer pushed 6 commits to master: https://git.io/fpmlZ
<{^_^}> [nixpkgs] @matthewbauer merged pull request #49588 → lib/system: More Types of CPUs Added → https://git.io/fxAe7
<Ralith> hmm, actually, even command line stuff isn't working this time
<Ralith> using dig explicitly with the first entry in /etc/resolv.conf works, though...
orivej_ has joined #nixos
orivej has quit [Ping timeout: 268 seconds]
lopsided98 has quit [Ping timeout: 252 seconds]
<ottidmes> Ralith: I have useDHCP = false; and use NetworkManager with DNS entries provided by me, that setup works
lopsided98 has joined #nixos
aanderse has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @matthewbauer closed pull request #45634 → ibtool: impure-symlink-style Darwin package → https://git.io/fAmqU
ninjin has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #46846 → pythonPackages.ovito: init at 3.0.0 → https://git.io/fASIF
<{^_^}> [nixpkgs] @FRidh pushed commit from @costrouc to master « pythonPackages.ovito: init at 3.0.0 »: https://git.io/fpm8z
<mog> does anyone use virtualbox on nixos? i thought i installed everything but when i run it VirtualBox: cannot run `/nix/store/zp0xizchw3i15xynwyx51phv18idk9l7-virtualbox-5.2.14/libexec/virtualbox/VirtualBox': No such file or directory
<clever> mog: virtualisation.virtualbox.host.enable = true; is the only thing you need in your config, nothing has to be installed
<mog> i have that set
<clever> mog: what does `ls -lh /nix/store/zp0xizchw3i15xynwyx51phv18idk9l7-virtualbox-5.2.14/libexec/virtualbox/VirtualBox` report?
<mog> if i ls /nix/store/zp0xizchw3i15xynwyx51phv18idk9l7-virtualbox-5.2.14/libexec/virtualbox/
erictapen has quit [Ping timeout: 268 seconds]
<mog> there is a lot of stuff there including VBoxHeadless which does run just no VirtualBox
<clever> mog: i'm guessing thats a broken build of vbox
<mog> wait
<mog> im an idiot
<mog> i also have virtualisation.virtualbox.host.headless = true; elsewhere in my config
<mog> i bet its overriding
<clever> that would do it
<clever> it removed all gui components
<mog> yup i share configs across boxes
<clever> virtualisation.virtualbox.host.headless = lib.mkForce false; lets you override it further, on just one box
<Ralith> ottidmes: the DNS entries are getting installed correctly, that's not the problem
<mog> tht fixed it
jschievink has quit [Quit: WeeChat 2.3]
stepcut has joined #nixos
elgoosy has joined #nixos
averell- has joined #nixos
averell has quit [Ping timeout: 252 seconds]
averell- is now known as averell
stepcut has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @vcunat opened pull request #50280 → xorg: init xf86-video-vboxvideo at 1.0.0 → https://git.io/fpmBN
<{^_^}> [nixpkgs] @dasJ opened pull request #50281 → nixos/luksroot: Check whether the device already exists → https://git.io/fpmRq
kp__ has quit [Ping timeout: 252 seconds]
JosW has joined #nixos
drakonis has joined #nixos
drakonis has quit [Read error: Connection reset by peer]
drakonis has joined #nixos
drakonis has quit [Read error: Connection reset by peer]
drakonis1 has joined #nixos
drakonis_ has quit [Ping timeout: 264 seconds]
locallycompact has quit [Remote host closed the connection]
stepcut has joined #nixos
aanderse has joined #nixos
jvassev has joined #nixos
erictapen has joined #nixos
JosW has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
vidbina has joined #nixos
halfbit has quit [Ping timeout: 264 seconds]
johann__ has joined #nixos
<{^_^}> [nixpkgs] @timokau merged pull request #50089 → ibus-engines.m17n: 1.3.4 -> 1.4.1 → https://git.io/fpLMk
<{^_^}> [nixpkgs] @timokau pushed commit from @r-ryantm to master « ibus-engines.m17n: 1.3.4 -> 1.4.1 (#50089) »: https://git.io/fpmEG
elgoosy has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @timokau merged pull request #50078 → ipset: 6.38 -> 7.0 → https://git.io/fpLoa
<{^_^}> [nixpkgs] @timokau pushed commit from @r-ryantm to master « ipset: 6.38 -> 7.0 (#50078) »: https://git.io/fpmE0
zolk3ri has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @vincrusher opened pull request #50282 → Cross-Compiling: alpha-embedded Support Added → https://git.io/fpmEz
erictapen has quit [Quit: leaving]
drakonis has joined #nixos
johann__ has quit [Ping timeout: 252 seconds]
drakonis1 has quit [Ping timeout: 250 seconds]
shabius has quit [Quit: Leaving]
shabius has joined #nixos
halfbit has joined #nixos
jD91mZM2 has quit [Quit: WeeChat 2.2]
civodul has joined #nixos
waleee has quit [Quit: WeeChat 2.2]
drakonis1 has joined #nixos
oida has joined #nixos
nbardiuk_ has joined #nixos
crmlt has joined #nixos
<{^_^}> [nixpkgs] @timokau merged pull request #50064 → libgit2_0_27: 0.27.5 -> 0.27.7 → https://git.io/fpLRU
<{^_^}> [nixpkgs] @timokau pushed commit from @r-ryantm to master « libgit2_0_27: 0.27.5 -> 0.27.7 (#50064) »: https://git.io/fpmzi
LtZechs has joined #nixos
LtZechs has quit [Quit: Page closed]
ubert has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @dywedir merged pull request #50278 → cargo-tree: 0.21.0 -> 0.22.0 → https://git.io/fpmCW
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/fpmge
<{^_^}> [nixpkgs] @timokau merged pull request #50067 → leatherman: 1.5.2 -> 1.5.3 → https://git.io/fpLEL
<{^_^}> [nixpkgs] @timokau pushed commit from @r-ryantm to master « leatherman: 1.5.2 -> 1.5.3 (#50067) »: https://git.io/fpmgs
LtZechs has joined #nixos
<{^_^}> [nixpkgs] @timokau merged pull request #49988 → python36Packages.netcdf4: 1.4.1 -> 1.4.2 → https://git.io/fpILO
<{^_^}> [nixpkgs] @timokau pushed commit from @r-ryantm to master « python36Packages.netcdf4: 1.4.1 -> 1.4.2 (#49988) »: https://git.io/fpmgu
pointfourone has joined #nixos
<LtZechs> Hi my name is Daniel and I'm trying to install Borg Backup with Nix. I'm running into an issue when I run (nix-env -iA borgbackup). I'm receiving the error (error: attribute 'borgbackup' in selection path 'borgbackup' not found). I also tried running (nix-env --install borgbackup) and I recieved an error as well (installing 'borgbackup-1.1.7' error: unexpected end-of-file). I'm running OS X Mojave (10.14.1 (18B75)). Any help would be
auri_ has joined #nixos
<infinisil> LtZechs: Try `nix-env -iA nixpkgs.borgbackup`
<LtZechs> For reference when I run (nix-channel --list) this is the result: (stable https://nixos.org/channels/nixpkgs-18.03-darwin)
<auri_> is this the channel to ask cabal2nix related questions in or should I try #nios-dev?
pointfourone has left #nixos [#nixos]
<auri_> s/nios/nixos/
<LtZechs> Infinisil: I get (nix-env -iA nixpkgs.borgbackup installing 'borgbackup-1.1.7' error: unexpected end-of-file)
symphorien has joined #nixos
<ottidmes> auri_: this is the right IRC channel for that
crmlt has quit [Ping timeout: 276 seconds]
maximiliantagher has quit [Remote host closed the connection]
<glasserc> To follow up on my earlier question, the reason the man pages don't get installed is because of https://github.com/NixOS/nixpkgs/issues/24717
<{^_^}> #24717 (by nixy, 1 year ago, open): Missing man pages for packages with multiple outputs
<ottidmes> auri_: as far as I know, #nixos-dev is only used by the developers of the core tooling themselves
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #50282 → Cross-Compiling: alpha-embedded Support Added → https://git.io/fpmEz
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to master: https://git.io/fpm20
<zimbatm> manveru: got a 4th email today with no link... still pursuing
<auri_> thanks, ottidmes
<auri_> I'm just here to ask if cabal2nix support for common stanzas is planned or not
<auri_> its a new feature so I don't expect it landing anytime soon but it'd be good to know
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> haskell/cabal#2832 (by hvr, 3 years ago, closed): Extend `.cabal` format with "common" definition stanzas
pie_ has joined #nixos
<manveru> zimbatm: thanks :)
<{^_^}> [nixpkgs] @c0bw3b opened pull request #50283 → netselect: 0.3 -> 0.4 → https://git.io/fpm2h
mayhewluke has quit [Ping timeout: 268 seconds]
mayhewluke has joined #nixos
<freusque> How to configure the way hydra chooses package names?
<freusque> I have my own package set, https://xgitlab.cels.anl.gov/argo/argopkgs
<freusque> and point to spec.json when using the interface
<freusque> sub-dictionaries come out as name-package
<freusque> through the hydra channel
<freusque> instead of name.package when pointing to file pkgs/default.nix
<freusque> it's a problem when writing bits of nix code where the input should be interchangeable
<freusque> it kind of pains the workflow
maximiliantagher has joined #nixos
vk3wtf has quit [Ping timeout: 252 seconds]
stepcut has quit [Remote host closed the connection]
exarkun_ has quit [Quit: ZNC 1.7.1 - https://znc.in]
<{^_^}> [nixpkgs] @iimog opened pull request #50284 → hmmer: 3.1b2 -> 3.2.1 → https://git.io/fpmVG
h30 has quit [Ping timeout: 252 seconds]
exarkun_ has joined #nixos
h30 has joined #nixos
Itkovian has joined #nixos
phreedom_ has quit [Ping timeout: 256 seconds]
phreedom has joined #nixos
asymmetric_ has quit [Ping timeout: 252 seconds]
maximiliantagher has quit [Ping timeout: 245 seconds]
maximiliantagher has joined #nixos
phreedom has quit [Ping timeout: 256 seconds]
hamishmack has joined #nixos
<obfusk> hi! I've run into something weird when not quoting a variable in a buildCommand. I hope someone can help me figure out what's going on. https://gist.github.com/obfusk/44bdca9caf5ef89e7ef0f4c985363d85
<cransom> obfusk: if you don't quote "$x", bash is going to eat your xmll since it has the raw < > in it.
aleph- has joined #nixos
<obfusk> cransom: but bash doesn't expand < or > inside a $variable. had I used ''echo ${x} > $out'', then yes (but that would have resulted in obvious errors)
<obfusk> also: I can't reproduce the behaviour if I run it by hand in nix-shell (see the gist)
<averell> how could i rollback a channel fetch assuming i cleared the locally built profiles already?
phreedom has joined #nixos
stepcut has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #50285 → python3Packages.async_generator: enable in python3.5 → https://git.io/fpmr9
<infinisil> LtZechs: I think I've seen similar errors when my network had problems
Ariakenom has quit [Quit: Leaving]
<infinisil> Try searching for this error in the issue tracker
maximiliantagher has quit [Ping timeout: 260 seconds]
<infinisil> LtZechs: The issue has certainly nothing to do with borgbackup
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<cransom> obfusk: i'm not sure where to narrow it down, but i think it's being eaten by shell expansion.
<infinisil> LtZechs: Nix could be part of the problem, but most likely it's just your network, because it works for me no problem
<infinisil> LtZechs: This chat here is #nixos, no more PM's pls
<LtZechs> infinisil: my apologies. Thanks for all the help.
LtZechs has quit [Quit: Page closed]
<infinisil> Oh already gone, I just wanted to ask for the full error and direct them to the nix issue tracker..
<mkaito> people don't know how to irc :P
sigtrm has quit [Ping timeout: 276 seconds]
<schmittlauch[m]> I've got a question on the FHS env: If programs running inside such a sandbox want to trigger a (xdg-)open of a file using its default program, does this default program have to be present within that env as well?
<schmittlauch[m]> Practical example: the nixpkgs expression for "zotero" packages it to run inside such an FHS env. I encounter that double-clicking on pdf files in that program doesn't open them.
sigtrm has joined #nixos
dycan has joined #nixos
drakonis1 has quit [Quit: WeeChat 2.3]
maximiliantagher has joined #nixos
drakonis1 has joined #nixos
romildo has joined #nixos
<schmittlauch[m]> It pretty much looks like the default PDF viewer needing to be present within that env. Adding okular to the env makes the opening work
<romildo> I want to test some nixos module using a vm, but when I start the vm with result/bin/run-nixos-vm there is kernel panic. It used to work before. Any clues?
maximiliantagher has quit [Ping timeout: 244 seconds]
maximiliantagher has joined #nixos
vk3wtf has joined #nixos
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jabranham> Does anyone have an example of the proper ports to open in the firewall to let steam in-house streaming work?
<clever> jabranham: yes
<clever> sorta
<jabranham> clever: that you can share? :-P
<clever> 72 allowedTCPPorts = [ 8080 3000 25565 ];
<clever> 73 allowedUDPPorts = [ 33445 27036 ];
<clever> jabranham: i think 25565 and 27036 was steam
<clever> i forgot to comment them when opening things up
<jabranham> clever: thanks. I can't try it right now but will use it tonight.
<clever> in my case, the "host" was a windows box, and the client was nixos, with the above config
pie_ has quit [Quit: Leaving]
<jabranham> ah. I've got nixos as the host.
<clever> i was using that feature to run a "windows only" game on nixos
kenogo has quit [Quit: WeeChat 1.9.1]
rprije has joined #nixos
<jabranham> clever: they've also got that new thing that lets linux run all/most "windows only" games. I think it's called proton? Just in case you hadn't heard of it
<clever> yep, but it doesnt work with .net based things
<__monty__> And mono isn't sufficient?
<clever> space engineers for example doesnt work
<clever> __monty__: good idea, i'll need to install it again under steam and see what mono does with it
maximiliantagher has quit [Remote host closed the connection]
maximiliantagher has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #48116 → gtk/icons: (re)build icon theme caches → https://git.io/fxcWM
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fpm6A
<drakonis1> ah wine proton
<drakonis1> fabulous
<dycan> hi all. nixos (or os) newbie here. I was trying https://nixos.wiki/wiki/Install_NixOS_on_GCE but get error https://gist.github.com/e5608917ad1a0435011288bf81ce4775 Does anyone know what's going on?
hyperfekt has joined #nixos
<hyperfekt> clever++
<{^_^}> clever's karma got increased to 45
<{^_^}> [nixpkgs] @c0bw3b opened pull request #50288 → minixml: 2.9 -> 2.12 → https://git.io/fpmiu
<obfusk> cransom: thanks for trying to help. but in that case 1) why doesn't it produce an error (I'd expect it to)? 2) why doesn't it eat the other tags? 3) why can't I reproduce it by running genericBuild by hand in a nix-shell?
<dycan> tilpner: thank you. I'll take a look if the problem is in there.
<{^_^}> [nixpkgs] @aanderse opened pull request #50289 → libcece: 4.0.2 -> 4.0.3 → https://git.io/fpmPJ
<tilpner> "Cloud Networking" is probably allowed to cause all sorts of problems, including Forbidden
<tilpner> So I'd probably just wait until Google says to try again
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
<dycan> tilpner: I see. Thank you for pointing it out.
juhulian has joined #nixos
<c0bw3b_> aanderse: not your changes but cmake should be in nativeBuildInputs (libcec pr)
c19tch has joined #nixos
<cransom> obfusk: thesea re good questions, i don't have an answer. my thought was that because that the build steps/phases are created as bash functions, thats why they are blown away. i don't have the missing link where to go from the xml to the output though. it's somewhere.
<Ashy> hmm, i'm really struggling to get pip packages working with python
dycan has quit [Remote host closed the connection]
<Ashy> in particular pyppeteer, which is not part of nixpkgs by the looks (https://github.com/miyakogi/pyppeteer)
<Ashy> what's the best way to write or generate nix derivations for a pip package that isn't packaged up yet?
<simpson> I normally patch nixpkgs, but I expect to send all of my packages upstream.
<Ashy> i'd be happy to do that, these are public pip packages that i didnt write
maximiliantagher has quit [Remote host closed the connection]
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
c0bw3b_ has quit [Remote host closed the connection]
<Ashy> simpson: to work in your own fork of nixpkgs on nixos what do you need to do?
<Ashy> add a new channel?
<simpson> Ashy: I have a git checkout of nixpkgs, and I use the $NIX_PATH environment variable to control whether I'm using it instead of system channels.
<clever> Ashy: channels are optional, if you just want to test the build, you can just run `nix-build -A hello` in the root of the clone
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
<Ashy> what i'm really after is a way to land in a nix-shell with the extra pip packages available
<Ashy> i've been doing this so far which works well: http://dpaste.com/1KVTS36
<clever> Ashy: nix-shell -I nixpkgs=$HOME/apps/nixpkgs -p ...
<Ashy> and then just: nix-shell -> python "import requests" ...
<clever> Ashy: ah, then you want either `nix-shell -I nixpkgs=$HOME/apps/nixpkgs` in the dir with your shell.nix, or change line 1 to `with import /home/clever/apps/nixpkgs {};`
<Ashy> ah ok cool
hamishmack has joined #nixos
maximiliantagher has joined #nixos
hamishmack has quit [Client Quit]
<mudri> I'm getting a `cannot open file en-latin9` error with the last few nixos-unstable releases. https://www.irccloud.com/pastebin/1hHbKMpX/
maximiliantagher has quit [Remote host closed the connection]
<mudri> It seems like a pretty weird error to not be caught by everyone, so any idea what's going wrong?
<mudri> Last checkout that works for me is `45a419ab5a23c93421c18f3d9cde015ded22e712`.
maximiliantagher has joined #nixos
<mudri> And I've tried all of the following three (as per https://channels.nix.gsc.io/nixos-unstable/history-v2 ).
<clever> mudri: does the string en-latin9 exist anywhere in your nixos config?
fragamus has joined #nixos
Zer000 has joined #nixos
<mudri> clever: i18n.consoleKeyMap = "en-latin9"
<clever> mudri: i'm guessing that that keymap isnt in the build anymore, so its not being found
<Zer000> I updated a server I have running gitlab from 18.03 to 18.09 (by adding a new nix channel and then doing a rebuild) and my gitlab database has the right schema (all the tables are there) but it is empty!
<Zer000> bye bye project metadata i guess
<clever> mudri: let me check closer...
<Zer000> It's weird because I have hydra running on the same server and it is fine. There must be a migration script in gitlab that wipes data.
<clever> Zer000: did you change the stateVersion? (or is it missing)
fragamus has quit [Client Quit]
<Zer000> It's not missing, it's set to 18.03
<Zer000> and it was not changed
<clever> Zer000: i had a problem with my hydra a few months ago during a similar upgrade, the postgresql datadir changed from /var/lib/something to /var/lib/something/1.2.3
<clever> and then the new dir was empty, so the db was gone
<clever> double-check what your postgresql is using (ps aux should help), and if the data is in a related path
<Zer000> clever, but my db is not gone. the problem is specific to gitlab. Both hydra and gitlab were on the same server and only gitlab has data loss
<Zer000> hydra is all there
<clever> Zer000: if you check in /etc/systemd/system/ for the gitlab service file, does it name the postgres db to use?
<clever> -r--r--r-- 1 root root 1449 Dec 31 1969 result/share/keymaps/i386/colemak/en-latin9.map.gz
<clever> mudri: i can confirm that this file is present on the rev you named, and missing on master
<clever> mudri: its in the `nix-build -A kbd` derivation
<clever> mudri: and a bisect points me to a commit titled: kbd: Rename some keymaps.
<clever> mudri: and line 38 of the diff reveals that your keymap was simply renamed to colemak
<Zer000> clever, it mentions it's using postgresql 10.5
<mudri> Aah, that explains it, I guess.
<mudri> Thanks for looking it up!
<mudri> I was a little surprised not to find anything in the change log.
<Zer000> my postgresql package is set to postgresql100, which was not changed either.
<mudri> But it's probably not a big deal.
romanofskiWork has joined #nixos
<clever> mudri: could file an issue to have it added, so nixos 19.03 properly warns people
MinceR has quit [Ping timeout: 272 seconds]
<Zer000> hmm I have /var/db/postgresql and /var/lib/postgresql/10.0 and the contents look the same
<clever> Zer000: if you cat the script for prestart in gitlab.service, you should see some psql usernames and dbnames
<clever> Zer000: what about last-mod times on the files in each dir?
MinceR has joined #nixos
mmercier has joined #nixos
<clever> Zer000: are there signs that one of them was just never used after the upgrade?
jabranham has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
jtojnar has quit [Quit: jtojnar]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #47690 → build GTK icon caches for some packages → https://git.io/fxIIu
<{^_^}> [nixpkgs] @matthewbauer pushed 7 commits to master: https://git.io/fpmMZ
<{^_^}> [nixpkgs] @samueldr merged pull request #47511 → gremlin-console: init at 3.3.3 → https://git.io/fxfvZ
<{^_^}> [nixpkgs] @samueldr pushed 2 commits to master: https://git.io/fpmMc
<nh2> anybody around to try and reproduce an issue for me? Simply run:
<nh2> NIX_PATH=nixpkgs=https://github.com/NixOS/nixpkgs/archive/19fc6daa537.tar.gz nix-build -E 'with import <nixpkgs> {}; python27Packages.pyopenssl' --check
<nh2> would be very appreciated!
<srhb> nh2: On it.
romanofskiWork has quit [Quit: leaving]
<{^_^}> [nixpkgs] @samueldr merged pull request #49356 → qtcurve: init at 1.9 → https://git.io/fxQ3V
<{^_^}> [nixpkgs] @samueldr pushed 2 commits to master: https://git.io/fpmMu
<srhb> nh2: Success.
<{^_^}> [nixpkgs] @samueldr merged pull request #47987 → scribusUnstable: init at 2018-10-13 → https://git.io/fxsq9
<{^_^}> [nixpkgs] @samueldr pushed 2 commits to master: https://git.io/fpmMw
<clever> nh2: ran it twice and it passed both times
<ottidmes> I am trying to silence a program, after digging in the open source bit I have determined that its the closed source bit that is logging verbose, even though its command line argument says otherwise. I tried redirecting to /dev/null, but I just checked /proc/<pid>/fd/0 and it points to some socket rather than /dev/null. I have exhausted all my potential leads to getting it silent, except for a very dirty trick
<ottidmes> of using gdb to change the output of the running process to /dev/null. Anybody got an alternative?
<{^_^}> [nixpkgs] @samueldr pushed 2 commits to release-18.09: https://git.io/fpmMK
<{^_^}> [nixpkgs] @samueldr merged pull request #50268 → firefox-bin: 63.0 -> 63.0.1 → https://git.io/fpqSn
<clever> ottidmes: where is /dev/pid/fd/0 pointing?
jperras has quit [Ping timeout: 264 seconds]
erasmas has quit [Quit: leaving]
<ottidmes> clever: 0 -> 'socket:[20855345]'
<clever> ottidmes: oh, try `lsof -p pid` and see what it claims
<ottidmes> clever: 0u unix 0x0000000000000000 0t0 20855345 type=STREAM
aleph- has quit [Ping timeout: 245 seconds]
<clever> ottidmes: ok, try doing `strace -ff -o logfiles -s 1000 <that prog>` and then search it for any `connect(0,` strings or similar
mmercier has quit [Quit: mmercier]
<nh2> srhb: hmm dammit. Will try to make another example
<clever> nh2: what is the state of your sandbox flag?
hyperfekt has quit [Ping timeout: 256 seconds]
<ottidmes> clever: -o can be an absolute path?
<nh2> clever:
<nh2> # grep sandbox /etc/nix/nix.conf
<nh2> sandbox = true
<nh2> extra-sandbox-paths =
<clever> ottidmes: i think so, but the `-ff` will also append to that string
romanofskiWork has joined #nixos
<ottidmes> clever: seems to work with abs path :)
<nh2> clever: I have the feeling that it must be the sandbox, nothing else makes sense to me, but it really looks like it's on. But maybe it isn't on despite my setting or something?
<clever> nh2: if you take the raw `.drv` from it, and `nix-copy-closure` to another machine, and then `nix-build --check /nix/store/foo.drv`, can you make it work on one, and break on another?
<{^_^}> [nixpkgs] @Mic92 merged pull request #50283 → netselect: 0.3 -> 0.4 → https://git.io/fpm2h
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fpmDU
<ottidmes> clever: unfortunately 'connect(0,' gives no matches found
<clever> ottidmes: what about just connect( ?
<{^_^}> [nixpkgs] @samueldr merged pull request #47197 → ltc-tools: init at 0.6.4 → https://git.io/fAd78
<{^_^}> [nixpkgs] @samueldr pushed 3 commits to master: https://git.io/fpmDq
<ottidmes> clever: like 6 lines
<clever> ottidmes: grep some context around them (grep -C5 'connect(') and throw it all into a pastebin
<ottidmes> clever: https://pastebin.com/EP2jYYdY I used C10 just in case
<clever> ottidmes: yep, line 11 is the smoking gun, /dev/log
<clever> lrwxrwxrwx 1 root root 28 Oct 30 09:08 /dev/log -> /run/systemd/journal/dev-log
<clever> ottidmes: its using the old syslog path, which is now a symlink to journald
hke has quit [Ping timeout: 268 seconds]
<ottidmes> clever: can I shadow that just for the application, or something like that, or what do you suggest?
<clever> ottidmes: as a quick&ugly test, what happens if you just rename /dev/log and try the app again?
<ottidmes> clever: sweet silence :)
<clever> ottidmes: i think your next option then is to either modify libredirect to support unix sockets via connect()
<clever> or just use it as an example of how to make your own LD_PRELOAD library
<clever> you can then just make connect() fail with `return -ENOENT;` if its trying to open /dev/log
ninjin has quit [Remote host closed the connection]
<clever> ottidmes: the systemd sandboxing stuff might also help, if you can block access to /dev/log somehow
<ottidmes> clever: LD_PRELOAD library option is to make my own C program that does so?
ninjin has joined #nixos
<clever> ottidmes: yeah, make your own c library, that claims to define the connect() function
<clever> then all attempts to connect (tcp, udp, unix) go to your function
<clever> then you just check the protocol (is it unix, is it /dev/log) and either run the real connect, or just fail
<ottidmes> clever: ah, nice, so it can act as a wrapper/gatekeeper
<clever> yep
<{^_^}> [nixpkgs] @samueldr merged pull request #48738 → argp-standalone: init at 1.3 → https://git.io/fxoag
<{^_^}> [nixpkgs] @samueldr pushed 3 commits to master: https://git.io/fpmym
<ottidmes> clever: you would expect that there exist something that does this for you
<ottidmes> clever++
<{^_^}> clever's karma got increased to 46
<{^_^}> [nixpkgs] @Mic92 merged pull request #49613 → openshift: 3.10 -> 3.11 → https://git.io/fxA14
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/fpmyC
<clever> ottidmes: you could also check google, now that you know the keywords
dbmikus has quit [Ping timeout: 252 seconds]
<ottidmes> clever: yeah, I am doing that right now, thanks for the help, its probably my best option, better than the gdb hack
<obfusk> cransom: I've discovered that its somehow caused by $stdenv/setup https://gist.github.com/obfusk/44bdca9caf5ef89e7ef0f4c985363d85#file-nix2-sh
EarlDeLaWarr has quit [Ping timeout: 260 seconds]
<clever> obfusk: 90% of the time, you dont want to use builder, and your just making things harder on yourself by doing so
pointfourone has joined #nixos
<clever> obfusk: your also not using `-j 1`, so the 2 builds are interleaved and the logs are harder to read
pointfourone has quit [Client Quit]
jperras has joined #nixos
hamishmack has joined #nixos
Zer000 has quit [Quit: Leaving]
<obfusk> clever: I know. I only used a builder to see where the problem came from.
__monty__ has quit [Quit: leaving]
<obfusk> clever: I used -j1 now. good one. thanks.