<drakonis> so what i linked happens 6 times
<NixOS_GitHub> [nixpkgs] grahamc closed pull request #22457: suil: 0.8.2 -> 0.8.4 (master...u/suil) https://git.io/vDc1J
<NixOS_GitHub> [nixpkgs] grahamc closed pull request #22723: Fix sessions with sddm. (master...fix-sessions-with-sddm) https://git.io/vDr27
<gchristensen> wow there are a LOT of PRs
<ndowens08> yea one of them is mine :)
<gchristensen> which one?
<ndowens08> worker
<NixOS_GitHub> [nixpkgs] grahamc pushed 2 new commits to master: https://git.io/vDrVH
<NixOS_GitHub> nixpkgs/master 446aa68 Robert Helgesson: subtitle-editor: fix build...
<NixOS_GitHub> nixpkgs/master ad623b8 Graham Christensen: Merge pull request #22714 from rycee/fix/subtitle-editor...
t7 has quit [(Remote host closed the connection)]
<gchristensen> looks like Mic92 has been working with you on that
<ndowens08> LnL: found your vim-nix plugin and installed it, yea just got notified on that lol. Didn't know he/she was going to do that
<LnL> yeah I made that, the plugin in nixpkgs is pretty basic
<ndowens08> also found a good .vimrc file so using that too, which enables autoindent so maybe wont have issue like i was having, atleast part of it :)
<gchristensen> (and by a LOT I mean, a lot of _very_ new ones.
<ndowens08> gchristensen: ah, well that was my first package I have made on nixos, as it was easy and well first one I got to work correctly :)
<LnL> yeah, you chose a nice one to get started with
<LnL> some stuff is a pain to package :/
<ndowens08> yeah some i gave up on, like python ones, ew
<drakonis> that is the same thing you linked me
<drakonis> except its postgresql :v
<LnL> I'm referring to the replaces here, I have it working now
<c74d> If I have 72 files in the store matching `*-jdk*.drv`, but no corresponding non-`.drv` files, do I have a JDK in the store?
<c74d> (and if not, why are those there?)
<gchristensen> LnL: whooaaa!
<LnL> gchristensen: still have to write some docs, but we should be able to get it into 17.03
<Mic92> ndowens08: I can not remember python to be too complicated
<gchristensen> super fancy :D
<ndowens08> Mic92: hmm idk, maybe it was b/c nox-review kept spitting out errors, in which may not have really applied to anything that would have kept me from sharing
markus1199 has joined #nixos
markus1209 has joined #nixos
markus1219 has quit [(Ping timeout: 240 seconds)]
<gchristensen> ttuegel: is qt4 still available if we remove kde4?
<gchristensen> / how do I pass it in to packages?
markus1189 has quit [(Ping timeout: 255 seconds)]
<drakonis> i forgot how to fix my nixpath
Kingsquee has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 3 new commits to master: https://git.io/vDrwr
<NixOS_GitHub> nixpkgs/master a777057 ndowens: worker: init at 3.8.5...
<NixOS_GitHub> nixpkgs/master 836ab67 Jörg Thalheim: worker: fix indentation
<NixOS_GitHub> nixpkgs/master 71ca18a Jörg Thalheim: Merge pull request #22716 from ndowens/master...
<ndowens08> yay, working on a second one, epic5 irc :) see if i can do that one or not
Kingsquee has quit [(Client Quit)]
Kingsqueee has joined #nixos
<gchristensen> nice!
<NixOS_GitHub> [nixpkgs] grahamc closed pull request #11080: x3270: init at 3.4ga9 (master...x3270-init) https://git.io/v4BKz
olesk has joined #nixos
<LnL> great! another new contributor <3
<ndowens08> I am not good at it and nor do i really understand expressions lol
<gchristensen> it is okay, you'll learn them as you need to :)
<ndowens08> I can package PKGBUILDS easy, but this is like a new language lol
<ttuegel> gchristensen: Yes, it is available at top-level as simply `qt4`.
<ttuegel> gchristensen: That one's easy because we only keep one version of Qt 4 around :-)
rarnau has joined #nixos
<gchristensen> ttuegel: yeah, ` qt4 = pkgs.kde4.qt4;` but error: attribute ‘qt4’ missing, at /home/grahamc/projects/nixpkgs/pkgs/top-level/all-packages.nix:9196:9
mkoenig has quit [(Ping timeout: 258 seconds)]
goodwill has quit [(Ping timeout: 240 seconds)]
<LnL> heh, that file is so long
<Mic92> ndowens08: after some time, PKGBUILD will feel bloated because of all the boiler code one has to add.
takle has quit [(Ping timeout: 240 seconds)]
olesk has quit [(Ping timeout: 256 seconds)]
takle has joined #nixos
mkoenig has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc closed pull request #14437: cloud9: init at 1.0.0-alpha (master...cloud9_add) https://git.io/vVRL0
goodwill has joined #nixos
<gchristensen> goodwill!
<c74d> If nixpkgs policy is against keeping old versions of packages, is it therefore against having packages that depend on specific versions of other packages?
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #22720: vimPlugins: update to latest (master...vim-plugins) https://git.io/vDrgT
<gchristensen> c74d: it is sort of case
<gchristensen> by-case
<Mic92> c74d: no, we make exception for that. For some packages also multiple versions are ok.
<Mic92> *exceptions
<c74d> I expect my case is on the unfavorable end: I'd like to package rust-clippy, a linter for the Rust programming language, which depends on nightly versions of the Rust compiler
<Mic92> c74d: a specific nightly version, I suppose
mudri has quit [(Quit: WeeChat 1.7)]
<c74d> nixpkgs has nightly versions of rustc, but both clippy and nightly rustc release frequently, and clippy says its releases are only compatible with the contemporary nightly rustc releases
<tnks> why are the Debian package builds of Nix deleted from Hydra?
<tnks> I tried building it myself, but I got a failure due to some kernel module KVM privileges.
<tnks> enough people run Nix on top of Debian or Ubuntu, it seems good to have this available.
<tnks> running the install script is easy, but less than ideal for all situations.
<Mic92> c74d: clippy runs as a standalone, after it is compiled?
<c74d> thus, if only one version of nightly rustc is kept, a clippy package would need to be updated in lockstep with the nightly rustc package, a maintenance burden I doubt would be feasible to keep up
<gchristensen> sounds problematic
<c74d> Mic92: not normally, but it's supported, and I think the most Nix-compatible way
<Mic92> c74d: clippy could have its own rustc
<c74d> (normally it plugs into either the compiler or build system)
rarnau has left #nixos []
ebzzry has joined #nixos
<Mic92> c74d: there is also a rustcNightlyBin. This version is probably easier to override to get a compatible version.
<Mic92> And it won't add too much burden on the continous integration.
phreedom has quit [(Ping timeout: 240 seconds)]
fhoffmeyer has quit [(Ping timeout: 256 seconds)]
<Mic92> * rustNightlyBin
<gchristensen> I'm not sure we'd want to build 3 rust's
ebzzry has quit [(Client Quit)]
<Mic92> gchristensen: in this case it would not really be a separate build, it would be just downloaded as a private dependency for clippy.
<c74d> Mic92: you mean I would take rustNightlyBin as an argument to the clippy expression, then call lib.overrideDerivation on it?
<gchristensen> oh I see, Mic92
phreedom has joined #nixos
<Mic92> c74d: yes, I don't expect a lot to change regarding packaging the precompiled version between different versions of nightly.
acarrico has quit [(Ping timeout: 264 seconds)]
<NixOS_GitHub> [nixpkgs] matthewbauer opened pull request #22726: openblas: disable static libs (master...openblas-closure-size) https://git.io/vDrod
<ndowens08> So how do I update my package that got merged to master, same way I initally commited?
<c74d> Mic92: okay, thanks; I'll try that
<gchristensen> ndowens08: make a PR changing it :)
<ndowens08> gchristensen: thought so :) making sure
<c74d> is pkgs/development/tools/analysis the proper directory for linters?
fhoffmeyer has joined #nixos
<c74d> or should it be in pkgs/development/tools/rust?
<NixOS_GitHub> [nixpkgs] fpletz opened pull request #22727: network-interfaces service: fix bindsTo deps for masters (master...fix/netdev-master-bindsto) https://git.io/vDrKf
fhoffmeyer2 has joined #nixos
fhoffmeyer has quit [(Read error: Connection reset by peer)]
<Mic92> c74d: pkgs/development/tools/rust looks good to me
<gchristensen> So. Many. PRs.
<c74d> okay, thanks
drakonis has quit [(Remote host closed the connection)]
<Mic92> gchristensen: looks like we need more core maintainer?
<gchristensen> Mic92: I don't know, it seems like a recent uptick?
<gchristensen> almost 40 PRs in the last 24 hours
ebzzry has joined #nixos
acarrico has joined #nixos
<ndowens08> ok am i doing this right, i am trying needing to substituteinplace or w/e the bsdinstall file that comes with epic5, so here is what i have:
<ndowens08> substituteAllInPlace bsdinstall \ --replace /bin/cp cp \ etc etc
Drakonis has joined #nixos
<Mic92> ndowens08: yes
<ndowens08> hmm thought it was, not working, maybe doing it in wrong phase
johnsonav has quit [(Ping timeout: 255 seconds)]
<Mic92> ndowens08: I usually use substituteInPlace
<ndowens08> ah
<ndowens08> woot got epic5 working :)
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #22708: ipfs: 0.4.4 -> 0.4.5 // ipfsapi: 0.4.0 -> 0.4.5-pre (master...ipfs_0_4_5) https://git.io/vDrOA
Drakonis has quit [(Read error: Connection reset by peer)]
<gchristensen> hmmm over the last 30 days 690 PRs were created of which 580 were closed, and 61 PRs prs older than the last 30 days were also closed.
<NixOS_GitHub> [nixpkgs] grahamc pushed 2 new commits to master: https://git.io/vDrK1
<NixOS_GitHub> nixpkgs/master 21cb82f Profpatsch: mpd: fix on i686...
<NixOS_GitHub> nixpkgs/master 0d52f15 Graham Christensen: Merge pull request #22717 from Profpatsch/mpd-i686-patch...
<c74d> for meta.platforms of a non-platform-dependent Rust package, should I include only Rust's tier-1 ("guaranteed to work") platforms, or also its tier-2 ("guaranteed to build") platforms?
<c74d> oh, I guess I'll use whatever rustc uses
goodwill has quit [(Ping timeout: 240 seconds)]
yorick has quit [(Remote host closed the connection)]
kyren has quit [(Ping timeout: 276 seconds)]
kyren has joined #nixos
goodwill has joined #nixos
Shoue has quit [(Ping timeout: 240 seconds)]
ebzzry has quit [(Quit: Lost terminal)]
ebzzry has joined #nixos
DarcsAurelius has quit [(Ping timeout: 276 seconds)]
<NixOS_GitHub> [nixpkgs] ndowens opened pull request #22728: epic5: init at 2.0.1 (master...master) https://git.io/vDr6w
<Judson> Is there a standard way to produce a derivation that just points to an existing filesystem directory?
<gchristensen> Judson: theStandardWay = ./path-in-the-filesystem;
<ndowens08> gchristensen: :p
<Judson> I'm working with bunderEnv which both treats the mainGem as a path (because I think it's provided as a derivation) and also as a set.
<ndowens08> gchristensen: guessing you are meaning put openssl and ncurses in the function at top?
<gchristensen> yeah
<Judson> So I'm trying to satisfy that - simply referring to a path gets an error because it doesn't have attrs, and a simple set raises "cannot coerce a set to a string", gchristensen
<ndowens08> gchristensen: if I put them at top it doesnt build
<ndowens08> wait
<ndowens08> nvm, also put them in buildInputs too?
<gchristensen> yeah
<NixOS_GitHub> [nixpkgs] copumpkin pushed 1 new commit to master: https://git.io/vDr6Q
<NixOS_GitHub> nixpkgs/master 4c0aae9 Dan Peebles: ssm-agent: init at 2.0.633.0
<gchristensen> Judson: gosh ... I ... don't know :|
<Judson> Okay, so what I'm doing is weird, and there's not a library function for it?
<gchristensen> Judson: ruby packaging is just a bit more complicated, and I'm not sure how it works.
<Judson> Yeah. I'm aware :) I'm pretty seasoned with Ruby, but fairly new to Nix and having that "this is new and different and frustrating" experience. e.g. can't figure out how to debug what I'm doing beyond hypothesizing about values as they're passed.
<NixOS_GitHub> [nixpkgs] grahamc pushed 2 new commits to master: https://git.io/vDr6p
<NixOS_GitHub> nixpkgs/master 9960f7e Tobias Pflug: flow: 0.37.4 -> 0.39.0
<NixOS_GitHub> nixpkgs/master 8378afa Graham Christensen: Merge pull request #22700 from holidaycheck/update-flow...
<Judson> And kind of convinced that there must be a better way to do what I'm trying to do.
Wizek has quit [(Ping timeout: 256 seconds)]
<gchristensen> Judson: can you paste code of what you're trying to do?
Wizek_ has quit [(Ping timeout: 255 seconds)]
mrkgnao has joined #nixos
<fpletz> gchristensen: that last pr was imho not ready yet :)
yorick has joined #nixos
<gchristensen> fpletz: oh? :|
<gchristensen> :o
<gchristensen> >.> whoops, I thought I read they had done the version pinning. I'll patchup :)
<Judson> (changes to bundler-env/default.nix)...
<Judson> buildGem is maybe the core of it
<gchristensen> man ... I dunno, Judson, you may want to ping cstrahan
<gchristensen> fpletz: got trigger happy with PR count being over 300 :)
<Judson> Okay. From a general Nix perspective though, between line 28 and 117, mainGem has to be a derivation, right?
<fpletz> gchristensen: no worries, the sun will not rise here for another few hours so I'll help out :>
<fpletz> aaa
<gchristensen> what's up?
<fpletz> just ssh lag, sorry :)
<gchristensen> :)
<gchristensen> do you know how to set passthru's on a path?
<ndowens08> gchristensen: fixed yours and fplets request
<fpletz> gchristensen: what do you mean exactly with path? the passthru's are only available at evaluation time in nix iirc
ebzzry has quit [(Ping timeout: 245 seconds)]
<pikajude> you can't it has to be an attrset
<pikajude> you can make it act like a path when toStringed i think if you make an attrset with the attributes you want and outPath pointing to what you want the string representation to be
<NixOS_GitHub> [nixpkgs] grahamc pushed 1 new commit to master: https://git.io/vDri2
<NixOS_GitHub> nixpkgs/master 4450327 Graham Christensen: flow: pin ocaml to ocaml_4_02
<ttuegel> gchristensen: That is strangely roundabout. Seems like you should be able to do `qt4 = callPackage ../development/libraries/qt-4.x/ {}`.
takle has quit [(Read error: Connection reset by peer)]
<gchristensen> fun :)
<ndowens08> hmm well darwin's build failed, missing iconv
Drakonis has joined #nixos
<Judson> Huh. There's a toDerivation in attrsets.nix, which I'm going to crib from...
<gchristensen> ok bed time for me
<Judson> G'night. Thanks for the help.
<ndowens08> should I add iconv to the function for darwin support? in which i dont even know if that is what is called on darwin too
<gchristensen> ndowens08: ping LnL
<ndowens08> LnL: ?
endformationage has joined #nixos
ebzzry has joined #nixos
MP2E has joined #nixos
jabb has joined #nixos
johnsonav has joined #nixos
<justanotheruser> when I run 'platformio run --target upload' I have "Error while loading shared libraries: libusb-1.0.so.0: cannot open shared object file: No such file or directory" - I have libusb1 and libusb installed. what do I do?
<justanotheruser> someone mentioned that 'you need to play around with pkgs/development/arduino/platformio/* to add libusb'
<justanotheruser> I'm not exactly sure what that means, shouldn't it know about it if my library path is in my env variables?
<benley> wow here's a weird one. Why doesn't this expression work? (builtins.toJSON { foo = ./.screenrc; })
<benley> it results in "error: illegal name: '.screenrc'"
<Judson> Pure curiosity, but is there a reason that Rubinius isn't in Nix?
indi_ has quit [(Remote host closed the connection)]
Sonarpulse has quit [(Remote host closed the connection)]
<benley> Judson: the most likely reason is just that nobody has done it yet
indi_ has joined #nixos
<Judson> Okay. Previous experience trying to bring it into Gentoo was that it was tough to build and that the project was dismissive of packaging challenges.
<benley> I see no mention of it in the nixpkgs repo, which makes me think probably nobody has attempted it.
<benley> usually there would at least be a bug open or something
<Judson> Okay. Interesting.
derjohn_mob has quit [(Ping timeout: 240 seconds)]
<benley> If you know, what makes it hard to build?
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
defel has quit [(Ping timeout: 240 seconds)]
<Judson> IIRC (and this may all be out of date) they use Rake to build it (so you need Ruby already), and they have a default target and an install target - so you might expect something like `rake; rake install` except `rake` does a dev build and installs it. There weren't two steps to the install process, which meant separating out a build and install step for the package was a giant pain.
<Judson> There were also some assumptions made about the running system that needed to be patched in the build steps.
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
<Judson> I mostly remember being the tortured go-between for the Rubinius project ("why would you want that? Oh, but no one uses Gentoo lol") and Gentoo devs ("our mysterious style preferences demand...")
<ndowens08> weird, i squashed my commits for epic5 and somehow it has a previous commit message about worker: fix identation
olesk has joined #nixos
<ndowens08> great, also some how it wants to change worker, gah may have to close PR and redo :(
<benley> Judson: lol, sounds about right
<NixOS_GitHub> [nixpkgs] ndowens closed pull request #22728: epic5: init at 2.0.1 (master...master) https://git.io/vDr6w
<ndowens08> fpletz: had to close that pr on epic, somehow i messed up on commits so it was gonna change worker i did earlier
<ndowens08> but atleast it builds on darwin now too :)
Sonarpulse has joined #nixos
olesk has quit [(Ping timeout: 240 seconds)]
mkoenig has quit [(Ping timeout: 258 seconds)]
panostimos has quit [(Ping timeout: 255 seconds)]
lambdamu has quit [(Ping timeout: 276 seconds)]
derjohn_mob has joined #nixos
mkoenig has joined #nixos
kyren has quit [(Ping timeout: 240 seconds)]
kyren has joined #nixos
<Judson> What's the difference between bultins.hasAttr and the ? operator?
<fpletz> ndowens08: you don't need to close pull requests, you can just force push to that same branch to update the pull request
<ndowens08> fpletz: yea i was gonna try rebasing it to fix it, but since i squashed them i only had one commit; I dont understand git very well, only way i know to fixing it and dont want to mess up worker i did earlier :(
<benley> Judson: iirc, hasAttr returns a boolean value, the ? operator returns the attribute or a default value
Drakonis has quit [(Remote host closed the connection)]
Drakonis has joined #nixos
mizu_no_oto has joined #nixos
indi_ has quit [(Remote host closed the connection)]
edvorg has quit [(Ping timeout: 240 seconds)]
jabb has quit [(Ping timeout: 260 seconds)]
mbrgm has quit [(Ping timeout: 240 seconds)]
<c74d> the operator that returns an attribute's value or a default value if the attribute doesn't exist is `or`
takle has joined #nixos
jabb has joined #nixos
mbrgm has joined #nixos
<benley> what about in function parameters, where you can do like { something ? defaultvalue }:
takle has quit [(Ping timeout: 240 seconds)]
<c74d> oh, there is that, but that's not an operator
<NixOS_GitHub> [nixpkgs] ndowens opened pull request #22730: epic5: init at 2.0.1 (master...master) https://git.io/vDr1z
<ndowens08> fpletz: https://github.com/NixOS/nixpkgs/pull/22730 there we go, updated, new pr;
s33se_ has joined #nixos
s33se has quit [(Ping timeout: 264 seconds)]
takle has joined #nixos
<benley> okay I'm really confused by the output of a few of these cases: https://gist.github.com/benley/33e6dfb5a6ae79fdb1127577387160d5
<benley> Especially the last one, where the path magically becomes a store path
mkoenig has quit [(Ping timeout: 276 seconds)]
mkoenig has joined #nixos
indi_ has joined #nixos
takle has quit [(Ping timeout: 276 seconds)]
<justanotheruser> peterhoeg: do you have an example of making it so a package recognizes a library? (eg. libusb1)
davidak has quit [(Quit: Leaving.)]
takle has joined #nixos
ndowens has joined #nixos
ndowens has quit [(Client Quit)]
takle has quit [(Ping timeout: 260 seconds)]
hexagoxel has quit [(Ping timeout: 260 seconds)]
<ndowens08> build 2 failed on epic5, looks like it is debian it seems, dpkg-configure: tcl something not found
hexagoxel has joined #nixos
ttuegel has quit [(Remote host closed the connection)]
takle has joined #nixos
<yorick> or maybe we could kill the manual instead
takle has quit [(Ping timeout: 245 seconds)]
<ndowens08> need a way to detect if the os is debian or not
excelangue has quit [(Ping timeout: 240 seconds)]
<yorick> ndowens08: lsb_release?
excelangue has joined #nixos
<ndowens08> think that is redhat? reason i need it so i can use if statement if host = debian don't install tcl
<ndowens08> so all 3 builds from CI works
<ndowens08> seems installing tcl on debian build fails but w/o it build works but not for darwin
<ndowens08> trying to find a free debian shell account to try and see
takle has joined #nixos
mkoenig has quit [(Ping timeout: 240 seconds)]
mkoenig has joined #nixos
excelangue has quit [(Ping timeout: 240 seconds)]
<ndowens08> ok virtualbox doesnt work
takle has quit [(Ping timeout: 240 seconds)]
<ndowens08> no command found for virtualbox after installing
<Drakonis> i feel contrarian right now, i want to try freebsd on a vm
<ndowens08> Drakonis: heh, i have it on HD atm, i have windows, arch,freebsd, and nixos
<Drakonis> i have nixos set up the way i want
<Drakonis> except for kdm5's login screen
<Drakonis> that shit is eyepopping
<ndowens08> ah. can you tell me if virtualbox works for you, i did nix-env -i virtualbox but it gives virtualbox command not found
<Drakonis> and i don't know what are my options in the .nix file because there's no kdm settings module
<Drakonis> i'm not on nix right now
<Drakonis> my suggestion
<Drakonis> try installing nox
<ndowens08> did that
<benley> Drakonis: You might consider replacing kdm with sddm, which is the new default display manager for kde
<Drakonis> i am using sddm
<benley> Oh
<Drakonis> i meant
<Drakonis> kde
<ndowens08> nox didnt help either
<Drakonis> i'll see the repos then
excelangue has joined #nixos
<Drakonis> looks like it entered the repos right before 16.09
<Drakonis> or was it after
<ndowens08> seems it is messed up IMO, doesnt work, needed it to install small debian vm to see something for this package
<ndowens08> i am using the unstable channel so...
<benley> Drakonis: I figured out how to change the sddm theme today at least; you can get the default one (which is less blinding) by setting displayManager.sddm.theme = ""
<Drakonis> awesome
<ndowens08> yup and it is in unstable too, but doesnt launch
<Drakonis> the default blue theme without any setup is ugly
<benley> Drakonis: and there are two others included, "elarun" and "maldives"
<tippenein> my nix-build is complaining about "will have no output because there's no Main module", so it seems it's not looking in the hs-source-dirs directory I specified in the .cabal file?
<Drakonis> why not use qemu ndowens08
<benley> what I haven't figured out yet is how to set options for sddm themes that have things you can configure
<Drakonis> good to know about those two
<tippenein> is there some arg I have to give it to tell it where to find the Main?
<Drakonis> benley, that's a KDE settings module
<ndowens08> Drakonis: forgot about that one
<Drakonis> its not packaged though
<Drakonis> qemu is so much better though
<benley> Drakonis: also note, the sddm upstream default is different from the nixos default theme ("breeze")
<ndowens08> nix-env -i qemu is installing :)
<Drakonis> i see
<benley> if you want the upstream default you have to explicitly set sddm.theme = ""
<benley> I forget what that theme is actually called; it's the one that is compiled into sddm
<ndowens08> so yea qemu is in the repo, atleast unstable
<Drakonis> https://cgit.kde.org/sddm-kcm.git if anyone doesn't mind packaging this real quick
<Drakonis> can't say i'm good enough for this one yet
<Drakonis> and the who was it that said it wasn't necessary to have it in the repos
<benley> Drakonis: where does that write its config changes? If it edits /etc/sddm.conf it's not going to be easy to integrate
<Drakonis> it is necessary until there is a proper way to view available options for modules
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
mguentner has quit [(Quit: WeeChat 1.6)]
<Drakonis> one moment i'll find that out
<Drakonis> its a module for the settings application
<Drakonis> it just edits sddm.conf it doesn't look for a specific directory
<Drakonis> it picks off the same place as every other module the settings menu uses in KDE5
<benley> right, that's where the UI runs.
<Drakonis> yes
<Drakonis> seems fairly simplistic to package
<benley> I just suspect that in order to save its changes, it needs to become root and overwrite /etc/sddm.conf
<Drakonis> it doesn't
<Drakonis> look at the code
<benley> not certain though, maybe sddm is more clever than I give it credit for
<NixOS_GitHub> [nixpkgs] copumpkin pushed 1 new commit to master: https://git.io/vDry3
<NixOS_GitHub> nixpkgs/master e928cb1 Dan Peebles: ssm-agent NixOS module: init
<Drakonis> its well written enough to be aware
<Drakonis> thanks kde folks for writing good frameworks
jarlg has joined #nixos
mguentner has joined #nixos
<Drakonis> looks like kcm-gtk has no special packaging necessary for it
fhoffmeyer2 has quit [(Read error: Connection reset by peer)]
<Drakonis> maybe i'll just copy it when i reboot and make the module available
<Drakonis> can't be too tough since there's no special conditioning
<Drakonis> as it does effectively the same thing as sddm-kcm
<NixOS_GitHub> [nixpkgs] copumpkin pushed 1 new commit to master: https://git.io/vDryu
<NixOS_GitHub> nixpkgs/master e63d15f Dan Peebles: ecs-agent NixOS module: enable docker
ndowens08 has quit [(Ping timeout: 258 seconds)]
systemfault has quit [(Quit: Bye!)]
<Drakonis> alright, brb rebooting to try this
Drakonis has quit [(Read error: Connection reset by peer)]
fhoffmeyer has joined #nixos
stepcut has quit [(Remote host closed the connection)]
ebzzry has quit [(Ping timeout: 240 seconds)]
drakonis has joined #nixos
fhoffmeyer has quit [(Ping timeout: 255 seconds)]
fhoffmeyer has joined #nixos
peterhoeg_ has joined #nixos
<drakonis> well now i feel stupid about nixos breaking
<drakonis> i didn't have the nix expressions downloaded
<drakonis> and doesn't look like nix makes sure you have the channel downloaded before rebuilding
takle has joined #nixos
olesk has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
jabb has quit [(Ping timeout: 264 seconds)]
olesk has quit [(Ping timeout: 258 seconds)]
hexagoxel has quit [(Ping timeout: 258 seconds)]
drakonis has quit [(Remote host closed the connection)]
mguentner2 has joined #nixos
excelangue has quit [(Remote host closed the connection)]
hexagoxel has joined #nixos
excelangue has joined #nixos
uralbash has joined #nixos
peterhoeg_ has quit [(Quit: http://quassel-irc.org - Chat comfortably. Anywhere.)]
peterhoeg_ has joined #nixos
mguentner has quit [(Ping timeout: 240 seconds)]
peterhoeg_ has quit [(Client Quit)]
peterhhoeg has joined #nixos
<tnks> is it possible to get the output of `nix-store -qR` from within a Nix expression derivation?
systemfault has joined #nixos
<tnks> because /nix/var is impure, I don't think I can rely on the database.
peterhhoeg has quit [(Remote host closed the connection)]
<tnks> all the information is technically there in /nix/store... I'm just not sure how much work it would be to reconsitute it.
<simpson> tnks: Hm, isn't relying on /nix/store *also* impure? Or otherwise you'd be retriving a very large imaginary space of not-yet-defined packages...
ebzzry has joined #nixos
<tnks> simpson: I realized that dockerTools must be doing something similar.
<tnks> and that lead me to writeReferencesToFile
<tnks> so I think this problem is addressed by code already in nixpkgs.
endformationage has quit [(Quit: WeeChat 1.6)]
<simpson> tnks: Oh, I see, I misunderstood what you wanted. Yes.
takle has joined #nixos
ebzzry has quit [(Ping timeout: 252 seconds)]
takle has quit [(Ping timeout: 276 seconds)]
pikajude has quit [(Quit: ZNC 1.6.3 - http://znc.in)]
pikajude has joined #nixos
fhoffmeyer has quit [(Ping timeout: 245 seconds)]
roconnor__ has joined #nixos
fhoffmeyer has joined #nixos
indi_ has quit [(Ping timeout: 258 seconds)]
indi_ has joined #nixos
takle has joined #nixos
roconnor__ has quit [(Ping timeout: 240 seconds)]
takle has quit [(Ping timeout: 240 seconds)]
fhoffmeyer has quit [(Ping timeout: 256 seconds)]
alx741 has quit [(Quit: alx741)]
fhoffmeyer has joined #nixos
takle has joined #nixos
alx741 has joined #nixos
takle has quit [(Ping timeout: 256 seconds)]
copumpkin has quit [(Quit: My MacBook Pro has gone to sleep. ZZZzzz…)]
takle has joined #nixos
indi_ has quit [(Ping timeout: 245 seconds)]
matthewbauer has joined #nixos
indi_ has joined #nixos
takle has quit [(Ping timeout: 264 seconds)]
jabb has joined #nixos
ryanartecona has joined #nixos
olesk has joined #nixos
fhoffmeyer has quit [(Read error: Connection reset by peer)]
fhoffmeyer2 has joined #nixos
olesk has quit [(Ping timeout: 256 seconds)]
MercurialAlchemi has joined #nixos
ebzzry has joined #nixos
katyucha1 has joined #nixos
katyucha has quit [(Killed (verne.freenode.net (Nickname regained by services)))]
katyucha1 is now known as katyucha
TroniQ89 has quit [(Ping timeout: 240 seconds)]
katyucha1 has joined #nixos
alx741 has quit [(Quit: alx741)]
reinzelmann has joined #nixos
takle has joined #nixos
dramforever has joined #nixos
TroniQ89 has joined #nixos
takle has quit [(Ping timeout: 255 seconds)]
TroniQ89 has quit [(Ping timeout: 240 seconds)]
tm_ has joined #nixos
ebzzry has quit [(Ping timeout: 245 seconds)]
takle has joined #nixos
xeviox has joined #nixos
takle has quit [(Ping timeout: 256 seconds)]
TroniQ89 has joined #nixos
TroniQ89 has quit [(Ping timeout: 240 seconds)]
<benley> ah shit I just accidentally upgraded the system nix store schema to version 10 and now the release version of nix can't read it
<benley> now what do I do
TroniQ89 has joined #nixos
* benley finds clues in irc logs
Itkovian has joined #nixos
takle has joined #nixos
ryanartecona has quit [(Quit: ryanartecona)]
takle has quit [(Ping timeout: 240 seconds)]
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
indi_ has quit [(Ping timeout: 258 seconds)]
indi_ has joined #nixos
rootnode has joined #nixos
<rootnode> if I have a 3rd party package with a hardcoded /usr/bin/file in its configure files...is there any easy fix for that?
<rootnode> quite a larger package, so anything automated would be muuuuuuuch appreciated
<simpson> rootnode: substituteInPlace
Itkovian has quit [(Ping timeout: 240 seconds)]
<rootnode> hm, will try to run that over all files
<rootnode> thanks, will take a look
<simpson> Well, you should try to be precise about things.
<simpson> But yeah, those are the general tools that we use.
<rootnode> the package in question is https://github.com/riscv/riscv-tools
<rootnode> and the configure scripts are plastered with hardcoded paths
jarlg has quit [(Quit: WeeChat 1.5)]
jgertm has joined #nixos
goibhniu has quit [(Ping timeout: 240 seconds)]
Itkovian has joined #nixos
<NixOS_GitHub> [nixpkgs] rycee pushed 2 new commits to release-16.09: https://git.io/vDrAy
<NixOS_GitHub> nixpkgs/release-16.09 bb0f9d5 José Romildo Malaquias: subtitleeditor: 0.52.1 -> 0.53.0...
<NixOS_GitHub> nixpkgs/release-16.09 d375f42 Robert Helgesson: subtitle-editor: fix build...
pi3r has joined #nixos
takle has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub> [nixops] rbvermaa pushed 1 new commit to master: https://git.io/vDrxr
<NixOS_GitHub> nixops/master 08d5156 Rob Vermaas: Use nix in stead of nixUnstable in hetzner bootstrap.
mkoenig has quit [(Ping timeout: 252 seconds)]
mkoenig has joined #nixos
Itkovian has quit [(Ping timeout: 276 seconds)]
hamishmack has quit [(Quit: hamishmack)]
xeviox has quit [(Quit: Leaving)]
panostimos has joined #nixos
thc202 has joined #nixos
takle has joined #nixos
dramforever has quit [(Quit: Leaving)]
mbrgm has quit [(Quit: ZNC 1.6.3 - http://znc.in)]
indi_ has quit [(Remote host closed the connection)]
takle has quit [(Ping timeout: 245 seconds)]
<hendrik[m]> Is there already something built like node2nix for composer?
mbrgm has joined #nixos
olesk has joined #nixos
olesk has quit [(Ping timeout: 276 seconds)]
takle has joined #nixos
mrkgnao has quit [(Ping timeout: 240 seconds)]
Wizek has joined #nixos
Wizek_ has joined #nixos
derjohn_mob has quit [(Ping timeout: 245 seconds)]
fritschy has joined #nixos
nschoe has joined #nixos
goibhniu has joined #nixos
takle has quit [(Remote host closed the connection)]
FRidh has joined #nixos
binarin has quit [(Remote host closed the connection)]
olesk has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to staging: https://git.io/vDrj4
<NixOS_GitHub> nixpkgs/staging 94db8d7 Frederik Rietdijk: Revert "pythonPackages.argparse: only for Python < 2.7"...
<NixOS_GitHub> [nixpkgs] rbvermaa pushed 1 new commit to release-16.09: https://git.io/vDrjz
<NixOS_GitHub> nixpkgs/release-16.09 e16db56 Rob Vermaas: Use default qemu for azure image generation, and use option to enforce sizing of image to be compliant with Azure/HyperV.
<NixOS_GitHub> [nixpkgs] rbvermaa pushed 1 new commit to master: https://git.io/vDrjg
<NixOS_GitHub> nixpkgs/master eff0752 Rob Vermaas: Use default qemu for azure image generation, and use option to enforce sizing of image to be compliant with Azure/HyperV....
tommyangelo has joined #nixos
takle has joined #nixos
siel has quit [(Ping timeout: 264 seconds)]
siel has joined #nixos
jgertm has quit [(Ping timeout: 276 seconds)]
bennofs has joined #nixos
ravloony has joined #nixos
civodul has joined #nixos
tommyangelo has quit [(Ping timeout: 255 seconds)]
nschoe has quit [(Quit: Program. Terminated.)]
Itkovian has joined #nixos
phreedom has quit [(Ping timeout: 240 seconds)]
olesk has quit [(Ping timeout: 240 seconds)]
ebzzry has joined #nixos
bennofs has quit [(Ping timeout: 240 seconds)]
sibi has quit [(Quit: Connection closed for inactivity)]
derjohn_mob has joined #nixos
phreedom has joined #nixos
mindB has left #nixos ["User left"]
dramforever has joined #nixos
nschoe has joined #nixos
defel has joined #nixos
johann__ has joined #nixos
teknico has joined #nixos
<goibhniu> Does anyone happen to know of a screensharing program that works on NixOS that lets you control a remote (ubuntu) machine?
indi_ has joined #nixos
<MichaelRaskin> x11vnc + vncviewer?
mudri has joined #nixos
indi_ has quit [(Remote host closed the connection)]
<goibhniu> ah thanks, I should have mentioned, the machine is behind a NAT without the option to set up port forwarding ... I think that would be a problem for VNC, right?
indi_ has joined #nixos
<MichaelRaskin> That's true. You can setup a tunnel using SSH to some server controlled by you, though
<NixOS_GitHub> [nixpkgs] adevress closed pull request #17975: petsc: init at version 3.7 (master...new_petsc) https://git.io/v6dGp
<goibhniu> yeah, I fear that will be difficult to explain to my dad, so I'm hoping to get access to the box some other way ... apparently TeamViewer might work
indi_ has quit [(Remote host closed the connection)]
Itkovian_ has joined #nixos
Itkovian has quit [(Ping timeout: 264 seconds)]
excelangue has quit [(Ping timeout: 245 seconds)]
<domenkozar> peti: hey!
<domenkozar> do you need some help with stackage LTS 8?
excelangue has joined #nixos
MichaelRaskin has quit [(Remote host closed the connection)]
jgertm has joined #nixos
ebzzry has quit [(Ping timeout: 255 seconds)]
fadenb[m] has joined #nixos
hamishmack has joined #nixos
systemfault has quit [(Quit: Bye!)]
<NixOS_GitHub> [nixpkgs] rbvermaa pushed 1 new commit to release-16.09: https://git.io/vDoUg
<NixOS_GitHub> nixpkgs/release-16.09 2da8a5d Rob Vermaas: Azure: switch back to qemu 2.2.0 for generating image. Seems to work best.
<NixOS_GitHub> [nixpkgs] rbvermaa pushed 1 new commit to master: https://git.io/vDoUV
<NixOS_GitHub> nixpkgs/master af3732b Rob Vermaas: Azure: switch back to qemu 2.2.0 for generating image. Seems to work best....
<mbrgm> hey! I would like to create a nixos service module for keepalived. now this is a service with tons of config options. what would be the best strategy for translating this to nixos options? I think it wouldn't be feasible to map all possible options in a 1:1 fashion. so if I just wanted to start out with an option for adding verbatim config, would an 'extraConfig' option be ok?
<NixOS_GitHub> [nixops] rbvermaa pushed 1 new commit to master: https://git.io/vDoUh
<NixOS_GitHub> nixops/master 8bf4218 Rob Vermaas: Update Azure image
<NixOS_GitHub> [nixpkgs] FRidh force-pushed python-wip from 8fe042b to ace5e39: https://git.io/vzaOS
<NixOS_GitHub> nixpkgs/python-wip 601febc Frederik Rietdijk: pythonPackages.urllib3: 1.12 -> 1.20
<NixOS_GitHub> nixpkgs/python-wip d4807b3 Frederik Rietdijk: urllib3 fixup
<NixOS_GitHub> nixpkgs/python-wip 5748172 Frederik Rietdijk: pythonPackages.llvmlite: 0.14.0 -> 0.15.0
<sphalerite> mbrgm: that sounds like the right approach to me
<mbrgm> ok. then my next question is: keepalived requires two sysctl options (net.ipv4.ip_forward, net.ipv4.ip_nonlocal_bind) to be set. should the service module set them using 'boot.kernel.sysctl...' or is it preferred to set them using the sysctl binary before the service starts?
indi_ has joined #nixos
justbeingglad has joined #nixos
<sphalerite> The former, I think. That way it's easier to find out what sets them and override them should the user for some reason want to disable them anyway
<mbrgm> my gut feeling would be that the latter is the less permanent/no reboot required solution, so maybe this should be preferred in respect to the determinism of the system configuration. but I'm not sure, so asking you guys
justbeingglad has left #nixos []
<sphalerite> If the latter option doesn't require a reboot, it should also be possible to implement the former in such a manner
<sphalerite> In general, I'd always prefer the nix interface.
<mbrgm> ok.
<sphalerite> I'm not an expert though, so it would be nice for someone to confirm what I say :D
<sphalerite> (confirm or correct)
dramforever has quit [(Ping timeout: 256 seconds)]
<mbrgm> sphalerite: if I'm interpreting https://github.com/NixOS/nixpkgs/blob/release-16.09/nixos/modules/config/sysctl.nix#L50-L53 correctly, then changing a configuration option should trigger a restart of systemd-sysctl...
<mbrgm> so I guess that's for reloading the modified options. I'll check though.
<sphalerite> Yep, that seems right to me. So the former option would also not require a reboot.
hotfuzz_ is now known as hotfuzz
indi_ has quit [(Remote host closed the connection)]
ebzzry has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh opened pull request #22732: Python 2.6: remove it (master...python26) https://git.io/vDokC
indi_ has joined #nixos
<benley> jophish: awesome - I somehow managed to come up with that process independently and it fixed it :)
olesk has joined #nixos
<jophish> benley: oh great. I just resigned myself to using nixUnstable from now on :)
<benley> heh
<benley> it's also reassuring that even in the worst case where you lose the nix database entirely, you can use nixos-rebuild and get almost everything back where it was
<ravloony> I'm trying to make a nix package for staytus (rails app https://github.com/adamcooke/staytus/) using bundix. I have a default.nix here: http://pastebin.com/QNVHsRKS, but when I run `nix-build '<nixpkgs>' --dry-run --show-trace -A staytus` I get "error: attribute ‘staytus’ in selection path ‘staytus’ not found".
<manveru> ravloony: did you add it to all-packages.nix ?
<ravloony> manveru: Not yet, I just wanted to see if my default.nix was correct. Do I need to?
<manveru> well, you try to build an attribute, but your mkDerivation is already the toplevel
<manveru> where is your default.nix?
<manveru> did you add it to nixpkgs or is it somewhere else?
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
<ravloony> I checked out the package from git as there is no distro package, and ran bundix in the folder, then wrote default.nix in the folder too.
Shoue has joined #nixos
<mbrgm> https://d3g5gsiof5omrk.cloudfront.net/nixos/unstable/nixos-17.03pre100821.6651c72 hash column has the headline 'sha-512 hash' while those are sha256 hashes. should someone(TM) create a ticket for this or am I getting something wrong?
ravloony has quit [(Remote host closed the connection)]
ravloony has joined #nixos
<manveru> ravloony: one minute...
indi_ has quit [(Ping timeout: 252 seconds)]
<manveru> ravloony: you can try replacing the '{stdenv,bundlerEnv,ruby}' line with 'with import <nixpkgs> {};' and then run `nix-shell` instead
<ravloony> sure
<ronny> ravloony: for utility make a default,nix, that does the import and then uses callPackage ./package.nix {};
<manveru> and maybe also the buildInputs, to look like [env.ruby env.bundler env]
<manveru> then you can easily `bundle exec rails console` and get a nice error about missing db config
<ravloony> seems to be building
<manveru> oh, and the bundlerEnv can simply be `bundlerEnv { name = "staytus-gems"; inherit ruby; gemdir = ./.; }`
<the-kenny> Hey! Anyone familar with the xsession stuff in nixpkgs? I've got a very strange problem.
<the-kenny> In our xsession script I have to change sessionType="$1" to "$2" to make it actually work
<the-kenny> Else the $sessionType is '/nix/store/... herbstluftwm + xmonad' where it's supposed to be "herbstluftwm + xmonad"
<the-kenny> Strangely none of this code was touched since 2009
<ravloony> manveru: nix-shell complains about missing gemset and gemfile
<manveru> oh... how old is your system?
<ravloony> installed it on friday
<manveru> it should be possible since 16.09
<ravloony> hmm it should be 16.09
<manveru> well, then keep the old way...
<manveru> weird though
<NixOS_GitHub> [nixpkgs] FRidh force-pushed python-wip from ace5e39 to db48687: https://git.io/vzaOS
<NixOS_GitHub> nixpkgs/python-wip 0339660 Frederik Rietdijk: pythonPackages.urllib3: 1.12 -> 1.20
<NixOS_GitHub> nixpkgs/python-wip 405935d Frederik Rietdijk: pythonPackages.llvmlite: 0.14.0 -> 0.15.0
<NixOS_GitHub> nixpkgs/python-wip 97e7db1 Frederik Rietdijk: pythonPackages.numba: 0.29.0 -> 0.30.1
drakonis has joined #nixos
drakonis has quit [(Remote host closed the connection)]
<the-kenny> okay, nevermind. Someone fixed exactly the issue I'm seeing a few hours ago :)
fhoffmeyer2 has quit [(Ping timeout: 255 seconds)]
chakerbenhamed has joined #nixos
indi_ has joined #nixos
drakonis has joined #nixos
fhoffmeyer has joined #nixos
peterhhoeg has joined #nixos
<NixOS_GitHub> [nixpkgs] edolstra pushed 2 new commits to master: https://git.io/vDoYk
<NixOS_GitHub> nixpkgs/master 4af79a7 Eelco Dolstra: Revert "linux: Apply 9p veryloose patch to 4.9"...
<NixOS_GitHub> nixpkgs/master a4ec184 Eelco Dolstra: VM tests: veryloose -> cache=loose
<peti> domenkozar: I'll merge to master in a minute. Then everyone can contribute build fixes. Most stuff compiles already.
mudri has quit [(Ping timeout: 245 seconds)]
indi_ has quit [()]
fhoffmeyer has quit [(Read error: Connection reset by peer)]
fhoffmeyer2 has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 12 new commits to master: https://git.io/vDoOZ
<NixOS_GitHub> nixpkgs/master 5d3bb96 Peter Simons: LTS Haskell 8.0...
<NixOS_GitHub> nixpkgs/master 958b100 Peter Simons: haskell-common: drop overrides that have become obsolete with LTS 8.x
<NixOS_GitHub> nixpkgs/master 29a1db9 Peter Simons: haskell-lifted-base: jailbreak to work around https://github.com/basvandijk/lifted-base/issues/34
dramforever has joined #nixos
mudri has joined #nixos
<gchristensen> FRidh: I'm heavily +1 on making python3 default before branch-off :)
<gchristensen> doing it after will make backporting tricky for 6 months
<sphalerite> What was the command for generating a password hash for use in users.users.<name>.hashedPassword again?
<NixOS_GitHub> [nixpkgs] dermetfan opened pull request #22735: buildRustPackage: fix fetch-cargo-deps when no Cargo dependencies (master...fix-rust-no-deps) https://git.io/vDosc
<domenkozar> !m peti
<[0__0]> You're doing good work, peti!
<gchristensen> sphalerite: it is in the docs for that option, "install mkpasswd package and run mkpasswd -m sha-512."
<sphalerite> aaah
<sphalerite> thanks
<gchristensen> 17.03 is turning in to a hell of a release :D
<sphalerite> I wanted to add it into the manual as well, because I found it hard to find
<gchristensen> oh, sure!
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 1 new commit to master: https://git.io/vDosE
<NixOS_GitHub> nixpkgs/master b2fcf9f Michael Raskin: love_0_10: 0.10.1 -> 0.10.2
<jophish> peti: thanks!
<domenkozar> I'll test my 300 deps right away :)
<jophish> we've been using 8.0.2 for a while internally, I'll see if I can find any fixed we're doign
<domenkozar> yeah we're also
Kingsqueee has quit [(Quit: https://i.imgur.com/qicT3GK.gif)]
<domenkozar> just didn't switch for deployments due to lack of binaries
<domenkozar> but I'm so excited about this, parallel builds and no more split-obj 30% slowdown
ebzzry has quit [(Ping timeout: 252 seconds)]
<NixOS_GitHub> [nixpkgs] dermetfan closed pull request #22735: buildRustPackage: fix fetch-cargo-deps when no Cargo dependencies (master...fix-rust-no-deps) https://git.io/vDosc
ebzzry has joined #nixos
<jophish> these is our "fixes" section at the moment, later this week I'll try bumping us up to master and removing the fixes and see what breaks: https://gist.github.com/expipiplus1/62d41cf3c8d2a9c190732c172ab733fc
phreedom has quit [(Ping timeout: 240 seconds)]
pi3r has quit [(Ping timeout: 240 seconds)]
mudri has quit [(Ping timeout: 240 seconds)]
<NickHu> is there a idiomatic nixos way to manage dotfiles in the home directory in configuration.nix?
<gchristensen> not really, NickHu, but you might check out Nix-Home
pi3r has joined #nixos
<maurer> NickHu: Another approach you can take is to follow the example of vim_configurable
ertesx has joined #nixos
<maurer> NickHu: and build programs which will have defaults equivalent to your personal configuration, and install those in the home directory
<maurer> NickHu: The big thing to be careful of with managing dotfiles via nix is that all files in the nix-store are world readable
<maurer> NickHu: So you need to take a bit of care to ensure no auth tokens, passwords, keys, etc. land there
iyzsong has joined #nixos
<NickHu> I see
<NickHu> Is it somewhere in the roadmap?
<NickHu> I only really plan to use nix on machines I fully own and no one else uses anyway
phreedom has joined #nixos
<maurer> Different individuals have attempted stuff (e.g. the thing gchristensen linked)
<maurer> there's not a big official thing to the best of my knowledge
<NixOS_GitHub> [nixpkgs] lheckemann opened pull request #22736: Manual: document users.users.<name>.hashedPassword (master...doc-passwd) https://git.io/vDoGj
<maurer> Note that just because you're the only one who uses the machine, doesn't mean it's OK for it to be world readable
ertes has quit [(Ping timeout: 245 seconds)]
ertesx is now known as ertes
<maurer> The security model of various other services that you may run on your machine as dependencies assumes user-based isolation from data they shouldn't read
<maurer> It'll probably be OK if you're the only one using it, but generally it's not a great plan
<maurer> (keeping configuration dotfiles and defaults in the store on the other hand, is a great plan, and I do this custom for some packages)
<sphalerite> NickHu: I do it like this https://github.com/lheckemann/dotfiles/blob/master/default.nix — that way I can `nix-env -f ~/dotfiles -i` after cloning it to get all the software that I want, configured the way I want it (pretty much the approach that maurer describes, except that I include all the software I use as well)
Itkovian_ has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
ebzzry has quit [(Ping timeout: 256 seconds)]
<NickHu> I'm very new to nixos; is there an api for pkgs where I can look up methods like symlinkJoin and writeScriptBin?
<gchristensen> hmm
<gchristensen> NickHu: I'm afraid a lot of these are learned by exposure to their use
<gchristensen> NickHu: but both of those are described here: https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/trivial-builders.nix
<gchristensen> NickHu: you may find my search useful: https://search.nix.gsc.io/?q=symlinkJoin %3D
<maurer> gchristensen: This one of those cases where I kind of wish nix had used an existing language rather than creating its own
<gchristensen> why?
<maurer> gchristensen: since then you'd probably be able to use the native doc system to generate docs from nixpkgs
<maurer> (think haddock, rustdoc, javadoc)
<sphalerite> gchristensen: search.nix.gsc.io seems to offer a search provider, but when I try to add it I get "Nightly could not download the search plugin from:
<maurer> which would mean that we could just put comments in nixpkgs, and it'd come up well searchable information on functions that'd stay up to date :P
<sphalerite> gchristensen: seems to be a < replaced by &lt; in the xml version declaration
<gchristensen> huh
<gchristensen> maurer: gotcha
<gchristensen> sphalerite: I had no idea
<sphalerite> Great tool though!
<gchristensen> sphalerite: maybe file a bug here?https://github.com/etsy/hound/issues
<sphalerite> ah right, will do
<NickHu> Can someone explain the override derivation stuff? I am trying to build https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/networking/browsers/qutebrowser/default.nix with support for qtwebengine
<NickHu> For instance, in arch, I would just download the PKGBUILD and tweak it, then do a makepkg
ZoomZoomZoom has quit [(Read error: Connection reset by peer)]
ZoomZoomZoom has joined #nixos
<gchristensen> domenkozar: I caved and ordered the laptop.
MP2E has quit [(Quit: sleep)]
<avn> NickHu: you .override { ... } it if you need only tweak arguments, or .overrideAttrs (attrs: { ... })
DarcsAurelius has joined #nixos
<NickHu> What's the distinction between buildInputs and nativeBuildInputs?
<sphalerite> NickHu: nativeBuildInputs are tools that run as part of the build process. The distinction is made so cross-compiling works.
mudri has joined #nixos
<NickHu> So, how should I go about doing something like this? http://lpaste.net/352488
wizeman has joined #nixos
<ikwildrpepper> NickHu: http://lpaste.net/352489
DarcsAurelius has quit [(Ping timeout: 240 seconds)]
<ikwildrpepper> (didn't test it, but that should be correct syntax0
danharaj has quit [(Ping timeout: 264 seconds)]
<NickHu> ikwildrpepper: Gives an error that an anonymous function is called with an unexpected argument 'buildInputs'
<ikwildrpepper> NickHu: sorry, args in the rhs should be args.buildInputs
<NickHu> Still seems to give the same error
phreedom has quit [(Ping timeout: 240 seconds)]
peterhhoeg has quit [(Ping timeout: 252 seconds)]
cmercier has joined #nixos
<teh[m]> when you get frustrated and start to think that maybe nixos sucks I recommend setting up a vagrant box with ansible. It's a good cure!
<gchristensen> hehe
DarcsAurelius has joined #nixos
sibi has joined #nixos
DarcsAurelius has quit [(Remote host closed the connection)]
DarcsAurelius has joined #nixos
<jophish> gchristensen: the xps?
<gchristensen> eyah
<gchristensen> should be here around the 25th
<jophish> gchristensen: please let me how nixos works out on it!
* gchristensen is anxious about that
<gchristensen> at least with mbp's I can tolerate OSX :)
<maurer> I suspect it'll work fine, the xps line has explicit ubuntu support, so as long as you can do some tuning (which I know gchristensen can) it should work fine
takle has quit [(Remote host closed the connection)]
<FRidh> gchristensen: I'll wait a day or two and then I'll merge the Python 3 change. Deterministic build of the interpreter is something that can always be done/merged later.
<gchristensen> maurer: pfft I'm practically a linux noob :P I'll be highlighting you for help ;)
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to master: https://git.io/vDolF
<NixOS_GitHub> nixpkgs/master b4cd251 Linus Heckemann: Manual: document users.users.<name>.hashedPassword
<gchristensen> FRidh: excellent! that sounds great :D
<jophish> gchristensen: fwiw, ubuntu runs without (many) problems on that machine
<jophish> My usual scheme is to have ubuntu with apt-getted chrome and everything else provided by nix
<gchristensen> ah right on
<maurer> tbh most of the linux trickery I've learned outside of sysadminning duties has come from not knowing when to stop with pimping out my system configuration
<gchristensen> great :) and once domenkozar and I guinea pig it, you'll go full-nixos, right? :)
<maurer> which is part of what brought me to nix (rolling back is super nice)
<gchristensen> ahh neat
<jophish> gchristensen: sure, as long as the nvidia drivers and sound work ootb!
olesk has quit [(Ping timeout: 252 seconds)]
<jophish> although I do really like ubuntu's Unity interface
<maurer> jophish: If you've not tried one, I would suggest you give a tiling wm a shot for a week at some point. They're not for everybody, but for a lot of people they're lifechanging
<maurer> jophish: xmonad and ion3 are the popular ones atm
<jophish> maurer: I love tmux, perhaps I should do that
olesk has joined #nixos
<jophish> although tbh, the only interaction I have with my WM is alt-tab between terminal and chrome!
<gchristensen> jophish: I hope to provide a config which will be working ootb, since I mean, that is the promise of nix :0
<maurer> err, well, not ion3 anymore
<maurer> I think it's notion now?
<gchristensen> I use i3
<maurer> (the ion3 original dev was crazy)
<maurer> gchristensen: Does captain ion, hater of blurry fonts still operate it?
<maurer> or is i3 a fork of ion3?
mudri has quit [(Ping timeout: 258 seconds)]
<maurer> Ah, OK
<maurer> ion3 forked into ion3 + notion, notion became i3
<maurer> so it is not headed by captain ion (this is a good thing)
<jophish> maurer: re "knowing when to stop". I've learnt "never to start". Although I did spend the whole weekend getting KDE 5.9 working on nixos just because I wanted some tiny feature. I should follow my own advice more...
<gchristensen> jophish: yay! yes! keep going!~
<jophish> noo noo, I could have got some more work done on hercules!
<gchristensen> :D *adds jophish to the maintainers list of kde5*
<jophish> err, I've not used kde for about years!
<jophish> 6*
<maurer> jophish: Not knowing when to stop is also how I ended up a maintainer of like, a quarter of ocaml packages
<maurer> oops.
<gchristensen> also would you like to spearhead the actual removal of kde4? thanks!
<jophish> gchristensen: ag kde4 -l | xargs rm
<gchristensen> I wish :\
<jophish> maurer: I think my problem is depth first problem solving when it comes to computers
tommyangelo_ has joined #nixos
<maurer> jophish: Also, while I'm glad your with us doing nix stuff, even touching nixos kind of violates never starting doing the weird stuff
<maurer> If you want to have an unobstructed experience, you basically gotta run windows for non-dev work, and stock ubuntu lts for dev wrok
<maurer> *work
<jophish> hahah, I can't imagine developing without it now. I'm totally hooked
<maurer> because other people write scripts/programs that assume these environments
<jophish> unobstructed...windows
<sphalerite> gchristensen: which XPS? I'm considering getting one too?
<NixOS_GitHub> [nixpkgs] lufia opened pull request #22738: google-cloud-sdk: support x86_64-darwin (master...darwin-google-cloud-sdk) https://git.io/vDo4X
iyzsong has quit [(Quit: bye)]
<gchristensen> sphalerite: guh I don't know if I could find it again, their website is terrible
<maurer> sphalerite: I'll plug the P50 if you're looking at laptops
<maurer> sphalerite: I'm getting good battery + perf from it, and the only things I don't have working with nixos is switchable graphics (basically have to pick one or the other at xserver start) and the fingerprint reader
<maurer> *are
<sphalerite> maurer: bit out of my budget range :p
ravloony has quit [(Ping timeout: 256 seconds)]
<maurer> sphalerite: OK. Don't know the details, but figured a lot of people in here might be getting dev laptops bought by work
<sphalerite> aah right. That would be cool for me, but I'm currently still a full-time student
<sphalerite> one day!
<maurer> sphalerite: The other thing you could check would be the X1-carbons. My previous X1 carbon worked well with nixos, but that was 2nd gen
<maurer> They're more portable + cheaper, but I can't vouch for hw compat with more recent gens
<maurer> (I'd expect them to work though)
<NixOS_GitHub> [nixpkgs] Mic92 opened pull request #22739: vim.vam: fix filetype detection (master...vam) https://git.io/vDoB3
<sphalerite> yeah, also nice. But also expensive >.> I haven't fully decided on a budget yet, need to see how much I'll be able to earn during the summer
<NixOS_GitHub> [nixpkgs] Mic92 opened pull request #22740: gajim: use libasyncns as resolver (master...libasyncns) https://git.io/vDoBw
* gchristensen has 50cm of snow to clear
<maurer> Yeah, I might be out of touch with the cheaper options for machines since my last 3 have come from grant money
<maurer> sorry
<NixOS_GitHub> [nix] dezgeg opened pull request #1233: nix-daemon: Don't splice with len=SIZE_MAX (master...splice) https://git.io/vDoBo
codedmart has joined #nixos
<sphalerite> no problem haha, I am aiming for a fairly expensive one anyway just because I use it so much and I think the value I'll get out of it is fairly high. What I'd really like is to avoid nvidia/amd graphics at the same time (proprietary drivers have caused me too much suffering inth the past)[4~, and also have a high-resolution display
<gchristensen> sphalerite: let me know when you have a budget
<sphalerite> will do!
olesk has quit [(Ping timeout: 240 seconds)]
<jophish> I'm pleased that the wiki issue is getting so much attention, however I'm a little worried that it might not get resolved leaving everyone happy
lsix has joined #nixos
takle has joined #nixos
tumm_ has joined #nixos
DavidEGr1yson has joined #nixos
<NixOS_GitHub> [nixpkgs] globin force-pushed openssl-1.1 from 0089f72 to 89ed648: https://git.io/vDOWO
<NixOS_GitHub> nixpkgs/openssl-1.1 5973673 Robin Gloster: openssl: default to openssl_1_1_0
<NixOS_GitHub> nixpkgs/openssl-1.1 a2c1e6e Robin Gloster: socat: 1.7.3.1 -> 1.7.3.2...
<NixOS_GitHub> nixpkgs/openssl-1.1 d51f357 Robin Gloster: afflib: 3.7.6 -> 3.7.15
Willi_Bu1z has joined #nixos
pem__ has joined #nixos
petar_ has joined #nixos
Ptival_ has joined #nixos
rawtaz_ has joined #nixos
__20h___ has joined #nixos
DavidEGrayson has quit [(Write error: Broken pipe)]
WilliButz has quit [(Write error: Broken pipe)]
tumm has quit [(Write error: Broken pipe)]
<symphorien> hello, I would like to have feedback on this PR https://github.com/NixOS/nixpkgs/pull/22558 which adds an option to use os-prober to add grub entries for other OSs like in debian for example. I thought it would be nice if it could get merged one way or another in 17.03 (if it is not already to late)
jgertm- has quit [(Quit: https://fnordserver.eu)]
rawtaz has quit [(Remote host closed the connection)]
petar has quit [(Remote host closed the connection)]
__20h__ has quit [(Remote host closed the connection)]
fre has quit [(Ping timeout: 255 seconds)]
rawtaz_ is now known as rawtaz
<NixOS_GitHub> [nix] edolstra pushed 2 new commits to master: https://git.io/vDo0Q
<NixOS_GitHub> nix/master 649a81b Tuomas Tynkkynen: nix-daemon: Don't splice with len=SIZE_MAX...
<NixOS_GitHub> nix/master 77a78af Eelco Dolstra: Merge pull request #1233 from dezgeg/splice...
frankpf has quit [(Ping timeout: 276 seconds)]
fritschy has quit [(Remote host closed the connection)]
Ptival has quit [(Ping timeout: 258 seconds)]
pem_ has quit [(Ping timeout: 258 seconds)]
freusque has joined #nixos
mudri has joined #nixos
<NixOS_GitHub> [nixpkgs] edolstra pushed 1 new commit to master: https://git.io/vDoE3
<NixOS_GitHub> nixpkgs/master c71a893 Eelco Dolstra: Revert "Use looser 9pfs caching in VM tests/builds"...
<Dezgeg> niksnut: thanks! could we have https://github.com/NixOS/nix/pull/1224 in as well and a new nixUnstable? because it's indeed quite unstable =)
<LnL> gchristensen: oh, you pinged me yesterday?
fritschy has joined #nixos
fritschy has quit [(Remote host closed the connection)]
fritschy has joined #nixos
<NixOS_GitHub> [nixpkgs] globin closed pull request #22732: Python 2.6: remove it (master...python26) https://git.io/vDokC
olesk has joined #nixos
IITaudio has joined #nixos
fre has joined #nixos
<NixOS_GitHub> [nix] edolstra pushed 3 new commits to master: https://git.io/vDoEd
<NixOS_GitHub> nix/master 81c53fe Tuomas Tynkkynen: configure.ac: We require C++14 now...
<NixOS_GitHub> nix/master 2cd4688 Tuomas Tynkkynen: Include config.h implicitly with '-include config.h' in CFLAGS...
<NixOS_GitHub> nix/master 62ff5ad Eelco Dolstra: Merge pull request #1224 from dezgeg/configh...
fre has quit [(Client Quit)]
mudri has quit [(Ping timeout: 255 seconds)]
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/vDoEx
<NixOS_GitHub> nixpkgs/master 5d00edc Frederik Rietdijk: cudatoolkit5 fixup, fixes eval
fre has joined #nixos
<IITaudio> Hello everybody, have you ever used nix on gitlab-ci? I want to be able to run /usr/bin/env nix-shell scripts from gitlab (I'm not an apt-get guy anymore (: )
alx741 has joined #nixos
mudri has joined #nixos
<NixOS_GitHub> [nixpkgs] georgewhewell opened pull request #22741: pythonPackages.matplotlib: fix build on macOS (master...bugfix/matplotlib-osx) https://git.io/vDouf
freusque has quit [(Ping timeout: 245 seconds)]
olesk has quit [(Ping timeout: 255 seconds)]
<sphalerite> ^ is it possible to use a package's closure for the contents attribute there?
<sphalerite> I'd like to build a small docker image with nix, but I'm not sure it's possible?
<gchristensen> sphalerite: yep
<gchristensen> that should work I think
<sphalerite> how do it do it?
<sphalerite> or will buildImage already copy the full closure of the derivation into the image?
<NixOS_GitHub> [nixpkgs] globin closed pull request #22558: grub: add grub.useOsprober option (master...osprober) https://git.io/vD0Wy
<gchristensen> I think so
<srhb> The postgresql data dir is a bit different to what I'm used to - do base backups simply untar to the /var/db/postgresql/base dir?
<srhb> That can't be right, pg_xlog and friends live in /var/db/postgresql....
<NixOS_GitHub> [nixpkgs] domenkozar pushed 1 new commit to master: https://git.io/vDozI
<NixOS_GitHub> nixpkgs/master 1b02439 Domen Kožar: servant-server: disable testsuite
mizu_no_oto has joined #nixos
ndowens08 has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to master: https://git.io/vDozY
<NixOS_GitHub> nixpkgs/master af9f44d Robin Gloster: grub: fix capitalisation...
<srhb> I guess it really is /var/db/postgresql, only ignoring the special pga_hba file etc.
dramforever has quit [(Quit: Leaving)]
<jophish> IITaudio: I tried to do it a few months ago but don't really remember much of the experience which might indicate that it didn't work exactly how I wanted it to
<jophish> on the other hand, there is a gitlab module for nixos, so some people are using gitlab+nix
<jophish> fpletz: might be able to help
<NixOS_GitHub> [nixpkgs] globin closed pull request #22718: nodePackages.mocha: init at 3.2.0 (master...new-package/node-packages/mocha) https://git.io/vDrE5
tommyangelo_ has quit [(Remote host closed the connection)]
tommyangelo_ has joined #nixos
<NixOS_GitHub> [nixpkgs] globin closed pull request #22741: pythonPackages.matplotlib: fix build on macOS (master...bugfix/matplotlib-osx) https://git.io/vDouf
<globin> IITaudio, jophish: we only use gitlab itself, not the ci, no idea if anyone has ever tried using it..
<drakonis> feature request: settings priority
<NixOS_GitHub> [nixpkgs] globin closed pull request #22738: google-cloud-sdk: support x86_64-darwin (master...darwin-google-cloud-sdk) https://git.io/vDo4X
<drakonis> as you can't change sddm's settings if you have kde5 enabled
<drakonis> its stuck on breeze
<peterhoeg> drakonis: you should be able to mkForce it
<peterhoeg> I'm guessing you mean the theme
<jophish> globin: gotcha thanks. Do you mind if I ask who 'we' is?
<IITaudio> jophish, globin: thanks. After 2 years on nixos I really can't afford to go back having to apt-get packages, hopes they work, etc., i'd prefer having a default.nix that can run the same on gitlab and on my machine, so that I can verify that tests succeceed before pushing
<jophish> IITaudio: We use Hydra for that at the moment, and domenkozar and I are writing a replacement specifically geared towards CI called Hercules
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #22740: gajim: use libasyncns as resolver (master...libasyncns) https://git.io/vDoBw
<fpletz> IITaudio: nix-shell should be available to gitlab-ci shell runners
<peterhoeg> those guys do
<globin> jophish: we is mayflower, most prominently fpletz, fadenb and me here but some others as well
<fpletz> you might need to lock down your nixpkgs to some commit though to get reproducible builds
olesk has joined #nixos
<NixOS_GitHub> [nixpkgs] globin closed pull request #22739: vim.vam: fix filetype detection (master...vam) https://git.io/vDoB3
ilyaigpetrov has joined #nixos
copumpkin has joined #nixos
mguentner2 is now known as mguentner
<NixOS_GitHub> [nixpkgs] volhovM opened pull request #22742: Disable orgmode-parse tests in configuration-common.nix (master...feature/fix-orgmode-parse-tests) https://git.io/vDoaU
ebzzry has joined #nixos
eacameron has joined #nixos
olesk has quit [(Ping timeout: 240 seconds)]
fhoffmeyer has joined #nixos
olesk has joined #nixos
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 1 new commit to master: https://git.io/vDoVO
<NixOS_GitHub> nixpkgs/master 909a1dd Michael Raskin: tigervnc: 1.7.1 -> 1.8.0pre20170211...
fhoffmeyer2 has quit [(Ping timeout: 240 seconds)]
eacameron has quit [(Ping timeout: 264 seconds)]
<ndowens08> ok not sure if this is possible to do, but maybe so, i am needing to do an if statement in my default.nix for epic5 to detect if the host is debian; b/c if it is debian based the build fails
<IITaudio> fpletz: ehm.. I'm not finding it, any hint/link to some kind of documentation?
<gchristensen> ndowens08: that isn't possible because that should be impossible. do you know why it fails on debian?
<ndowens08> b/c of the explicit install of tcl in buildInputs gchristensen
<gchristensen> I don't understand
<ndowens08> tcl is needed for darwin build but fails in debian build
ebzzry has quit [(Ping timeout: 240 seconds)]
<drakonis> peterhoeg, yes.
<peterhoeg> drakonis: did you try mkForce?
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
<gchristensen> ndowens08: how does it fail on debian
<LnL> ndowens08: strange, you could make it conditional
<drakonis> no not yet
<ndowens08> LnL: yea it is weird, it is in the build log on my pull request, but something about dpkg-architecture: tcl.....
<LnL> I wonder if the build is doing something strange because it detected that it's a debian system
<ndowens08> LnL: it doesnt fail if i dont put tcl in buildinputs
<ndowens08> but darwin fails if i dont put tcl in build
<LnL> and no issues on nixos?
<ndowens08> none at all, it build fine for first build and darwin build with tcl
<ndowens08> i wanted to make an if or conditional statement that if /usr/bin/dpkg-architecture is found then use these buildInputs else use these
johnsonav has quit [(Ping timeout: 255 seconds)]
<gchristensen> fwiw that isn't something we'll permit in to nixpkgs
<gchristensen> I recommend turning on the sandbox for the nix daemon
<LnL> ndowens08: buildInputs = [ ... ] ++ stdenv.lib.optional stdenv.isDarwin [ tcl ];
ebzzry has joined #nixos
<ndowens08> LnL: ah that would work
<LnL> but yes I assume it's because the build is finding some stuff it shouldn't without the sandbox
<NixOS_GitHub> [nixpkgs] grahamc pushed 3 new commits to master: https://git.io/vDor6
<NixOS_GitHub> nixpkgs/master 59e77da Graham Christensen: nixos tests: make getTTYText smart about tty size
<NixOS_GitHub> nixpkgs/master 96d767d Graham Christensen: pam_oath: require OATH and pam_unix credentials to be valid
<NixOS_GitHub> nixpkgs/master 1d25487 Graham Christensen: Merge pull request #22724 from grahamc/pam-oath-fixup...
<LnL> feel free to cc me on github if you want me to test it
<LnL> gchristensen: ^ nice!
<gchristensen> :)
<NixOS_GitHub> [nixpkgs] grahamc closed pull request #22393: nixos.pam.oath: Don't ignore 1st factor authentication (master...u/fix-pam-oath) https://git.io/vDs5j
<gchristensen> globin wanted it merged before the 27th ... figured why wait?
<gchristensen> globin: can you make a decision for us on a target for 17.03 re kde4
<globin> gchristensen: %) wasn't sure if you wanted to change some stuff that was being discussed :)
<gchristensen> I did not
<globin> gchristensen: going through all my issues right now, should be getting there soon
ebzzry has quit [(Ping timeout: 258 seconds)]
<ndowens08> LnL: How do I add you, not seeing as option in PR window
<LnL> put my handle @LnL7 in the description or a comment
<ndowens08> LnL: Done :)
<ndowens08> give me a sec to push it
<ndowens08> Done
olesk_ has joined #nixos
<ndowens08> how do you guys know all this stdenv.lib stdenv.options etc lol
jabb_ has joined #nixos
DarcsAur` has joined #nixos
olesk has quit [(Read error: Connection reset by peer)]
jabb has quit [(Read error: Connection reset by peer)]
DarcsAurelius has quit [(Read error: Connection reset by peer)]
fhoffmeyer has quit [(Ping timeout: 240 seconds)]
fhoffmeyer has joined #nixos
<ndowens08> epic irc probably isnt as popular as it once was, but there are people that probably still prefer it anyway :)
<gchristensen> ndowens08: hard learned experience
<gchristensen> and search.nix.gsc.io
<gchristensen> I appreciate that neither of these are good answers, but :(
<ndowens08> gchristensen: I have issues remembering things; and i dont program either
<gchristensen> globin, niksnut: how about we enable sandboxing by default for 17.03?
<gchristensen> I think nix's focus on correctness makes the "speed" argument not a good enough reason
mizu_no_oto has joined #nixos
FRidh has quit [(Remote host closed the connection)]
<globin> gchristensen: I'm not opposed, I myself have it enabled in all configurations
<ndowens08> Travis must be asleep, still not building :)
olesk_ has quit [(Ping timeout: 255 seconds)]
fhoffmeyer2 has joined #nixos
fhoffmeyer has quit [(Read error: Connection reset by peer)]
goibhniu has quit [(Quit: Leaving.)]
contrapumpkin has joined #nixos
goibhniu has joined #nixos
fhoffmeyer2 has quit [(Ping timeout: 240 seconds)]
fhoffmeyer has joined #nixos
Rotaerk has quit [(Quit: Leaving)]
<NixOS_GitHub> [nixpkgs] ericsagnes opened pull request #22744: buildRebar3: fix buildPhase & cleanup (master...fix/rebar3) https://git.io/vDoiA
olesk has joined #nixos
<ndowens08> LnL: something wrong with travis ci? still not trying to build the push'd code
fuzzy_id has joined #nixos
<gchristensen> I doubt it
<gchristensen> sometimes it just gets slow
<ndowens08> ah, well at top it says build|failing near the nixos/nixpkgs tag and the 2 open dots arent spining yet, has been a while :)
MercurialAlchemi has quit [(Ping timeout: 240 seconds)]
olesk has quit [(Ping timeout: 256 seconds)]
jluttine has quit [(Read error: No route to host)]
jluttine has joined #nixos
<cmercier> Hello, I can't install the package python3.5-Cython-0.25.2 on OS X 10.11.6. The compilation errors seem to be "cpp_references.cpp:447:10: fatal error: 'ios' file not found" and "typeof.cpp:651:14: fatal error: 'complex' file not found". Any idea what causes this or how I could fix it?
<sphalerite> cmercier: your C++ compiler is somehow broken
<sphalerite> or the options for it are wrong
<sphalerite> or something along those lines
<cmercier> does it have to do with nix or OS X ?
<sphalerite> I don't really know any more than that
<cmercier> thanks
<sphalerite> I don't know how nix interacts with the tools provided by OSX
<cmercier> okay
<clever> there is a ##nix-darwin channel
<cmercier> ha ok thanks!
erasmas has joined #nixos
<contrapumpkin> does Nix support multiple filesystem stores on the same machine nicely?
<contrapumpkin> actually probably not
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
<MarcWebe1> pypi2nix -> rinohtype -> six missing: http://dpaste.com/2BG7ZJ0 Which is the easiest way to package/use that library?
xadi has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 2 new commits to master: https://git.io/vDoDh
<NixOS_GitHub> nixpkgs/master 8616c0d Tim Digel: tsearch-extras: init at 0.2
<NixOS_GitHub> nixpkgs/master dd91720 Joachim F: Merge pull request #22166 from DerTim1/postgres-plugin-tsearch-extras...
<MarcWebe1> contrapumpkin: AFAIK the store path is built into the executable. So you could have a /home/user/store -> but you would have to rebuild everything.
chpatrick has joined #nixos
<chpatrick> how can I pass a configureFlag with spaces?
<contrapumpkin> yeah just remembered that :)
panostimos has quit [(Ping timeout: 240 seconds)]
xadi has quit [(Ping timeout: 255 seconds)]
phreedom has joined #nixos
<sphalerite> weechat's closure size seems to be unreasonably large. A major part of this seems to be the dependency chain weechat -> guile -> libtool -> gcc — surely one of those links isn't necessary?
<sphalerite> (by "unreasonably large" I mean 470MB)
<contrapumpkin> :)
<contrapumpkin> sphalerite: I'd file an issue if you don't know which to fix; I'm sure someone will know which one makes no sense
<GlennS> Does anyone know if there's a way to get at the path of an httpd subservice? I'm trying to run some a Mediawiki maintenance script (maintenance/runJobs.php) as part of a repeating systemd service, but don't have the path to Mediawiki.
roconnor__ has joined #nixos
<GlennS> Alternatively, it looks like the Mediawiki subservice is using pkgs.makeWrapper to make these scripts available as commands on the command line. Is there a way to make those accessible to my custom systemd timer?
<ndowens08> GlennS: have you tried whereis mediawiki or so?
<ndowens08> just a thought, i am still very new to nixos
DarcsAur` has quit [(Ping timeout: 240 seconds)]
<GlennS> ndowens08: I hadn't thought of that. whereis actually gave me a location in the nix-store which isn't helpful, but `which mediawiki-main-runJobs' shows that I can probably run them from /run/current-system/sw/bin
<GlennS> so you've solved it for me, thanks
<NixOS_GitHub> [nixpkgs] vdemeester opened pull request #22745: docker: 1.13.0 -> 1.13.1 (master...docker_1_13_1) https://git.io/vDo9d
<ndowens08> GlennS: lol np, it is how i find it in the nix store, though i would look in that nix store location for that /run area maybe
<ndowens08> since nixos tends to do things differently to keep /etc etc clean
<GlennS> well I can't put the nix-store location directly in my nixos config since it will change if I make changes to the mediawiki package
<ndowens08> true, idk, others may be able to answer it better than i could. but
<ndowens08> you might could put it in your home dir? since that would not change ever
roconnor__ has quit [(Ping timeout: 276 seconds)]
xadi has joined #nixos
<ikwildrpepper> copumpkin: did you add that ec2 systems manager in nixpkgs?
<GlennS> well, I have just hardcoded the path to /run/current-system/sw/bin since that won't change
<GlennS> it's a bit hacky, but should work
<GlennS> and I think there are plans afoot to replace httpd subservices with something else, so maybe I can do it more nicely in the future
<sphalerite> contrapumpkin: will do, thanks
<clever> GlennS: if you know what derivation its in, you can just put "${pkgs.foo}/bin/httpd" into a config entry in nix
<contrapumpkin> ikwildrpepper: yeah
<contrapumpkin> ikwildrpepper: there's even a NixOS service for it!
<ikwildrpepper> contrapumpkin: great, thnx. will check it out
<ikwildrpepper> thanks for packaging it
<contrapumpkin> my pleasure! I hope to make it better :) it seems to work decently. Picks up network configuration in the "inventory" step, for example, but nothing else
<contrapumpkin> and the NixOS module gives it a fake lsb_release so the instance inventory knows it's a real NixOS box and the release versions
<ikwildrpepper> found it thanks
matthewbauer has quit [(Ping timeout: 276 seconds)]
DarcsAur` has joined #nixos
<GlennS> clever: I don't follow?
<contrapumpkin> ikwildrpepper: I still need to add support for non-EC2 instance registration though
<contrapumpkin> they can issue you a signup code to use for machines outside of EC2
johnsonav has joined #nixos
<cmercier> So the cython installation fails because it uses clang instead of clang++ and I found an issue about the problem: https://github.com/NixOS/nixpkgs/issues/18729
riptawr has joined #nixos
<riptawr> hey all
obadz has quit [(Ping timeout: 260 seconds)]
<riptawr> is there something similar to build-essentials in nix btw?
obadz has joined #nixos
<contrapumpkin> stdenv is sort of that :)
roconnor__ has joined #nixos
lsix has quit [(Ping timeout: 252 seconds)]
<riptawr> is it? lemme read about it then
<clever> GlennS: if you put ${pkgs.foo} into a string in a nix file, it will get replaced with the store path of foo after building
<clever> GlennS: so you can refer to any file within the foo package
<riptawr> i was struggling with dependency hell while trying to install stuff in a nix-shell via pip install -r requirements
<GlennS> ok, but my trouble is that I don't actually have a package to refer to
<clever> GlennS: what is the current store path for the file?
<GlennS> because I've got these httpd services
<GlennS> /nix/store/y77cqrd3rr4m7xxgmgy7gznxndiyljw4-system-path/bin/mediawiki-main-runJobs
<clever> GlennS: thats a symlink to the file we probably want, do "ls -l /nix/store/y77cqrd3rr4m7xxgmgy7gznxndiyljw4-system-path/bin/mediawiki-main-runJobs"
<contrapumpkin> riptawr: ah, you might want to look at pypi2nix for that then
<GlennS> /nix/store/hxnjlba31p6abf0xbp39j25dad0nanqs-mediawiki-main-scripts/bin/mediawiki-main-runJobs
<GlennS> so does that mean there will be a pkgs.mediawiki-main-scripts?
<clever> GlennS: its probably the result of a expression in a nixos module, lets see
lsix has joined #nixos
<clever> 115 mediawikiScripts = pkgs.runCommand "mediawiki-${config.id}-scripts"
<GlennS> yep, I've read that bit
<clever> so you need to get a reference to mediawikiScripts
ryanartecona has joined #nixos
<clever> GlennS: yeah, it might be simpler to just keep using the /run/current-system path
<GlennS> ok, well thanks for looking anyway
<riptawr> contrapumpkin: thanks, that looks interesting. Though the repo says it depends on unstable
<riptawr> how unstable is nix unstable btw?
<GlennS> it was instructive for me even if I didn't get a neat solution this time
stepcut has joined #nixos
<clever> !ping
peterhoeg has quit [(Remote host closed the connection)]
daig has joined #nixos
phreedom has quit [(Ping timeout: 260 seconds)]
FRidh has joined #nixos
jmeredith has joined #nixos
phreedom has joined #nixos
obadz has quit [(Ping timeout: 240 seconds)]
obadz has joined #nixos
riptawr has quit [(Ping timeout: 240 seconds)]
goibhniu has quit [(Quit: Leaving.)]
goibhniu has joined #nixos
eacameron has joined #nixos
fuzzy_id has quit [(Ping timeout: 240 seconds)]
DarcsAur` has quit [(Remote host closed the connection)]
DarcsAur` has joined #nixos
drakonis has quit [(Ping timeout: 256 seconds)]
<NixOS_GitHub> [nixpkgs] vrthra opened pull request #22747: leather: Init at 0.3.3 (master...leather-0.3.3) https://git.io/vDoNX
ZoomZoomZoom has quit [(Quit: Leaving)]
radvendii has joined #nixos
<radvendii> hey, does anyone have openshot working? I'm having trouble with it
stepcut has quit [(Remote host closed the connection)]
<NixOS_GitHub> [nixpkgs] vrthra opened pull request #22748: aenum: Init at 1.4.7 (master...aenum-1.4.7) https://git.io/vDoA4
pi3r2 has joined #nixos
pi3r has quit [(Ping timeout: 255 seconds)]
reinzelmann has quit [(Quit: Leaving)]
simendsjo has joined #nixos
wak-work_ has joined #nixos
<NixOS_GitHub> [nixpkgs] vrthra opened pull request #22749: pytimeparse: 1.1.5 -> 1.1.6 (master...pytimeparse) https://git.io/vDoxt
wak-work has quit [(Ping timeout: 255 seconds)]
RchrdB has quit [(Ping timeout: 264 seconds)]
Minoru has joined #nixos
DarcsAur` has quit [(Ping timeout: 255 seconds)]
<Minoru> hi. Any advice on enabling issue_discards in LVM? I don't see a way to set it via /etc/nixos/configuration.nix, and even if I edit the file in /nix/store the change seem to be ignored
<Minoru> I ran a few experiments with hdparm and I'm confident TRIM commands aren't passed through
<Minoru> I have an SSD with two partitions, one of them has LUKS on it, inside of which is LVM, holding my root and home partitions (both ext4, with "discard" mount option)
<Minoru> oh, and I have allowDiscards = true for my LUKS volume
<ndowens08> gchristensen: wow travis still isnt trying to build my pkg
<Minoru> so theoretically LUKS should be passing TRIM command through, but I'm not sure I can test this - the whole LUKS partition is occupied by LVM, I don't think I can easily do a test
<Sonarpulse> anybody know why binutils on darwin/cross has less outputs?
<Sonarpulse> annoying when the work around comes with no comment explaining the problem :(
<sphalerite> wow, I love #nixos. I was just reminded of this after spending a while in #debian
<sphalerite> radvendii: I don't, but describe your trouble?
<Dezgeg> Sonarpulse: I think they were just quick-and-dirty fixes to make binutils build again after some changes. yeah, they should be properly figured out...
johann__ has quit [(Quit: Leaving.)]
<Sonarpulse> Dezgeg: thanks
<Sonarpulse> I suppose this would break hashes
<Sonarpulse> so maybe staging has it worked out
<NixOS_GitHub> [nixpkgs] Ericson2314 created stage from master (+0 new commits): https://git.io/vDohM
fritschy has quit [(Quit: Leaving.)]
digitus has joined #nixos
bennofs1 has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/vDojy
<NixOS_GitHub> nixpkgs/master 5af946b George Whewell: skip failing tests on darwin
<NixOS_GitHub> nixpkgs/master ace12f4 Frederik Rietdijk: Merge pull request #21437 from georgewhewell/bugfix/pythonPackages.joblib...
joko has joined #nixos
<Dezgeg> specifically, for the cross build this happens: builder for ‘/nix/store/m13qfzc05jgcimng1zm2h0mgjqr98nxs-binutils-2.27-aarch64-linux-gnu.drv’ failed to produce output path ‘/nix/store/qxicr0x2wyplgajhn8ijvxc8pvfr8szi-binutils-2.27-aarch64-linux-gnu-lib’
<joko> Hello, everyone! Could anyone help me with overrideAttrs and requiredSystemFeatures? Although I set an explicit feature for the coreutils package, Hydra selects another host :S
DarcsAur` has joined #nixos
jgertm has quit [(Ping timeout: 258 seconds)]
<NixOS_GitHub> [nixpkgs] 2chilled opened pull request #22750: sweethome3d: 5.2 -> 5.4 (master...master) https://git.io/vDKvX
<Minoru> hmm, I followed instructions here and it seems that TRIM *is* being passed through
panostimos has joined #nixos
sphaler1te has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat opened pull request #22751: lmdb: split outputs, use shared library, etc. (master...lmdb-shared) https://git.io/vDKfY
pi3r2 has quit [(Quit: Nettalk6 - www.ntalk.de)]
chakerbenhamed has quit [(Ping timeout: 260 seconds)]
* sphaler1te is trying out weechat
<sphaler1te> (sorry for spam)
civodul has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
<Sonarpulse> Dezgeg: yeah hit that
<Sonarpulse> I gather the current multiple ouput logic is breaking on cross prefixes or something??
<Sonarpulse> I dunno
<Dezgeg> probably
<Dezgeg> it's placing libbfd.so into /nix/store/0jqasgv87svi6l9a6rh9cvh5s0l6fiyk-binutils-2.27-aarch64-linux-gnu/x86_64-pc-linux-gnu/aarch64-linux-gnu/lib/libbfd-2.27.so
afics has quit [(Ping timeout: 240 seconds)]
derjohn_mob has quit [(Ping timeout: 240 seconds)]
cmercier has quit [(Remote host closed the connection)]
wak-work_ has quit [(Ping timeout: 260 seconds)]
<Dezgeg> or I maybe binutils' handling of ./configure --libdir=foo is not being respected
cmercier has joined #nixos
judson_ has joined #nixos
<NixOS_GitHub> [nixpkgs] basvandijk opened pull request #22752: syslog-ng: 3.6.2 -> 3.9.1 (master...syslog-ng-3.9.1) https://git.io/vDKJZ
<judson_> Is there a good way to do unit tests on actual nix expressions?
<gchristensen> what would that look like, judson_?
athaller has quit [(Remote host closed the connection)]
<judson_> One thing I'm finding daunting as a beginner is the "distance" between the Nix I write and the actual built derivations.
sphaler1te has quit [(Quit: WeeChat 1.5)]
<judson_> Ideally, I'd like something like `nix-test <file>` or `nix-text <pkg-root> <attrlist>` with a test report.
<judson_> Everything I can find is about making sure that the derivation gets set up correctly but e.g. I'd like to test that a filtering function behaves the way I expect it to.
<judson_> The other thing I've seen might be nix-repl? Load the file I'm working on and make sure its functions behave correctly.
<judson_> And I guess I could write a test function with a bunch of builtin.assert s?
<simpson> judson_: Which properties, specifically, are you interested in testing?
endformationage has joined #nixos
riptawr has joined #nixos
<judson_> I left off on an update to bundlerEnv yesterday that filters Ruby gem descriptions based on platform. I deduce from the resulting nix-shell invocation that I filtered out everything, so my filtering function is likely wrong. I'd like to test that given a ruby.rubyEngine = "ruby" and a gem with platforms = [{engine = "rbx"}], that the function returns false, but engine = "ruby" returns true.
<simpson> judson_: I can't think of anything better than asserts. A test tool would be interesting, but nix-repl's pretty much it already for most situations.
<judson_> All things considered, I wouldn't mind being able to do something like "testPackage <path> {...}" and get back a derivation for inspection, either.
Minoru has left #nixos [":wq"]
<judson_> I mean, somehow a lot of folks get by writing pretty complex expressions, but I find it pretty daunting. The language itself is straightforward, but it's hard to actually see it working, if that makes sense.
<sphalerite> judson_: you could use the check phase in a derivation to run tests against the output
<sphalerite> how those tests are run would of course be specific to the expression
tumm_ is now known as tumm
<sphalerite> As for complex expressions: they typically solve complex problems. It's always easier to get into writing them by looking at simpler expressions.
<simpson> judson_: I write fancy Nix one function at a time, using nix-repl to test strange things. I also have a few years of Haskell experience, which might make me less scared of walls of parens and combinators.
<gchristensen> they are scary
<sphalerite> nixpkgs has quite a bit of complex machinery for doing complex things :)
stepcut has joined #nixos
johnsonav has quit [(Ping timeout: 255 seconds)]
<judson_> I did a fair amount of Erlang there for a bit; the functional doesn't scare me.
<judson_> It's that, afaict, I write some pleasant and elegant Nix, and to see if it works I inspect the resulting build failures...
IITaudio has quit [(Quit: Leaving)]
<judson_> Was it the C code I fetched? The Makefile I patched? My build.sh? Assumptions I made about how a derivation is interpreted? Or a straightforward logic error in the original expression?
<simpson> Ah. I go with the principle that I made a mistake.
mudri has quit [(Ping timeout: 255 seconds)]
<judson_> sphalerite, I'm finally getting into this because I need bundlerEnv to do path-style gems (which features I'll then backport into bundix), which is itself complex.
<gchristensen> I'm afraid that to do what I'm wanting to do, I need to become an expert in how the nixos testing framework works ... and I'm not thrilled about thath :)
<sphalerite> Doesn't sound like it's necessarily the best point to start at :D
<judson_> simpson, I'm mostly with you (way too much experience with badly written C code) - but where is my mistake?
<contrapumpkin> gchristensen: what do you need to do? it's fairly easy to pick up if you don't do anything too unusual
<contrapumpkin> my EC2 tests got a little icky but I was doing something unusual for them
<gchristensen> contrapumpkin: unusual things :)
<simpson> judson_: Dunno. I deliberately make small changes so that I don't have to search many places.
<contrapumpkin> gchristensen: please let them be switching the test machinery over to libvirt ;)
<gchristensen> contrapumpkin: I want to be able to log in to an arbitrary test's vm for example
<gchristensen> hah
<judson_> simpson: :)
<judson_> If only I could restrain my ambitions.
<contrapumpkin> gchristensen: doesn't this "running tests interactively" section help with that? http://nixos.org/nixos/manual/index.html#sec-running-nixos-tests
<simpson> judson_: I dunno. I feel pretty ambitious, but I only needed like 600 lines of Nix to describe my entire fleet. (And a couple hundred lines of JSON configuration.)
<gchristensen> contrapumpkin: no, I don't want to run the test interactively, but get an actual shell in the vm
<judson_> One thing I do see analoguous between Erlang and Nix is that it's kind of hard to get past the initial stages of using them.
wak-work has joined #nixos
<contrapumpkin> gchristensen: ah, seems like it'd be closely related to the code for the test driver though
<gchristensen> yeah
<radvendii> sphalerite: sorry for belated response. I put it in my systemPackages list, and it's loading fine, but the application is super buggy. The icons are clearly scaled up too much (pixelated), sometimes the video randomly cuts out, the audio/video is choppy while playing, etc, etc.
<gchristensen> right now I run the test-driver and do `startAll` then `$machine->forwardHostPort (or something like that) (2223, 22);` and can then ssh to it
<radvendii> I looked up these problems and I can't find anyone complaining about them, so I figured it might be a nixos problem
<contrapumpkin> gchristensen: hmm, why not use local shell machinery rather than SSH, since the latter would require you to enable the SSH service
<gchristensen> contrapumpkin: how do I do that?
nschoe has quit [(Quit: Program. Terminated.)]
<contrapumpkin> gchristensen: not sure, but the $machine->command("") stuff is going over the serial console IIRC
<contrapumpkin> so I think you'd just use the same channel
<gchristensen> yeah
teknico has left #nixos []
<gchristensen> so now we're back to square one, about becoming an expert at the nixos test infra :)
<clever> contrapumpkin: there is a test-harness module that adds a second virtual console to the vm, with a root shell on it
<contrapumpkin> gchristensen: ^ :)
<gchristensen> how do I get to there?
<gchristensen> yeah I'm using that by nature of upsing the nixos test infra
<gchristensen> but I'm not sure how to access the machine without using ssh
<clever> manual or automated access?
<gchristensen> mmm both :)
eacameron has quit [(Read error: Connection reset by peer)]
<sphalerite> radvendii: that does seem odd, I don't know what might be causing that. Opening an issue might be a good idea, as nobody currently here seems to know. Have you run it on another distro yourself? That might be worth a try as well if you have one handy
jmiven has quit [(Quit: co'o)]
jmiven has joined #nixos
wak-work has quit [(Ping timeout: 276 seconds)]
goibhniu has quit [(Ping timeout: 256 seconds)]
luv has joined #nixos
<luv> hey, i know you guys know alread but NixOS really seems to kick ass
<manveru> judson_: i did some basic tests using the approach for nixos modules
eacamero_ has joined #nixos
ryanartecona has quit [(Quit: ryanartecona)]
<luv> so far I only use it via proot I love how it just works
<manveru> basically it makes a container, runs your code there, and you make sure it runs right
<judson_> manveru, What's that approach?
<manveru> there must be something more light-weight i'm sure
<luv> one simply issue though, nix-env -i something fails with Unable to download http://.... ... I have downloaded the file manually from different location (some hash it seems) but after doing nix-prefetch-url http://different-location it still tries to download the file again during nix-env -i - what am I doing wrong?
<gchristensen> clever: any thoughts?
<judson_> Hm. What's this "nixos-test-driver" thing?
<gchristensen> judson_: it is for running tests against a VM running NixOS
<clever> gchristensen: what exactly are you trying to get done?, oh, the ssh testing?
<judson_> As much as that's not what I'm looking for, it's pretty amazingly cool.
<clever> gchristensen: you can create 2 vm's in a testcase, and have them network eachother
<gchristensen> no
<gchristensen> clever: I want to log in to the test environment so I can run commands and be in a shell
<gchristensen> and not have to worry about how weird the perl layer is in between, for debugging
<clever> gchristensen: manualy, to confirm some things?
<gchristensen> yeah
<gchristensen> not as part of a normal test
<clever> ah
<clever> i saw something about building the test with -K and it leaves the run command in /tmp/nix-build
<clever> so you can boot it back up and inspect the contents
<manveru> judson_: well, the other approach is to run your tests in `nix-shell --pure`
mudri has joined #nixos
<gchristensen> yeah, not likely good enough :/
olesk has joined #nixos
t7 has joined #nixos
ambro718 has joined #nixos
_sagitaire has joined #nixos
<judson_> I was thinking something like nix-shell or nix-build - the latter because I'm really looking to test my Nix code itself a/o/t the build environment.
radvendii has quit [(Quit: Lost terminal)]
wak-work has joined #nixos
lsix has quit [(Quit: Konversation terminated!)]
bennofs has joined #nixos
<judson_> Okay, but if there isn't anything like that, I'll fiddle with asserts for right now
takle has quit [(Remote host closed the connection)]
<contrapumpkin> gchristensen: now I'm curious what you're testing that's so odd :)
<ndowens08> ok travis still isnt building my package, been hours, even did minor edit on my pkg and pushed to refresh it and still nothing
<MarcWebe1> garbas: http://dpaste.com/0RH7DTG six is missing trying to pypi2nix rinohtype. Is there something trivial I missed ?
[0x4A6F] has joined #nixos
* garbas looks
<contrapumpkin> MarcWebe1: is the 1 supposed to be an R?
mudri has quit [(Ping timeout: 240 seconds)]
<garbas> MarcWebe1: problem is that setuptools got new dependencies. either you update to pypi2nix 1.7 or add '--setup-requires "six packaging appdirs"'
<ronny> reminds me that i need to cehck out current pypi2nix
<garbas> MarcWebe1: if you would press Y there it will open a browser and produce nice traceback for me :)
<MarcWebe1> garbas: Maybe you should add where the trace will be sent to such as "pypi2nix maintainers".
<asymmetric_> hi fellas, i have a question about hash bases
<MarcWebe1> THat prevented me from doing it - because I thought its a nix specific issue which I didn't want to send to arbitrary python folks.
<asymmetric_> right now it's not clear from the docs that (sometimes?) hashes are expressed in base32
<asymmetric_> for example here: https://nixos.org/nix/manual/#description-42
<MarcWebe1> http://dpaste.com/07WY0VB -> *g* Looks that my setup is screwed ..
<asymmetric_> "prints its cryptographic hash"
<garbas> MarcWebe1: yeah , will add that
<asymmetric_> so i'd like to update the docs
<asymmetric_> in that spot
<asymmetric_> but i'm wondering if there's a more general rule, and if there should be a section about that somewhere
pombreda has quit [(Ping timeout: 255 seconds)]
bennofs has quit [(Ping timeout: 256 seconds)]
<riptawr> assymetric_: unfortunately the question of what goes where in the docs is undecided, see https://github.com/NixOS/nixpkgs/issues/22599
pombreda has joined #nixos
<riptawr> i am currently writing all those things into a local md
tokudan has joined #nixos
obadz has quit [(Ping timeout: 260 seconds)]
obadz has joined #nixos
pombreda has quit [(Ping timeout: 255 seconds)]
<NixOS_GitHub> [nixpkgs] mbrgm opened pull request #22754: keepalived: 1.2.19 -> 1.3.2 (master...update-keepalived) https://git.io/vDKn2
daig has quit [(Ping timeout: 260 seconds)]
<NixOS_GitHub> [nixpkgs] mbrgm opened pull request #22755: keepalived service: init (master...keepalived-service) https://git.io/vDKno
<[0x4A6F]> I'm trying to restore a /nix/store from a sdcard, which is not booting NixOS on RPI2 anymore. Is this command feasible to restore from file-path to nix-store? "find /nix/store/* -maxdepth 1 | xargs -L 1 nix-copy-closure --sign --use-substitutes --to root@localhost"
<clever> [0x4A6F]: i think nix-store --verify --repair will do the same
Itkovian has joined #nixos
<asymmetric_> riptawr: i got this commit merged into master, but it still isnt' on nixos.org :( https://github.com/NixOS/nixpkgs/commit/4e0bb261d0f9cde1075cffb98dc14f63ee44ea91
<asymmetric_> got merged a while ago
<NixOS_GitHub> [nix] asymmetric opened pull request #1235: Mention base 32 (master...patch-1) https://git.io/vDKcB
Dezgeg has quit [(Ping timeout: 276 seconds)]
<[0x4A6F]> I can't boot from this sdcard anymore. Copied the image from from https://github.com/NixOS/nixos-hardware/blob/master/raspberry_pi/rpi2.nix to another sdcard and copied the old nix/store to the new installation into /tmp/nix/. Was wrong find command, I'm using "find /tmp/nix/store/*" now.
takle has joined #nixos
pombreda has joined #nixos
<[0x4A6F]> I would update from this image, but hanging on some problems there.
DarcsAurelius has joined #nixos
<DarcsAurelius> I'm trying to install a simple haskell dev environment via ~/.nixpkgs/config.nix, but I keep running into a collision with the vector-binary-instances package. I've pasted the error and the environment I'm using here: http://lpaste.net/2503574361399623680. Anyone know how to resolve this? It seems both stack and criterion->statistics rely on the vector-binary-instances package, and two different derivations are be
<DarcsAurelius> sure why), so I can't delete one of the store paths for this.
<gchristensen> contrapumpkin: I'm testing jetpants, tumblr's mysql topographical orchestration tool
<contrapumpkin> :O
<gchristensen> :)
<gchristensen> using nixos, I was able to implement a test in 3 days
<gchristensen> the project was estimated to take the team months to do
<contrapumpkin> oh nice
<contrapumpkin> is this going into nixpkgs at some point?
<contrapumpkin> or is it a private thing?
<gchristensen> it doesn't make sense to put in to nixpkgs, but it is to be open source
<gchristensen> github.com/tumblr/jetpants already is,and so is github.com/tumblr/collins, that it depensd on
eacameron has joined #nixos
<sphalerite> I like the name
DarcsAurelius_ has joined #nixos
eacamero_ has quit [(Ping timeout: 240 seconds)]
mckeankylej has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<mckeankylej> If I want to change the way a service is defined by copying the service nix and then adding it to "imports = []" how do I fix the error "_ is already defined at _"
Dezgeg has joined #nixos
MichaelRaskin has joined #nixos
DarcsAurelius has quit [(Quit: ERC (IRC client for Emacs 24.5.2))]
DarcsAurelius has joined #nixos
<mckeankylej> How should I get help when I dont know how to do something in nix there is barely any documentation
fhoffmeyer has quit [(Ping timeout: 255 seconds)]
<clever> mckeankylej: you would need to rename your copy to something else, and change a few of its internal references
<tokudan> you basically have to use a different service name, instead of e.g. services.sshdnew instead of services.sshd
<pikajude> rename the service
davidak has joined #nixos
<pikajude> yeah
<contrapumpkin> gchristensen: is that an agent that runs on top of mysql? did you create a NixOS module for it or something?
<pikajude> disable the one you're replacing and use a different name
<pikajude> that or I think you could maybe use mkForce
<pikajude> but i wouldn't really recommend that
johann__ has joined #nixos
fhoffmeyer has joined #nixos
seanz has joined #nixos
DarcsAur` has quit [(Remote host closed the connection)]
DarcsAurelius_ has quit [(Remote host closed the connection)]
DarcsAurelius has quit [(Remote host closed the connection)]
<gchristensen> contrapumpkin: it is an ssh-based tool, so the management node SSH's to the boxes it mangages
johann__1 has joined #nixos
<contrapumpkin> ah, just wondering what the NixOS side of it looks like. Do you do services.jetpants.enable = true?
<gchristensen> ah
<gchristensen> yeah, I made a custom module for it
<contrapumpkin> ah
<contrapumpkin> so why wouldn't that make sense to put in nixpkgs?
<gchristensen> and some fancy-pants code to create a bunch of nixos containers running mysql
<contrapumpkin> cool
<ndowens08> is there a way to add to lightdm on startup to execute a command, from what i have looked at, ppl say to add to /etc/lightdm.conf but in nix that is uneditable, so how can i pass it in configuration?
Itkovian has joined #nixos
johann__ has quit [(Ping timeout: 256 seconds)]
<ndowens08> gchristensen: btw travis still hasn't built my package and has been hours?
<gchristensen> contrapumpkin: well ... I suppose we could, but tbh, it is _extremely_ niche
<gchristensen> ndowens08: *shrug* I dunno / don't put too much faith in travis
<asymmetric_> where is "optional" defined? as in `optional mp3Support lame`
<ndowens08> gchristensen: ah, well needing to know if all the builds passed this time lol
<contrapumpkin> gchristensen: perhaps :) it seems to fill a similar niche as https://github.com/NixOS/nixpkgs/issues/22327
<clever> ndowens08: so you need to set a nixos option that fits your needs, and gets inserted at the right spot
<contrapumpkin> gchristensen: not in the sense that they do the same thing, but in that it manages a more common service because it's a PITA to do it yourself
<gchristensen> ah
<gchristensen> well, jetpants is a PITA unless you're (copy-pasting from the description) managing billions of rows and hundreds of database machines
<ndowens08> clever: crap didnt think of that lol, thanks
pombreda has quit [(Ping timeout: 240 seconds)]
<gchristensen> like, enormously a PITA
<simpson> gchristensen: FWIW I've been committing all of my "niche" stuff, and imagine my surprise when I found other folks with similar contributions that they hadn't pushed yet!
<simpson> Hm. "enourmously". That does sound serious.
<contrapumpkin> :)
<gchristensen> heh
DarcsAurelius has joined #nixos
<MichaelRaskin> I commend simpson's approach
<gchristensen> given that the open source jetpants wasn't even _usable_ for about a year, I'd be surprised if anyone else had made a module for it.
<DarcsAurelius> Is stack not intended to be installed alongside other haskell libraries (like statistics) via ghcWithPackages? I still haven't been able to resolve this file collision in a common dependency between statistics and stack (vector-binary-instances)
<asymmetric_> what's the difference between "buildInputs" and "nativeBuildInputs" ?
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<pikajude> nativeBuildInputs need to be built for the same target system the derivation is built for
<clever> asymmetric_: if you are doing a cross-compile, nativeBuildInputs will be for the host, and buildInputs for the target
<pikajude> think dependent libraries
katyucha is now known as Guest7261
Guest7261 has quit [(Killed (hitchcock.freenode.net (Nickname regained by services)))]
katyucha1 is now known as katyucha
<pikajude> oh, sorry, had that backwards
katyucha1 has joined #nixos
seanz1 has joined #nixos
<contrapumpkin> yeah, would've been a bit clearer to call it hostBuildInputs
<contrapumpkin> or something
<asymmetric_> clever: thanks
<gchristensen> contrapumpkin, simpson: I appreciate your optimism here, but if a single other person existed in the intersection of "people not working in the data team at tumblr" and "people using jetpants" and "even a passing interest in nixos" existed I would eat my hat, and it is a big hat!
<contrapumpkin> fair enough :)
<simpson> gchristensen: Fair enough.
pingveno has quit [(Read error: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number)]
<simpson> contrapumpkin: Fairmind.
Itkovian has joined #nixos
<contrapumpkin> :D
<clever> asymmetric_, contrapumpkin: https://github.com/NixOS/nixpkgs/issues/4855
<gchristensen> getting it working outside of tumblr has been considered semi-impossible
<simpson> So what you're saying is that even your private nixpkgs hack is a Milliways-level achievement? Nice.
Itkovian has quit [(Client Quit)]
<simpson> nixpkgs: Use it before you go to Milliways
<gchristensen> I won an award for my achievement, yes
seanz has quit [(Ping timeout: 240 seconds)]
<clever> gchristensen: and i have hit the reboot on a new nixos install, will it come up!
<gchristensen> eee!
<asymmetric_> clever: so the reason why cmake is always declared in nativeBuildInputs is so that we always get a compiler that matches the host?
<clever> asymmetric_: yeah
<clever> gchristensen: so far, no network activity from its mac ....
gk-1wm-su has joined #nixos
gk-1wm-su has left #nixos []
Drakonis has joined #nixos
<asymmetric_> what's the best way to declare optional buildinputs?
<asymmetric_> i see some expressions using `optional`, while others do it like this https://github.com/NixOS/nixpkgs/pull/22222/files#diff-f9b2f8445c1427c8721c4b2073ae20b8R48
<asymmetric_> is it just a matter of taste?
<clever> optional = cond: elem: if cond then [elem] else [];
<clever> asymmetric_: the definition of optional is nearly identical
fadenb[m] has quit [(Quit: Bridged client killed)]
<clever> main difference, is that optional returns an empty list, while the diff you linked fills the list with nulls
<asymmetric_> so it's mainly down to taste?
<clever> yeah
<asymmetric_> kthx
pombreda has joined #nixos
<NixOS_GitHub> [nixpkgs] vrthra opened pull request #22756: awesome-slugify: disable failing test (master...slugify) https://git.io/vDKaZ
fadenb[m] has joined #nixos
pi3r has joined #nixos
mckeankylej has quit [(Quit: Page closed)]
johnsonav has joined #nixos
fadenb[m] has quit [(Quit: Bridged client killed)]
pombreda has quit [(Ping timeout: 252 seconds)]
fadenb[m] has joined #nixos
<contrapumpkin> niksnut: if I wanted to fix https://github.com/NixOS/nix/issues/1234, would I get the configure script to inject the path to tar/gzip/git into config.h and then refer to the constant?
mkoenig has quit [(Ping timeout: 240 seconds)]
mkoenig has joined #nixos
lambdamu has joined #nixos
fhoffmeyer has quit [(Read error: Connection reset by peer)]
fhoffmeyer2 has joined #nixos
mkoenig has quit [(Read error: Connection reset by peer)]
mkoenig has joined #nixos
Itkovian has joined #nixos
mk-fg has quit [(Read error: Connection reset by peer)]
<ndowens08> ok i am trying to create a systemd file in configuration.nix I can do it if I don't do ExecStart = ''{$pkgs.xinput}/bin/xinput --disable 13''; and do ExecStart=xinput --disable 13 but systemd ignores it since it isnt a path
mk-fg has joined #nixos
pombreda has joined #nixos
derjohn_mob has joined #nixos
tokudan has quit [(Quit: Leaving)]
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #22749: pytimeparse: 1.1.5 -> 1.1.6 (master...pytimeparse) https://git.io/vDoxt
ryanartecona has joined #nixos
ilyaigpetrov has quit [(Quit: Connection closed for inactivity)]
fhoffmeyer2 has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/vDKob
<NixOS_GitHub> nixpkgs/master 982520d Frederik Rietdijk: pythonPackages.awesome-slugify: fix test runner
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #22756: awesome-slugify: disable failing test (master...slugify) https://git.io/vDKaZ
akiselev has joined #nixos
<ndowens08> i have seen something like ${pkgs.PKGNAME}/bin etc but that doesnt work
<clever> ndowens08: there is a path option for systemd services
<ndowens08> clever: needing to do path for /bin/xinput
akiselev has quit [(Remote host closed the connection)]
<clever> ndowens08: systemd.services.<name>.path
<clever> Packages added to the service's PATH environment variable. Both the bin and sbin subdirectories of each package are added.
<ndowens08> So I would do like systemd.services.xinput.path [ what would I put here]?
kampfschlaefer has joined #nixos
<clever> ndowens08: pkgs.xorg.xinput
phreedom has quit [(Ping timeout: 276 seconds)]
danharaj has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 4 new commits to master: https://git.io/vDKi4
<NixOS_GitHub> nixpkgs/master 1a55974 Vladimír Čunát: lmdb: split outputs and add lmdb.pc...
<NixOS_GitHub> nixpkgs/master 5b75338 Vladimír Čunát: knot-dns: use shared lmdb
<NixOS_GitHub> nixpkgs/master 935ede8 Vladimír Čunát: knot-resovler: use shared lmdb now
<NixOS_GitHub> [nixpkgs] vcunat closed pull request #22751: lmdb: split outputs, use shared library, etc. (master...lmdb-shared) https://git.io/vDKfY
<contrapumpkin> anyone familiar with autoconf? I'm trying to inject things like "AC_SUBST(xz) AC_DEFINE_UNQUOTED(XZ_PATH, ["$xz"], [xz path])" into the configure.ac and it successfully dumps an XZ_PATH into config.h, but seems to skip the one for gzip
<contrapumpkin> (looking to fix https://github.com/NixOS/nix/issues/1234)
<NickHu> So, if I make a package for non-free software, should I submit a pr for it?
phreedom has joined #nixos
<simpson> NickHu: You may. It's your call. Be sure to mark it as unfree.
<contrapumpkin> oh never mind, it was just defining them in different places
<NickHu> simpson: Oh, I thought there might be a rule against it or something because I am yet to see any unfree software packaged up for nixos
<simpson> NickHu: You didn't see that e.g. Steam is packaged? https://github.com/NixOS/nixpkgs/tree/master/pkgs/games/steam
<simpson> https://nixos.org/nixpkgs/manual/#chap-packageconfig happens to explain the unfree flags.
<NickHu> Ah- sorry, it's my first week of nixos
<niksnut> contrapumpkin: for tar/gzip, yes
<niksnut> I'd prefer not to have a dependency on git though
<contrapumpkin> niksnut: so we'd just improve the error message for when git isn't on $PATH?
<contrapumpkin> or something
<niksnut> I don't know what the error message is right now
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<contrapumpkin> niksnut: opposed to having a full bzip2/xz/gzip in the closure?
<niksnut> we can avoid a dependency on those by using the compression functions (see compression.hh)
<contrapumpkin> so we'd get liblzma, but not the xz binary? is it a big difference?
<contrapumpkin> it seems more complicated to handle un-LZMAing and piping into tar than to just let it ask the program
simendsjo has quit [(Quit: ERC (IRC client for Emacs 24.5.2))]
Itkovian has joined #nixos
lambdamu has quit [(Read error: Connection reset by peer)]
luv has left #nixos []
fhoffmeyer has joined #nixos
fhoffmeyer has quit [(Read error: Connection reset by peer)]
fhoffmeyer has joined #nixos
lambdamu has joined #nixos
Itkovian has quit [(Ping timeout: 260 seconds)]
<NixOS_GitHub> [nixpkgs] rycee pushed 2 new commits to master: https://git.io/vDKMJ
<NixOS_GitHub> nixpkgs/master 9298467 Robert Helgesson: svtplay-dl: 1.9.1 -> 1.9.2
<NixOS_GitHub> nixpkgs/master a2d2649 Robert Helgesson: perl-MooseX-Types: 0.46 -> 0.50
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vDKM8
<NixOS_GitHub> nixpkgs/master 4882e43 Vladimír Čunát: Revert "pythonPackages.unittest2: no need to depend on argparse"...
<NixOS_GitHub> [nixpkgs] vcunat pushed 2 new commits to staging: https://git.io/vDKMb
<NixOS_GitHub> nixpkgs/staging 8d8c337 Vladimír Čunát: Merge branch 'master' into staging
<NixOS_GitHub> nixpkgs/staging c0c50df Vladimír Čunát: Re-revert "pythonPackages.unittest2: without argparse""...
stepcut has quit [(Remote host closed the connection)]
Itkovian has joined #nixos
pingveno has joined #nixos
digitus has quit [(Quit: digitus)]
obadz has quit [(Ping timeout: 240 seconds)]
Itkovian has quit [(Quit: Textual IRC Client signing off)]
<NixOS_GitHub> [nixpkgs] bjornfor pushed 1 new commit to master: https://git.io/vDKyU
<NixOS_GitHub> nixpkgs/master 9775a26 Rongcui Dong: stlink: 1.1.0 -> 1.3.0...
obadz has joined #nixos
Itkovian has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg opened pull request #22758: nixos-rebuild: Don't rebuild nixos-rebuild when --fast is used (master...pr-nixos-rebuild) https://git.io/vDKyq
<NixOS_GitHub> [nixpkgs] bjornfor closed pull request #22581: Fix/stlink update (master...fix/stlink-update) https://git.io/vDukA
<sziszi> can i use systemd boot/gummiboot for a full disk encrypion setup
Wizek has quit [(Ping timeout: 245 seconds)]
<gchristensen> sure
Wizek_ has quit [(Ping timeout: 255 seconds)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<NixOS_GitHub> [nixpkgs] zx2c4 opened pull request #22759: wireguard: simple package bump (master...patch-4) https://git.io/vDK9J
<NixOS_GitHub> [nixpkgs] bjornfor pushed 1 new commit to master: https://git.io/vDK9m
<NixOS_GitHub> nixpkgs/master be7a6eb Matthias Herrmann: sweethome3d: 5.2 -> 5.4
<sziszi> gch
<sziszi> gchristensen: thanks, i wasnt sure
<NixOS_GitHub> [nixpkgs] bjornfor closed pull request #22750: sweethome3d: 5.2 -> 5.4 (master...master) https://git.io/vDKvX
<gchristensen> :) you're welcome
fhoffmeyer has quit [(Ping timeout: 245 seconds)]
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vDK9Q
<NixOS_GitHub> nixpkgs/master 2ad8fac Jason A. Donenfeld: wireguard: 0.0.20170115 -> 0.0.20170213 (#22759)
eacameron has quit [(Read error: Connection reset by peer)]
jmeredith has quit [(Quit: Connection closed for inactivity)]
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vDKHv
<NixOS_GitHub> nixpkgs/master 7b6a88c Franz Pletz: urh: init at 1.3.3
phreedom has quit [(Quit: No Ping reply in 180 seconds.)]
fhoffmeyer has joined #nixos
riptawr has quit [(Quit: Leaving)]
DarcsAurelius has quit [(Remote host closed the connection)]
eacameron has joined #nixos
eacameron has quit [(Read error: Connection reset by peer)]
phreedom has joined #nixos
pi3r has quit [(Quit: Nettalk6 - www.ntalk.de)]
eacameron has joined #nixos
eacameron has quit [(Read error: Connection reset by peer)]
mkoenig has quit [(Ping timeout: 255 seconds)]
fhoffmeyer2 has joined #nixos
fhoffmeyer has quit [(Read error: Connection reset by peer)]
eacameron has joined #nixos
goibhniu has joined #nixos
eacameron has quit [(Read error: Connection reset by peer)]
Itkovian has joined #nixos
eacameron has joined #nixos
goibhniu has quit [(Client Quit)]
mkoenig has joined #nixos
ttuegel has joined #nixos
<ttuegel> Do any Haskell users know how to stop conflicting packages like this? http://lpaste.net/352501 This is on unstable channel.
<NixOS_GitHub> [nixpkgs] mimadrid opened pull request #22761: ripgrep: 0.3.2 -> 0.4.0 (master...update/ripgrep-0.4.0) https://git.io/vDK5x
ebzzry has joined #nixos
<sziszi> fingers crossed
<NixOS_GitHub> [nixpkgs] bjornfor opened pull request #22762: nixos/geoip-updater: run as user 'geoip' instead of 'nobody' (master...geoip-service-user) https://git.io/vDKFm
<ndowens08> LnL: on your review of epic about the buildinputs, can i just get rid of of the ++stdenv.lib.optional and only use stdenv.isDarwin [ libiconv tc ] ?
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to master: https://git.io/vDKFG
<NixOS_GitHub> nixpkgs/master 7e5424a Robin Gloster: php: default to php71
<LnL> ndowens08: use optionals instead of optional
mkoenig has quit [(Read error: Connection reset by peer)]
panostimos has quit [(Ping timeout: 240 seconds)]
<ndowens08> and drop stdenv.isDarwin?
hiratara has quit [(Ping timeout: 255 seconds)]
<LnL> ndowens08: the optional function will result in [ openssl ncurses [ libiconv ncurses ] ] instead of a flat list
<ndowens08> ah so just add a 's'
mudri has joined #nixos
<LnL> ndowens08: yep :)
<ndowens08> :)
hiratara has joined #nixos
<LnL> I do get a segfault on darwin :/
<ndowens08> :( i know it build on darwin orionally after adding tcl and libiconv but made deb based one fail
<Profpatsch> fpletz: I updated our pulseaudio-streaming sink and now avahi isn’t announced anymore.
<LnL> it builds fine, the binary just crashes
<Profpatsch> You changed some scripting stuff in that module, do you have to enable additional stuff?
<ndowens08> LnL: ah :\ well i dont have darwin to even try it
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<sziszi> gchristensen: and just works(tm) it's amazing
<gchristensen> :D
<Profpatsch> fpletz: In particular: should these lines in the pulseaudio config be enough for it to work? https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/config/pulseaudio.nix#L228
<NixOS_GitHub> [nixpkgs] globin force-pushed openssl-1.1 from 89ed648 to 105f535: https://git.io/vDOWO
<NixOS_GitHub> nixpkgs/openssl-1.1 dd3d4c0 Robin Gloster: openssl: default to openssl_1_1_0
<NixOS_GitHub> nixpkgs/openssl-1.1 477baea Robin Gloster: socat: 1.7.3.1 -> 1.7.3.2...
<NixOS_GitHub> nixpkgs/openssl-1.1 e055969 Robin Gloster: afflib: 3.7.6 -> 3.7.15
mkoenig has joined #nixos
<Profpatsch> That is auto-announce.
<ndowens08> LnL: i know it launches/works fine in Nix
<NixOS_GitHub> [nixpkgs] mimadrid opened pull request #22763: sudo: 1.8.19p1 -> 1.8.19p2 (master...update/sudo-1.8.19p2) https://git.io/vDKb2
<LnL> yeah I don't really see anything wrong with it
pombreda has quit [(Ping timeout: 245 seconds)]
judson_ has quit [(Ping timeout: 260 seconds)]
kampfschlaefer has quit [(Ping timeout: 256 seconds)]
<NixOS_GitHub> [nixpkgs] ttuegel pushed 3 new commits to master: https://git.io/vDKNz
<NixOS_GitHub> nixpkgs/master 74041a4 Thomas Tuegel: shimbun: init at 20170203.647
<NixOS_GitHub> nixpkgs/master 549f5b7 Thomas Tuegel: Update e-mail address for ttuegel
<NixOS_GitHub> nixpkgs/master 46904e9 Thomas Tuegel: Merge branch 'emacs-packages'
[0x4A6F] has quit [(Remote host closed the connection)]
Drakonis has quit [(Ping timeout: 240 seconds)]
<MarcWebe1> garbas: http://dpaste.com/0AGJN7E
<NixOS_GitHub> [nixpkgs] rickynils pushed 1 new commit to master: https://git.io/vDKxk
<NixOS_GitHub> nixpkgs/master cda4a4d Rickard Nilsson: nixos/grafana: Don't print password warning if no password has been set
<NixOS_GitHub> [nixpkgs] rickynils pushed 1 new commit to release-16.09: https://git.io/vDKxm
<NixOS_GitHub> nixpkgs/release-16.09 0f769e6 Rickard Nilsson: nixos/grafana: Don't print password warning if no password has been set...
wizeman has quit [(Quit: Connection closed for inactivity)]
<ndowens08> man i wish i understood nixos good that way i dont have to keep asking "stupid" questions lol
<gchristensen> ndowens08: in all seriousness, you're doing great!
<ndowens08> gchristensen: i can do simple packaging and such, i dont know all the "options" available in nix, which is nice, but hard to figure everything out when i am so use to editing files in /etc to do things. Like I tried to create a systemd service to run xinput --disable 13 (to disable synaptics, and no the option available doesn't disable wife's touchpad), and well it still doesnt disable it when i got a systemd
<ndowens08> file created through configuration
pombreda has joined #nixos
Drakonis has joined #nixos
johann__1 has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub> [nixpkgs] LnL7 opened pull request #22764: Replacing modules (master...replacing-module) https://git.io/vDKhx
<LnL> gchristensen: ^^ that's what I was talking about yesterday
hiratara has quit [(Quit: ZNC - http://znc.in)]
<gchristensen> ndowens08: how did you create the systemd file?
hiratara has joined #nixos
<ndowens08> through configuration.nix; not at the laptop atm, put it up, but i created it what should have worked i thought, but doenst make a diff when systemctl start, and error when doing systemctl enable
<gchristensen> gotta go, but I think you want `systemd.service.yourservice = {...}`
<ndowens08> did that too
<gchristensen> see: https://nixos.org/nixos/options.html#systemd.services.%3Cname%3E.
<LnL> also wasn't there some easy way to update a pr?
<LnL> I thought you could push to refs/pr
<Nafai> LnL: Generally, you should be able to just force push to the branch where you did the PR from
<cransom> if you push -f, you overwrite it.
<LnL> Nafai: not my pr
<Nafai> hmm
FRidh has quit [(Remote host closed the connection)]
<ndowens08> i know i have to force push in order to squash commits together
<garbas> MarcWebe1: you need to resolve this yourself manually and put it in requirements_override.nix
<gchristensen> globin: any thoughts on kde4?
Kingsquee has joined #nixos
<NixOS_GitHub> [nixpkgs] bjornfor pushed 1 new commit to master: https://git.io/vD6f3
<NixOS_GitHub> nixpkgs/master 2aad859 mimadrid: sudo: 1.8.19p1 -> 1.8.19p2
dbmikus has joined #nixos
<eacameron> I did some nix upgrades and now my haskell app (using curl) segfaults in libcurl code
<eacameron> :(
<garbas> copumpkin: would you consider this issue solved? https://github.com/garbas/pypi2nix/issues/104
<NixOS_GitHub> [nixpkgs] bjornfor pushed 2 new commits to release-16.09: https://git.io/vD6fx
<NixOS_GitHub> nixpkgs/release-16.09 de7c5d1 mimadrid: sudo: 1.8.18p1 -> 1.8.19p1...
<NixOS_GitHub> nixpkgs/release-16.09 5312121 mimadrid: sudo: 1.8.19p1 -> 1.8.19p2...
<NixOS_GitHub> [nixpkgs] bjornfor closed pull request #22763: sudo: 1.8.19p1 -> 1.8.19p2 (master...update/sudo-1.8.19p2) https://git.io/vDKb2
<NixOS_GitHub> [nixpkgs] joachifm pushed 1 new commit to release-16.09: https://git.io/vD6JK
<NixOS_GitHub> nixpkgs/release-16.09 9b8c2c7 Joachim Fasting: Revert "syncthing: 0.14.17 -> 0.14.23 (#22553)"...
phreedom has quit [(Quit: No Ping reply in 180 seconds.)]
<NixOS_GitHub> [nixpkgs] grahamc closed pull request #22761: ripgrep: 0.3.2 -> 0.4.0 (master...update/ripgrep-0.4.0) https://git.io/vDK5x
stepcut has joined #nixos
phreedom has joined #nixos
<ndowens08> LnL: Do i need to add another stdenv.isDarwin below the darwin buildInputs or just drop right below it and put the patch?
<LnL> what do you mean?
ebzzry has quit [(Ping timeout: 240 seconds)]
<ndowens08> like you know mine has the buildInputs = [] ++ stdenv.lib.options stdenv.isDarwin [ packages];
<ndowens08> do i need to do another stdenv.isDarwin or just remove the ; and do patch then;
slack1256 has joined #nixos
gk--1wm- has joined #nixos
gk--1wm- has left #nixos []
<NixOS_GitHub> [nixpkgs] mimadrid opened pull request #22766: qutebrowser: 0.9.0 -> 0.9.1 (master...update/qutebrowser-0.9.1) https://git.io/vD6UN
<ndowens08> wait i might know now.. hmm give me a min
<LnL> ah sorry that patch includes some formatting, mainly talking about the configureFlags
<ndowens08> LnL: ah well just curious how to use the patch in my nix file, but i think i might know now, maybe
<NixOS_GitHub> [nixpkgs] rycee pushed 1 new commit to master: https://git.io/vD6Tz
<NixOS_GitHub> nixpkgs/master 486b9be Robert Helgesson: eclipse-plugin-scala: use stable download URL...
<ndowens08> like this: http://pastebin.com/3n8VMMKv LnL
ttuegel has quit [(Remote host closed the connection)]
ebzzry has joined #nixos
stepcut has quit [(Remote host closed the connection)]
olesk has quit [(Ping timeout: 276 seconds)]
<ndowens08> but yea i can do the sub in place thing too, but that would be correct way for future reference maybe?
digitus has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc opened pull request #22767: nix-daemon: default useSandbox to true (master...sandbox-by-default) https://git.io/vD6TF
<LnL> I think I confused you a bit, patches is used to patch the contents of a package
<LnL> I just pasted the nixpkgs diff I tested
Drakonis has quit [(Quit: Leaving)]
<ndowens08> yep ik that :) but only darwin needs to be patched to work, so trying to only patch darwin
Drakonis has joined #nixos
<LnL> ndowens08: I added the change
<NixOS_GitHub> [nixpkgs] grahamc closed pull request #22678: WIP: Delete kde4 (master...delete-kde4) https://git.io/vDwOK
MP2E has joined #nixos
<ndowens08> LnL: well i was kinda doing that, just was trying to do it targeting darwin only :p
<ndowens08> SO as you know i have the previous options and if darwin, lets assume I wanted to do configureFlags the same way, I would have to do another optionals isDarwin area right?
<LnL> yeah you could do configureFlags = stdenv.lib.optionals stdenv.isDarwin [ ... ];
<ndowens08> ah :)
siddharthist has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 2 new commits to staging: https://git.io/vD6IO
<NixOS_GitHub> nixpkgs/staging 0c524c6 Vladimír Čunát: guile: refactor expression...
<NixOS_GitHub> nixpkgs/staging 218713a Vladimír Čunát: guile*: split outputs to fix #22757...
<ndowens08> Nix is interesting but can be a pain to me atm lol
<ndowens08> but that is what is making it sorta fun i guess for me, b/c it is different
sigmundv has joined #nixos
<siddharthist> hi all - is there a way to detect whether or not a configuration is being built with `nixos-rebuild build-vm` so as to avoid building *all* my packages like texlive that have nothing to do with the changes I'm testing?
<NixOS_GitHub> [nixpkgs] LnL7 pushed 3 new commits to master: https://git.io/vD6IV
<NixOS_GitHub> nixpkgs/master dda70d9 ndowens: epic5: init at 2.0.1...
<NixOS_GitHub> nixpkgs/master 66eba1f Daiderd Jordan: epic5: add configure flags
<NixOS_GitHub> nixpkgs/master b165de3 Daiderd Jordan: Merge pull request #22730 from ndowens/master...
<ndowens08> yay two of my pkgs are now in repo, or will be :)
<gchristensen> woot!
Sonarpulse has quit [(Ping timeout: 240 seconds)]
<viric> grmbl
<gchristensen> oh?
<ndowens08> Does nix notifiy when there is a new update available from upstream?
<viric> gdb isn't debugging my c++ right
<gchristensen> no, ndowens08
<ndowens08> gchristensen: well darn, hmm
<viric> it jumps here and there, variables are "optimized out"... but I build with -O0 -g
<clever> siddharthist: one option is nixos-rebuild build-vm -I nixos-config=./configuration.nix
<gchristensen> that'd be really nice though. how would you expect that to work? (as a user)
<ndowens08> i mean, there has to be a way
<clever> siddharthist: this lets you use a different config file for the vm, then you can just comment out the tex stuff
<gchristensen> ndowens08: there are many ways :) but how would -you- expect it to work?
<ndowens08> script to look at the meta data, find the src location and see if there is a version higher than what is in repo?>
<gchristensen> and then ...?
<ndowens08> email the maintainer
<gchristensen> ooohhh I see
<ndowens08> simple concept, but something i doubt i could do, i dont really script :)
<gchristensen> sorry I was thinking a different thing.
<gchristensen> it is very hard.
<ndowens08> hmm well
<ndowens08> that could be done globally
<siddharthist> clever: thanks, that's helpful! that's probably what I'll do
<ndowens08> but if lets say, i want to only check mine, have a script and have it check a imported list of packages I maintain and do above maybe
digitalmentat has joined #nixos
<siddharthist> ndowens08: I had the same idea the other day :) should be straightforward enough for packages from Github, which has standard URLs for releases.
<ndowens08> siddharthist: problem is, not everyone's packages are on github :\
<ndowens08> and i dont program/script
olejorgenb has joined #nixos
<ndowens08> hmm i may end up trying something for the fun of it, though it wont work i bet :)
fadenb[m] has left #nixos ["User left"]
<Ralith> viric: I have that same problem on some, but not all, of my machines
<Ralith> please let me know if you work out wtf
<viric> Ralith: it's crazy
<Ralith> have been wrestling with it for months :/
stepcut has joined #nixos
<viric> Ralith: release-16.09?
<Ralith> ish
<viric> Ralith: using nix-shell?
<Ralith> yeah
<Ralith> that describes both a system where it works and one where it doesn't, though
peterhoeg has joined #nixos
<NickHu> Hey guys, I'm about to submit a package for fdr (https://www.cs.ox.ac.uk/projects/fdr/), which is a model checker for CSP, an algebra/process calculus
<viric> Ralith: with NIX_DEBUG=1 I see it gets -O2 added
<NickHu> Do you agree that it should go under applications/science/programming?
<viric> Ralith: add-hardening.sh: hardeningCFlags+=('-O2' '-D_FORTIFY_SOURCE=2')
<Ralith> oh jesus christ
<viric> Now I have to find out how to get rid of that
<gchristensen> viric: hardeningDisable = [ "fortify" ]; ?
<Ralith> a customized version of cc-wrapper I assume
<gchristensen> oh
<Ralith> gchristensen: where would you put that?
<gchristensen> in mkDerivation
<NixOS_GitHub> [nixpkgs] rycee pushed 1 new commit to master: https://git.io/vD6t9
<NixOS_GitHub> nixpkgs/master 08779a7 Robert Helgesson: eclipse-plugin-jdt: 4.6 -> 4.6.2
<gchristensen> here are some examples: https://search.nix.gsc.io/?q=fortify&i=nope&files=&repos=
<viric> gchristensen: this is nix-shell
<gchristensen> ack
<ndowens08> might have an idea :)
<viric> Ralith: that env var helps, yes. hardeningDisable=fortify
<viric> Ralith: no more -O2
<viric> Ralith: hardeningDisable=all should work as well
<Ralith> that's good, but this is a totally unacceptable default behavior imo
<gchristensen> the -O2?
<Ralith> in nix-shell, yeah
<viric> yes, crazy thing
<Ralith> it totally defeats attempts to get useful debugging info in a development environment (or even in packages, I suppose)
dbmikus has quit [(Quit: WeeChat 1.7)]
<gchristensen> part of the point of nix-shell is to be the same as nix-build, thuogh
<NixOS_GitHub> [nixpkgs] LnL7 closed pull request #22702: service-runner: try to setuid when started as root (master...service-runner-setuid) https://git.io/vDwj2
<Ralith> yes, and I now realize there's reasons for this to be terrible in nix-build too
<Ralith> e.g. I frequently need a debug build of LLVM
<Ralith> which is going to be nearly worthless if it's -O2'd without my say-so
<viric> we learnt something.
<Ralith> I wonder why my other system doesn't have this issue
<viric> maybe not 16.09?
<NixOS_GitHub> [nixpkgs] peterhoeg opened pull request #22769: syncthing-inotify: 0.8.4 -> 0.8.5 (release-16.09...u/stn) https://git.io/vD6q5
<Ralith> sez 16.09.1443.e924319
seanz1 has quit [(Quit: Leaving.)]
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/vD6mr
<NixOS_GitHub> nixpkgs/master 0ec9e69 Tim Steinbach: linux: 3.10.104 -> 3.10.105
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to release-16.09: https://git.io/vD6mP
<NixOS_GitHub> nixpkgs/release-16.09 fb3ea26 Tim Steinbach: linux: 3.10.104 -> 3.10.105
jmeredith has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vD6m5
<NixOS_GitHub> nixpkgs/master 2fce8dd Vladimír Čunát: knot-dns: fixup Darwin build again, hopefully
chpatrick has left #nixos []
<NixOS_GitHub> [nixpkgs] NickHu opened pull request #22770: add fdr: the CSP refinement checker (master...master) https://git.io/vD6Ys
siddharthist has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
michiel_l has quit [(Ping timeout: 276 seconds)]
<peterhoeg> NickHu: looks like a good place to put it
t7 has quit [(Quit: ChatZilla 0.9.93 [Firefox 51.0.1/20170201174907])]
<NickHu> ugh I think I named the pr wrong.. I was following some example in the applications/games directory - it's not a big deal, is it?
Shoue has quit [(Ping timeout: 240 seconds)]