<Ralith> looks promising, thanks
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.03-small advanced to https://github.com/NixOS/nixpkgs/commit/6ed3db6d1b (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.03-small)
nix-gsc-io`bot has quit [(Client Quit)]
<Mic92> Ralith: (overrideCC stdenv gcc7) gives you the stdenv you want
<Ralith> that gives me a stdenv with gcc as the cc, which is not what I want
<Ralith> I want a stdenv that has clang 4 and libstdc++ from gcc 7
<Mic92> Ralith: i mean cc-wrapper.override ({stdenv=overrideCC stdenv gcc7;})
<Ralith> right
<Mic92> Ralith: then use cc-wrapper to build your clangStdenv
<Ralith> cc-wrapper does not seem to be defined in pkgs
<Ralith> the only thing I see by that name is a test
<Mic92> Ralith: it is called ccWrapperFun in all-packages
roconnor has quit [(Ping timeout: 240 seconds)]
roconnor has joined #nixos
silver_hook has quit [(Ping timeout: 240 seconds)]
<Eisfreak7> Mic92: However, it tells my that 'myautorandr' does not exists
<Ralith> Mic92: calling ccWrapperFun.override { ... } gives me "value is a function while a set was expected"
<Ralith> and calling ccWrapperFun with stdenv directly doesn't appear to do anything
sary has quit [(Ping timeout: 260 seconds)]
<Ralith> indeed it is clearly still using gcc 6 if you look at the source
<Ralith> er, the script
thc202 has quit [(Ping timeout: 240 seconds)]
<Ralith> are you sure ccWrapperFun is the thing you were talking about?
Nobabs27 has quit [(Quit: Leaving)]
<Mic92> Ralith: yes it is a function, you have to wrap your clang
<Mic92> Ralith: look how it is used in all-packages
sary has joined #nixos
<Ralith> Mic92: you said "cc-wrapper.override ({stdenv=overrideCC stdenv gcc7;})"
<Ralith> assuming by cc-wrapper you meant ccWrapperFun, nix says this is malformed.
<Ralith> with the above error
<Mic92> Ralith: maybe? (ccWrapperFun {}).override ({stdenv=overrideCC stdenv gcc7;})
Lisanna has joined #nixos
<Mic92> or (ccWrapperFun { stdenv=overrideCC stdenv gcc7; })
<Ralith> Mic92: then it complains about missing required arguments.
<Ralith> that was the first thing I tried, it doesn't do anything.
<Ralith> (assuming you supply all the other required arguments)
<Lisanna> could someone quickly help me verify my default shell config? The way it's done currently seems rather fishy, and with no official documentation on this it's hard to know if I've inscribed the right incantations into my configuration file
sary has quit [(Ping timeout: 240 seconds)]
<Ralith> it would probably save time if you tried evaluating these suggestions first
<Lisanna> it broke between 17.03 and 17.09, so just want someone to verify that I'm not crazy before I file a bug report: https://hastebin.com/kifegedeza.bash
<Lisanna> oops, forgot some parts: https://hastebin.com/iyamemeweg.bash
mudri has quit [(Ping timeout: 248 seconds)]
<Mic92> Lisanna: it could be related to: https://github.com/NixOS/nixpkgs/pull/25648
<Mic92> Lisanna: does sourcing in zshrc works?
<Lisanna> these look like they could be relevant, I'm going to try the example given
<Lisanna> not sure where zshrc is in nix
<Mic92> Lisanna: ~/.zshrc
<Lisanna> I don't have a ~/.zshrc
<Mic92> just create one
<Lisanna> ...which might be part of the problem here :)
<johnw> can the src attributes accept multiple directories?
<Lisanna> ?
<Lisanna> what?
<Lisanna> doesn't that somewhat defeat the point of all of this?
<Mic92> Lisanna: just for debugging
<Mic92> johnw: grep for `srcs` in nixpkgs
<Lisanna> I mean, if I run my interactive shell init manually it works
<johnw> Mic92: heh, that won't find many hits :)
<Lisanna> I'm going to switch it out to something like what's described in the link you gave me
<Mic92> johnw: I think src can be a list
<Mic92> but I am not sure about the semantics there
eacameron has quit [(Quit: Leaving...)]
zetok has quit [(Ping timeout: 240 seconds)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/9a70d3c28b (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
<johnw> well, it does work, but I get: unpacker produced multiple directories
Guest24636 has quit [(Ping timeout: 240 seconds)]
<Mic92> johnw: you can also fetchzip for the seconds source and then just copy from that derivation
<Mic92> johnw: pkgs/development/tools/misc/arcanist/default.nix
<Mic92> the src attribute is actually non-sense in this derivation
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #27266: antigen: init at 2.2.1 (master...antigen) https://git.io/vQirV
NixOS_GitHub has left #nixos []
<Mic92> Lisanna: ^
<Mic92> a module might follow if bugworm writes one
<Lisanna> Mic92: thanks. I'm not particularly concerned about using antigen, but glad to see it was added. I switched my programs.zsh to something similar to the original link you gave me and it's working now
sary has joined #nixos
zetok has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #30231: newsbeuter-dev: remove (master...newsbeuter-dev-remove) https://git.io/vdgkD
NixOS_GitHub has left #nixos []
gandreani has quit [(Ping timeout: 260 seconds)]
<wilornel> Weird, I can't find JDK
zetok has quit [(Ping timeout: 240 seconds)]
<wilornel> what are all these "/nix/store/qbbdgv0kx5557qj48z0harpv0gib2brc-home-manager-path/..." ?
roconnor_ has joined #nixos
roconnor__ has joined #nixos
jushur has quit [(Quit: The Borg joined forces with Skynet, Resistance is futile! Uploading has begun!)]
roconnor has quit [(Read error: Connection reset by peer)]
<Mic92> wilornel: nix-shell -p jdk --command 'echo $JAVA_HOME'
<wilornel> interesting
<wilornel> thanks Mic92
<johnw> Mic92: thanks
zetok has joined #nixos
roconnor_ has quit [(Ping timeout: 240 seconds)]
nh2 has quit [(Ping timeout: 255 seconds)]
ris has quit [(Ping timeout: 240 seconds)]
<Mic92> bed time
ison111 has quit [(Ping timeout: 248 seconds)]
Supersonic112 has quit [(Disconnected by services)]
Supersonic112_ has joined #nixos
<wilornel> good night!
Supersonic112_ is now known as Supersonic112
ison111 has joined #nixos
cmacrae has joined #nixos
csingley has joined #nixos
roconnor__ has quit [(Ping timeout: 240 seconds)]
cmacrae has quit [(Ping timeout: 240 seconds)]
Wizek_ has quit [(Ping timeout: 246 seconds)]
pxc has quit [(Ping timeout: 240 seconds)]
jushur has joined #nixos
eacameron has joined #nixos
sigmundv has quit [(Ping timeout: 260 seconds)]
erictapen has quit [(Ping timeout: 264 seconds)]
fragamus has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
lambdamu has joined #nixos
fragamus has joined #nixos
lambdamu_ has quit [(Ping timeout: 255 seconds)]
hydraz is now known as sigint
hellrazor has joined #nixos
sigint is now known as hydraz
hellrazo1 has quit [(Ping timeout: 255 seconds)]
mbrgm has quit [(Ping timeout: 240 seconds)]
mbrgm has joined #nixos
<iqubic> How can I get zsh to offer to correct the commands I have typed in incorrectly?
ebzzry has joined #nixos
Supersonic112 has quit [(Disconnected by services)]
athan has quit [(Read error: Connection reset by peer)]
Supersonic112_ has joined #nixos
Supersonic112_ is now known as Supersonic112
erasmas has quit [(Quit: leaving)]
<gchristensen> puffnfresh: I'm surprised you're not gung-ho on static typing
<iqubic> Why is it that searching for haskellPackages on the nixos website under packages yields no results
<gchristensen> I think we prune them from that list because the list isso massive
<iqubic> Is there anywhere I can look to see the full list?
<iqubic> Or at least a guide on how to use haskellPackages?
<gchristensen> I don't know, but the haskell user guide might be helpful: https://nixos.org/nixpkgs/manual/#users-guide-to-the-haskell-infrastructure
<iqubic> gchristensen: How does nix deal with new packages being added to hackage?
<gchristensen> I don't know haskell and I don't know what hackage is
<iqubic> gchristensen: Hackage is the repository for all haskell libraries that exist.
gandreani has joined #nixos
<puffnfresh> gchristensen: wat?
Fare has joined #nixos
<gchristensen> oh the package set is updated automatically periodically on some schedule, or some "long term release" kind of thing
<gchristensen> puffnfresh: wat wat?
<puffnfresh> "I'm surprised you're not gung-ho on static typing"
<puffnfresh> lol where'd you get that from?
<gchristensen> "I've come to a similar conclusion on dynamic typing. It is exactly unityping and my experience is that allowing programs with more than one type has no inherent disadvantage. Not a trade-off."
<gchristensen> back in 10 :)
gandreani has quit [(Ping timeout: 240 seconds)]
fragamus has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<hodapp> bob harper? is that you?
pxc has joined #nixos
darlan has joined #nixos
<MP2E> iqubic: I can answer that, we have a utility cabal2nix which can fetch packages from hackage and generate nix expressions from there. There is a script our haskell maintainer runs weekly/biweekly which generates nix expressions for every hackage package
<MP2E> here is said script
<gchristensen> puffnfresh: did I misinterpret?
<iqubic> And let's say that I just want to install a package and run it as a binary? I can just put haskellPackages.fooBarBaz into my systemPackages in configuration.nix?
darlan has quit [(Quit: Communi 3.5.0 - http://communi.github.com)]
<iqubic> I will be doing actual Haskell development too. It's just that my preferred irc client is written in haskell and uploaded to hackage.
<MP2E> yep, sure can. Binary packages work just the way you stated. With libraries, I tend to prefer to not include them in my system environment
<MP2E> but instead use cabal2nix --shell to generate a shell.nix file
<MP2E> and run that with nix-shell, which will grab the needed libraries
<MP2E> to be clear, you can run 'cabal2nix --shell ~/path/to/haskell-project' which has a .cabal file in it and it puts out a .nix file to stdout
eacamero_ has joined #nixos
eacameron has quit [(Read error: Connection reset by peer)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] tsaeger opened pull request #30263: pythonPackages.ofxhome: 0.3.1 -> 0.3.3 (master...tsaeger/ofxhome) https://git.io/vdaKu
NixOS_GitHub has left #nixos []
<iqubic> MP2E: Is there a way to see what version of a package is trying to be pulled in?
<iqubic> s/package/hackage package/
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] tsaeger opened pull request #30264: pythonPackages.ofxclient: 1.3.8 -> 2.0.3 (master...tsaeger/ofxclient) https://git.io/vdaKV
NixOS_GitHub has left #nixos []
roconnor__ has joined #nixos
<MP2E> there might be a better way, but what I do is check this folder https://github.com/NixOS/nixpkgs/tree/master/pkgs/development/haskell-modules
<MP2E> and grep through configuration-common.nix and configuration-ghc-#.#.x.nix
<MP2E> where #.# is the version of ghc you are using
<iqubic> How do I find those files?
<MP2E> it's in the folder I linked on github. If you have a nixpkgs local check out, you can find it under pkgs/development/haskell-modules
<MP2E> both files are under there
<iqubic> I don't have a local checkout.
<iqubic> Nor do I think I need one.
<MP2E> might be a way with nix-env, not sure. I just generally work off of the nixpkgs tree anyway, so that's been my goto
<iqubic> Is see.
<iqubic> s/Is/I/
<iqubic> MP2E: in that haskell-modules folder, how can I find the specific hackage package I'm looking for?
<MP2E> the nix expression will likely be in hackage-packages.nix
<iqubic> is that a long file?
<iqubic> Actually, it is.
<MP2E> yep it's huge, it is every nix expression concat'd together from all of the hackage packages
<iqubic> I'll just download that and then grep it.
<iqubic> Or just view raw.
Arcaelyx has quit [(Ping timeout: 248 seconds)]
Arcaelyx has joined #nixos
<iqubic> Alright, so according to hackage-packages.nix I should be pulling in glirc version 2.24, but I'm getting errors.
<iqubic> With version 2.23 some of the tests fail. With 2.24 the tests are fixed.
<iqubic> Or the Nix expressions haven't been updated to include that commit
<iqubic> or I'm not actually pulling in 2.24
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] falsifian closed pull request #30233: libgnurl: Use recommended configure flags. (master...libgnurl_configure) https://git.io/vdgLi
NixOS_GitHub has left #nixos []
Arcaelyx has quit [(Read error: Connection reset by peer)]
<MP2E> hmm, perhaps unstable is behind master currently? it looks like our haskell package set was updated today
frankqux has quit [(Remote host closed the connection)]
Arcaelyx has joined #nixos
<iqubic> I have a work around, but I don't like it.
<iqubic> just adding this to systemPackages works (pkgs.haskell.lib.overrideCabal pkgs.haskellPackages.glirc (drv: { doCheck = false; }));
<iqubic> But that's ugly as ever
<MP2E> ah yep. Alternatively : (pkgs.haskell.lib.dontCheck pkgs.haskellPackages.glirc)
<MP2E> just shorthand for what you wrote
<iqubic> Oh. What I wrote is something clever gave me a few days ago.
<MP2E> ah, well it's a good way to know as well, as it's a lot more general
<iqubic> This is why this the glirc client fails: https://paste.pound-python.org/show/Zi5o6e3EbP7G50Y6DGuN/
<iqubic> And this is the commit that fixes these errors: https://github.com/glguy/irc-core/commit/f8a3c86f2ee9198002b05dd0c7962db813e7b2a5
<iqubic> So, this is an issue.
<iqubic> Not sure what to do, other than disable testing for now.
Arcaelyx_ has joined #nixos
<puffnfresh> gchristensen: I think so maybe :)
Arcaelyx has quit [(Ping timeout: 255 seconds)]
cmacrae has joined #nixos
cmacrae has quit [(Ping timeout: 255 seconds)]
<iqubic> MP2E: There seems to be something a little wrong with this glirc package. It's nothing that I can't work around. Just a bit odd
pxc has quit [(Ping timeout: 240 seconds)]
pxc has joined #nixos
<MP2E> just tested building glirc off of master, it seems to work fine with no overrides, but it pretty much confirms that unstable is behind master
<MP2E> i think overriding the test for now should be safe
<MP2E> also going to try out the client, I haven't tried another irc client in years, still on irssi heh
Fare has quit [(Quit: Leaving)]
Wizek has quit [(Quit: Connection closed for inactivity)]
fragamus has joined #nixos
<iqubic> MP2E: The creator, glguy hangs out in #haskell if you have any questions.
<iqubic> MP2E: I'm not using unstable.
<iqubic> I am using standard nixos on channel 17.09 Yet I still have issues trying to build this package
<iqubic> Do you know what's up with this?
<iqubic> I'm working on homework right now, so I'll be in and out periodically
<MP2E> ah I see. May have just been missed, worth filing a bug against release 17.09
<MP2E> from what i recall we wanted no failing packages on hydra
<MP2E> actually there might be a bug filed for that larger task already hm
<iqubic> I'll file the bug when I'm done with homework.
<iqubic> MP2E: what version of Nixos did you use to build glirc?
<MP2E> git master as ~4 days ago
<MP2E> so not the release branch, basically unstable
<hyper_webirc> gchristensen: 2 passes done, no errors
<iqubic> Alright so release 17.09 is still bugged?
<iqubic> Can I try updating my channel to the latest version of 17.09? Not sure that's possible.
* iqubic is new to nixos
<MP2E> 'nix-channel --update' will grab updates to the channel if there are any
<iqubic> There are updates. Not sure if it will solve my current problems
pxc has quit [(Ping timeout: 255 seconds)]
<iqubic> Nope. Still failing in the exact same way.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ralith opened pull request #30266: matrix-synapse: 0.22.1 -> 0.23.1 (master...matrix-synapse) https://git.io/vdaPD
NixOS_GitHub has left #nixos []
<iqubic> So, I guess I'll have to disable tests for now.
<iqubic> Want me to submit a bug report for this?
<MP2E> yeah I think that's a good idea
<iqubic> Also, nix is complaining about missing documentation for a large number of haskell packages
iqubic has quit [(Quit: Page closed)]
pxc has joined #nixos
iqubic has joined #nixos
<iqubic> When I get to a stopping point in my homework, I'll write up a bug report.
<iqubic> What should it say?
<fearlessKim[m]> is it advised to download python packages from github or pypi (when writing a derivation) ? pypi just has a wheel there https://pypi.python.org/pypi/pygccxml
<iqubic> MP2E: What exactly is the issue? That stable 17.09 is not being updated with the results of the hackage nix expression updates?
Kim has joined #nixos
<MP2E> the glirc version on the release branch fails to build because of failing tests, and can be cherry picked to 2.14 or simply have the tests overiden (whatever the release policy dictates, I'd guess)
<iqubic> MP2E: Why not just change the release branch so that it pulls version 2.24?
<iqubic> That seems like the best thing to do. Version 2.24 is working just fine all around.
<iqubic> But if it's just this one package, should I really make a bug report? Seems like a minor thing to report.
reinzelmann has joined #nixos
gandreani has joined #nixos
bambo has joined #nixos
bambo has quit [(Client Quit)]
<iqubic> How do I get zsh to offer corrections for mistyped commands? Somthing like this: "zsh: correct 'biz' to 'baz' [nyae]? "
gandreani has quit [(Ping timeout: 255 seconds)]
hamishmack has quit [(Quit: hamishmack)]
MP2E has quit [(Quit: bbl)]
hamishmack has joined #nixos
athan has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl closed pull request #30257: enlightenment: 0.21.9 -> 0.21.10 (master...upd.enlightenment) https://git.io/vd2ha
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 2 new commits to master: https://git.io/vdaMJ
<NixOS_GitHub> nixpkgs/master 6affc42 Peter Hoeg: vivaldi: 1.12.995.36 -> 1.12.995.38
<NixOS_GitHub> nixpkgs/master a130b56 Peter Hoeg: vivaldi: do not build broken proprietary codecs by default
NixOS_GitHub has left #nixos []
reinzelmann has quit [(Quit: Leaving)]
jb55 has quit [(Ping timeout: 240 seconds)]
<jluttine> will we see nixos on librem 5? :) https://puri.sm/shop/librem-5/
<iqubic> I like the concept of that phone.
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/d9a03761de (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [(Client Quit)]
<iqubic> Suprised that 7 people paid nearly 20 thousand dollars though.
<iqubic> s/paid/funded/
LysergicDreams has quit [(Read error: Connection reset by peer)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl opened pull request #30268: ocamlPackages.camlp5: 7.01 -> 7.02 (master...camlp5-7.02) https://git.io/vdaMA
NixOS_GitHub has left #nixos []
cmacrae has joined #nixos
fragamus has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
Arcaelyx_ has quit [(Ping timeout: 258 seconds)]
Arcaelyx has joined #nixos
cmacrae has quit [(Ping timeout: 240 seconds)]
peterzky has joined #nixos
Khetzal has quit [(Remote host closed the connection)]
vandenoever has joined #nixos
Khetzal has joined #nixos
<Ralith> s/people/organizations/
justbeingglad has joined #nixos
justbeingglad has left #nixos []
roconnor__ has quit [(Ping timeout: 240 seconds)]
<mbrgm> fpletz: you upgraded unifi controller from the stable 5.5.x line to the stable-candidate 5.6.x line.. do you want to keep the stable-candidate line in nipxkgs?
<hyper_ch> does nixos-generate-config generate also configs that contain according nvidia stuff?
MichaelRaskin has left #nixos []
proteusguy has quit [(Ping timeout: 246 seconds)]
ixxie has joined #nixos
vandenoever has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vdayy
<NixOS_GitHub> nixpkgs/master 0b5fc7f volth: haxe: 3.4.3 -> 3.4.4
NixOS_GitHub has left #nixos []
gandreani has joined #nixos
gandreani has quit [(Ping timeout: 240 seconds)]
Mateon1 has quit [(Remote host closed the connection)]
Mateon1 has joined #nixos
griff_ has joined #nixos
griff_ has quit [(Client Quit)]
endformationage has quit [(Quit: WeeChat 1.9.1)]
Ivanych has joined #nixos
peterzky has quit [(Remote host closed the connection)]
bin7me has joined #nixos
sirkha has quit [(Remote host closed the connection)]
sirkha has joined #nixos
reinzelmann has joined #nixos
fendor has joined #nixos
b has quit [(Quit: Lost terminal)]
civodul has joined #nixos
<sphalerite> hyper_ch: the default is to use nouveau which requires no additional config
ertes has quit [(Quit: Bye!)]
nikola_i has joined #nixos
ixxie has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
nikola_ has joined #nixos
<hyper_ch> sphalerite: problem was, xserver didn't start... when I added videoDriver = [ "nvidia" ] then xserver started and kde/sddm gave an error about opengl
nikola__i has joined #nixos
nikola_ has quit [(Client Quit)]
nikola_i has quit [(Client Quit)]
<sphalerite> Any more specific than "an error about opengl"..?
<hyper_ch> sphalerite: it's hard to be specific when you're not at that notebook anymore
<sphalerite> And it's hard to help without more specific information
<sphalerite> jluttine: first we need to see that phone :p
Kingsquee has joined #nixos
<sphalerite> I really want one but it's so expensive (student budget) and so long until the actual release :(
<sphalerite> By the time it's out I'll probably be working full-time and affording it will be less of a problem
<hyper_ch> sphalerite: but I thought you can mind-read over the internet :(
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bjornfor opened pull request #30270: nixos: run parted with --script option (master...nixos-parted-script) https://git.io/vdaQG
NixOS_GitHub has left #nixos []
jacob has joined #nixos
jacob is now known as Guest95219
fendor has quit [(Ping timeout: 255 seconds)]
<layus> I have a strange bug with nix-shell & nix-env output
leat has quit [(Ping timeout: 255 seconds)]
<layus> The curl progress meters are all scrambled, as if they were using wrong COLUMN information
<layus> and each download was using a different COLUMN on top of that
<layus> Anyone observed the same issue ?
kkini has quit [(Remote host closed the connection)]
kkini has joined #nixos
Mateon1 has quit [(Ping timeout: 255 seconds)]
ixxie has joined #nixos
ertes-w has joined #nixos
Jackneilll has quit [(Quit: Leaving)]
Itkovian has joined #nixos
Jackneill has joined #nixos
mc2 has joined #nixos
eacamero_ has quit [(Remote host closed the connection)]
zzamboni has joined #nixos
zzamboni has quit [(Client Quit)]
zzamboni has joined #nixos
<sphalerite> layus: it's just because multiple curls are running at the same time and don't coordinate their output
<sphalerite> Only "solution" I know of is -Q
nikola__i has quit [(Ping timeout: 246 seconds)]
cmacrae has joined #nixos
<sphalerite> I think new nix has better progress reporting too
<layus> I know the can overlap, this has always been the case.
JosW has joined #nixos
<layus> My issue is that the output is not just an overlap, it ends up with an unreadable mess
<layus> Trying to get a pastebin to show it...
jtojnar has left #nixos []
cmacrae has quit [(Ping timeout: 255 seconds)]
pxc has quit [(Ping timeout: 260 seconds)]
jtojnar has joined #nixos
<layus> See https://paste.rs/sQc for example
JosW has quit [(Ping timeout: 240 seconds)]
<layus> Long columns of 1 char are just ruining my terminal scrollback buffer
<layus> but indeed, -Q would help here :-)
aanderse has quit [(Ping timeout: 240 seconds)]
joshie has quit [(Quit: No Ping reply in 180 seconds.)]
leat has joined #nixos
joshie has joined #nixos
jensens has joined #nixos
nschoe has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vda55
<NixOS_GitHub> nixpkgs/master b9d276b Vincent Laporte: antlr4: enable more platforms
NixOS_GitHub has left #nixos []
fragamus has joined #nixos
<layus> sphalerite, did you ever see something like https://paste.rs/sQc on your own terminal ?
zzamboni has quit [(Quit: Leaving.)]
<sphalerite> Oh. No, not quite like that.
<layus> sphalerite, thanks, so there is really something strnage going on...
<layus> *strange
aanderse has joined #nixos
zzamboni has joined #nixos
<fearlessKim[m]> sphalerite: did you ever get a fully black screen on startup with your XPS ? like even the DELL Logo never appears ?
thc202 has joined #nixos
zzamboni has quit [(Ping timeout: 240 seconds)]
<sphalerite> fearlessKim: nope...
<fearlessKim[m]> welll... fuck xD
zzamboni has joined #nixos
JosW has joined #nixos
mudri has joined #nixos
zzamboni has quit [(Ping timeout: 264 seconds)]
silver_hook has joined #nixos
dywedir has joined #nixos
nikola__i has joined #nixos
jtojnar has quit [(Remote host closed the connection)]
<ij> I can't install a haskell package if its tests fail. That's so unusual and a bit silly.
zzamboni has joined #nixos
<layus> You can always diasable the tests
<layus> But I find the required steps cumbersome
<ij> Is ~/.nix-profile a symlink to a derivation made with pkgs.buildEnv? Just guessing. If not, what's the buildEnv for?
zzamboni has quit [(Ping timeout: 255 seconds)]
zzamboni has joined #nixos
<layus> yes, it is. except that it uses the buildEnv provided by nix itself.
zzamboni has quit [(Client Quit)]
<layus> Both buildEnv are quite simmilar anyway
zzamboni has joined #nixos
zzamboni has quit [(Client Quit)]
pxc has joined #nixos
zraexy has quit [(Ping timeout: 258 seconds)]
goibhniu has joined #nixos
hyper_webirc has quit [(Ping timeout: 260 seconds)]
zzamboni has joined #nixos
<ertes-w> what's the equivalent to rc.local? i need a bunch of commands run just before login
pie_ has quit [(Ping timeout: 255 seconds)]
corpix has quit [(Remote host closed the connection)]
zzamboni has quit [(Client Quit)]
<ertes-w> in fact ideally just before network manager is started
otwieracz has left #nixos []
<layus> ertes-w, you should use systemd to do that
<ij> Is the /bin empty in nixos?
<layus> yes
<ij> I should really boot a VM. Are there any skinny nixos VMs available?
<layus> ij, except for /bin/env and /bin/sh
<ij> I found a vbox appliance that had KDE.
mw has joined #nixos
zzamboni has joined #nixos
<layus> nix/nixos allows to build a vm if you have nix installed
<ertes-w> ok
nh2 has joined #nixos
corpix has joined #nixos
vandenoever has joined #nixos
vandenoever has quit [(Changing host)]
vandenoever has joined #nixos
<layus> forget that. It's much simpler to build the vm using nix.
<layus> Looking for a good tuto...
<layus> ertes-w, or just download the virtualBox appliance on https://nixos.org/nixos/download.html
<layus> stupid me ;)
<ertes-w> layus: hmm? why?
<layus> I was trying to make you compile an ova when one is already available on the official page
<ertes-w> what's systemd's term for a "one-shot" service?
<ij> I've seen this, I specifically added "skinny", because it's very slow to run KDE alongside the host OS I'm running now.
<ertes-w> 'service' doesn't seem to fit, because it wants a process
<ij> What is it that you're about to run? Not a process?
zraexy has joined #nixos
<ertes-w> no, i need to set up a bridge
<ertes-w> it's created by networking.bridges, but the interfaces i need to add to it are dynamic
<ij> How are you going to do that?
pie_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] pasqui23 opened pull request #30271: deja-dup:add dconf dependency (master...patch-3) https://git.io/vdaAA
NixOS_GitHub has left #nixos []
whald has joined #nixos
zzamboni has quit [(Quit: Leaving.)]
<ertes-w> ah, i figured it out
whald has quit [(Remote host closed the connection)]
<layus> ij, for building custom vms, see https://nixos.org/nix-dev/2016-July/020907.html which apparently I wrote myself ;-)
<ij> docs sure are scarce
itsn1x has joined #nixos
whald has joined #nixos
itsn1x has quit [(Quit: Leaving)]
<whald> hi! i'm using zfs on linux and want to limit my ARC size, is passing zfs_arc_max using boot.extraModprobeConfig the preferred way for this or is there a more specific knob to turn?
Lisanna has quit [(Ping timeout: 260 seconds)]
jtojnar has joined #nixos
adisbladis has quit [(Changing host)]
adisbladis has joined #nixos
hellrazor has quit [(Ping timeout: 248 seconds)]
ison111 has quit [(Ping timeout: 240 seconds)]
whald has quit [(Remote host closed the connection)]
arjen-jonathan has joined #nixos
vandenoever has quit [(Ping timeout: 248 seconds)]
mortum5 has joined #nixos
Acou_Bass has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
mudri has quit [(Ping timeout: 255 seconds)]
<csingley> ls
freusque has joined #nixos
Acou_Bass has joined #nixos
proteusguy has joined #nixos
proteusguy has quit [(Ping timeout: 260 seconds)]
peti has joined #nixos
<peti> Hi there! Is by any chance someone around with a working docker installation who can test a docker image I made for the upcoming Haskell eXchange conference? I'd be particularly interested in knowing whether the image works correctly for people using docker on non-Linux system, i.e. Darwin.
<peti> Basically, all I'd need is you to run "docker run --interactive --tty psimons/hex2017" and please confirm that the resulting VM has a properly working "nix-env" etc.
<peti> The purpose of that image is to give participants of our Haskell/Nix workshop an easy way to access Nix during the conference-
eacameron has joined #nixos
<clever> woffs: you man want to instead add zfs.zfs_arc_max=12345 to the kernel params
<tilpner> 420MB? :c
<peti> tilpner: It's Nix + Nixpkgs 17.09 + ghc + some core Haskell dev tools.
<tilpner> I hope your workshop network can handle that
<peti> I hope the participants come into the workshop with that image already installed and working. :-)
ebzzry has quit [(Ping timeout: 240 seconds)]
<tilpner> Shallow testing says it works
<ij> Yeah, nix-env -q works.
ebzzry has joined #nixos
<peti> tilpner, ij: Which host OS and docker version did you use?
ixxie has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
<ij> a 2-day old latest arch, docker 17.07.0-ce
<peti> ij: Very cool, thank you.
<tilpner> peti - NixOS 17.09, Docker 17.09.0-ce
MercurialAlchemi has quit [(Ping timeout: 255 seconds)]
<peti> tilpner: thank you very much.
eacameron has quit [(Ping timeout: 240 seconds)]
mc2 has quit [(Read error: Connection reset by peer)]
<tilpner> (For some reason with Docker client version 17.06.2-ce, not sure if that's right)
<ij> I'm trying to cook up a good docker image with pkgs.dockerTools, but it's very cumbersome and I'm not sure anyone's done it right.
MercurialAlchemi has joined #nixos
<tilpner> ij - Any problems in particular?
<ij> Yeah, the /bin is full of things from coreutils, which I don't know why it should be there.
<tilpner> peti - Just FYI, Alpine sometimes surprises me and needs a few workarounds. Tools often test better for Debian
sigmundv has joined #nixos
<tilpner> (So if less surprises are more important than image size... debian)
<ij> The big real problem is system activation, because /run is not present. I've been digging through boot stage and the activation script to figure it all out lately.
<ij> /run is not present -> neither is locale archive, so UTF-8 doesn't work.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/vdVfs
<NixOS_GitHub> nixpkgs/master ef1cb94 Peter Hoeg: netalyzr: use makeWrapper i/o custom script
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] gebner pushed 1 new commit to master: https://git.io/vdVfC
<NixOS_GitHub> nixpkgs/master a936d9d Gabriel Ebner: isabelle: 2016-1 -> 2017
NixOS_GitHub has left #nixos []
<tilpner> ij - What fromImage are you using?
<ij> I want to cook up a new one.
<sphalerite> ertes-w: systemd's term for it is oneshot service :p
<tilpner> peti - Oh, and "apk add --no-cache"
zzamboni has joined #nixos
vandenoever has joined #nixos
vandenoever has quit [(Changing host)]
vandenoever has joined #nixos
zzamboni has quit [(Remote host closed the connection)]
zzamboni has joined #nixos
<ertes-w> peti: your image works for me, as far as i can tell
whald has joined #nixos
<ertes-w> peti: i tried nix-env, nix-channel and nix-shell
xdelv has quit [(Ping timeout: 248 seconds)]
<ertes-w> sphalerite: thanks, i already figured it out =)
Wizek has joined #nixos
Wizek_ has joined #nixos
mortum5 has quit [(Ping timeout: 240 seconds)]
isHavvy has quit [(Ping timeout: 240 seconds)]
vandenoever has quit [(Ping timeout: 240 seconds)]
oever has joined #nixos
<ertes-w> peti: minor note: the package collection is called 'pkgs' in your image, which is different from both NixOS and nix installed through the curl-bash pipe
Havvy has joined #nixos
<ertes-w> peti: when people install NixOS/nix for themselves and try to use 'nix-env -iA', they might get confused by that
ixxie has joined #nixos
reinzelmann has quit [(Ping timeout: 240 seconds)]
mortum5 has joined #nixos
pie_ has quit [(Ping timeout: 240 seconds)]
<ij> Does nix scan the contents of derivations for the store hashes to determine dependencies?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] roberth opened pull request #30272: arelle: 2017-08-24 -> 2017-10-07 (master...arelle-2017-10-07) https://git.io/vdVTu
NixOS_GitHub has left #nixos []
<tilpner> ij - Yes, let me get the SO link
pxc has quit [(Ping timeout: 255 seconds)]
mw has left #nixos []
pie_ has joined #nixos
fragamus has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<ij> That's just only partly reliable though, right? The binary could've encoded the hash and still use it later on.
<tilpner> Yes, though that would be weird
<layus> It is not weird for java applications for example, where everything is in a jar
<layus> And is real problem in soem cases
<layus> But it works well enough in practice
<tilpner> Oh, compression :/
<tilpner> Though that sounds pretty easy to work around. Just also scan the contents of popular archive formats?
<layus> For the know bad packages, just add a plain file that references the runtime dependencies.
<ij> You'll never be able to eliminate completely.
<layus> tilpner, yes, but there are even simpler work-arounds, like the above
<tilpner> ij - If that only happens for five packages out of all of nixpkgs, then that would be good enough and you can use layus' workaround for the rest
ebzzry has quit [(Ping timeout: 258 seconds)]
<layus> There are also issues the other way around, where packages keep references to unused build inputs
pxc has joined #nixos
<layus> this is the reason why nix needs to strip all the binaries, otherwise debug info keeps references to headers in dev inputs for example
oever has quit [(Remote host closed the connection)]
<ij> buildImage.contents copies the contents to / + closure to /nix/store. This clutters the /bin, which I'd like to keep empty.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] edef1c opened pull request #30273: solvespace: remove stray newline escape (master...solvespace-escaped-newline) https://git.io/vdVIV
NixOS_GitHub has left #nixos []
<tilpner> I can't figure out what the difference between module "require" and module "imports" is, and it's not documented anywhere :/
<tilpner> require is not considered in closeModules, but what does that mean in practice? When would one prefer one over the other?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] edolstra pushed 2 new commits to master: https://git.io/vdVL5
<NixOS_GitHub> nixpkgs/master ee9a15b Eelco Dolstra: Set $NIX_DEBUG_INFO_DIRS when environment.enableDebugInfo is enabled...
<NixOS_GitHub> nixpkgs/master 30a1b94 Eelco Dolstra: gdb: Remove --with-separate-debug-dir...
NixOS_GitHub has left #nixos []
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
phreedom has joined #nixos
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
hellrazor has joined #nixos
fragamus has joined #nixos
<tilpner> Is that just a legacy thing?
<tilpner> While looking again, it seems like unifyModuleSyntax makes closeModules also consider require, so I'm back to "no difference" :/
Wizek_ has quit [(Ping timeout: 248 seconds)]
__Sander__ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] edolstra pushed 1 new commit to master: https://git.io/vdVmV
<NixOS_GitHub> nixpkgs/master 9df79de Eelco Dolstra: Enable command-not-found...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] makefu opened pull request #30274: radare2: 1.6.0 -> 2.0.0 (master...pkgs/radare2/update) https://git.io/vdVmK
NixOS_GitHub has left #nixos []
<makefu> btw is there an update script for packages which simply use github releases?
<ixxie> makefu: *someone* was speaking about it
pxc has quit [(Ping timeout: 264 seconds)]
<makefu> FRidh[m]: you know which PR you referred to 20 days ago regarding automated update of individual packages? more concretely i'd like to have a short script which updates and tests radare2 so i don't have to do it manually
<makefu> there also was a proposal for having a test phase which simply tries to run an executable and checks if the output matches
Wizek_ has joined #nixos
simukis has joined #nixos
hellrazor has quit [(Ping timeout: 240 seconds)]
tmaekawa has joined #nixos
hellrazor has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] edolstra pushed 1 new commit to master: https://git.io/vdVYH
<NixOS_GitHub> nixpkgs/master 67c3eab Eelco Dolstra: linux: 4.9.53 -> 4.9.54
NixOS_GitHub has left #nixos []
reinzelmann has joined #nixos
tmaekawa has quit [(Client Quit)]
iyzsong has joined #nixos
zzamboni has quit [(Quit: Leaving.)]
hellrazor has quit [(Ping timeout: 240 seconds)]
hellrazor has joined #nixos
zzamboni has joined #nixos
Kingsquee has quit [(Quit: https://i.imgur.com/qicT3GK.gif)]
seku has joined #nixos
<sphalerite> tilpner: fwiw I'd never heard of require
<tilpner> sphalerite - MichaelRaskin mentioned it yesterday. I'll just him next time he's here
<tilpner> *just ask him
tmaekawa has joined #nixos
<gchristensen> clever: I'm surprised more shell.nix's don't specify a per-shell BASH_HISTORY
tmaekawa has quit [(Quit: tmaekawa)]
peacememories has joined #nixos
iyzsong has quit [(Read error: Connection reset by peer)]
erictapen has quit [(Ping timeout: 248 seconds)]
<adisbladis> gchristensen: Actually that's a great idea!
<makefu> adisbladis: i have that kind of pattern in a lot of my shell.nix files
<gchristensen> export HISTFILE=$(pwd)/.bash_hist
peti has left #nixos ["WeeChat 1.5"]
Havvy has quit [(Ping timeout: 255 seconds)]
whald has quit [(Remote host closed the connection)]
whald has joined #nixos
erictapen has joined #nixos
Havvy has joined #nixos
<tilpner> Why not HISTFILE="${builtins.toString ./.}/.bash_hist"?
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<makefu> tilpner: this is a better approach, certainly
peacememories has joined #nixos
<gchristensen> tilpner: because I didn't have you to make it better when I wrote it :)
<tilpner> Aww :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] gebner pushed 1 new commit to master: https://git.io/vdVZi
<NixOS_GitHub> nixpkgs/master 79ae9be Gabriel Ebner: libqalculate, qalculate-gtk: 2.0.0 -> 2.1.0
NixOS_GitHub has left #nixos []
<adisbladis> You just usually put that in shellHook ?
<gchristensen> eyah
peterzky has joined #nixos
pie_ has quit [(Ping timeout: 255 seconds)]
<sphalerite> Great idea, never thoguht of that!
<sphalerite> Possibly it could be in the derivation itself rather than the shell hook? Since it's just an environment variable?
<gchristensen> sure
<gchristensen> all of that could be, really
<sphalerite> don't know if there are any particular advantages or disadvantages to it
<sphalerite> it's not really a derivation you'd ever build, is it
<gchristensen> no
<gchristensen> speaking of which, let me show you another one I commonly add:
truh has joined #nixos
<sphalerite> :)
<gchristensen> I also frequently add "quick start" docs to the start of a nix-shell
Capprentice has joined #nixos
zzamboni has quit [(Quit: Leaving.)]
griff_ has joined #nixos
zzamboni has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/a982b20c36 (from 3 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
nix-gsc-io`bot has quit [(Client Quit)]
zzamboni has quit [(Client Quit)]
pie_ has joined #nixos
griff_ has quit [(Ping timeout: 240 seconds)]
mortum5 has quit [(Ping timeout: 240 seconds)]
griff_ has joined #nixos
b has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/2231575a7d (from 3 days ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
nix-gsc-io`bot has quit [(Client Quit)]
python476 has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09 advanced to https://github.com/NixOS/nixpkgs/commit/2231575a7d (from 3 days ago, history: https://channels.nix.gsc.io/nixos-17.09)
nix-gsc-io`bot has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jaltek opened pull request #30276: shutter: 0.93.1 -> 0.94 (master...shutter-0.94) https://git.io/vdVCH
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] abbradar pushed 1 new commit to master: https://git.io/vdVWP
<NixOS_GitHub> nixpkgs/master 244f347 Jean-Philippe Bernardy: pythonPackages.tensorflow: repair cuda-dependent variant...
NixOS_GitHub has left #nixos []
kuznero has joined #nixos
<Kim>
griff__ has joined #nixos
<kuznero> Hi All! I have a problem on latest 17.09. When running docker swarm service for rabbitmq I cannot access management plugin (in web browser). But if I run as unmanaged container (with docker run -d) it is working absolutely fine. Have anybody see such behavior? I know for fact that that same thing work on 17.03.
griff_ has quit [(Ping timeout: 248 seconds)]
griff__ is now known as griff_
<kuznero> Thought of asking before issuing a ticket
pxc has joined #nixos
<kuznero> Strange thing is that accessing other exposed ports through http for other images works fine with managed containers. So, for some reason it is only related to rabbitmq
<sphalerite> Is that behaviour nixos-specific?
<kuznero> I'm afraid this narrows down the audience that can help. But maybe you have some guesses?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] basvandijk opened pull request #30277: [NixOS-17.09] Fix graphite crash by upgrading from 0.9.15 -> 1.0.2 (release-17.09...graphite-1.0.2_nixos-17.09-small) https://git.io/vdV8t
NixOS_GitHub has left #nixos []
<kuznero> sphalerite: yes, I can only see this on nixos. But to be fare I am only running old version of docker on RHEL
<kuznero> So, it might be both Nix 17.09 as well as simply new version of docker.
<kuznero> But what it is not is it is not a new version of rabbit (I saw it was working on 17.03 before)
<gchristensen> kuznero: I mean it sounds like an issue with how your swarm is setuup?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus opened pull request #30278: minikube: 0.22.2 -> 0.22.3 (master...minikube_0_22_3) https://git.io/vdV8V
NixOS_GitHub has left #nixos []
pxc has quit [(Ping timeout: 240 seconds)]
<kuznero> gchristensen: I am running very simple set of commands (this is a dev station - single noded swarm cluster for testing). `docker swarm init && docker network create ci -d overlay && docker service create --detach --name rabbit -p 15672:15672 ... rabbitmq:3.6.12-management`
<kuznero> gchristensen: there is very little room for something to go wrong
<kuznero> And again, same thing was working before.
<gchristensen> yeah but you're saying it works fine on nixos until you add swarm, right?
<kuznero> nope, until I upgraded to 17.09
<kuznero> I was always using swarm
<gchristensen> yes but
<gchristensen> "But if I run as unmanaged container (with docker run -d) it is working absolutely fine."
<gchristensen> ^ is that on nixos 17.09?
<kuznero> yes, it is both. So, on 17.03 it is working both as managed and unmanaged container. But on 17.09 it only works as unmanaged container.
<hodapp> hm. I need to upgrade to 17.09
<hodapp> whoa, this might be the first Nix version that has some of my patches in it! \o/
<kuznero> hodapp: And I'm afraid I will need to downgrad ;(
<gchristensen> kuznero: this forces me to think something about 17.09 + docker swarm is breaking it
<kuznero> gchristensen: agree
<gchristensen> kuznero: I've historically had many problems of docker breaking networking features between minor versions
<kuznero> gchristensen: is there a way to force nixos to install previous version of docker chain while still use 17.09?
<gchristensen> docker chain?
<kuznero> docker service, etc
<kuznero> sorry, I meant docker toolchain
<hodapp> https://nixos.org/nixos/manual/index.html#sec-upgrading is this all I need to upgrade from 17.03 to 17.09?
<gchristensen> hodapp: should be
<hodapp> no database version upgrades or whatever?
<gchristensen> hodapp: oh one sec
<kuznero> hodapp: `sudo nix-channel --add https://nixos.org/channels/nixos-17.09 nixos && sudo nixos-rebuild switch --upgrade`
Capprentice has quit [(Ping timeout: 260 seconds)]
<kuznero> gchristensen: do you think I should open an issue for this problem?
<gchristensen> kuznero: try virtualisation.docker.package = pkgs.docker_17_06
<gchristensen> back in 30
<gchristensen> if that doesn't fix it, open an issue sure
<kuznero> Ah! thanks, gchristensen
<gchristensen> I made ea script to run as a service which hcreates a file if your nix channel is out of date: https://gist.github.com/grahamc/d763b02bd660c59ed9a74d4731bb5bc2 i3status can update the status bar depending on this file
<gchristensen> I'll make a proper service tonight / tomorrow
nslqqq has quit [(Ping timeout: 240 seconds)]
Mateon1 has joined #nixos
efx has joined #nixos
<efx> what is the proper way to modify another derivation's folder from a later one? I'm working on bumping a version of modsecurity (an apache httpd module), but keep getting build errors from permission denied
<efx> I am building on macOS in a multiuser environment
truh has quit [(Remote host closed the connection)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<efx> err, sorry, new here. Seems better I post this on nix-darwin
truh has joined #nixos
<viric> what if a NIX_PATH nixpkgs overlay defines a package 'X', and a ~/.config overlay overrides it? Which one wins?
<viric> NIX_PATH X package or .config X package?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mdorman opened pull request #30279: Fix `pkgconfig` reference for `emacs-packages.nix` (master...pdftools-pkgconfig-fixup) https://git.io/vdV0n
NixOS_GitHub has left #nixos []
<tilpner> NIX_PATH wins
<viric> so, only one overlays directory is read?
<viric> not more than one?
<tilpner> I thought so, but now I'm not sure anymore
<viric> because you read overlays code? :)
<hodapp> "error: cannot download flash_player_ppapi_linux.x86_64.tar.gz from any mirror" whew, good thing it's only Flash
<kuznero> hodapp: try `nixpkgs.config = { allowUnfree = true; firefox.enableAdobeFlash = false; };`
m0rphism has quit [(Quit: WeeChat 1.9.1)]
infinisil_ has joined #nixos
mbrgm has quit [(Ping timeout: 240 seconds)]
<tilpner> viric - Yes, seems I wasn't wrong
<viric> tilpner: I agree, I just read it
nslqqq has joined #nixos
mbrgm has joined #nixos
jtojnar has quit [(Quit: jtojnar)]
jtojnar has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] woffs opened pull request #30280: nix-daemon: mention speedFactor in example (master...speed) https://git.io/vdVES
NixOS_GitHub has left #nixos []
<jtojnar> gchristensen: could you check the geary update, if you have time https://github.com/NixOS/nixpkgs/pull/30228
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
peacememories has joined #nixos
<michaelpj> tilpner, viric: yes, only one path is searched for overlays. I updated that bit of documentation recently to try and make this clearer, is it still confusing?
fragamus has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
eacameron has joined #nixos
<tilpner> michaelpj - Do you have the old text still available?
<tilpner> michaelpj - I was sure NIX_PATH took precedence, and I assume that's because the old phrasing explicitly promised that. The new one doesn't
<michaelpj> the code itself definitely hasn't changed
<michaelpj> the precedence is: argument passed to nixpkgs; NIX_PATH; ~/.config/nixpkgs/overlays
<michaelpj> which is what the manual now says
<tilpner> Yes, that's not the issue, we both read impure.nix after looking at the manual and deciding it wasn't explicit enough
erictapen has quit [(Ping timeout: 240 seconds)]
<woffs> I have a question regarding haskell modules from hackage. My amqp-utils-0.2.1.5 fails to build because it depends on amqp-0.17. How to solve this? It would work if it did depend on amqp_0_18_1 or if amqp-utils would be held on 0.2.1.4 (which depends on amqp-0.15, which is ok and in current LTS Haskell).
<michaelpj> right, so I'm just interested which bit isn't explicit enough?
<michaelpj> then we can fix it :)
<hyper_ch> lenovo thinkpad 13 looks yummy
iqubic has quit [(Ping timeout: 246 seconds)]
<tilpner> michaelpj - The old text said "The set of overlays is looked for in the following places. The first one present is considered, and all the rest are ignored"
<hyper_ch> does nixos support WiDi?
<tilpner> michaelpj - This "all the rest are ignored" is an important point that the current phrasing doesn't really mention, only imply
<michaelpj> yes, the phrasing with "otherwise" is supposed to make it clear that it's an exclusive case, but I guess that's not as clear as it could be
<michaelpj> reading it now it's less obvious than I thought it was when I wrote it ;)
proteus-guy has joined #nixos
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
bin8me has joined #nixos
<hodapp> kuznero: that's what I did... because it's only Flash, as I said :P
peacememories has joined #nixos
<hodapp> except it was pepperFlash, but I doubt that matters
<kuznero> ok
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] shlevy pushed 1 new commit to master: https://git.io/vdVgS
<NixOS_GitHub> nixpkgs/master e3a389c Shea Levy: Add pandas 0.17
NixOS_GitHub has left #nixos []
adc has quit [(Quit: WeeChat 1.9.1)]
bin7me has quit [(Ping timeout: 255 seconds)]
adc has joined #nixos
Fossi has joined #nixos
<Fossi> hi. it seems like my wine did not install with pulseaudio, but it also does not seem to work via alsa. i can't figure out what flag i'm supposed to set to build it with pulseaudio support for example
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
peacememories has joined #nixos
* tilpner looks at wine
* tilpner takes a moment to remind everyone of the irony that is nixpkgs/pkgs/misc/emulators/wine
pie_ has quit [(Ping timeout: 260 seconds)]
<tilpner> Fossi - Are you on Linux or have pulseaudio enabled in your config?
<tilpner> Which wine package did you install?
kuznero has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
thaega has quit [(Quit: nyes)]
twey1 has joined #nixos
twey1 is now known as TweyII
TweyII has quit [(Changing host)]
TweyII has joined #nixos
thaega has joined #nixos
<TweyII> I have a bunch of derivations that, as part of their build process, download a manifest from a remote site. The manifest updates occasionally, and at those times I should update the manifest and begin using the new one, but it's append-only, so the manifest changing shouldn't change the build output of the derivations. I'd like to share this manifest among the derivations. What's a good Nix pattern for
<TweyII> this?
<TweyII> (since the manifest is slow to download)
<tilpner> One manifest at a fixed url? :/
<Fossi> yes, pulse is working and i have
<Fossi> hardware.pulseaudio.enable = true; hardware.pulseaudio.package = pkgs.pulseaudioFull; hardware.pulseaudio.support32Bit = true;
<TweyII> tilpner: Yes
<TweyII> tilpner: I can't make the build tool not download it if it's out of date :-\ But I can point it to a shared one it can use
<TweyII> tilpner: But the output should be deterministic anyway
nikola_ has joined #nixos
<Fossi> i'm on nixos-16.09
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<tilpner> TweyII - Do you want to update the Nix file to build a newer version?
<tilpner> Fossi - Which wine package did you install?
nikola__i has quit [(Ping timeout: 246 seconds)]
ixxie has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
proteus-guy has quit [(Ping timeout: 255 seconds)]
<TweyII> tilpner: The manifest is updated (at least) several times a day, so manually updating the expression every time is infeasible
<Fossi> i just 'nix-env -i wine' which seems to be wine-2.0
<tilpner> TweyII - fetchurl the manifest, use a fixed-output derivation to keep it from rebuilding after it succeeded once
<TweyII> tilpner: But what happens about the updating part? (if the manifest is out of date, the build fails, or has to slowly download its own copy if I add redundancy to the builder)
<tilpner> Oh, you want it to rebuild when the manifest updates?
peacememories has joined #nixos
<tilpner> Don't use fixed output derivation then
<tilpner> :/
<TweyII> tilpner: Mmm. But doesn't that make all the packages that depend on it appear non-deterministic? Whereas in reality they will be deterministic — they only refer to things that are already in the manifest, and the manifest is append-only
<TweyII> tilpner: So a new manifest version will never change the build output
<tilpner> Then my initial suggestion was correct, no?
<tilpner> Why would the build fail with a fixed-output derivation, if a newer manifest doesn't cause the output to change?
<TweyII> tilpner: Ohh, use a fixed-output derivation for the *packages*?
<tilpner> Yes
<TweyII> Mmm, interesting
<tilpner> Fossi - Should be enabled. How do you determine it's not?
<TweyII> tilpner: I *do* want to depend on the other inputs, though
ona has quit [(Ping timeout: 255 seconds)]
<TweyII> I guess I can manually calculate the outputHash?
<Fossi> tilpner: i start 'wine winecfg' and it says "no sound devices" and crashes with an error about mmdevapi, which seems to be the windows sound api
<Fossi> google says that is because it can't play sound :)
<Fossi> i'll try with a current wine nixpkg
<tilpner> Also consider updating to 17.09
<Fossi> sure, didn't see earlier that it was out
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<Fossi> but afaics the .09 releases are a trend ;)
michiel_l has quit [(Ping timeout: 246 seconds)]
michiel_l has joined #nixos
MercurialAlchemi has quit [(Ping timeout: 258 seconds)]
ixxie has joined #nixos
python476 has quit [(Read error: Connection reset by peer)]
cement has joined #nixos
xdelv has joined #nixos
bin7me has joined #nixos
<Fossi> well... now it compiles wine 2.18. lets see how long that takes and whether it works. should have looked at the configure output when it was scrolling by...
<Fossi> ah, it's still in the buffer. let's see :D
Neo-- has joined #nixos
jtojnar has quit [(Remote host closed the connection)]
<Fossi> "checking for pulse/pulseaudio.h... yes" sounds promising
jtojnar has joined #nixos
bin8me has quit [(Ping timeout: 248 seconds)]
<tilpner> The old one had pulseaudio support enabled too
katyucha has quit [(Quit: leaving)]
<Fossi> yeah, might not be the only or real problem at hand
Itkovian has joined #nixos
reinzelmann has quit [(Quit: Leaving)]
<gchristensen> I'm seeing on some hosts my nix channel has a file at /nix/var/nix/profiles/per-user/root/channels/nixpkgs/.git-revision, but other hosts don't have this .git-revision file -- anyone know why it may not be there?
pxc has joined #nixos
silver_hook has quit [(Quit: Konversation terminated!)]
silver_hook has joined #nixos
<tilpner> Do the channel sources differ?
<hodapp> huh, I am still at stateVersion of 16.09 for some reason
<hodapp> apparently I never upgraded that to 17.03
<tilpner> That's not... don't upgrade that
<tilpner> (Only upgrade that on full reinstalls)
pxc has quit [(Ping timeout: 255 seconds)]
<hodapp> oh
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] taku0 opened pull request #30282: flashplayer: 27.0.0.130 -> 27.0.0.159 (master...flashplayer-27.0.0.159) https://git.io/vdVP1
NixOS_GitHub has left #nixos []
mrkgnao has joined #nixos
freusque has quit [(Quit: WeeChat 1.7.1)]
abrar has quit [(Quit: WeeChat 1.9)]
<gchristensen> tilpner: one is 17.09 the other is nixpkgs-unstable
<gchristensen> (17.09 works, unstable doesn't)
<gchristensen> hmm maybe nixpkgs-unstable doesn't have it ...?
<tilpner> All from nixos.org/channels?
<gchristensen> yeah
<tilpner> curl -sL https://nixos.org/channels/nixpkgs-unstable/nixexprs.tar.xz | tar Jt | grep git-revision
<tilpner> Not present with nixpkgs-unstable, but present with nixos-unstable
<tilpner> Huh
leat has quit [(Quit: WeeChat 1.9)]
<gchristensen> ...huh...
<LnL> gchristensen: maybe because of officialRelease = false?
pxc has joined #nixos
<TweyII> http://lpaste.net/1251184261780733952 — I'm trying to write a function that I can call to convert a string of TOML to a Nix value. We have builtins.fromJSON, so my idea was that all I have to do is convert the TOML to JSON (with remarshal) and then use builtins.readFile to read the result. But I think I'm doing it wrong. I get an error that: mkdir: cannot create directory
<TweyII> '/nix/store/8n92infkraa0y04pay7hsx123amzabql-converted.json': File exists
<TweyII> tilpner: Oh, cool, thanks
<TweyII> tilpner: I'm still interested to know what's wrong with mine, though
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg closed pull request #30279: Fix `pkgconfig` reference for `emacs-packages.nix` (master...pdftools-pkgconfig-fixup) https://git.io/vdV0n
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg pushed 1 new commit to master: https://git.io/vdVDD
<NixOS_GitHub> nixpkgs/master 94bea74 Michael Alan Dorman: Fix pkgconfig reference
NixOS_GitHub has left #nixos []
<TweyII> tilpner: Not least because this seems to chop off all but the top section of my TOML file :-\
<Fossi> tilpner: it now says winepulse.drv, so that worked. not sure why the old one didn't
<Fossi> but i'll upgrade to 17.09 soonish anyway
<Fossi> thanks for the help though
charlycoste has joined #nixos
mortum5 has joined #nixos
<Fossi> tilpner: ah, actually, something is still fishy... running wine winecfg as a non-root user freezes the gui
<Fossi> so, maybe something else is still weird
<Fossi> ah, but the game i wanted to play runs if i start wine as root... well, whatever
<Fossi> i'll leave the weird problems for later ;)
kuznero has joined #nixos
Fossi has quit [(Quit: Page closed)]
<kuznero> gchristensen: I have tried downgrading docker to 17.06, but it still does not work. Tested on 2 machines. But then the version of docker on nixos 17.03 was also 17.03, not 17.06. And it does not exist now.
<tilpner> TweyII - phases = ["buildPhase"]; makes it work, so some other phase tries to do thing. Maybe installPhase?
<gchristensen> kuznero: I think it would be good to ask in #docker and what-not
<gchristensen> I'm not sure nixos has anything (special) to do with it
<kuznero> gchristensen: but before that maybe it makes sense to revive docker 17.03 and try with that perhaps?
<gchristensen> I suppose you could fetch an old version of nixpkgs and import that, then set the docker package to importedOldNixpkgs.docker_17_03 or whatever
<boxofrox> i'm trying to write my own package against a private git repo and stuck on creating the sha256 hash for fetchgit. using `nix-prefetch-git <url>` works, but I need the hash for a specific branch. `nix-prefetch-git <url> <rev>` just prints an error message: "Bad commit hash or bad reference."
<boxofrox> where <rev> is a tag name: v0.0.1
<tilpner> Private as in not publicly accessible?
<boxofrox> correct
<tilpner> Never used it, but there's fetchgitPrivate
<boxofrox> it's a self-hosted gitlab server on my lan
<gchristensen> it isn't very friendly or safe in terms of security of the private ssh key
dbmikus has joined #nixos
<boxofrox> tilpner: fetchgitPrivate doesn't need a hash? or provides a different route for obtaining the hash?
<kuznero> gchristensen: just tested on 17.03 - works fine. Will try that for now. thanks
<gchristensen> ok
<gchristensen> kuznero: can you please ask in #docker why? it isn't a good idea to just carry around an old nixpkgs for this
<tilpner> boxofrox - Can you just provide e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 as a sha256 for now?
<tilpner> boxofrox - It will then error and give you the right one c.c
<boxofrox> tilpner: i'll try that. i left the string empty thinking it would give me the right one.
<kuznero> gchristensen: will do, I just suspect there are not so many nix guys in #docker
<gchristensen> kuznero: I think we've established nix has nothing to do with this
<kuznero> I still need to test nixos 17.09 with docker 17.03 (only tested with 17.06).
<gchristensen> I thought you did that
jb55 has joined #nixos
<kuznero> nope, pkgs.docker_17_03 was removed now, there are only 17_06 and 17_09 by now. Will confirm if that combination works and then will try to reach out to #docker folks
<gchristensen> kuznero: you could fetch an old version of nixpkgs and import that, then set the docker package to importedOldNixpkgs.docker_17_03 or whatever
<gchristensen> (import (pkgs.fetchgit ...)).docker_17_03
<kuznero> gchristensen: will do that. But first need to figure out when it was removed
<gchristensen> in 17.09
<gchristensen> just fetch the latest nixos-17.03 channel rev
<kuznero> ok, thanks
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 2 new commits to master: https://git.io/vdVHe
<NixOS_GitHub> nixpkgs/master e71a6aa Michael Raskin: badvpn: fix build
<NixOS_GitHub> nixpkgs/master ef291b5 Michael Raskin: pingus, quirc: fix pkgconfig passing
NixOS_GitHub has left #nixos []
<tilpner> fetchgit is bad for getting nixpkgs, because git is bad at cloning just a specific rev
<tilpner> fetchTarball and fetchFromGitHub are better
<gchristensen> sure, whatever you want :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] elseym opened pull request #30283: mattermost: create role and db with postgres superuser (release-17.09...fix-mattermost-postgres-user) https://git.io/vdVHm
NixOS_GitHub has left #nixos []
<WilliButz> hey, could some maintainer take a look at this PR? :) https://github.com/NixOS/nixpkgs/pull/30128
<kuznero> I am going to fetchTarball
<copumpkin> fetchFromGitHub is fetchTarball with a bit of github knowledge on to pof it
<kuznero> ok
<kuznero> So, it looks something like this now: https://pastebin.com/vrBFh3aL
<tilpner> copumpkin - It uses fetchzip for shallow, fetchgit for recursive clones
<copumpkin> oh sorry
<tilpner> I'm just warning, because at some point fetchgit won't download the usual 12MB, but something around 600MB, and you'll be surprised
TweyII has quit [(Ping timeout: 260 seconds)]
<copumpkin> you
<copumpkin> are talking about builtins.fetchTarball
<copumpkin> my bad :)
<copumpkin> yeah, I don't like the fetchgit fallback for fetchFromGitHub
<tilpner> Is there really an alternative?
<copumpkin> sort of
<tilpner> Which?
<copumpkin> parse the submodules, if they're also from github, apply fetchFromGitHub logic recursively
<copumpkin> if from other things, possibly do similar stuff from gitlab, etc.
<copumpkin> otherwise maybe fall back to fetchgit logic
<copumpkin> this would all have to be in the builder rather than the nix, alas
<cocreature> how do I build all deps of a derivation but not the derivation itself?
Guest12683 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] therealpxc opened pull request #30284: [WIP] fish: always set up the basic Nix env during shell initialization (master...fish) https://git.io/vdVQb
NixOS_GitHub has left #nixos []
<kuznero> My `sudo systemctl status docker` is filled with `failed to retrieve docker-runc version: unknown output format` messages. Same applies to latest versions. Let's see if it is related somehow
bin7me has quit [(Remote host closed the connection)]
<copumpkin> cocreature: `nix-store -r $(nix-store -q --references $(nix-instantiate ...))`
<clever> copumpkin: i recently looked into submodules and discovered that the rev for a submodule isnt present in the filesystem state
<cocreature> copumpkin: perfect, thanks!
<clever> copumpkin: objects in a directory within git, can have a type of file, directory, or commit, it stores a commit hash + dirname directly into the directory
<copumpkin> how is it not?
<copumpkin> oh, I see what you mean
<copumpkin> sure then
<clever> so you must inspect .git to find the rev
<copumpkin> ah, so it would need to speak to the github API
<kuznero> gchristensen: it seems it is nixos changes. nixos 17.09 does with docker 17.03 does not work still
peacememories has joined #nixos
twey1 has joined #nixos
Guest12683 has quit [(Ping timeout: 248 seconds)]
<tilpner> copumpkin - Oh. Nice! Sort of ugly, but might just work. Not sure it's worth the effort though
<copumpkin> probably not :)
<copumpkin> although I do have a few cases where I manually plumb together fetchFromGitHub calls
peacememories has quit [(Client Quit)]
python476 has joined #nixos
erictapen has quit [(Ping timeout: 240 seconds)]
<kuznero> gchristensen: I will check one other thing - older rabbitmq image
twey1 has quit [(Ping timeout: 240 seconds)]
<sphalerite> gchristensen: love is-nix-up-to-date! (although the name could be catchier 😉)
twey1 has joined #nixos
<tilpner> sphalerite - What is that?
<sphalerite> gchristensen: I personally usually use `while sleep n; do stuff; done` rather than `while true ; do stuff ; sleep n; done`. In the case of your script I suppose it doesn't really make a difference since you've got set -e
jb55 has quit [(Ping timeout: 255 seconds)]
civodul has quit [(Remote host closed the connection)]
<tilpner> sphalerite - Oh, but where's the button to update your json nixpkgs pins? :/
<sphalerite> in your head, waiting to enter the interwebs via your keyboard
<gchristensen> sphalerite: :) I was thinking about cute names and just typed in the most obvious thing lol
<gchristensen> sphalerite: this is why I'm trying to figure out why the nixpkgs-unstable channel doesn't have the .git-revision file :/
<sphalerite> what about using `git ls-remote https://github.com/nixos/nixpkgs-channels nixpkgs-unstable` to get the rev instead?
<sphalerite> That way you don't even need to hit your API :)
<gchristensen> sorry, the problem is on the local machine, with nixpkgs-unstable /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/nixpkgs/.git-revision doesn't exist, but with nixos-* /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/nixpkgs/.git-revision does exist
<gchristensen> (the exact path isn't important, but the .git-revision file existing in the channel checkout is important, and it doesn't exist on nixpkgs channels)
ertes-w has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] yegortimoshenko opened pull request #30286: desktop-managers: do not leak feh to PATH (master...patch-2) https://git.io/vdVbm
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] indiscipline opened pull request #30287: borgbackup: 1.0.11 -> 1.1.0 (master...borgbackup) https://git.io/vdVbg
NixOS_GitHub has left #nixos []
adc has quit [(Quit: kernel upgrade)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] yegortimoshenko opened pull request #30288: ibus-table: add pygobject3 (master...patch-3) https://git.io/vdVbx
NixOS_GitHub has left #nixos []
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
adc has joined #nixos
erictapen has joined #nixos
hellrazor has quit [(Ping timeout: 240 seconds)]
ixxie has quit [(Ping timeout: 255 seconds)]
tester123 has joined #nixos
ixxie has joined #nixos
<tester123> How do I take a standard mkDerivation script and modify it so that it instead of running "cmake ." it runs `cmake . -DDRIVER=ON ; make` ?
hellrazor has joined #nixos
<gchristensen> iirc CMAKE_FLAGS, try searching for that (or similar sounding flags) on search.nix.gsc.io
<clever> cmakeFlags
JosW has quit [(Quit: Konversation terminated!)]
seku has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
<kuznero> gchristensen: ended up opening a new issue in nixpkgs - https://github.com/NixOS/nixpkgs/issues/30289 Could you please review?
leat has joined #nixos
<gchristensen> it looks like a well done issue
<gchristensen> but I can't do any research during work hours :(
<kuznero> Thanks, no problem.
kuznero has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
<tester123> If usually in a `mkDerivation` script we have `src = fetchgit { url = …; rev = …; sha256 = … };`, howe do we make it so that nix doesn't manually fetch anything? Like if you want to manually clone a GitHub repo on your machine and put a `make.nix` file at the top level. Is it as simple as `src = .`?
arjen-jonathan has quit [(Ping timeout: 260 seconds)]
sigmundv has quit [(Ping timeout: 255 seconds)]
<clever> tester123: src = ./.;
civodul has joined #nixos
<tester123> clever: How do I then run that build script from the top level?
<tester123> `nix-build make.nix`?
<tester123> Bleh that doesn't work. My `make.nix` is structured as a function so needs arguments.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vdVpn
<NixOS_GitHub> nixpkgs/master f4c9d51 Vladimír Čunát: tiptop: bugfix 2.3 -> 2.3.1
NixOS_GitHub has left #nixos []
<tester123> Can someone tell me how I would call this from the top level using nix-build, supplying the necessary arguments?
ShalokShalom_ has joined #nixos
digitus has joined #nixos
charlycoste has quit [(Quit: Leaving.)]
erictapen has quit [(Ping timeout: 246 seconds)]
<shlevy> Anyone ever seen "foo | grep -q bar" fail while "foo | grep bar > /dev/null" succeeds?
<shlevy> I can only replicate it inside the nix build, outside of it it works fine :/
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vdVhC
<NixOS_GitHub> nixpkgs/master 7a946f0 Vladimír Čunát: libav_12: maintenance 12.1 -> 12.2
NixOS_GitHub has left #nixos []
ShalokShalom has quit [(Ping timeout: 264 seconds)]
<Dezgeg> maybe something related to SIGPIPE?
eacameron has quit [(Read error: Connection reset by peer)]
<shlevy> wtf it's only when it's in a pipeline
eacameron has joined #nixos
<shlevy> Aaah
<shlevy> Right
<shlevy> Thanks
<shlevy> stupid
<boxofrox> tester123: not sure if this helps with nix-build. I created an overlay per the manual which includes a top-level default.nix that provides the necessary arguments to the package file. https://nixos.org/nixpkgs/manual/#sec-overlays-definition
arjen-jonathan has joined #nixos
<boxofrox> tester123: i've been using `nix-shell -I "nixpkgs-overlays=<path/to/overlay>" -p <package>.nix` to build... though I haven't gotten it working completely. Having trouble with self-signed SSL on my git server.
ShalokShalom_ is now known as ShalokShalom
<tilpner> tester123 - Easiest solution is to prepend "with import <nixpkgs> {};" and remove the pkgs argument
<tilpner> tester123 - If you want to keep it that way, use: nix-build -E '(import <nixpkgs> {}).callPackage ./make.nix {}'
pxc has quit [(Ping timeout: 260 seconds)]
__Sander__ has quit [(Quit: Konversation terminated!)]
goibhniu has quit [(Ping timeout: 240 seconds)]
roi_du_silence has joined #nixos
ThatDocsLady has joined #nixos
<ixxie> tester123: I imagine nix-build uses your default channel but I may be mistaken
<ixxie> oops
<tilpner> boxofrox - Why not set NIX_PATH globally? And use LetsEncrypt...
<tilpner> boxofrox - nix.nixPath = ["nixpkgs-overlays=..."];
mizu_no_oto has joined #nixos
<boxofrox> tilpner: i didn't understand that nix.nixPath affected nix-shell. I set nixpkgs.overlays instead which had no affect, and found that -I worked.
pie_ has joined #nixos
dbmikus has quit [(Quit: WeeChat 1.9.1)]
<tilpner> boxofrox - That's for NixOS. If you're on something else you'll probably have to edit some shell init file
<boxofrox> tilpner: as for letsencrypt, i'm reading up on that now
dbmikus has joined #nixos
<boxofrox> i'm on nixos
hellrazor has quit [(Ping timeout: 246 seconds)]
<tilpner> I've always used https://github.com/lukas2511/dehydrated over certbot for LetsEncrypt
hellrazor has joined #nixos
jb55 has joined #nixos
<pstn> tilpner: I've even put it in our repos, but never got around to use it for nginx acme and other acme applications...
sigmundv has joined #nixos
<tilpner> pstn - Using something else?
<boxofrox> tilpner: thanks for the link. what did you mean by "over certbot"? i'm using a docker image for gitlab, which doesn't have letsencrypt baked in. most of what I'm reading suggests setting up a letencrypt+proxy container in front.
<hyper_ch> so, installed nixos on a notebook with intel and nvidia card and actually set it to autostart sddm.... however, it just boots into shell and no xserver
<tilpner> boxofrox - certbot is the most popular LE client, but it was quite big and had some problems when I first used it. Maybe it's improved since, but dehydrated never gave me any problems and is very small
<boxofrox> tilpner: ah, over = instead. gotcha
<hyper_ch> hmmm: nouveau 0000:01:00.0: DRM: Pointer to TMDS table invalid
<tilpner> boxofrox - I'm currently using nginx+dehydrated on one server, and traefik on another. Both are working well, traefik is a little more magic. Prefer the solution you're already partly familiar with
MichaelRaskin has joined #nixos
<pstn> Me too but it would be nice to have it properly supported in nixos.
MinceR has quit [(Ping timeout: 260 seconds)]
MinceR_ has joined #nixos
jgertm has joined #nixos
jgertm has quit [(Client Quit)]
jgertm has joined #nixos
<jgertm> is there a way to build GHC with libdwarf?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] shlevy opened pull request #30290: Break all-cabal-hashes into case-insensitive-safe components. (master...all-cabal-hashes-components) https://git.io/vdwfV
NixOS_GitHub has left #nixos []
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
nschoe has quit [(Quit: Program. Terminated.)]
arjen-jonathan has quit [(Ping timeout: 240 seconds)]
MinceR_ is now known as MinceR
phreedom has quit [(Ping timeout: 255 seconds)]
ixxie has quit [(Ping timeout: 248 seconds)]
<edef> copumpkin: TIL we hung out on #bitcoin-dev concurrently in like, 2011
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 2 new commits to master: https://git.io/vdwJ2
<NixOS_GitHub> nixpkgs/master 628c039 taku0: flashplayer: 27.0.0.130 -> 27.0.0.159
<NixOS_GitHub> nixpkgs/master e64f4d8 Michael Raskin: Merge pull request #30282 from taku0/flashplayer-27.0.0.159...
NixOS_GitHub has left #nixos []
ixxie has joined #nixos
<hyper_ch> can't get nvidia optimus to run
<roi_du_silence> welcome to the club
<twey1> One of us, one of us
<MichaelRaskin> Give up, use Nouveau with prime.
* alp is a member of the club too
<hyper_ch> I don't even want nvidia to run... intel is enough... but no xserver :(
<copumpkin> edef: hah those were the day :)
<MichaelRaskin> Maybe tell BIOS to switch off the discrete card then?
<hyper_ch> MichaelRaskin: right :) well, just trying with bumblebee now... if that doesn't work, I can try that... why didn't I think of it
<twey1> hyper_ch: boot.kernelModules = [ "kvm-intel" ]; boot.blacklistedKernelModules = [ "nouveau" ]; services.xserver.videoDrivers = [ "intel" ]; is sufficient for me
<twey1> Not all BIOSes have that option :(
<edef> copumpkin: back when I still had #bitcoin-dev ops, and it wasn't flooded with finance folk
<MichaelRaskin> I use nouveau, DRI Optimus Prime or whatever, and everything I want works.
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
<twey1> I have working Optimus on one machine, but not this one
erictapen has joined #nixos
<twey1> But it's my work machine so I don't do much graphics processing anyway
<copumpkin> edef: nice :) were/are you a contributor to core? -dev is a bit of a dead zone now
<MichaelRaskin> I wouldn't be surprised if the heaviest application I run is XScreenSaver (some hacks) and not Firefox
<hyper_ch> can't turn it off in bios
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dupgit opened pull request #30291: Adds cdpfgl programs into nix. (master...master) https://git.io/vdwU5
NixOS_GitHub has left #nixos []
<MichaelRaskin> So it _is_ possible to do Optimus worse than Lenovo…
<edef> copumpkin: nope, was just early and had too much spare time to chat back then
<edef> copumpkin: I was like… 15 and kind of a loser
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin closed pull request #30128: nixos/xautolock: rewrite and add some options (master...xautolock) https://git.io/vdBFB
NixOS_GitHub has left #nixos []
maiksen has joined #nixos
<hyper_ch> twey1: trying yours now
<copumpkin> edef: hah :)
<hyper_ch> twey1: I love you :)
chakerbenhamed has joined #nixos
mrkgnao has quit [(Quit: WeeChat 1.9.1)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/vdwTo
<NixOS_GitHub> nixpkgs/master 2262b23 Tim Steinbach: linux: 4.14-rc3 -> 4.14-rc4
NixOS_GitHub has left #nixos []
johnw has quit [(Ping timeout: 255 seconds)]
johnw_ has joined #nixos
<twey1> hyper_ch: Congratulations!
<hyper_ch> twey1: not quite: the screen locker is broken .......
<hyper_ch> ctrl-alt-f2 - loginctl unlock-sessions worked though
roconnor__ has joined #nixos
<infinisil> it reminds me of the recent announcement that flash is being deprecated
<infinisil> but i think that'll be in 2020
<hyper_ch> can't update my system :(
<CrazedProgrammer> i wonder if someone will make a "flashbox" so you can still play the good old flash games
ThatDocsLady has quit [(Ping timeout: 240 seconds)]
<hyper_ch> don't you just need a flash->html5 converter?
<infinisil> i mean it's not like every flash instance stops running in 2020 :P
<MichaelRaskin> Well, technically flashplayer-standalone could be easy to support.
<MichaelRaskin> Most of the instances will stop to run _earlier_
<CrazedProgrammer> i don't think it'll be as simple as that. i'm happy to be suprised though
<MichaelRaskin> because browsers.
<MichaelRaskin> Conversion… I am not sure there is a swf→html5 converter.
<MichaelRaskin> Even if there is a source converter.
<infinisil> I'm just glad I've never needed flash on my firefox on nixos
endformationage has joined #nixos
<codedmart> I am trying to install vim and use a vim config, but I am getting this error? I have git installed https://gist.github.com/codedmart/97361746432ad052f4e5482f4ad4abf7
<codedmart> I am not using nixos but just nix as a package manager.
johnw_ is now known as johnw
eacameron has quit [(Remote host closed the connection)]
johnw has quit [(Changing host)]
johnw has joined #nixos
rsa has quit [(Quit: leaving)]
pxc has joined #nixos
mudri has joined #nixos
<CrazedProgrammer> you shouldn't be fetching sources in the build phase. as a quick workaround you could add `buildInputs = with pkgs; [ git ];` but you should really be using fetchFromGit(Hub)
<twey1> hyper_ch: Reinstall it — you've switched GL implementations, which is impure
<hyper_ch> twey1: reinstall what?
<twey1> hyper_ch: The screen locker
<hyper_ch> how to reinstall it?
<twey1> hyper_ch: I don't know what you use, but I just ‘nix-env -e xscreensaver; nix-env -i xscreensaver’ and this fixes ‘libGL missing symbol’ issues
<hyper_ch> twey1: sddm - and whatever comes with it
jensens has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bjornfor pushed 1 new commit to master: https://git.io/vdwL1
<NixOS_GitHub> nixpkgs/master da93e6e jaltek: shutter: 0.93.1 -> 0.94
NixOS_GitHub has left #nixos []
proteusguy has joined #nixos
mudri has quit [(Ping timeout: 258 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bjornfor pushed 1 new commit to release-17.09: https://git.io/vdwLp
<NixOS_GitHub> nixpkgs/release-17.09 8431486 jaltek: shutter: 0.93.1 -> 0.94...
NixOS_GitHub has left #nixos []
Mic92 has quit [(Quit: WeeChat 1.9)]
<hyper_ch> twey1: disabled now all of x11, sddm and plasma....and will retry again
whald has quit [(Ping timeout: 258 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bjornfor pushed 1 new commit to release-17.03: https://git.io/vdwtY
<NixOS_GitHub> nixpkgs/release-17.03 4c36a0e jaltek: shutter: 0.93.1 -> 0.94...
NixOS_GitHub has left #nixos []
Mic92 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bjornfor closed pull request #30276: shutter: 0.93.1 -> 0.94 (master...shutter-0.94) https://git.io/vdVCH
NixOS_GitHub has left #nixos []
<gerschtli1> hey, I'm trying to update the couchbase php extension to remove warnings about missing header files of zlib and the extension igbinary
<gerschtli1> but I#m getting now a "PHP Warning: PHP Startup: Unable to load dynamic library /nix/store/.../couchbase.so .. undefined symbol: igbinary_unserialize in Unknown on line 0"
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] efx opened pull request #30292: bump modsecurity, allow compiling on macOS (master...topic-modsecurity-update) https://git.io/vdwtp
NixOS_GitHub has left #nixos []
rsa has joined #nixos
<gerschtli1> is anyone in here who has some experience with php extensions or gnu autotools?
musicmatze_ has joined #nixos
zarel has joined #nixos
<musicmatze> Good evening
<musicmatze> can someone help me with container networking?
<musicmatze> I'm trying to run a ZNC instance in a container on port 5000 and I want to connect through the host system...
<musicmatze> inside the container, the port is open (due to nmap)
<musicmatze> but outside it is not.
<hyper_ch> twey1: that worked :)
nckx has quit [(Quit: Restarting my GuixSD server — https://gnu.org/s/guix)]
<musicmatze> I mean, when I nmap to the 10.0... address I gave the container, it is open... but when I nmap the host IP address it is closed.
<musicmatze> I added the firewall rules for TCP ... so I guess the problem is that the container does not map to the outer network ...
nckx has joined #nixos
<gerschtli1> musicmatze: I think you need to enable networking.nat (see https://nixos.org/nixos/manual/index.html#sec-container-networking)
<musicmatze> gerschtli1: I did this.
ertes has joined #nixos
<musicmatze> That's the weird thing...
zarel has quit [(Quit: Leaving)]
zarel has joined #nixos
k2s has joined #nixos
roi_du_silence has quit [(Ping timeout: 248 seconds)]
k2s has quit [(Client Quit)]
shymega has joined #nixos
arjen-jonathan has joined #nixos
mudri has joined #nixos
MichaelRaskin has quit [(Ping timeout: 255 seconds)]
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vdwOP
<NixOS_GitHub> nixpkgs/master aeeac71 elseym: mattermost: create role and db with postgres superuser...
NixOS_GitHub has left #nixos []
JosW has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Gerschtli opened pull request #30293: php couchbase: remove warnings on php startup (master...fix/php-couchbase) https://git.io/vdw3m
NixOS_GitHub has left #nixos []
<infinisil> Ummm, what the fuck. The ip of my DO droplet was somehow blocked from downloading from youtube with youtube-dl (429: Too Many Requests). So I went through all the trouble to get a new droplet with a new ip, I tested whether download works with the preinstalled debian, installed all of my nixos config on it
<infinisil> And now I get 429's again...
tesufiue has joined #nixos
<Ralith> what're the rules for managing system.stateVersion?
<gchristensen> in general: don't touch it
tesufiue has quit [(Client Quit)]
<Ralith> ever?
<Ralith> there's no concern about things breaking in five years because it's too old?
<infinisil> If you're looking for trouble, then you may change it
<gchristensen> Ralith: https://nixos.org/nixos/manual/release-notes.html#sec-release-17.09 read about each mention of stateVersion before you change it
<infinisil> Ah right, I actually even added an item there
musicmatze_ has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bjornfor pushed 1 new commit to master: https://git.io/vdw3y
<NixOS_GitHub> nixpkgs/master d26f8b5 Bjørn Forsman: nixos/lighttpd: add missing modules to allKnownModules...
NixOS_GitHub has left #nixos []
<Ralith> gchristensen: ahah, thanks
<Ralith> that makes it much clearer what it actually means
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bjornfor pushed 1 new commit to release-17.09: https://git.io/vdw3N
<NixOS_GitHub> nixpkgs/release-17.09 d0c9549 Bjørn Forsman: nixos/lighttpd: add missing modules to allKnownModules...
NixOS_GitHub has left #nixos []
musicmatze_ has joined #nixos
<gchristensen> :)
gerschtli1 has quit [(Quit: WeeChat 1.7.1)]
pie_ has quit [(Read error: Connection reset by peer)]
pie_ has joined #nixos
<infinisil> I dare you DigitalOcean/youtube, If it works again with the same ip with Debian I'm gonna be mad
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bjornfor pushed 2 new commits to release-17.03: https://git.io/vdwsn
<NixOS_GitHub> nixpkgs/release-17.03 9773f9d Bjørn Forsman: nixos/lighttpd: update list of allowed module names...
<NixOS_GitHub> nixpkgs/release-17.03 6549173 Bjørn Forsman: nixos/lighttpd: add missing modules to allKnownModules...
NixOS_GitHub has left #nixos []
musicmatze_ has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] pbogdan opened pull request #30294: tnef: 1.4.14 -> 1.4.15 (master...update-tnef) https://git.io/vdwsB
NixOS_GitHub has left #nixos []
gerschtli has joined #nixos
infinisil_ has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
ris has joined #nixos
gerschtli has quit [(Client Quit)]
musicmatze_ has joined #nixos
musicmatze_ has quit [(Client Quit)]
musicmatze_ has joined #nixos
Oida has quit [(Ping timeout: 258 seconds)]
eacameron has joined #nixos
<hyper_ch> testing now encrypted zfs on a different notebook... there, it doesn't seem to have write issues.... rsync 200gigs on it
chakerbenhamed has quit [(Ping timeout: 260 seconds)]
<infinisil> Nice :D So it might be the hardware after all
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] volhovM opened pull request #30295: scudcloud: 0.58 -> 0.63 (master...volhovm/scudcloud063) https://git.io/vdwGV
NixOS_GitHub has left #nixos []
<hyper_ch> infinisil: yeah, but which part :(
Oida has joined #nixos
<hyper_ch> just scrubbing the 200gb.... 80gb done, no error
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] volhovM closed pull request #30295: scudcloud: 0.58 -> 0.63 (master...volhovm/scudcloud063) https://git.io/vdwGV
NixOS_GitHub has left #nixos []
twey1 has quit [(Ping timeout: 255 seconds)]
<infinisil> Oh my god, it works on debian...
<infinisil> that means some network setting in nixos makes this happen, which means i don't need a new droplet after all
<hyper_ch> infinisil: debian works great :)
musicmatze_ has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
<hyper_ch> but what didn't work for you?
musicmatze_ has joined #nixos
<infinisil> youtube-dl can't download from youtube on nixos.. gives me a 429: Too many requests. With the same ip (and the it should be the same network config) on debian it works..
<infinisil> really weird
<Dezgeg> is it the same version?
<infinisil> Ah yeah I could check that
<infinisil> Well, the same youtube-dl version on my local machine works..
<infinisil> also nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis opened pull request #30296: kdeconnect: 1.0.3 -> 1.2 (master...kdeconnect_1_2) https://git.io/vdwZx
NixOS_GitHub has left #nixos []
<Dezgeg> you could install nix on debian and the same version to rule that out :P
<infinisil> Ah yes, I'll try that
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to staging: https://git.io/vdwn4
<NixOS_GitHub> nixpkgs/staging e9a1663 Vladimír Čunát: mesa: don't build "svga" gallium driver on ARM...
NixOS_GitHub has left #nixos []
gerschtli has joined #nixos
musicmatze_ has quit [(Remote host closed the connection)]
<hyper_ch> I have youtube-dl on my home server which runs debian :)
musicmatze_ has joined #nixos
<infinisil> The debian version is about 5 months older than the nixos version
<argo> Is there a way to dynamically edit /etc/hosts on nixOS? I've been using vagrant-hostsupdater to add/remove entries on startup/shutdown of VMs using vagrant. I'd like to add/remove nfs shares dynamically, too. But on nixOS etc/hosts and etc/nfs.conf are static/read-only. Any idea how to do this the right way (TM)?
<hyper_ch> infinisil: my nixos youtube dl works fine - https://paste.simplylinux.ch/view/c72c4db4
<hyper_ch> argo: you can make it writeable
<hyper_ch> argo:
<hyper_ch> # Make /etc/hosts writeable
<hyper_ch> #environment.etc."hosts".mode = "0644";
<hyper_ch> in the configuration.conf
<infinisil> hyper_ch: Is that the nix version of ytdl?
<hyper_ch> just uncoment it
<hyper_ch> infinisil: yes, current unstalbe youtube-dl
<argo> hyper_ch: Thank you!
pukkamustard has joined #nixos
<hyper_ch> argo: adding some addserver and point them to 127.0.0.1?
<infinisil> yeah, thanks, i guess it's something with the network instead
stanibanani has joined #nixos
musicmatze_ has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
musicmatze_ has joined #nixos
johnw has quit [(Ping timeout: 240 seconds)]
pukkamustard has quit [(Quit: Page closed)]
johnw has joined #nixos
musicmatze_ has quit [(Client Quit)]
<argo> hyper_ch: I'm using vagrant for development and add hosts entries automatically on "vagrant up". And I use nfs to share my project directories with the VM. I added your settings to environment.conf, works perfectly.
musicmatze_ has joined #nixos
MichaelRaskin has joined #nixos
musicmatze_ has quit [(Remote host closed the connection)]
<hyper_ch> argo: ah :) well, was just curious because I do use this https://paste.simplylinux.ch/view/raw/8129272d :)
musicmatze_ has joined #nixos
Alling has joined #nixos
asdfoiawe has joined #nixos
<Alling> Yo guys! Trying to make my RPi not write logs to the SD card. Instead I would like the logs on a tmpfs and copy them to an external disk with a cron job.
<Alling> However, /var/log is straight up empty. Where are my logs?
<argo> hyper_ch: Nice, I'm using LEDE on my router and let it do the filtering. But this is useful on a laptop
<hyper_ch> there's very likely more lists out there :)
sigmundv has quit [(Ping timeout: 260 seconds)]
tmaekawa has joined #nixos
kuznero has joined #nixos
jtojnar has quit [(Read error: Connection reset by peer)]
<Alling> hyper_ch: Oh! I didn't have device: "tmpfs". Rebuilding ...
jtojnar has joined #nixos
sigmundv has joined #nixos
arjen-jonathan has quit [(Ping timeout: 248 seconds)]
jtojnar has quit [(Ping timeout: 246 seconds)]
jtojnar has joined #nixos
<eacameron> Running cabal2nix on my cabal file says that it can't find my package no hackage. I don't get why it's even trying to look on hackage.
sigmundv has quit [(Ping timeout: 248 seconds)]
proteusguy has quit [(Remote host closed the connection)]
Itkovian has joined #nixos
kuznero has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
<pbogdan> eacameron: "If your project is not on hackage, please supply the path to the root directory of
<pbogdan> the project, not to the cabal file."
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/d0c954958f (from 55 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
nix-gsc-io`bot has quit [(Client Quit)]
proteusguy has joined #nixos
sigmundv has joined #nixos
<eacameron> pbogdan: Hm, it's in a subdir of my project
<pbogdan> eacameron: any reason you can't give it path to the subdir?
<eacameron> pbogdan: Ug cabal2nix can be such a pain sometimes. The cabal file refers to source in ../
darlan has joined #nixos
<tilpner> Explanation of the echo -n foo line eating problem recently
darlan has quit [(Client Quit)]
<neonfuz> so running mpv consistently crashes my firefox
<neonfuz> this didn't happen to me on gentoo
<neonfuz> by crashes I mean the display area goes completely white with a little spinning loading thing
<neonfuz> I can stil click on things, but not see anything
acarrico has quit [(Ping timeout: 260 seconds)]
roconnor__ has quit [(Ping timeout: 240 seconds)]
<Alling> hyper_ch: There we go, thanks man!
gour has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/8431486053 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
paraseba has quit [(Remote host closed the connection)]
<hodapp> gack, why do I get "error: attribute ‘ess-R-object-popup’ missing, at /nix/store/mibgyqq0292n8rn8fayk6w8v2zf5x1hz-nixos-17.09.1547.2231575a7d/nixos/pkgs/applications/editors/emacs-modes/melpa-packages.nix:76:28"
<hodapp> when doing: nix-env -f "<nixpkgs>" -qaP -A emacsPackagesNg.melpaPackages
musicmatze has quit [(Quit: WeeChat 0.4.3)]
musicmatze_ is now known as musicmatze
musicmatze has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
mudri has quit [(Ping timeout: 255 seconds)]
musicmatze has joined #nixos
musicmatze has quit [(Remote host closed the connection)]
hhomar has joined #nixos
musicmatze has joined #nixos
truh has quit [(Ping timeout: 255 seconds)]
mudri has joined #nixos
<efx> what is the simplest way to provide a group of derivations for users to install using nix-env? I like the approach of this link but am somewhat confused on how to do this while pointing to a master branch of nixpkgs repo (https://nixos.org/nixpkgs/manual/#sec-declarative-package-management)
<efx> so I figured i can just write a nix expression that is a subset of top-level.nix, but wondered if there is a cleaner / easier way
Guest95219 has quit [(Quit: Lost terminal)]
pSub has quit [(Remote host closed the connection)]
<ixxie> efx: maybe you can make your own nix channel
<efx> that looked promising, but it seems like I have to tarball a file or something. At this stage, i wanted to do something soley based of a public github URL
pSub has joined #nixos
pSub has quit [(Changing host)]
pSub has joined #nixos
<efx> ixxie: do you know of any simple channel templates? (i'm quite new to nix, and working mainly on packaging in macOS so clear distilled examples really help me see whats going on)
<LnL> that's a config.nix the overrides will get applied for any nixpkgs you import
<LnL> unless you explicitly disable it
<freeman42x> I am following the instructions here for configuring GHC with packages: https://nixos.org/nixpkgs/manual/#users-guide-to-the-haskell-infrastructure
<freeman42x> what do I need to place in the NixOS main configuration to install GHC globally using that... oh, nvm
<freeman42x> I am stupid
Isorkin has quit [(Ping timeout: 240 seconds)]
mudri has quit [(Ping timeout: 255 seconds)]
<ixxie> efx: I've never done that sort of thing but I just vaguely recall its possible. It may not be the best approach in your case, others probably know better
<efx> gotcha, thanks for the tip. Overall the channel sounds like a clearer approach though.
pSub has quit [(Ping timeout: 248 seconds)]
<efx> LnL: I see, that is more user preference approach.
<efx> i'm bundling packages programmatically so use case is a bit different. I don't want to modify the users' nix config
pSub has joined #nixos
pSub has quit [(Changing host)]
pSub has joined #nixos
paraseba_ has joined #nixos
musicmatze has quit [(Remote host closed the connection)]
musicmatze has joined #nixos
paraseba_ is now known as paraseba
Isorkin has joined #nixos
<LnL> overlays is a similar alternative users can enable multiple of those by putting a bunch of files in the overlays directory
mudri has joined #nixos
phreedom has joined #nixos
ixxie has quit [(Quit: Lost terminal)]
schoppenhauer has quit [(Ping timeout: 255 seconds)]
arjen-jonathan has joined #nixos
chakerbenhamed has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] yegortimoshenko opened pull request #30297: unbound: fix typo in systemd Before (master...patch-4) https://git.io/vdwgg
NixOS_GitHub has left #nixos []
schoppenhauer has joined #nixos
<asdfoiawe> Hi, Im currently doing my first "real" nixos installation (outside an vm), on a system with gentoo and windows 7 already installed.
<asdfoiawe> I created a FAT32 partition and a ext4 root partition with gparted and mounted the root partition to /mnt and the fat32 partition to /mnt/boot.
<asdfoiawe> I didnt change the boot.loader.* variables after nixos-generate-config and nixos-install fails complaining about /boot having the wrong type for an EFI system partition.
<asdfoiawe> iirc only one efi partition is needed per computer (mounted to /boot/efi on my gentoo), do I have to create something similar on my nixos or is /boot just a partition for the installed kernels (like on my gentoo) and I got confused by the error message?
nix-gsc-io`bot has joined #nixos
gour has left #nixos ["Leaving"]
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/d0c954958f (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to master: https://git.io/vdw2m
<NixOS_GitHub> nixpkgs/master 274c9b7 Yegor Timoshenko: unbound: fix typo in systemd Before
<NixOS_GitHub> nixpkgs/master 0f914d2 Orivej Desh: Merge pull request #30297 from yegortimoshenko/patch-4...
NixOS_GitHub has left #nixos []
chakerbenhamed has quit [(Quit: WeeChat 0.4.2)]
serhart has joined #nixos
<MichaelRaskin> neonfuz: I get this problem from compositor restart, but there I am not too surprised (unfortunately)
<MichaelRaskin> Recommended actions: sighing, Ctrl-l Ctrl-Alt-Enter
erictapen has quit [(Ping timeout: 258 seconds)]
<infinisil> Oh my god
<MichaelRaskin> asdfoiawe: frankly, I would recommend one EFI partition per OS
shanemikel has joined #nixos
<MichaelRaskin> Just because Windows is known to do weird things with «its» boot loader place, be it MBR or EFI partition.
<shanemikel> I'm building my Haskell project with Nix, and it's building Haddock docs, but they're not ending up in ./result
infinisil has quit [(Ping timeout: 258 seconds)]
<Alling> Cannot trust Windows with your bootloaders and partitions. Thumb rule is to install Windows first AFAIK.
acarrico has joined #nixos
<MichaelRaskin> And even then, better not to touch its EFI partition. Windows… it gets territorial from time to time.
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.03-small advanced to https://github.com/NixOS/nixpkgs/commit/6549173ae5 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.03-small)
nix-gsc-io`bot has quit [(Client Quit)]
infinisil has joined #nixos
<asdfoiawe> I actually dont remember if I installed WIndows first or not (I did it 2 years ago), but it worked for me so far.
<asdfoiawe> What does nix store on /boot? Just kernels and its own grub?
<MichaelRaskin> In EFI case? GRUB2 or gummiboot. kernels, initramfs images.
<shanemikel> If possible, it's best just to use separate HDs
<shanemikel> that's the cleanest solution... resizing partitions is scary :o
<MichaelRaskin> It is only scary if you don't have backups.
<asdfoiawe> The resizing is done, only needed to touch my windows partition which doesnt contain any important data
<MichaelRaskin> But with modern storage device quality, not having backups should be scary in any case!
nikola_ has quit [(Ping timeout: 255 seconds)]
<MichaelRaskin> Yeah, usually, if you ask Windows to resize Windows partitions, it continues to boot.
<asdfoiawe> Well, I used gparted, Ill see if it boots ^^
<shanemikel> I had a dual-boot with OSX and Ubuntu on a Macbook... It worked for a while... it decided to fry the part table during an update
<pxc> shanemikel: what did?
<shanemikel> osx
<pxc> rude
<pxc> of osx, I mean
<asdfoiawe> Ahh, I resolved my issue from my original question: I forgot the boot flag on nixos' boot partition
<MichaelRaskin> Boot flag? I thought EFI implies GPT, so it is more «partition type EF00»
<asdfoiawe> It does, but that resolved my nixos error message, the manual doesnt say anything about a efi system partition though :/
acarrico has quit [(Ping timeout: 240 seconds)]
<asdfoiawe> And I'm no uefi expert
sigmundv has quit [(Ping timeout: 258 seconds)]
<asdfoiawe> If anyone is running an uefi-nixos-setup: How did you set up your partition layout?
Thra11 has joined #nixos
<infinisil> i am doing tha
<infinisil> t
tester123 has quit [(Quit: Page closed)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] copumpkin opened pull request #30299: xcbuild: add SDKROOT by default to the wrappers (master...xcbuild-sdk) https://git.io/vdwr2
NixOS_GitHub has left #nixos []
<infinisil> I just have a partition of 1GB with type EF00 (EFI System), and boot.loader.grub.device = "nodev", which will prevent grub trying to install into a BIOS partition of which i have none
<MichaelRaskin> nodev, + boot.loader.grub.efiSupport = true;
acarrico has joined #nixos
<MichaelRaskin> (also, copyKernels = true)
shanemikel has quit [(Quit: My MacBook Air has gone to sleep. ZZZzzz…)]
<infinisil> ah yes that too, but i didn't need copyKernels
<MichaelRaskin> Also, some of my configs still limit GRUB menu configuration count.
<infinisil> it copies kernels automatically when /boot is on a different device iirc
<MichaelRaskin> Dunno, right now my most-used configuration uses only small parts of NixOS
justmeme has joined #nixos
<infinisil> Your most used config?
<asdfoiawe> My nixos actually runs now :)
<MichaelRaskin> I mean, I have an actual NixOS box, but I don't use it much now. And on my laptop I mostly run a thing that is not technically NixOS
cwre_ has joined #nixos
cwre_ has quit [(Remote host closed the connection)]
<asdfoiawe> Another distro with nix installed?
cwre has quit [(Quit: Aliens ate me. I'm not good for them.)]
<MichaelRaskin> Words, words…
<MichaelRaskin> Let's just say my kernel is from NixPkgs.
<MichaelRaskin> And my PID 1 is sinit from Nixpkgs
justmeme has quit [(Client Quit)]
hhomar has quit [(Quit: leaving)]
<MichaelRaskin> This probably rules out exact match to any of the options you meant.
seanparsons has joined #nixos
<nliadm> is buildUserFHSEnv a nixos only thing?
Neo-- has quit [(Ping timeout: 248 seconds)]
<sphalerite> nliadm: I don't think so
<tilpner> MichaelRaskin - Hi! You mentioned "require" (context: NixOS modules) yesterday. What's the difference to "imports"?
<nliadm> cool
<MichaelRaskin> I don't know what «imports» does…
cwre has joined #nixos
<asdfoiawe> MichaelRaskin: Probably, that was just a guess ;)
<tilpner> The same thing as require, from what I can gather. And it's actually documented
<MichaelRaskin> Joys of active development of the codebase…
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to release-17.09: https://git.io/vdwKC
<NixOS_GitHub> nixpkgs/release-17.09 5162406 Robin Gloster: nss: fix includedir for pkgconfig...
NixOS_GitHub has left #nixos []
shanemikel has joined #nixos
seanparsons has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
seanparsons has joined #nixos
cwre has quit [(Quit: Aliens ate me. I'm not good for them.)]
cwre has joined #nixos
JosW has quit [(Quit: Konversation terminated!)]
simukis has quit [(Ping timeout: 260 seconds)]
cwre has quit [(Quit: Aliens ate me. I'm not good for them.)]
cwre has joined #nixos
civodul has quit [(Quit: ERC (IRC client for Emacs 25.3.1))]
Ivanych has quit [(Ping timeout: 255 seconds)]
acarrico has quit [(Ping timeout: 240 seconds)]
ee1943 has quit [(Remote host closed the connection)]
TheAppleMan has quit [(Remote host closed the connection)]
ee1943 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] lo1tuma opened pull request #30300: libuv: 1.14.1 -> 1.15.0 (master...libuv-1.15.0) https://git.io/vdwPR
NixOS_GitHub has left #nixos []
ee1943 has quit [(Remote host closed the connection)]
ee1943 has joined #nixos
ee1943 has quit [(Remote host closed the connection)]
ee1943 has joined #nixos
zarel has quit [(Quit: Leaving)]
justmeme has joined #nixos
justmeme has quit [(Client Quit)]
ebzzry has joined #nixos
maiksen_ has joined #nixos
griff_ has quit [(Quit: griff_)]
michiel_l has quit [(Ping timeout: 246 seconds)]
michiel_l has joined #nixos
dbmikus has quit [(Quit: WeeChat 1.9.1)]
fragamus has joined #nixos
Neo-- has joined #nixos
dbmikus has joined #nixos
tmaekawa has quit [(Ping timeout: 246 seconds)]
dbmikus has quit [(Client Quit)]
maiksen_ has quit [(Ping timeout: 255 seconds)]
arjen-jonathan has quit [(Ping timeout: 255 seconds)]
maiksen_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] lo1tuma opened pull request #30301: git-lfs: 2.2.1 -> 2.3.3 (master...git-lfs-2.3.3) https://git.io/vdwMG
NixOS_GitHub has left #nixos []
hiratara has quit [(Ping timeout: 258 seconds)]
<Alling> Hm, NixOS doesn't like my cron job on my RPi. systemCronJobs = [ ("00 02 * * sun username ...") ];
<Alling> error: attribute ‘localtime’ missing, at /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/nixos/modules/services/scheduling/cron.nix:125:31
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dywedir opened pull request #30302: feh: 2.20 -> 2.21 (master...feh) https://git.io/vdwMi
NixOS_GitHub has left #nixos []
tmaekawa has joined #nixos
hiratara has joined #nixos
shanemikel has quit [(Quit: My MacBook Air has gone to sleep. ZZZzzz…)]
Alling has left #nixos []
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
shanemikel has joined #nixos
Thra11 has quit [(Quit: IRC for Sailfish 0.9)]
iqubic has joined #nixos
dieggsy has joined #nixos
cement has quit [(Ping timeout: 258 seconds)]
<pxc> :q
<pxc> lol I'm the worst
eacameron has quit [(Remote host closed the connection)]
csingley has quit [(Ping timeout: 240 seconds)]
tmaekawa has quit [(Quit: tmaekawa)]
shanemikel has quit [(Ping timeout: 248 seconds)]
stanibanani has quit [(Ping timeout: 255 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jtojnar opened pull request #30303: meson: 0.42.1 → 0.43.0 (master...meson) https://git.io/vdw9o
NixOS_GitHub has left #nixos []
hiratara has quit [(Remote host closed the connection)]
sigmundv has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/516240688b (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
hiratara has joined #nixos
hook has joined #nixos
silver_hook has quit [(Quit: Konversation terminated!)]
fragamus has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
maiksen_ has quit [(Quit: leaving)]
<obadz> on the scale of glibc to gnome-terminal, how big of a mass rebuild is systemd?
<MichaelRaskin> It's a dependency of gtk3
<obadz> ok so pretty much like an openssl
<MichaelRaskin> qt, too
<MichaelRaskin> it is our libudev, I think
hook is now known as silver_hook
silver_hook has quit [(Changing host)]
silver_hook has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/516240688b (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
nix-gsc-io`bot has quit [(Client Quit)]
dywedir has quit [(Remote host closed the connection)]
griff_ has joined #nixos
<asdfoiawe> Another newbie question: Why do some packages from the nixpkgs git repo not show up in https://nixos.org/nixos/packages.html nor nixos itself?
<asdfoiawe> For example spotify which seems to exist in the repo for a few years
<LnL> most likely because they are unfree
<LnL> pretty sure non linux packages won't show up there either
sigmundv has quit [(Ping timeout: 255 seconds)]
mizu_no_oto has joined #nixos
<asdfoiawe> Sounds reasonable, the nvidia drivers don't show up there either
dieggsy` has joined #nixos
dieggsy has quit [(Ping timeout: 246 seconds)]
griff_ has quit [(Ping timeout: 248 seconds)]
griff__ has joined #nixos
mudri has quit [(Ping timeout: 240 seconds)]
fragamus has joined #nixos
griff_ has joined #nixos
griff__ has quit [(Ping timeout: 240 seconds)]
dieggsy` has quit [(Quit: ERC (IRC client for Emacs 27.0.50))]
Neo-- has quit [(Ping timeout: 258 seconds)]
michiel_l has quit [(Ping timeout: 255 seconds)]
dieggsy has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #30256: easyloggingpp: init at 9.95.0 (master...easyloggingpp-init) https://git.io/vd2b8
NixOS_GitHub has left #nixos []
michiel_l has joined #nixos
digitus has quit [(Quit: digitus)]
mudri has joined #nixos
<tilpner> Where can I find the source for the "scan output for hashes to determine runtime dependencies" part of Nix?
<tilpner> Apparently /share/* is not scanned, while /bin/* is, and I'd like to see the exact implementation, but am having trouble finding it
<clever> tilpner: all files are always scanned in full
<clever> tilpner: do you have a .nix file that can reproduce the problem?
<tilpner> No, sorry. I'll check again and see if I made a mistake
<tilpner> Hmm, yes, it is reproducable
<clever> tilpner: what file is that path present inside?
<tilpner> /share/sourceFoo
<tilpner> Which might not even be linked, not that I think about it
<tilpner> That was stupid
<tilpner> Haha, yes. pathsToLink contains a bunch of /share/something, but not /share itself
<clever> ah
markus1199 has joined #nixos
<tilpner> Thanks for rubberducking! :)
slyfox has quit [(Ping timeout: 255 seconds)]
* tilpner puts a non-executable text file into /bin
markus1189 has quit [(Ping timeout: 248 seconds)]
<clever> and the answer to the previous question, of how it scans
michiel_l_ has joined #nixos
cpennington has joined #nixos
michiel_l has quit [(Ping timeout: 258 seconds)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/9b177399c4 (from 23 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
nix-gsc-io`bot has quit [(Client Quit)]
<tilpner> clever - So I was right to look in libstore, just not the right files... Thanks a lot!
ison111 has joined #nixos
<clever> tilpner: aha, it will serialize the entire path into a NAR, then just check that for the hashes
<clever> 2017-02-22 22:23:23< clever> $ nix-store --dump a | nix-store --restore b
<clever> tilpner: the first one will just serialize a as a NAR, the second will unserialize
<clever> together, that just copies a -> b
<clever> and you could use that as a replacement for tar
<clever> the name of the root (a itself) isnt serialized, but if its a directory, the names of the children are in the stream
rburkholder has quit [(Read error: Connection reset by peer)]
rburkholder has joined #nixos
asdfoiawe has quit [(Ping timeout: 255 seconds)]