a6a3uh has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
hellrazor has quit [(Ping timeout: 240 seconds)]
pie_ has quit [(Ping timeout: 264 seconds)]
<gchristensen>
copumpkin: re your comment on .o's and .so's they're not, cleanSource is used in places nix-shell is used to build / develop software :)
<copumpkin>
oh fair enough
ona has quit [(Ping timeout: 248 seconds)]
<Infinisil>
tnias: I have no idea why you'd want that, but you can use `(import <nixpkgs/nixos> {}).config.boot.kernelPackages.kernel`
<tnias>
Infinisil: thanks. I am trying to create a build/test environment for a kernel module.
<puffnfresh>
copumpkin: nah wish I was :(
<copumpkin>
aw boo
elninja44 has joined #nixos
<Infinisil>
How would I create a nixos option usable like `option = { foo = { hello = "hi"; }; }` so that it resolves to (the final config being) `option = [ { name = "foo"; hello = "hi"; }; ]`?
<tnias>
Infinisil: can you iterate over the attributes from `option`? (to get from set to list, if that was your question)
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] copumpkin pushed 2 new commits to master: https://git.io/v5c9R
<NixOS_GitHub>
nixpkgs/master e2589b3 Dan Peebles: Deduplicate some filterSource invocations...
<NixOS_GitHub>
nixpkgs/master ec75a30 Daniel Peebles: Merge pull request #28722 from copumpkin/filterSource-cleanup...
NixOS_GitHub has left #nixos []
<tnias>
Ohh, nvm.. that was not the question.. :/
frankpf has joined #nixos
johnw has quit [(Ping timeout: 248 seconds)]
<tnias>
Infinisil: maybe you are looking for something like `mapAttrsToList`, that is used for `vhosts` in nixpkgs/nixos/modules/web-servers/nginx
<Infinisil>
tnias: Yeah I could use this when accessing the config, but I want the accessed config to be of type list already, but declare is as a set
<Infinisil>
so I think it's something with the types `functor`
<Infinisil>
not sure
<tnias>
could you just check the type and if required just apply a transformation
johnw has joined #nixos
<Infinisil>
How would i apply the transformation for the type itself?
<Infinisil>
I hoped there would be something like this in nixpkgs/lib
<Infinisil>
but there doesn't seem to
<Infinisil>
be
<Infinisil>
Eh whatever, I'll just use an attrset
Rotaerk_ has joined #nixos
Rotaerk has quit [(Ping timeout: 248 seconds)]
betaboon has quit [(Quit: This computer has gone to sleep)]
Supersonic112 has quit [(Disconnected by services)]
<NixOS_GitHub>
[nixpkgs] vyp opened pull request #28726: interception-tools: init at 0.1.1 (master...interception-tools) https://git.io/v5cdP
NixOS_GitHub has left #nixos []
schoppenhauer has quit [(Ping timeout: 276 seconds)]
schoppenhauer has joined #nixos
freeman42y has quit [(Quit: Leaving)]
oborot has joined #nixos
freeman42x has joined #nixos
xd1le has joined #nixos
<xd1le>
Hello all, how can I find the nix variable to the path to the perl interpreter? For example, for the python interpreter it is `${python.interpreter}`.
colescott has quit [(Quit: Page closed)]
sellout-1 has joined #nixos
hotfuzz has quit [(Ping timeout: 252 seconds)]
sellout- has quit [(Ping timeout: 240 seconds)]
hotfuzz has joined #nixos
<disasm>
gchristensen: that explains why my terminals are no longer transparent :)
Nobabs27 has quit [(Quit: Leaving)]
babs__ has joined #nixos
<babs__>
why when I try and build nixpkgs/pkgs/development/libraries/qt-5/5.6 or 5.8 they "error: cannot auto-call a function that has an argument without a default value (‘newScope’)" ?
<babs__>
because I need QT 5.8 to be able to build this other package
<Lisanna>
xd1le: I don't think perl has an equivalent attribute. What you can always do is something like ${perl}/bin/perl or wherever perl's default install location for its binary is
<Lisanna>
babs__: soundslike the derivation for qt5.6 takes some inputs, i.e., it probably wasn't meant ot be built directly?
<Lisanna>
it's probablyan intermediary that's called by another derivation in one of those files
<babs__>
ohh
freeman42y has joined #nixos
<babs__>
Lisanna: so how do I figure out which one?
<Lisanna>
babs__: I'd start by using the NixOS package search, they usually have a link to the derivation that the package is built from
<babs__>
Lisanna: so pkgs/build-support/trivial-builders.nix ?
<babs__>
I assumed that was a glitch or somethin
<Lisanna>
ah, that's probably not too useful of a place to look
<Lisanna>
I think some of the nixpkgs entries for where the derivation are are out of date. look at some of the other qt versions and at least one of them should be right
<Lisanna>
I swear I looked at this before... try one of the qt4 ones
<Lisanna>
that should give you a hint about where the qt5 expressions are
<Lisanna>
probably also just poke around in development/libraries/qt-5/... I haven't built using qt in nix so I wouldn't know without looking myself
<babs__>
Lisanna: QT4 is pkgs/development/libraries/qt-4.x/4.8/default.nix lol
pxc has joined #nixos
<babs__>
Lisanna: QT4 does not build either
ktf_ has joined #nixos
pxc has quit [(Ping timeout: 260 seconds)]
seanparsons has quit [(Remote host closed the connection)]
<babs__>
Lisanna: thank you, however I'm still a bit of a noob to the language, what do I with that (or what does it tell me)?
proteusguy has quit [(Remote host closed the connection)]
<Lisanna>
babs__: I was a noob to the language not too long ago ^^ if possible I'd suggest learning the basics of the language, and practice by doing some tutorials. I struggled with trying to use Nix for awhile until finally it *clicked*. The language isn't that complicated, and once you learn the basics everything becomes really cool
<Lisanna>
that line is a function call, it calls recurseIntoAttrs, which takes one argument, which is that derivation for qt56 you were having trouble building before, and that derivation is a function which takes one argument which is a set containing derivations for a bunch of packages and some arguments
<Lisanna>
(like newScope)
<Lisanna>
inherit newScope means literally "newScope = newScope" (i.e. use the newScope that's defined in the current environment)
freeman42x[nix1] has joined #nixos
freeman42x[nix1] has quit [(Client Quit)]
<babs__>
Lisanna: so do I copy and paste it into it's own .nix file?
<Lisanna>
what are you trying to do with it?
<Lisanna>
if just want to use it in a build then you should just use the one that is provided with nixpkgs
<babs__>
Lisanna: I need it to build QT 5.8 or later (I saw a QT 5.9 in libraries/qt-5)
bfrog has joined #nixos
justbeingglad has joined #nixos
<Lisanna>
the easiest way to get that would probably be to clone nixpkgs and modify that in-place
justbeingglad has left #nixos []
<babs__>
Lisanna: and then do the "make my own channe" jitsu stuff?
<babs__>
*channel
<Lisanna>
yeah
<babs__>
kk ill give it a go
<babs__>
Lisanna: so how much do I modify in place? do a mass replace of qt56 to qt59? lol
elninja44 has quit [(Remote host closed the connection)]
<Lisanna>
look in the main derivation for it, there should be a "version" attribute
<Lisanna>
and that will deterimine the src distribution that's downloaded
<babs__>
Lisanna: the main derivation as in the one you linked?
<Lisanna>
no, the one you found originally
<Lisanna>
nixpkgs/pkgs/development/libraries/qt-5/5.6 or 5.8
HurricaneHarry has quit [(Remote host closed the connection)]
reinzelmann has joined #nixos
scribbler has quit [(Remote host closed the connection)]
scribbler has joined #nixos
HurricaneHarry has joined #nixos
scribbler has quit [(Ping timeout: 252 seconds)]
jtojnar has quit [(Quit: jtojnar)]
oida_ has joined #nixos
oborot has quit [(Ping timeout: 248 seconds)]
oida has quit [(Ping timeout: 240 seconds)]
oida has joined #nixos
oida_ has quit [(Ping timeout: 240 seconds)]
pxc has joined #nixos
justanotheruser has quit [(Ping timeout: 248 seconds)]
justanotheruser has joined #nixos
pxc has quit [(Ping timeout: 240 seconds)]
odi has quit [(Ping timeout: 248 seconds)]
MercurialAlchemi has joined #nixos
odi has joined #nixos
zeus_ has quit [(Remote host closed the connection)]
scribbler has joined #nixos
odi has quit [(Ping timeout: 260 seconds)]
<neonfuz>
disasm: thanks
justanotheruser has quit [(Quit: WeeChat 1.7.1)]
justanotheruser has joined #nixos
ktf_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] copumpkin opened pull request #28729: [WIP] terraform: provide plugins for 0.10 (master...terraform-plugins) https://git.io/v5cpD
NixOS_GitHub has left #nixos []
kiloreux has joined #nixos
griff_ has joined #nixos
kiloreux has quit [(Max SendQ exceeded)]
kiloreux has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 opened pull request #28730: network-interfaces-scripted: don't add 'lo' as device dependency (master...network-fail) https://git.io/v5cpF
NixOS_GitHub has left #nixos []
ktf_ has quit [(Ping timeout: 240 seconds)]
griff_ has quit [(Ping timeout: 240 seconds)]
phinxy has joined #nixos
endformationage has quit [(Quit: WeeChat 1.9)]
phinxy has quit [(Client Quit)]
pi3r has joined #nixos
oida_ has joined #nixos
<pi3r>
I hate to say it but the lack of responsiveness for issues regarding the nixos-stable branch is well ... alarming (in my case of course)
odi has joined #nixos
oida has quit [(Ping timeout: 248 seconds)]
oida has joined #nixos
pi3r has quit [(Ping timeout: 248 seconds)]
oida_ has quit [(Ping timeout: 248 seconds)]
pi3r2 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/v5chb
<NixOS_GitHub>
nixpkgs/master b50309a Peter Hoeg: httrack: 3.48.22 -> 3.49.2
NixOS_GitHub has left #nixos []
<jb55>
pretty sure nix-devel@googlegroups.com is blackholing my emails...
<jb55>
which is weird because my email works fine for other google groups... ¯\_(ツ)_/¯
<pi3r2>
I probably need to adopt a different stategy. Move out non essential packages (such as vcsh) out of stable and pin a version that works for these
<pi3r2>
There are many risks such packages won't build whenever I update the stable branch.
DrWaste has joined #nixos
freeman42z[m] has joined #nixos
<jb55>
I find incrementally updating nixos-unstable is the best, not a fan of huge jumps between stable releases
freeman42y[m] has quit [(Ping timeout: 264 seconds)]
Mateon1 has left #nixos []
pi3r2 has quit [(Ping timeout: 240 seconds)]
<sphalerite>
pi3r: there's only so much available resource-wise
<airogjaerga>
Hi! I'm new to nix. Following along with https://nixos.org/nix/manual/#sec-expression-syntax, and want to package a simple C program just for the heck of it. I'm wondering where one finds documentation about nix functions - I'm looking for what to replace `fetchurl` with foro when I want to read from files in `./src/`?
dywedir has quit [(Remote host closed the connection)]
<LnL>
you can just replace it with ./src :)
freeman42z[m] has quit [(Ping timeout: 264 seconds)]
justbeingglad has joined #nixos
<airogjaerga>
so `src = ./src`? Not even in "" quotes?
<cmcdragonkai1>
documentation of nix functions depends on whether you're looking for docs on the builtins or the functions provided as part of nixpkgs "standard library"
Neo-- has joined #nixos
<sphalerite>
airogjaerga: yes
<LnL>
airogjaerga: yep
<airogjaerga>
cmcdragonkai1: I don't know what parts of it are in the standard lib or builtin :-/. Just want to write nix expressions, and not to bother you fine people every time I don't know what arguments to provide some function
<airogjaerga>
Thanks for pointing out that I can just write ./src though :-)
<cmcdragonkai1>
the builtins will be best documented in the actual nix repository not nixpkgs
gilligan_ has joined #nixos
ertes-w has joined #nixos
<cmcdragonkai1>
they should be part of the `builtins` namespace
<cmcdragonkai1>
whereas nixpkgs "standard lib" will be in the lib directory of nixpkgs
<gilligan_>
argh, help .. I can't connect to any protected wifi with network-manager anymore. I get the usual widget but can't click "connect" - I see an error in the logs about gnome-keyring not being able to access /run/user/1000/keyring/control - Does anyone have any clue how to fix this?
<airogjaerga>
cmcdragonkai1: thank you very much for sharing!
gilligan__ has joined #nixos
phreedom has joined #nixos
pxc has quit [(Ping timeout: 252 seconds)]
gilligan_ has quit [(Ping timeout: 248 seconds)]
takle has joined #nixos
griff_ has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] gebner pushed 2 new commits to master: https://git.io/v5CU2
<NixOS_GitHub>
nixpkgs/master d277d52 William Casarin: trezord: 1.2.0 -> 1.2.1...
<NixOS_GitHub>
nixpkgs/master dd108a6 Gabriel Ebner: Merge pull request #28734 from jb55/progress/28643/trezord...
NixOS_GitHub has left #nixos []
<sphalerite>
gilligan__: those things sound like they're not directly related but might share a root cause of DBus issues
<sphalerite>
oh wait no
<sphalerite>
that does sound like one might be causing the other
<sphalerite>
what's your setup?
civodul has joined #nixos
ktf_ has quit [(Ping timeout: 264 seconds)]
gilligan__ is now known as gilligan_
freeman42y[m] has joined #nixos
<gilligan_>
sphalerite, running i3 and network-manager-applet
<gilligan_>
sphalerite, i removed the network and tried again and then it magically worked
freeman42z[m] has joined #nixos
freeman42x[m] has quit [(Read error: Connection reset by peer)]
<remexre>
Hi, I'm new to NixOS and I'm having trouble adding a printer; I can't find a value for services.printing.drivers that installs the gutenprintBin driver; I've tried cups-gutenprint-binary, gutenprint-binary, gutenprintBin, and nixos.gutenprintBin
freeman42x[m] has joined #nixos
<remexre>
Instead, I get "error undefined variable 'whatever I put' at ..."
ktf_ has joined #nixos
takle has quit [(Remote host closed the connection)]
freeman42y[m] has quit [(Read error: Connection reset by peer)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] jb55 opened pull request #28735: stagit: init at 0.6 (master...init/stagit-0.6) https://git.io/v5CkJ
freeman42z[m] has quit [(Ping timeout: 264 seconds)]
airogjaerga has quit [(Ping timeout: 248 seconds)]
<remexre>
Oh, cool, that works perfectly; thanks!
airogjaerga has joined #nixos
freusque has joined #nixos
proteusguy has quit [(Read error: Connection reset by peer)]
<joepie91>
remexre: if you're basing this on some piece of example code elsewhere; it's possible that the example code in question used `with pkgs;`, which brings every attribute of `pkgs` into scope
<joepie91>
so `with pkgs; foo` can resolve to `pkgs.foo`
<remexre>
I'm just basing it on the wiki's printing article, which just says "Replace YOUR_DRIVER with the driver of your printer" without mentioning "with pkgs;". Nifty trick though!
<joepie91>
remexre: hm, have a link to the article in question?
<JosW>
Thank, using Nixos since a few weeks but need to dive in deep. Was trying to convince someone else to try it but was confronted with this configuration question.
<JosW>
Thought it should be the module sytem, so got some reading to do :)
<makefu>
JosW: NixOS has a steep learning curve, just keep on rocking :)
oida has quit [(Ping timeout: 260 seconds)]
<JosW>
I now, someohow everything feels right about it so I keep trying.
<makefu>
the really cool thing is that NixOS will take care of your /etc/ stuff in a single consistent file (configuration.nix). no need to fiddle around in a million files in /etc/ or even /opt/
<JosW>
Yeah, love the way this is setup. Found Nixos when searching for filesystem versioncontrol, it was mentioned on the NILFS2 wikipedia site.
NeedsAdvice923 has joined #nixos
<makefu>
that is ... fascinating :D
<JosW>
Needed to completely setup a server again after an ssl setting for some software went wrong, was still not using any versioning software at that time...
<JosW>
lot to learn!
<makefu>
using ssl with nginx is like the best thing, really
proteusguy has quit [(Read error: Connection reset by peer)]
proteusguy has joined #nixos
proteusguy has quit [(Excess Flood)]
proteusguy has joined #nixos
proteusguy has quit [(Read error: Connection reset by peer)]
revtintin has quit [(Ping timeout: 252 seconds)]
proteusguy has joined #nixos
takle has quit [(Ping timeout: 248 seconds)]
Neo-- has joined #nixos
proteusguy has quit [(Excess Flood)]
proteusguy has joined #nixos
proteusguy has quit [(Read error: Connection reset by peer)]
proteusguy has joined #nixos
proteusguy has quit [(Excess Flood)]
proteusguy has joined #nixos
nicklaf has quit [(Quit: leaving)]
nicklaf has joined #nixos
takle has joined #nixos
nicklaf has quit [(Client Quit)]
nicklaf has joined #nixos
nicklaf has quit [(Client Quit)]
nicklaf has joined #nixos
nicklaf has quit [(Client Quit)]
nicklaf has joined #nixos
proteusguy has quit [(Read error: Connection reset by peer)]
revtintin has joined #nixos
proteusguy has joined #nixos
phinxy has joined #nixos
arximboldi has joined #nixos
proteusguy has quit [(Read error: Connection reset by peer)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Ma27 opened pull request #28738: weechat-matrix-bridge: init at 2017-03-28 (master...init/weechat-matrix-bridge) https://git.io/v5CYN
NixOS_GitHub has left #nixos []
proteusguy has joined #nixos
proteusguy has quit [(Read error: Connection reset by peer)]
cfricke has joined #nixos
cfricke has quit [(Client Quit)]
qknight has joined #nixos
tv has quit [(Ping timeout: 240 seconds)]
<qknight>
Dezgeg: huhu, are you there?
<qknight>
Dezgeg: are you from stockholm?
tv has joined #nixos
proteusguy has joined #nixos
<Dezgeg>
no
proteusguy has quit [(Read error: Connection reset by peer)]
ison111 has quit [(Ping timeout: 240 seconds)]
justanotheruser has quit [(Ping timeout: 252 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] zimbatm created terraform_maj_min (+1 new commit): https://git.io/v5COP
<NixOS_GitHub>
nixpkgs/terraform_maj_min c2887d6 zimbatm: terraform: only expose maj.min to top-level...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] zimbatm opened pull request #28739: terraform: only expose maj.min to top-level (master...terraform_maj_min) https://git.io/v5CO9
NixOS_GitHub has left #nixos []
freeman42y[m] has joined #nixos
freeman42x[m] has quit [(Read error: Connection reset by peer)]
freeman42x[m] has joined #nixos
freeman42y[m] has quit [(Ping timeout: 240 seconds)]
MP2E has quit [(Remote host closed the connection)]
nckx has joined #nixos
proteusguy has joined #nixos
proteusguy has quit [(Read error: Connection reset by peer)]
catch22__ has joined #nixos
proteusguy has joined #nixos
proteusguy has quit [(Excess Flood)]
proteusguy has joined #nixos
pxc has joined #nixos
NeedsAdvice923 has left #nixos []
proteusguy has quit [(Excess Flood)]
proteusguy has joined #nixos
pxc has quit [(Ping timeout: 240 seconds)]
rahul has joined #nixos
proteusguy has quit [(Read error: Connection reset by peer)]
proteusguy has joined #nixos
deltasquared has joined #nixos
proteusguy has quit [(Excess Flood)]
griff_ has joined #nixos
simukis has joined #nixos
<JosW>
the hydra manual isn't up to date, is there somewhere other info about installing Hydra?
<qknight>
JosW: it is part of nixpkgs
griff_ has quit [(Ping timeout: 260 seconds)]
<JosW>
ok so as easy as using nix-env -I?
sigmundv__ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] rycee pushed 1 new commit to master: https://git.io/v5CZv
<NixOS_GitHub>
nixpkgs/master 7978eda Robert Helgesson: python-PyICU: disable for darwin...
<ixxie>
We are now making a push to make this new wiki super nice
jacob has joined #nixos
<gchristensen>
"The Modern Comedy of the NixOS wiki" heh
jacob is now known as Guest95925
takle has quit [(Remote host closed the connection)]
<gchristensen>
and I'm semipermanently in the anals of wiki-time
takle has joined #nixos
mudri has quit [(Ping timeout: 248 seconds)]
takle has quit [(Ping timeout: 248 seconds)]
<ixxie>
Youv'e made the history books
<ixxie>
congradulations
<vegai>
holy crap
<vegai>
how can setting up a wiki be so difficult
<vegai>
oh well, let's not dwell on the negative. Good work, ixxie!
<vegai>
where is that hosted?
<fpletz>
vegai: it isn't but at the time nobody wanted to maintain it
<fpletz>
vegai: you have to ask fadenb
<joepie91>
gchristensen: annals*
<joepie91>
subtle but important difference
<joepie91>
lol
<gchristensen>
joepie91: YIKES.
<fpletz>
hehe :)
<florianjacob>
Does somebody know how to merge two submodule definitions with one having priority over the other? Currently fiddling around with mkMerge and mkDefault, but I can't get it to work :(
<vegai>
I wish I had been in the group that made the excellent Arch Linux Wiki
<vegai>
they did something very very right there
<vegai>
I cannot imagine that it just happened
<joepie91>
Arch seems to generally have a more document-y culture
<joepie91>
and I'm honestly not sure how to feel about this
<gchristensen>
huh.
<joepie91>
perhaps this is less crazy to somebody who actually speaks Japanese, but damn :P
<vegai>
that wiki at least needs a few basic layout fixes
<ixxie>
vegai: praise should go to Mic92, fadenb and makefu really!
<vegai>
spacing and font size and that sorta thing
<vegai>
just copying some of the Arch Linux wiki css settings might be a good start already :P
<vegai>
this seems like a superficial thing, but it's very important
<joepie91>
I would say that a good start is restricting horizontal width of the 'readable area'
<vegai>
a wiki that looks like a vanilla mediawiki installation has a bad smell
<joepie91>
the usual 960px rule and so on
<vegai>
sure
bkchr has joined #nixos
<cmcdragonkai1>
bootstrap
freeman42x[m] has joined #nixos
<ixxie>
vegai: I looked for better themes (or 'skins' as mediawiki calls them) and its pretty damn hard to find nice ones
<vegai>
cmcdragonkai1: is that applicable to mediawiki?
<gchristensen>
probably the best use of time would be contributing content
<joepie91>
not entirely sure how to wrangle the mediawiki layout into 960px though
freeman42y[m] has quit [(Read error: Connection reset by peer)]
<cmcdragonkai1>
not sure, but 960px made me remember the days of css templates and bootstrap
<cmcdragonkai1>
and photoshop slicing
<joepie91>
gchristensen: content alone isn't useful if it's difficult to consume; there's a few relatively cheap styling fixes that can make content far more accessible
<vegai>
making the wiki seem professional is just as important as the content
freeman42y[m] has joined #nixos
pxc has joined #nixos
<ixxie>
I agree vegai
<ixxie>
theme suggestions are welcome
<ixxie>
the Arch wiki theme is a custom one made by their team
<ixxie>
its not open source
<fpletz>
florianjacob: do you want to override an actial option in a submodule (mkOption) or just override its configuration?
<joepie91>
most importantly the horizontal width and line/text spacing
<joepie91>
possibly font size as well
<ixxie>
thats one of the first things I was looking at
<vegai>
cool :)
<vegai>
I wonder what would be a productive way to make all this happen, then
<gchristensen>
makefu: should I disable the nixos user wiki repo searchh on search.nix.gsc.io?
<joepie91>
like, it's probably not worth it to spend weeks designing a theme, but some readability patches are important :P
<vegai>
yeah, definitely
<makefu>
gchristensen: yes, go ahead :)
<ixxie>
help is welcome, us wiki people hang out at #krebs
<vegai>
it shouldn't need endless tweaking, just a few things and then it'll be permanently better
<joepie91>
no idea how to fix the tab style, it seems to do some background image hackery
<gchristensen>
cool
<joepie91>
thoughts?
<ixxie>
I like the narrow text field, its a great idea
pie_ has joined #nixos
<ixxie>
this is why we have columns of text
<joepie91>
yep, less horizontal scanning
<joepie91>
never quite understood why mediawiki defaults to full-width, to be honest :P given its purpose
<florianjacob>
fpletz: High-level view: For some submodule instances, I want to change the defaults values for several mkOptions in that submodules to something application specific. Something like `nginx.virtualHosts = [ (mkMerge sharedDefaults { specifics = "foobar"; }) ];` was in my mind, but that doesn't work, as mkMerge doesn't handle options defined twice. ( I have many similar-configured submodules (nginx vhosts, many instances
<florianjacob>
of the same web app), and I want to define the baseline of that modules once and then merge that baseline submodule definition with the specific configurations.)
xplat|work has joined #nixos
<ixxie>
the colors are very.... blue! Normally since the logo is blue, the backgrounds should be more neutral, but I agree we should bring those nixos colors in there; I recon we can do it with some highlights
<symphorien>
do you need to be part of a github organization to be allowed to edit the wiki ?
<ixxie>
symphorien: no, you just need a github account
<joepie91>
ixxie: yeah, feel free to mess about with it, I'm not married to the color scheme; pretty much just picked them out in a few seconds using a color picker
<ixxie>
symphorien: its a spam protection
<joepie91>
more to give an idea of how to make it look more NixOS
<joepie91>
and less Mediawiki
<ixxie>
yeah
takle has joined #nixos
<joepie91>
because yeah, default mediawiki does make something appear poorly maintained :P
<symphorien>
ixxie: I just logged in with github (up right corner) but I can't see any "edit" link
<ixxie>
joepie91: I would love a splash of darkness to it as well, like the arch wiki
<joepie91>
ixxie: mixed light and dark designs are my major weakness so I don't think I can help with that :P
<joepie91>
hehe
<ixxie>
symphorien: have a look in the top right of the page, theres an edit tab
<joepie91>
my specialization lies in general UX and "making it look pleasant enough", definitely not in high-quality visual design
<symphorien>
hhum it is here indeed. don't know why I didn't see it before, sorry for the disturbance
<ixxie>
joepie91: if you and/or vegai help me find and maintain a good responsive theme, I can do the colors / graphic design for sure
<ixxie>
joepie91: because thats the part I am struggling with at the moment
<joepie91>
I know very little about mediawiki themes :D
<ixxie>
oh well :)
<ixxie>
lets see
<joepie91>
by which I mean that I know the current default theme is named Vector and that's approximately the boundaries of my knowledge about mediawiki themes
<joepie91>
sorry :P
<joepie91>
(I'm not a big fan of mediawiki from a software perspective, based on my experiences with it in the past, so I don't ever do much with it)
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] NeQuissimus pushed 2 new commits to release-17.03: https://git.io/v5CgJ
<NixOS_GitHub>
nixpkgs/release-17.03 6a58b93 Tim Steinbach: linux: 4.12.9 -> 4.12.10...
<NixOS_GitHub>
nixpkgs/release-17.03 598c6f4 Tim Steinbach: linux: 4.9.45 -> 4.9.46...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] NeQuissimus pushed 3 new commits to master: https://git.io/v5CgT
<NixOS_GitHub>
nixpkgs/master a27c6c7 Tim Steinbach: linux: 4.12.9 -> 4.12.10
<NixOS_GitHub>
nixpkgs/master fab79d0 Tim Steinbach: linux: 4.9.45 -> 4.9.46
<NixOS_GitHub>
nixpkgs/master 9fd315a Tim Steinbach: vscode: Skip 'Getting Started'
NixOS_GitHub has left #nixos []
<makefu>
joepie91: it is a gigantic leap forward from the github wiki (and of course having no wiki at all)
<joepie91>
for a brief while I got a look 'behind the scenes' of how mediawiki works due to my involvement with Encyclopedia Dramatica, and at that point I realized how poorly engineered and unscalable some parts of Mediawiki are
<joepie91>
ixxie: none, realistically
<joepie91>
which is why I'm not vocal about my dislike of Mediawiki
<joepie91>
:)
<joepie91>
also, to put the above remark in perspective: updating one particular template took down a cluster of 4 dedicated servers for an hour
freeman42x[m] has joined #nixos
<joepie91>
there's some pretty serious design issues there
<joepie91>
not crappy dedicated servers either...
<joepie91>
(mediawiki has, or at least had, a design where it regenerates every page that uses a template statically whenever the template is updated; meaning that a single-character change in a template can trigger an immediate rebuild of thousands of pages, all of them slow to re-generate, sometimes cascading into different templates... and with no load control whatsoever)
<gchristensen>
careful to not yuck makefu's yum
<joepie91>
oh, this is not likely to be a problem here
a6a3uh has quit [(Ping timeout: 246 seconds)]
<joepie91>
NixOS wiki isn't ever going to be big enough to cause issues with that, most likely
<joepie91>
just explaining why I personally haven't touched it :)
pie_ has quit [(Ping timeout: 240 seconds)]
freeman42y[m] has quit [(Ping timeout: 255 seconds)]
<joepie91>
for this to be an issue, you need a fairly unique combination of frequent updates, cascading templates, and lots of pages over-using said templates
<gchristensen>
the good news is you don't have to remember those things when you edit the wiki
<joepie91>
so this is definitely not meant to discourage work on the NixOS wiki :P
<joepie91>
right
<makefu>
gchristensen: i am totally indifferent to the wiki software. i just asked fadenb if we can merge the nixos-user wiki into his instance because i think a wiki with a search bar is superior to one without
<joepie91>
but like I said: there's not really any better alternatives, so I'm not going to hold this against nixos.wiki :P
<joepie91>
I'm happy enough that there *is* a wiki again
<olejorgenb[m]>
When a package (X) need a already-packaged dependency (Y), but compiled with more features (Z) enabled. What is the best solution? Create a Y-with-Z, or just "inline" the custom Y (eg. in the callPackage call)?
<olejorgenb[m]>
If the feature was a small one I guess simply enabling it in Y would've an option too, but Z is webkit in this case
<tokudan[m]>
gchristensen: hmm... I'm building it right now to confirm that there are no issues... but apparently just a cherry pick is good enough? :)
<gchristensen>
oh! fingers crossed :P
alpha_sh has joined #nixos
rodarmor has joined #nixos
Ivanych has quit [(Ping timeout: 240 seconds)]
<florianjacob>
fadenb: Through studying of how defaults for options are implemented, I now arrived at `let commonOptions = { addSSL = mkDefault true; } in mkMerge [ commonOptions { addSSL = false; } ];` which *seems* to do what I want, and may be the right way to do this?
jellowj has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] domenkozar pushed 1 new commit to master: https://git.io/v5CVb
<NixOS_GitHub>
nixpkgs/master 97a4088 Domen Kožar: Add lib.mod: integer modulus
NixOS_GitHub has left #nixos []
freeman42x[m] has quit [(Quit: Bye)]
freeman42x[m] has joined #nixos
freeman42x[w] has quit [(Quit: Leaving)]
numbdewd has joined #nixos
betaboon has quit [(Quit: This computer has gone to sleep)]
freeman42x[w] has joined #nixos
pxc has joined #nixos
bennofs has joined #nixos
<Mic92>
symphorien: you need to reload the page after login
<cmcdragonkai1>
is it possible to get an emscripten that doesn't have fastcomp enabled?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] basvandijk opened pull request #28744: haskell: add the checkUnusedPackages function including docs (master...checkUnusedPackages) https://git.io/v5CrP
NixOS_GitHub has left #nixos []
ShalokShalom_ is now known as ShalokShalom
odi has quit [(Ping timeout: 240 seconds)]
proteusguy has joined #nixos
takle_ has quit [(Read error: Connection reset by peer)]
takle has joined #nixos
takle has quit [(Remote host closed the connection)]
freeman42y[m] has joined #nixos
hotfuzz has quit [(Ping timeout: 246 seconds)]
jellowj has quit [(Ping timeout: 264 seconds)]
iyzsong has joined #nixos
freeman42x[m] has quit [(Ping timeout: 240 seconds)]
hotfuzz has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] peti pushed 2 new commits to master: https://git.io/v5CKd
<NixOS_GitHub>
nixpkgs/master e410a19 Bas van Dijk: haskell: add the checkUnusedPackages function including docs
<NixOS_GitHub>
nixpkgs/master 8a0566e Peter Simons: Merge pull request #28744 from LumiGuide/checkUnusedPackages...
NixOS_GitHub has left #nixos []
<disasm>
trying to get ardour building on nixos unstable this morning. The build fails with missing a boost library. Figured this would be a good time to try debugging a build. so I added -K to keep the build around, cd into /tmp/nix-build-ardour-5.11.drv-0, source env-vars and run $configurePhase, but it errors out /nix/store/98wzbkc7zm8ix4hrnq20j0wclbmd8adv-python-2.7.13/bin/python2.7: can't open file 'waf': [Errno
<disasm>
2] No such file or directory I feel like I'm missing a step here...
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/v5C6e
<NixOS_GitHub>
nixpkgs/master 30c85e8 Peter Hoeg: bundler: 1.15.3 -> 1.15.4
NixOS_GitHub has left #nixos []
nh2 has quit [(Quit: Leaving.)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 1 new commit to release-17.03: https://git.io/v5C6R
<goibhniu>
disasm: I think we have waf packaged now, so you could pass that in
<disasm>
goibhniu: if I run nix-build -A ardour in nixpkgs dir though, it runs configure and fails: https://gist.github.com/bbad757686afff2ba1c034810dcbef4c I'm trying to figure out what I'm doing different manually than nix-build is doing.
<gchristensen>
copumpkin: may I PM?
<copumpkin>
sure
freeman42x[m] has joined #nixos
<goibhniu>
disasm: do you also run $patchPhase?
<disasm>
all I need to do is type $patchPhase, right? cause that just outputs '#include
freeman42y[m] has quit [(Ping timeout: 240 seconds)]
<disasm>
oh, that might need to be in a subshell since it has > in it
arximboldi has quit [(Quit: arximboldi)]
<goibhniu>
hrm
<disasm>
ok, eval $patchPhase seems to have worked
<disasm>
and same with configurePhase, if I eval that, it works too, so I was just doing it wrong.
<disasm>
goibhniu: ah, also works with --pure without eval it appears
<disasm>
err configure does
<disasm>
oh, I was in wrong directory, lol
<goibhniu>
oh! :D
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] mguentner opened pull request #28746: tests: fix ipfs test, test actual networking functionality (master...ipfstest) https://git.io/v5CXC
NixOS_GitHub has left #nixos []
DrWaste has quit [(Quit: Run away!)]
<disasm>
oh! boost isn't the problem: /nix/store/vqc58c85wih3gcxpv8jn8n456b5m77da-gcc-6.4.0/include/c++/6.4.0/cstdlib:75:25: fatal error: stdlib.h: No such file or directory
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] dywedir opened pull request #28747: nodePackages.ocaml-language-server: init at 0.2.0 (master...nodePackages.ocaml-language-server) https://git.io/v5C12
<michaelpj>
FRidh: I have a docker container set up to run an old (and 32bit!) version of firefox just for webex. Horrible, but so is webex
freeman42y[m] has joined #nixos
<disasm>
if a package has compilation errors related to gcc 6 becoming the default, is it a valid solution to just change it to use gcc 5?
<clever>
or patch the source to not have errors and send it upstream
<fpletz>
disasm: this typically cause all reverse dependencies to be also built with gcc5… so only as a last resort
<sphalerite>
disasm: I'd consider it valid but not sustainable. What clever said is obviously a better solution
freeman42x[m] has quit [(Ping timeout: 252 seconds)]
<sphalerite>
fpletz: really?
<clever>
fpletz: i dont think that would happen
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] florianjacob opened pull request #28749: nixos/piwik: Adjust to recent NixOS changes, use nginx's virtualHost instead of replicating (master...piwik-improve-config) https://git.io/v5CQB
NixOS_GitHub has left #nixos []
<fpletz>
sphalerite: clever: depends on the package and if overriding the stdenv is needed
<fpletz>
like: stdenv = overrideCC stdenv gcc5
<clever>
but overriding the stdenv passed to one package wont change the stdenv given to all of its deps
<fpletz>
right
<fpletz>
ok, not every dependency, sorry :)
griff_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] unaizalakain opened pull request #28750: jrnl: support journal encryption by default (master...jrnl-encryption) https://git.io/v5CQD
NixOS_GitHub has left #nixos []
kus_ubuntui686 has joined #nixos
kus_ubuntui686 has quit [(Max SendQ exceeded)]
oida has joined #nixos
faffolter has joined #nixos
faffolter has quit [(Changing host)]
faffolter has joined #nixos
<disasm>
when using nix-shell to debug build failures, is there an automated way to get and unpack the source? or just run wget/tar?
<gchristensen>
eval "${unpackPhase}" I think?
<clever>
i think that only works if you have a custom unpackPhase
<clever>
and if you dont, its just unpackPhase
oida_ has quit [(Ping timeout: 260 seconds)]
<disasm>
gchristensen: so I did nix-shell -A <package> in nixpkgs, but env|grep Phase doesn't show unpackPhase
<clever>
disasm: try set | grep Phase
<disasm>
ah, there's all my phases :)
<clever>
there are bash functions that act as defaults
<clever>
and when you override a function, it creates a variable, of the same name as the function
<clever>
and stdenv picks the var over the function
<NixOS_GitHub>
[nixpkgs] cillianderoiste pushed 2 new commits to master: https://git.io/v5Cd2
<NixOS_GitHub>
nixpkgs/master 261386a Cillian de Róiste: Calf: fix homepage
<NixOS_GitHub>
nixpkgs/master 0bb2d31 Cillian de Róiste: Calf: use gcc5 to fix the build...
NixOS_GitHub has left #nixos []
<disasm>
a lotta removing != NULL from streamio checks :)
jb55 has joined #nixos
takle_ has joined #nixos
takle has quit [(Read error: No route to host)]
<slabity>
I'm trying to get a nix-shell with haskell and the parsec lib, but it keeps saying "Could not find module 'Text.Parsec'". My shell is `nix-shell -p haskell.packages.ghc821.parsec`, anyone know what I'm doing wrong?
zeus_ has quit [(Remote host closed the connection)]
zeus_ has joined #nixos
<disasm>
success :) Well, gotta get some work done, but I'll just pick random failures from 28643 and try to fix them as I have time
ison111 has joined #nixos
zeus_ has quit [(Ping timeout: 246 seconds)]
takle has quit [(Ping timeout: 248 seconds)]
nvd has joined #nixos
dbmikus has quit [(Quit: WeeChat 1.9)]
<nvd>
Hi! I've got an issue where I'm trying to nix-build something that relies on webkitgtk and nix is saying "... is marked as insecure, refusing to evaluate" and then gives me something I can add to my config.nix
<nvd>
I've added that and it's still showing that message
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] 7c6f434c pushed 2 new commits to master: https://git.io/v5Chw
<NixOS_GitHub>
nixpkgs/master 029f40a Samuel Leathers: xplanet: gcc6 patch
<NixOS_GitHub>
nixpkgs/master 596daff Michael Raskin: Merge pull request #28751 from disassembler/xplanet...
NixOS_GitHub has left #nixos []
takle has joined #nixos
dbmikus has joined #nixos
<disasm>
nvd: can you gist the nix file?
iyzsong has quit [(Ping timeout: 240 seconds)]
<nvd>
disasm: my config.nix? Yeah
<disasm>
nvd: I meant what your trying to build, if it's in nixpkgs, just give the command you used.
<NixOS_GitHub>
[nixpkgs] 7c6f434c pushed 1 new commit to master: https://git.io/v5Wf0
<NixOS_GitHub>
nixpkgs/master 4ef4a17 Michael Raskin: nilfs-utils: fix build...
NixOS_GitHub has left #nixos []
takle has joined #nixos
* goibhniu
tries to remember if chromedriver expects some funny environment variable or something
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] copumpkin pushed 1 new commit to master: https://git.io/v5WJf
<NixOS_GitHub>
nixpkgs/master b8538c6 Dan Peebles: chromedriver: fix on Darwin...
NixOS_GitHub has left #nixos []
<goibhniu>
copumpkin: I haven't used it in years ... but FWIW I see I had a symlink in /usr/bin/ to chromium called "chrome". I haven't used it on macOS.
<copumpkin>
I see
<copumpkin>
it should probably depend on chromium explicitly, eh
freeman42x[m] has joined #nixos
civodul has quit [(Remote host closed the connection)]
zeus_ has joined #nixos
<goibhniu>
that may well have been for a python module which specifies the paths though
<copumpkin>
ah
<goibhniu>
which I had installed outside of nixpkgs
<copumpkin>
yeah I don't actually know how it works
<copumpkin>
it definitely doesn't seem to depend explicitly on chromium, but perhaps the zip already includes relevant parts?
michaelpj has quit [(Ping timeout: 246 seconds)]
cfricke has joined #nixos
Ivanych has quit [(Ping timeout: 248 seconds)]
freeman42y[m] has quit [(Read error: Connection reset by peer)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] globin pushed 2 new commits to staging: https://git.io/v5WJg
<NixOS_GitHub>
nixpkgs/staging 822a8d0 John Ericson: cc-wrapper: Remove redundant hardening...
<NixOS_GitHub>
nixpkgs/staging 97a4883 John Ericson: mkDerivation, cc-wrapper: Check hardening flag validity in Nix...
NixOS_GitHub has left #nixos []
<goibhniu>
IIRC it can optionally be built with chromium
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] cillianderoiste pushed 3 new commits to master: https://git.io/v5WJH
<NixOS_GitHub>
nixpkgs/master 28856eb Cillian de Róiste: Lmms: fix homepage URL
<NixOS_GitHub>
nixpkgs/master 5b70a2f Cillian de Róiste: lmms: use gcc5...
<NixOS_GitHub>
nixpkgs/master 769c44d Cillian de Róiste: mixxx: patch to build with gcc6 (via debian)...
<goibhniu>
AFAICT ardour build their own binaries with gcc5
faffolter has quit [(Ping timeout: 252 seconds)]
digitus has joined #nixos
<dtzWill>
disasm: comment left on issue, hope that helps
<dtzWill>
unfortunately neutered my laptop for some benchmarking (disabled turbo, HT, etc.) so compilation to confirm is taking forever :S fingers crossed
<dtzWill>
but not sure why glibc would be useful on buildInputs anyway, cc-wrapper should include its library path automagically anyway
<dtzWill>
hmm well that patch might be useful anyway, but don't think it would help/hurt the problem encountered during configure
<dtzWill>
probably fixes some compilation error mid-build re: incorrect usage of math functions or so
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] 7c6f434c pushed 1 new commit to master: https://git.io/v5Wkm
<NixOS_GitHub>
nixpkgs/master e36afa8 Michael Raskin: gfan: 0.5 -> 0.6; #28643
NixOS_GitHub has left #nixos []
<dtzWill>
i'm gonna be sad if this ardour compile fails b/c of --
mudri has quit [(Ping timeout: 255 seconds)]
<dtzWill>
disasm: success! \o/
<dtzWill>
٩(^ᴗ^)۶
<mbrock>
hmm, how can I debug what binary cache URLs that `nix-env -i` is trying? For some reason my custom channel's binary cache isn't being used
erictapen has joined #nixos
freeman42y[m] has joined #nixos
frankpf has quit [(Ping timeout: 252 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 1 new commit to master: https://git.io/v5WIM
<NixOS_GitHub>
nixpkgs/master 3d107c1 Mikael Brockman: solc: v0.4.13 -> v0.4.16 (#28732)...
NixOS_GitHub has left #nixos []
freeman42x[m] has quit [(Ping timeout: 255 seconds)]
supercynic has quit [(Ping timeout: 248 seconds)]
ison111 has quit [(Ping timeout: 260 seconds)]
betaboon has quit [(Quit: This computer has gone to sleep)]
<disasm>
dtzWill: are you submitting a PR for that, or you want me to alter mine?
freeman42x[w] has quit [(Quit: Leaving)]
takle has quit [(Read error: No route to host)]
takle has joined #nixos
__Sander__ has quit [(Quit: Konversation terminated!)]
<ryantrinkle1>
does anyone have advice on how to write a nicely-documented nix module?
<ryantrinkle1>
in particular, how to make something that is reasonably easy to keep up to date, and also allows people to understand the interface without having to trudge through the whole implementation
mkoenig_ has quit [(Ping timeout: 240 seconds)]
betaboon has joined #nixos
dywedir has joined #nixos
jbyler has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nix] matthewbauer opened pull request #1543: OS X sandbox: Store .sb file in $TMPDIR rather than the Nix store (1.11-maintenance...1.11-maintenance) https://git.io/v5Wst
NixOS_GitHub has left #nixos []
faffolter has joined #nixos
faffolter has quit [(Changing host)]
faffolter has joined #nixos
gnuhurd has quit [(Ping timeout: 252 seconds)]
<disasm>
fpletz: is this an acceptable commit message for these fixes: <pkg>: fix build with gcc6
<gchristensen>
sure
<fpletz>
disasm: jup :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] disassembler opened pull request #28754: sword: fix build with gcc6 (master...sword) https://git.io/v5WsM
NixOS_GitHub has left #nixos []
ixxie has quit [(Quit: Lost terminal)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/v5WGu
<NixOS_GitHub>
nixpkgs/master 4c91e32 Tim Steinbach: linux-copperhead: 4.12.9.a -> 4.12.10.a
NixOS_GitHub has left #nixos []
freeman42y[m] has joined #nixos
freeman42x[m] has quit [(Ping timeout: 248 seconds)]
ertes has joined #nixos
<dtzWill>
disasm: sorry for disappearing, meetings and such--by all means make the change if you don't mind, I can get to it in a bit if you'd prefer :)
<disasm>
dtzWill: already done :)
ryantrinkle1 is now known as ryantrinkle
freeman42y has quit [(Quit: Leaving)]
<disasm>
dtzWill: just didn't want to steal the credit if you wanted it :)
<dtzWill>
disasm: don't rem, was lookking at the build failure with NIX_DEBUG and something in my brain said "is glibc on build inputs" I guess from tackling this before. I don't remember the concrete details, I think it'll come down to something like "-isystem ${glibc}" causing those headers to be used and then getting confused when #include_next
<dtzWill>
that whole mess isn't really worth thinking about too much IMO it's a big trash fire of kludgery
<dtzWill>
:P
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 1 new commit to master: https://git.io/v5WZR
<NixOS_GitHub>
nixpkgs/master fa5e343 Grant Wu: deluge: 1.3.13 -> 1.3.15...
NixOS_GitHub has left #nixos []
nh2 has quit [(Quit: Leaving.)]
<dtzWill>
disasm: appreciate the sentiment, thanks for asking, and thanks for submitting it ^_^
Arcaelyx_ has joined #nixos
Arcaelyx has quit [(Ping timeout: 240 seconds)]
freeman42x has joined #nixos
takle has quit [(Remote host closed the connection)]
bennofs has joined #nixos
betaboon has quit [(Quit: This computer has gone to sleep)]
arximboldi has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 1 new commit to master: https://git.io/v5WnN
<NixOS_GitHub>
nixpkgs/master 1f0d6f1 Samuel Leathers: ardour: fix build with gcc6
<NixOS_GitHub>
[nix] edolstra closed pull request #1543: OS X sandbox: Store .sb file in $TMPDIR rather than the Nix store (1.11-maintenance...1.11-maintenance) https://git.io/v5Wst
NixOS_GitHub has left #nixos []
otwieracz has joined #nixos
<otwieracz>
Hello.
pxc has joined #nixos
oida_ has joined #nixos
faffolter has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] dywedir closed pull request #28747: nodePackages.ocaml-language-server: init at 0.2.0 (master...nodePackages.ocaml-language-server) https://git.io/v5C12
NixOS_GitHub has left #nixos []
pie_ has joined #nixos
oida has quit [(Ping timeout: 255 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] disassembler opened pull request #28756: pulseview and sigrok updates (master...pulseview-sigrok) https://git.io/v5Wle
<NixOS_GitHub>
[nixpkgs] fpletz closed pull request #28378: programs.zsh: move evlauation of `${zshAliases}` after `cfg.interactiveShellInit` (master...fix-zshrc-eval-order) https://git.io/v5eLz
NixOS_GitHub has left #nixos []
multun has left #nixos ["WeeChat 1.8"]
faffolter has joined #nixos
faffolter has quit [(Changing host)]
faffolter has joined #nixos
<otwieracz>
Some time ago I was trying to use NixOS on workstation – the main problem I ran into was when one software needed another. Like, for example, emacs and SBCL - both have nixpkg, but I was unable to start SBCL from emacs - because of obvious reason, the filesystem was separate for those packages. I ended up doing some weird things with „environments”, with `nix-shell` starting bash using specially
<otwieracz>
crafted `default.nix`… has been this solved anyhow?
oida_ has quit [(Ping timeout: 248 seconds)]
hc_ has joined #nixos
jbgi has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nix] edolstra pushed 1 new commit to 1.11-maintenance: https://git.io/v5W8e
<NixOS_GitHub>
nix/1.11-maintenance b3a616e Eelco Dolstra: Bump version
NixOS_GitHub has left #nixos []
hc has quit [(Ping timeout: 248 seconds)]
<disasm>
nox-review pr is just amazing :)
<disasm>
don't know how I've gone 6 months without using that...
hc_ has quit [(Ping timeout: 248 seconds)]
hc has joined #nixos
eacameron has quit [(Remote host closed the connection)]
<dieggsy>
I'm trying to follow this year old post https://www.reddit.com/r/NixOS/comments/4btjnf/fully_setting_up_a_custom_private_nix_repository/ to set up a custom packages repo (more specifically, so i can make an emacs HEAD package), but i'm getting something about "anonymous function called without required argument 'libXaw' at ".../nixpkgs/lib/customisation.nix:72:!2". anyone know what that's about?
<dtzWill>
simpson: (!) interesting
endformationage has joined #nixos
ixxie has joined #nixos
<ToxicFrog>
dieggsy: that probably means you have a file starting with (e.g.) `{ lib, stdenv, libX11, libXaw, libfoo, ... }: { ...stuff goes here... }` and however you're invoking it doesn't pass libXaw to it
<ToxicFrog>
Note that libXaw is pkgs.xorg.libXaw, not pkgs.libXaw
<ToxicFrog>
So if you're depending on it your signature will include { xorg } and then you'll list [ xorg.libXaw ] as a dependency.
faffolter has quit [(Ping timeout: 246 seconds)]
<olejorgenb[m]>
take a look on how emacs is composed in all-packages if you want to stay close to nixpkgs
<dieggsy>
ToxicFrog: the file is the package itself, i basically copied over the default.nix from the default emacs package in nixpkgs
takle has joined #nixos
<dieggsy>
i tweaked a few things, but declaration is mostly the same
sam_d has quit [(Read error: Connection reset by peer)]
Nobabs27 has joined #nixos
<dieggsy>
(i basically only changed version and src)
<dieggsy>
This is in a directory completely separate to the actual nixpkgs one
eacamero_ has quit [(Ping timeout: 246 seconds)]
<dieggsy>
disasm: i did pretty much copy the emacs25 line, the issue is it uses stuff defined previously in all-packages.nix
<disasm>
dieggsy: pkgs.xorg.libXaw
<tnks>
I've been running Nix in a Docker container as root... and just got bitten by an application that tried to write a change back to /nix/store... and succeeded.
justanotheruser has joined #nixos
<tnks>
so now I'm working on putting the environment in Docker into multi-user mode with nix-daemon. I got it working... but I chose to base my installation of Nix on top of Alpine, and just to go for gold, I tried to turn on sandboxed builds.
<tnks>
but it didn't work.
<dieggsy>
disasm: ah thanks. well, now it's complaining about being called without libXpm even though the declaration in default.nix is basically the same and i'm calling it the same way. odd
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] globin pushed 6 new commits to master: https://git.io/v5Wgq
<NixOS_GitHub>
nixpkgs/master 0371f2b Robin Gloster: nginx module: clean up SSL/listen handling
<olejorgenb[m]>
dieggsy: hm, I see that the emacs package take a bunch of other xorg packages - not sure why it works in all-packages actually.
<olejorgenb[m]>
ah, what did you do?
<dieggsy>
olejorgenb[m]: I've got other issues in the derivation now, but the issue i was having was resolved by using pkgs.callPackage instead of my own definition of callPackage
<kiloreux>
I include specific command that uses networking interface like ping inside my docker runAsRoot. The build will fail. Anyone has an idea why?
<clever>
kiloreux: all network is disabled in builds
<clever>
kiloreux: runAsRoot runs the command in a qemu vm, so you can create files owned by uid 0
<kiloreux>
:/
<simpson>
kiloreux: What are you building?
<clever>
if you want to download files, you need to use things like fetchurl
<kiloreux>
just trying to update my alpine image "apk update"
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] vcunat pushed 3 new commits to master: https://git.io/v5War
<NixOS_GitHub>
nixpkgs/master 0f0bf06 Vladimír Čunát: wyrd: fixup by using older ncurses...
<NixOS_GitHub>
nixpkgs/master c07e9ba Vladimír Čunát: squishyball: fixup by using older ncurses
<NixOS_GitHub>
nixpkgs/master 6b95cf6 Vladimír Čunát: Merge: fixups to staging merge...
NixOS_GitHub has left #nixos []
<kiloreux>
Really wanted to use nix for that one :(
<kiloreux>
So i have no way to execute commands that require network inside runAsRoot ?
<disasm>
kiloreux: what commands are you trying to run?
<kiloreux>
"/sbin/apk update" << That't it.
<disasm>
kiloreux: oh, yeah, that won't work
JagaJaga has joined #nixos
<kiloreux>
Isn't this one a clear disadvantage for supporting docker inside nix? (from analytical perspective, ignoring my use case)
<clever>
the docker builds are still pure, just like every other nix build
faffolter has joined #nixos
faffolter has quit [(Changing host)]
faffolter has joined #nixos
<clever>
so your output can only ever use inputs that where hashed by nix
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to staging: https://git.io/v5WVI
<NixOS_GitHub>
nixpkgs/staging 3e50f0a teh: systemd: add patch to fix suspend.target
NixOS_GitHub has left #nixos []
<kiloreux>
I understand the nix philosophy for this. It was just a thought I had if nix wants to support the docker building process fully
<NixOS_GitHub>
nixpkgs/master 8211dfb Robin Gloster: errbot: 4.3.3 -> 5.1.2
NixOS_GitHub has left #nixos []
<simpson>
Inside Docker, you can `FROM nixos/nix`. I personally use `FROM lnl7/nix`. You can eventually work up to using dockerTools, once you are 100% built from a Nix expression: https://nixos.org/nixpkgs/manual/#sec-pkgs-dockerTools
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 1 new commit to master: https://git.io/v5WV6
<NixOS_GitHub>
nixpkgs/master d99d902 Samuel Leathers: k9copy: fix build with gcc6
NixOS_GitHub has left #nixos []
eacameron has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 1 new commit to master: https://git.io/v5WVP
athan has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] dywedir opened pull request #28764: nodePackages.ocaml-language-server: init at 0.2.0 (master...nodePackages.ocaml-language-server) https://git.io/v5Wo1
NixOS_GitHub has left #nixos []
athan has joined #nixos
ixxie has quit [(Quit: Lost terminal)]
cfricke has quit [(Quit: WeeChat 1.9)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] globin pushed 3 new commits to master: https://git.io/v5WKR
<NixOS_GitHub>
nixpkgs/master d9a0c68 Piotr Bogdan: hhvm: fix build...
<NixOS_GitHub>
nixpkgs/master 51c247a Piotr Bogdan: hhvm: 3.15.0 -> 3.15.8
<NixOS_GitHub>
nixpkgs/master 80351ad Piotr Bogdan: hhvm: 3.15.8 -> 3.21
NixOS_GitHub has left #nixos []
Guest95925 has quit [(Quit: Lost terminal)]
aanderse-laptop has joined #nixos
bobvanderlinden has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to master: https://git.io/v5WKg
<NixOS_GitHub>
nixpkgs/master e2bf8ce dywedir: nodePackages.ocaml-language-server: init at 0.2.0
<JosW>
Something stange happening, i changed my configuration.nix and a rebuild-switch
<JosW>
didn't like the change and after a reboot choose the generation before my change
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Ericson2314 opened pull request #28766: gettext: libiconv should be a buildInput (staging...gettext) https://git.io/v5WDu
NixOS_GitHub has left #nixos []
<disasm>
aanderse-laptop: not drupal, but cleaning up some stuff I have with caddy (removing creds, etc..) will gist soon
<JosW>
now there is still the adjustment I made in the configuration.nix
<gchristensen>
JosW: the configuration.nix itself isn't rolled back
<aanderse-laptop>
disasm: awesome, would love to see it
gnuhurd has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz tagged 17.09-beta at 46d837d: https://git.io/v5WDo
<NixOS_GitHub>
nixpkgs/17.09-beta 6a7066e Franz Pletz: release documentation: reorder beta steps
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 1 new commit to master: https://git.io/v5WDi
<NixOS_GitHub>
nixpkgs/master 6a7066e Franz Pletz: release documentation: reorder beta steps
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz created release-17.09 from master (+0 new commits): https://git.io/v5WDS
NixOS_GitHub has left #nixos []
<gchristensen>
!!!!!!!!
<JosW>
gchristensen: that is strange, if I forgot about this change and after 2 days do a rebuild-switch I still get something I don't want?
<florianjacob>
aanderse-laptop: I extracted the relevant parts from the piwik module so it's easier to read, hope it helps somewhat. That's nginx + php-fpm. https://pastebin.com/tJ6gyjFh
<gchristensen>
JosW: it is because it was still in your configuration.nix
<gchristensen>
and having nix roll back your configuration.nix is a really difficult problem we haven't found a solution to yet
<aanderse-laptop>
disasm: does this use letsencrypt? i don't see the acme bit
<aanderse-laptop>
florianjacob: thanks!
<disasm>
aanderse-laptop: yup!
phdoerfler has quit [(Ping timeout: 252 seconds)]
<disasm>
oh wait
phinxy has quit [(Read error: Connection reset by peer)]
nixer has quit [(Quit: Page closed)]
<disasm>
no, that's my internal lan cert, one sec
scott2 is now known as scot4
scot4 has quit [(Changing host)]
scot4 has joined #nixos
scot4 has quit [(Changing host)]
scot4 has joined #nixos
scott is now known as Guest23973
<JosW>
gchristensen: then what does a rollback do?
<olejorgenb[m]>
JosW: There is https://nixos.org/nixos/options.html#system.copysystemconfiguration - It just store configuration.nix (nb - only this file) though - not restore it
<gchristensen>
it rolls back your system configuration
<aanderse-laptop>
ok great thanks all
<gchristensen>
ie: the one that is applied to your system, but not the source of it
_ris has joined #nixos
phdoerfler has joined #nixos
<olejorgenb[m]>
JosW: the whole system is actually a derivation too. `/run/current-system` links to the one active.
<olejorgenb[m]>
So `nix-store --query --requisites /run/current-system` will list all derivations needed for the active system
<olejorgenb[m]>
that can be handy if you want to check out the content of certain configuration files that isn't symlinked in /etc
<JosW>
gchristensen: Thinking hard about what you wrote about the configuration not being rolledback
<JosW>
somehow I don't get it
<JosW>
Isn't is possible to combine the configuration.nix with a zfs or NILFS2 filesystem?
<gchristensen>
sure, but the important part is that the configuration.nix doesn't represent the applied config
<gchristensen>
if you rm configuration.nix your config doesnn't magically change
<gchristensen>
it is the input to nixos-rebuild which builds your system
<gchristensen>
if you roll back, /etc/nixos is left alone for you to fix or whatever
<gchristensen>
rolling back your system doesn't necessarily mean you want to lose your changes to configuration.nix
<JosW>
Ah got it
<sphalerite>
JosW: yes, zfs is a nice option. Never heard of NILFS2. But better than that is keeping your configuration.nix and associated files under version control
simukis has quit [(Ping timeout: 240 seconds)]
<JosW>
sphalerite: thanks, learning everyday
<sphalerite>
:)
aanderse-laptop has joined #nixos
touchit has quit [(Ping timeout: 260 seconds)]
<viaken>
Protip: When you forget to/don't change fetchurl's sha256, you'll still be trying to build the old version. Likewise, if you use that sha on a new expression, that expression will build whatever package the sha refers to.
nixo_ has joined #nixos
<gchristensen>
yes! a trap :(
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 3 new commits to release-17.03: https://git.io/v5WQV
<NixOS_GitHub>
nixpkgs/release-17.03 a146db7 Franz Pletz: mbedtls: 2.4.0 -> 2.4.2...
<NixOS_GitHub>
nixpkgs/release-17.03 577cc74 Franz Pletz: mbedtls: 2.4.2 -> 2.5.1...
<NixOS_GitHub>
nixpkgs/release-17.03 d76cd1a Franz Pletz: mbedtls: 2.5.1 -> 2.6.0 for CVE-2017-14032...
NixOS_GitHub has left #nixos []
<LnL>
yeah, you can usually do something like nix-build -A hello.src --check to verify it's actually correct
<tokudan[m]>
does someone have experience with building openwrt or gluon on nixos? I'm trying to build it and get some errors in 17.03 that I cannot figure out, while in 16.03 it works just fine
ryantrinkle has quit [(Ping timeout: 255 seconds)]
<pop>
copumpkin: installing now.
<Judson>
Do I need to overlay Neovim to add extraPackages?
<tokudan[m]>
it seems that the nix gcc automatically adds some hardening options. is there any way to disable that in a nix-shell?
<dtzWill>
tokudan[m]: export hardeningDisable=all
<tokudan[m]>
hmm... i hope that the build environment doesn't clear all variable
<pop>
I went down a rabbit hole and now I get this error: "warning: Nix search path entry ‘nix/var/nix/profiles/per-user/root/channels/nixos-unstable’ does not exist, ignoring" how do I fix this error?
<dtzWill>
tokudan[m]: nix-shell's "--pure" makes it remove more things, otherwise it's mostly additive
Sonarpulse has quit [(Ping timeout: 246 seconds)]
<tokudan[m]>
dtzWill: not talking about nix-shell but the gluon/openwrt build system... that seems to do some cleaning, but i'm testing it right now
<dtzWill>
oh, haha, indeed. It's not hard to create a wrapper that doesn't have hardening auto-add bits if that's useful
<pop>
I think I'm trying to reset my nix search path. not sure how to do this...
phdoerfler has quit [(Quit: Leaving.)]
phdoerfler has joined #nixos
dieggsy has joined #nixos
arximboldi has quit [(Quit: arximboldi)]
<dtzWill>
fwiw since I mentioned it, if your wrapped cc is 'gcc', then: gcc.override { extraBuildCommands = ": > $out/nix-support/add-hardening.sh"; }
<dtzWill>
auto-hardening is great for packaging, less so for compiler testing or other careful compiler invocations :)
pie_ has quit [(Remote host closed the connection)]
pie_ has joined #nixos
phdoerfler has quit [(Ping timeout: 240 seconds)]
<tokudan[m]>
dtzWill: yep, i haven't finished building a full firmware yet, but the build has progressed further than before now, so I guess this hardening was the problem
<pop>
Please help. "I have no idea how I got here: building the system configuration... \n warning: Nix search path entry ‘nix/var/nix/profiles/per-user/root/channels/nixos-unstable’ does not exist, ignoring \n error: file ‘nixpkgs/nixos’ was not found in the Nix search path (add it using $NIX_PATH or -I)"
<pop>
That happens when I run `sudo nixos-rebuild dry-run` on nixos.
07IAAYBG7 has joined #nixos
<07IAAYBG7>
[nixpkgs] copumpkin pushed 2 new commits to master: https://git.io/v5WA5
<07IAAYBG7>
nixpkgs/master 80319c1 Dan Peebles: terraform: manage 0.10 plugins with Nix...
<07IAAYBG7>
nixpkgs/master b291ead Daniel Peebles: Merge pull request #28729 from copumpkin/terraform-plugins...
07IAAYBG7 has left #nixos []
3NAABFUWA has joined #nixos
<3NAABFUWA>
[nixpkgs] copumpkin closed pull request #28729: terraform: provide plugins for 0.10 (master...terraform-plugins) https://git.io/v5cpD
3NAABFUWA has left #nixos []
oida has joined #nixos
freeman42x[m] has joined #nixos
oida_ has quit [(Ping timeout: 248 seconds)]
<tokudan[m]>
pop: sounds like you need to run nix-channel --update as root
<pop>
tokudan[m]: which channels should I have if I want to go back to stable 17.03?
freeman42y[m] has quit [(Ping timeout: 240 seconds)]
<tokudan[m]>
pop: if you dont want to use other channels you can remove them, if you have any (nix-channel --list)
<pop>
tokudan[m]: At the end of the output for `nix-channel --update` it says "warning: Nix search path entry ‘nix/var/nix/profiles/per-user/root/channels/nixos-unstable’ does not exist, ignoring"
<pop>
Err, sudo nix-channel --update
<tokudan[m]>
pop: what does sudo nix-channel --list display?
<pop>
copumpkin: If it was requesting ld.so what should I do to fix the issue?
<copumpkin>
patchelf
<copumpkin>
--set-interpreter or something like that
<copumpkin>
you'll find the Nix one inside the glibc package
<copumpkin>
I don't recall specifics but nixpkgs is full of examples
jb55 has joined #nixos
<pop>
copumpkin: So am I editing the binary or just making a symlink?
<pop>
I'll dig around...
<copumpkin>
editing the binary
jellowj has quit [(Ping timeout: 248 seconds)]
<pop>
Gross.
<copumpkin>
:)
<copumpkin>
you can also run the interpreter directly against it, but if the binary is hardcoded to ask for /lib64
<copumpkin>
and we don't have /lib64, I don't know what else to do :)
<pop>
I tried looking at how the go 1.8 package does things, it's not very comprehensible. I'll hack around this until I muster the energy to "do it right"
goibhniu has quit [(Ping timeout: 240 seconds)]
python476 has quit [(Ping timeout: 255 seconds)]
dywedir has joined #nixos
Rotaerk has joined #nixos
taktoa has quit [(Read error: Connection reset by peer)]
jsgrant has quit [(Quit: jsgrant)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Profpatsch opened pull request #28771: mpvScripts.convert: fix for mpv >0.26.0 (master...mpv-convert-fix) https://git.io/v5Wj2