takle_ has joined #nixos
takle has quit [(Read error: Connection reset by peer)]
abrar_ has quit [(Quit: WeeChat 1.6)]
matthewb` has joined #nixos
matthewbauer has quit [(Ping timeout: 245 seconds)]
matthewb` has quit [(Client Quit)]
matthewbauer has joined #nixos
[0x4A6F] has quit [(Quit: [0x4A6F])]
polyrod has quit [(Remote host closed the connection)]
<dmj`> hmmm
<dmj`> why isn’t haskell-graphmod on nixpkgs :(
siarheit_ has quit [(Ping timeout: 245 seconds)]
tvon has joined #nixos
matthewbauer has quit [(Ping timeout: 255 seconds)]
ilja_kuklic has quit [(Remote host closed the connection)]
mizu_no_oto has joined #nixos
<gchristensen> dmj`: looks like it is
<gchristensen> pkgs/development/haskell-modules/hackage-packages.nix:77952
pstn has quit [(Ping timeout: 258 seconds)]
ilja_kuklic has joined #nixos
abrar has joined #nixos
<dmj`> oh, github search failed me ? You’d expect github search: graphmod to show that
<gchristensen> github is a bit of a weenie gives up on long files
mizu_no_oto has quit [(Ping timeout: 240 seconds)]
<dmj`> wow, that file (hackage-packages.nix) is 7.42MB ?
T_S_ has joined #nixos
matthewbauer has joined #nixos
<gchristensen> I mean graphmod is on line 78,000 :P
<T_S_> I am running nixos on a server in my home. I want to get a remote desktop connection from my laptop. Hunting for the best solution. Any recommendations?
mizu_no_oto has joined #nixos
<NixOS_GitHub> [nixpkgs] rasendubi opened pull request #21760: rescuetime: 2.9.10.1255 -> 2.11.1285 (master...rescuetime) https://git.io/vMWwM
danharaj has quit [(Quit: Leaving.)]
ublubu has quit [(Ping timeout: 240 seconds)]
mizu_no_oto has quit [(Client Quit)]
Judson has quit [(Remote host closed the connection)]
ublubu has joined #nixos
markus1199 has joined #nixos
markus1189 has quit [(Ping timeout: 240 seconds)]
<gchristensen> if I have preferLocalBuild on one derivation, and another package depends on it, will hydra export the preferLocalBuild-marked one?
<gchristensen> (when it also exports the other package)
<NixOS_GitHub> [nixpkgs] magnetophon opened pull request #21761: clipster: 2016-09-12 -> 2016-12-08 (master...clipster) https://git.io/vMWo0
andi- has quit [(Quit: WeeChat 1.6)]
andi- has joined #nixos
rrrr_ has joined #nixos
luigy has joined #nixos
atriq has joined #nixos
danieli_ has joined #nixos
echo_oddly has joined #nixos
puffnfresh_ has joined #nixos
edwtjo has joined #nixos
Aexoden has joined #nixos
lewo_ has joined #nixos
spion_ has joined #nixos
datakurre^ has joined #nixos
puffnfresh_ is now known as puffnfresh
atriq is now known as Taneb
datakurre^ is now known as datakurre
kyren has joined #nixos
lewo_ is now known as lewo
dhananjay has joined #nixos
boegel has joined #nixos
smola_ has joined #nixos
grisher has joined #nixos
takle_ has quit [(Remote host closed the connection)]
BramD has joined #nixos
Bodil has joined #nixos
<gchristensen> viric: keyring.emacs.verifiedSignature { src = fetchurl ... signature = ... };
Fare has joined #nixos
mudri` has quit [(Quit: WeeChat 1.6)]
flyx has quit [(Ping timeout: 245 seconds)]
T_S_ has quit [(Quit: Page closed)]
T_S_ has joined #nixos
flyx has joined #nixos
Hunner has joined #nixos
zraexy has joined #nixos
c0dehero has joined #nixos
ugjka has joined #nixos
edofic has joined #nixos
thoughtpolice has joined #nixos
teozkr has joined #nixos
vdemeester has joined #nixos
kier has joined #nixos
sellout- has joined #nixos
nz has joined #nixos
wangoe has joined #nixos
ragge has joined #nixos
joepie91 has quit [(Excess Flood)]
sjanssen has joined #nixos
lfont[m] has quit [(Ping timeout: 245 seconds)]
lfont[m] has joined #nixos
digitalmentat has joined #nixos
joepie91 has joined #nixos
Unode has quit [(Remote host closed the connection)]
Unode has joined #nixos
alanz has joined #nixos
<gchristensen> mm looks like the signature needs to be fetchurl'd with a sha
icetan has quit [(Ping timeout: 245 seconds)]
icetan has joined #nixos
lewo has quit [(Ping timeout: 245 seconds)]
lewo has joined #nixos
ilja_kuklic has quit [(Ping timeout: 248 seconds)]
eacameron has quit [(Ping timeout: 240 seconds)]
eacamero_ has joined #nixos
eacamero_ has quit [(Ping timeout: 255 seconds)]
mbrgm has quit [(Ping timeout: 258 seconds)]
mbrgm has joined #nixos
tnks has joined #nixos
<tnks> I know about the list appending operator (++). Is there no "cons" operator or builtin?
mizu_no_oto has joined #nixos
eacameron has joined #nixos
eacameron has quit [(Ping timeout: 258 seconds)]
mizu_no_oto has quit [(Client Quit)]
<gchristensen> what is cons?
<tnks> in the Lisp sense, like to "construct" a new list by putting an element on the head of another one.
<tnks> gchristensen: (unless you're just trolling me)
<gchristensen> I'm not, sorry
<simpson> tnks: I bet that there's a bunch of useful tools in the nixpkgs library.
<simpson> tnks: But no, there's no operator or builtin for cons.
* gchristensen is not much of a functional programmer
Lowl3v3l has quit [(Remote host closed the connection)]
<simpson> gchristensen: It's Lisp specifically.
<gchristensen> oh, well, same ;)
<gchristensen> sometimes I feel a bit like a fraud not being a functional programmer, being so excited about nixos
<simpson> Nonsense. I spend most of my time in object-based languages and there's nothing wrong with Nix.
takle has joined #nixos
<simpson> Well, aside from the things that are wrong with it~
<gchristensen> hehe
<Rotaerk> hmm I have a nix derivation function that, given a file path, can transform the provided file into something else, dropping the result into the store. in most usages, the input is something already in the store, such as something fetched from git...
<Rotaerk> but I want to apply it to a file that's side-by-side with my nix file
<Rotaerk> but I can't pass it a relative path, and even if I provide it the absolute path of that file, it can't access it (I guess the nix service is trying to access my home)
<Rotaerk> how do I get that file into the store for the sake of being accessible?
<Rotaerk> builtins.fetchurl "file:///home/rotaerk/blah" seems to work, but I'd prefer a relative path if possible
<Rotaerk> ah... this works:
<Rotaerk> builtins.toFile "myfile" (builtins.readFile ./myfile)
<Rotaerk> seems a bit two-step though
<gchristensen> simpson: do you know where nixpkgs.config is defined? ie: where could I add more things along the lines of allowUnfree / allowBroken
<simpson> gchristensen: I'm afraid not, sorry.
<gchristensen> me neither! searching allowUnfree in nixpkgs shows up only a few places, but I'm still not real sure
derjohn_mob has quit [(Ping timeout: 245 seconds)]
<tnks> gchristensen: no guilt intended.
<gchristensen> tnks: oh no worries, if anything it encourages me to learn and practice more functional languages.
<tnks> you'll find "cons" super fast in a slew of languages.
<tnks> but not Nix evidently.
<gchristensen> super fast -> performant? or it is in many languages?
<tnks> no, I mean learning-wise.
<gchristensen> I see :) ok
<tnks> because lists are wide-spread.
<simpson> tnks: cons just isn't a common operation in Nix.
<dtzWill> haha I too like to use the word 'performant' :)
<tnks> simpson: yeah, I guess, because most lists are just constants.
<tnks> or appended.
scode has quit [(Read error: Connection reset by peer)]
smola_ has quit [(Read error: Connection reset by peer)]
savanni has quit [(Read error: Connection reset by peer)]
<tnks> (which is what I did... just [e] ++ oldList)
pdobrogost has quit [(Read error: Connection reset by peer)]
seanparsons has quit [(Read error: Connection reset by peer)]
feepo has quit [(Read error: Connection reset by peer)]
stasku has quit [(Read error: Connection reset by peer)]
jgertm- has quit [(Quit: https://fnordserver.eu)]
scode has joined #nixos
smola_ has joined #nixos
Biappi has quit [(Ping timeout: 258 seconds)]
_c_ has quit [(Remote host closed the connection)]
savanni has joined #nixos
seanparsons has joined #nixos
nixy has quit [(Ping timeout: 258 seconds)]
Nycatelos has quit [(Ping timeout: 258 seconds)]
feepo has joined #nixos
hiawatha has quit [(Ping timeout: 258 seconds)]
CustosLimen has quit [(Ping timeout: 258 seconds)]
hexa- has quit [(Ping timeout: 258 seconds)]
steveeJ has quit [(Ping timeout: 258 seconds)]
mt has quit [(Ping timeout: 258 seconds)]
regnat_ has quit [(Ping timeout: 258 seconds)]
wak-work has quit [(Ping timeout: 258 seconds)]
pdobrogost has joined #nixos
dtz has quit [(Ping timeout: 258 seconds)]
eqyiel[m] has quit [(Ping timeout: 258 seconds)]
regnt[m] has quit [(Ping timeout: 258 seconds)]
M41px[m] has quit [(Ping timeout: 258 seconds)]
regnat[m] has quit [(Ping timeout: 258 seconds)]
M-Shrike has quit [(Ping timeout: 258 seconds)]
cornu has quit [(Ping timeout: 258 seconds)]
jack[m] has quit [(Ping timeout: 258 seconds)]
scott has quit [(Ping timeout: 258 seconds)]
bendlas has quit [(Ping timeout: 258 seconds)]
davidar has quit [(Ping timeout: 258 seconds)]
Kiko[m] has quit [(Ping timeout: 258 seconds)]
herzmeister[m] has quit [(Ping timeout: 258 seconds)]
benley has quit [(Ping timeout: 258 seconds)]
M-schneeflocke has quit [(Ping timeout: 258 seconds)]
rsynnest[m] has quit [(Ping timeout: 258 seconds)]
_c_ has joined #nixos
<Rotaerk> oh.. it's much simpler than that
Nyx has joined #nixos
<Rotaerk> "${./myfile}"
stasku has joined #nixos
benley has joined #nixos
nixy has joined #nixos
CustosLimen has joined #nixos
hiawatha has joined #nixos
Nyx is now known as Guest9368
Biappi has joined #nixos
eqyiel[m] has joined #nixos
M-schneeflocke has joined #nixos
regnt[m] has joined #nixos
jack[m] has joined #nixos
Guest27041 has joined #nixos
steveeJ has joined #nixos
nanobapt has quit [(Ping timeout: 240 seconds)]
dtz has joined #nixos
wak-work has joined #nixos
M41px[m] has joined #nixos
M-Shrike has joined #nixos
bendlas has joined #nixos
herzmeister[m] has joined #nixos
mt has joined #nixos
hexa- has joined #nixos
davidar has joined #nixos
eacameron has joined #nixos
<NixOS_GitHub> [nixpkgs] mguentner opened pull request #21762: pythonPackages.ipfsapi: init at 0.4.0 (master...ipfsapi) https://git.io/vMWPc
rsynnest[m] has joined #nixos
cornu has joined #nixos
Kiko[m] has joined #nixos
regnat[m] has joined #nixos
mizu_no_oto has joined #nixos
truh has quit [(Ping timeout: 240 seconds)]
Wizek has quit [(Ping timeout: 240 seconds)]
zraexy has quit [(Ping timeout: 260 seconds)]
derjohn_mob has joined #nixos
PragCyphr has joined #nixos
nixy has quit [(Ping timeout: 240 seconds)]
jmeredith has quit [(Read error: Connection reset by peer)]
jmeredith has joined #nixos
PragCyph1 has quit [(Ping timeout: 245 seconds)]
nixy has joined #nixos
jgertm has joined #nixos
dmj` has quit [(Read error: Connection reset by peer)]
dmj` has joined #nixos
eddyb has quit [(Read error: Connection reset by peer)]
eddyb has joined #nixos
adelbertc has quit [(Read error: Connection reset by peer)]
adelbertc has joined #nixos
digitalmentat has quit [(Ping timeout: 245 seconds)]
fadenb has quit [(Ping timeout: 240 seconds)]
M-manveru has quit [(Ping timeout: 240 seconds)]
fadenb has joined #nixos
Wizek has joined #nixos
hexagoxel has quit [(Ping timeout: 264 seconds)]
M-manveru has joined #nixos
hexagoxel has joined #nixos
rjsalts has quit [(Ping timeout: 245 seconds)]
rjsalts has joined #nixos
scode has quit [(Ping timeout: 240 seconds)]
lewo has quit [(Ping timeout: 245 seconds)]
scode has joined #nixos
lewo has joined #nixos
x1n4u has quit [(Ping timeout: 240 seconds)]
x1n4u has joined #nixos
systemfault has joined #nixos
lewo has quit [(Ping timeout: 245 seconds)]
jeaye has quit [(Quit: system maintenance)]
lewo has joined #nixos
cjhowe has quit [(Quit: Textual IRC Client: www.textualapp.com)]
cjhowe has joined #nixos
jeaye has joined #nixos
systemfault has quit [(Quit: Bye!)]
Intensity has joined #nixos
mguentner has quit [(Quit: WeeChat 1.6)]
mguentner has joined #nixos
eacameron has quit [(Remote host closed the connection)]
mkoenig has quit [(Read error: Connection reset by peer)]
eacameron has joined #nixos
mkoenig has joined #nixos
nhooyr has quit [(Ping timeout: 245 seconds)]
<taktoa> it would be pretty neat if Nix had a wllvmStdenv https://github.com/SRI-CSL/whole-program-llvm
<taktoa> could do boot time JIT
nhooyr has joined #nixos
eacameron has quit [(Ping timeout: 260 seconds)]
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
<pikajude> i recall seeing a nix option that will make the builder just print derivation names and build steps, but not all the log output
<pikajude> but i can't find it now
<pikajude> does anybody know what i'm talking about
<AtnNn> taktoa: the README mentions that it is a drop-in replacement for gcc, it should be easy to switch i nfor gcc in the default stdenv
mguentner2 has joined #nixos
<taktoa> AtnNn: yeah, I have a good idea of what would be involved, I just don't have the time to do it, so I figured I'd at least let people know about the idea
<AtnNn> pikajude: I thinks it's nix-build -Q
<AtnNn> taktoa: do you know what kind of performance games it gives? And if it slows down compilation a lot?
mguentner has quit [(Ping timeout: 240 seconds)]
Fare has left #nixos ["Leaving"]
<taktoa> AtnNn: no, I haven't tried it, though it would definitely depend on the architecture. compilation is probably within a factor of 4 of normal speed. there are reasons to do this other than speed though; you could write an LLVM pass that randomly permutes instructions and basic blocks, which would result in a kind of extremely fine-grained ASLR that doesn't lose out on memory caching benefits (because it's boot-time rather than
<taktoa> application-start-time)
proteusguy has quit [(Ping timeout: 255 seconds)]
zraexy has joined #nixos
uralbash has joined #nixos
tilo has joined #nixos
<tilo> Hi, thank for this great distro, tried it today.
<NixOS_GitHub> [nixpkgs] fpletz pushed 2 new commits to master: https://git.io/vMWyp
<NixOS_GitHub> nixpkgs/master a66480d Tristan Helmich: sonarr: 2.0.0.4427 -> 2.0.0.4472
<NixOS_GitHub> nixpkgs/master 917e67f Franz Pletz: Merge pull request #21754 from mayflower/sonarr_4472...
<tilo> One question: Tried to install google-chrome, but couldn't find it using nix-env -qaP. But it seems to exist in nixpkgs/pkgs/applications/networking/browsers/google-chrome. I'm not sure why it shows up in the packages but not using nix-env. Now I try to install chromium, but it builds from source, which probably takes ages on my old laptop. Any idea how to install google-chrome? Thank you.
<Ralith> `nix-env -qaP '.*google-chrome.*'` returns three different packages for me
ryantrinkle has joined #nixos
<tilo> I get
<tilo> [root@schleppa:/home/tschwarz]# nix-channel --list nixos https://nixos.org/channels/nixos-16.09 [root@schleppa:/home/tschwarz]# nix-env -qaP '.*google-chrome.*' error: selector ‘.*google-chrome.*’ matches no derivations
takle has quit [(Read error: Connection reset by peer)]
<Ralith> oh, you probably have unfree packages turned off
systemfault has joined #nixos
<Ralith> add `allowUnfree = true;` to ~/.nixpkgs/config.nix
<tilo> Thanks a lot, I will give it a try.
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vMWS1
<NixOS_GitHub> nixpkgs/master 1603526 Joris Guyonvarch: xrectsel: init at 0.3.2 (#21153)
<Ralith> kind of a user-hostile default
wedens has quit [(Quit: WeeChat 1.6)]
wedens has joined #nixos
Havvy has joined #nixos
glines has quit [(Ping timeout: 240 seconds)]
proteusguy has joined #nixos
<tilo> Hmm, I get "error: No Chrome plugins are available for your architecture." after nixos-rebuild switch on a i686 GNU/Linux. Guess it's not supported anymore ...
nslqqq has left #nixos []
<unlmtd[m]> Ralith: Idealism is crippling
<NixOS_GitHub> [nixpkgs] copumpkin closed pull request #21703: httpd module: don't create documentRoot directory if it doesn't exist (master...httpd-no-mkdir) https://git.io/vMZKE
<NixOS_GitHub> [nixpkgs] fpletz pushed 2 new commits to master: https://git.io/vMW9z
<NixOS_GitHub> nixpkgs/master a4fca56 Svein Ove Aas: ddclient: Write /etc/ddclient.conf when requested...
<NixOS_GitHub> nixpkgs/master 1753d8c Franz Pletz: irssi: 0.8.21 -> 1.0.0
tnks has quit [(Ping timeout: 258 seconds)]
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vMW9P
<NixOS_GitHub> nixpkgs/master a878365 teh: nixos docs: update for Nginx + ACME (#21320)...
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vMW9S
<NixOS_GitHub> nixpkgs/master 071481c pngwjpgh: debianutils: init at 4.8.1 (#21739)
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vMW9H
<NixOS_GitHub> nixpkgs/master 5324a5d Bart Brouns: clipster: 2016-09-12 -> 2016-12-08 (#21761)
cjhowe has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vMW9j
<NixOS_GitHub> nixpkgs/master 2bbbea7 edanaher: pidgin-osd: 0.1.0 -> 0.2.0 (#21655)
sdothum has quit [(Quit: ZNC - 1.6.0 - http://znc.in)]
<justanotheruser> here is my config for nix-shell https://hastebin.com/raw/qegijifotu
<justanotheruser> how do I add something that is not from pipy to the pythonPackages? specifically something I have the tar.bz2 file for
Kingsquee has joined #nixos
Wizek has quit [(Ping timeout: 260 seconds)]
mkoenig has quit [(Read error: Connection reset by peer)]
mkoenig has joined #nixos
<unlmtd[m]> whats the suggested reading order? nix / nixos / nixpkgs ?
ebzzry has quit [(Ping timeout: 248 seconds)]
ebzzry has joined #nixos
womfoo has joined #nixos
<simpson> unlmtd[m]: Probably Nix, then nixpkgs, then NixOS, assuming your goal is to understand NixOS deeply.
<unlmtd[m]> awesome, on to reading
ebzzry has quit [(Ping timeout: 258 seconds)]
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vMWQ4
<NixOS_GitHub> nixpkgs/master 0970931 andjscott: mmex: v1.2.7 -> v1.3.1 (#21755)
MichaelRaskin has quit [(Quit: MichaelRaskin)]
cjhowe has joined #nixos
cjhowe has quit [(Client Quit)]
tilo has quit [(Ping timeout: 260 seconds)]
Mercuria1Alchemi has joined #nixos
mkoenig has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub> [nixpkgs] ip1981 opened pull request #21764: Modular OpenLDAP (master...ip1981/modular-openldap) https://git.io/vMW7v
mkoenig has joined #nixos
phanimah1sh has joined #nixos
systemfault has quit [(Quit: Bye!)]
phanimahesh has quit [(Ping timeout: 245 seconds)]
wkennington has joined #nixos
khebbie has joined #nixos
_c_ has left #nixos ["-"]
khebbie has quit [(Client Quit)]
i_rony has joined #nixos
_c_ has joined #nixos
siarheit_ has joined #nixos
thc202 has joined #nixos
phanimah1sh has quit [(Ping timeout: 240 seconds)]
matthewbauer has quit [(Ping timeout: 245 seconds)]
rly has joined #nixos
zraexy has quit [(Ping timeout: 240 seconds)]
ixxie has joined #nixos
ethanoatetint has joined #nixos
jgertm_ has joined #nixos
jgertm has quit [(Killed (verne.freenode.net (Nickname regained by services)))]
jgertm_ is now known as jgertm
ckauhaus has joined #nixos
civodul has joined #nixos
tvon has quit [(Quit: System is sleeping...)]
sboosali has joined #nixos
Itkovian has joined #nixos
rly has quit [(Ping timeout: 260 seconds)]
chimay has joined #nixos
pi3r has joined #nixos
FRidh has joined #nixos
phanimahesh has joined #nixos
sboosali has quit [(Ping timeout: 240 seconds)]
jgertm- has joined #nixos
sboosali has joined #nixos
rly has joined #nixos
fritschy has joined #nixos
rly has quit [(Ping timeout: 248 seconds)]
ckauhaus has quit [(Quit: Leaving.)]
matthewbauer has joined #nixos
womfoo has quit [(Remote host closed the connection)]
derjohn_mob has quit [(Ping timeout: 240 seconds)]
matthewbauer has quit [(Ping timeout: 260 seconds)]
<ixxie> Hmmm, it seems commenting on an issue in github doesn't make it float up on the feel; how can I draw attention to https://github.com/NixOS/nixpkgs/issues/14318 to people working on xserver stuff?
mkoenig has quit [(Ping timeout: 240 seconds)]
teknico has joined #nixos
mkoenig has joined #nixos
<Ralith> find who they are and ping them
tg has joined #nixos
jgertm has quit [(Ping timeout: 260 seconds)]
rly has joined #nixos
T_S_ has quit [(Ping timeout: 260 seconds)]
sboosali has quit [(Remote host closed the connection)]
_c_ has left #nixos ["-"]
sboosali has joined #nixos
<ixxie> Ralith: cheers, I gave it a go.
ambro718 has joined #nixos
xadi has quit [(Quit: Leaving.)]
pi3r has quit [(Ping timeout: 240 seconds)]
<LnL> ixxie: yeah, there's currently no good way to get notified about issues
<Ralith> though if you reply to a thread someone's participated in, they'll get pinged automatically...
<LnL> yes ofcorse, but there's no way for me to get notified about new darwin issues for example
<LnL> I have to look for those myself, and contributers can't assign labels so I can't use those to filter reliably either
<ixxie> I manually pinged @them as Ralith suggested
<NixOS_GitHub> [nixpkgs] gebner pushed 1 new commit to master: https://git.io/vMWA7
<NixOS_GitHub> nixpkgs/master 14a35a5 Gabriel Ebner: remmina: fix missing gsettings schemas
<ixxie> I also tried to guess based on the commit history who might be a person to ping about the issue who wasn't on the thread
<ixxie> meh
bin7me has joined #nixos
ambro718 has quit [(Ping timeout: 240 seconds)]
<Ralith> at a certain point you just have to roll up your sleeves and start fixing bugs yourself
MarcelineVQ has quit [(Ping timeout: 240 seconds)]
<Ralith> you may find that a pull request gets more response than a bug report
johann__ has joined #nixos
<LnL> we have a bot that mentions people that previously worked on the files
mbrgm has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub> [nixpkgs] taku0 opened pull request #21765: inkscape: 0.91 -> 0.92 (master...inkscape-0.92) https://git.io/vMWxz
mbrgm has joined #nixos
<ixxie> Ralith: I would love to do that, but I don't even know where to start. As far as I can tell this is something deep in xserver, and I never made a single PR for anything, let alone nix
<ixxie> Ralith: I was hoping to talk someone familiar with xserver for a little coaching, that way I could try and hunt the bug myself and learn about the process
<taktoa> ixxie: I guess you should go out on the mean streets of #nixos with a sign that reads "will apprentice for knowledge" :P
<taktoa> ixxie: IME you get much better luck if you ask questions during the most active hours
<ixxie> thats what I have been doing for like 6 months
drp has joined #nixos
goibhniu has joined #nixos
MarcelineVQ has joined #nixos
<LnL> yeah It's usually a bit more quite around this time
<siarheit_> i'd like to create a local package from a new source tarball without cloning nixpkgs. where is the most natural place to put it? ~/.nixpkgs/config,nix?
<LnL> that's where nix-env will look for it by default
<LnL> everything else will use NIX_PATH, so for those things it doesn't matter where you put it
<LnL> and you can force nix-env to use NIX_PATH instead of ~/.nix-defexpr if you use nix-env -f '<nixpkgs>'
<taktoa> ixxie: one thing I recommend is getting really good with git, grep, sed, tr, awk etc. to the extent that you can answer complicated questions about the history of a given file, files containing a certain pattern, etc.
mkoenig has quit [(Remote host closed the connection)]
<taktoa> that *really* helps when trying to figure things out in a codebase
<LnL> siarheit_: err I didn't read your question right, yes config.nix with packageOverrides
<Ralith> ixxie: well, it's all open source, so if all else fails you can start with the bad behavior and trace it backwards
<siarheit_> LnL, aha, thanks!
<Ralith> working from first principles this can be a bit of a huge undertaking but at least it lets you make progress
<LnL> siarheit_: or nixpkgs.config.packageOverrides in the nixos configuration if it's for nixos-rebuild
<x1n4u> moin, does somebody else had problems with vagrant on nixos, that vagrant hangs on nfs mount
<taktoa> oh, also, strace/gdb are really useful
<Ralith> strace is wonderful
<Ralith> especially with suitable filtering
<taktoa> I've been meaning to look into sysdig as well
<Ralith> ooh, that's a new one
<taktoa> pretty exciting http://www.sysdig.org
<taktoa> kind of like solaris dtrace
<taktoa> but for linux
jensens has joined #nixos
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 2 new commits to master: https://git.io/vMWp1
<NixOS_GitHub> nixpkgs/master b8a5083 Alexey Shmalko: rescuetime: 2.9.10.1255 -> 2.9.11.1285
<NixOS_GitHub> nixpkgs/master e81ae66 Michael Raskin: Merge pull request #21760 from rasendubi/rescuetime...
derjohn_mob has joined #nixos
<18VAAAQ70> [nixpkgs] 7c6f434c pushed 2 new commits to master: https://git.io/vMWpS
<18VAAAQ70> nixpkgs/master 510ac52 FaustXVI: slack: 2.2.1 -> 2.3.4
<18VAAAQ70> nixpkgs/master e7b82bb Michael Raskin: Merge pull request #21759 from FaustXVI/update-slack...
<NixOS_GitHub> [nixpkgs] 7c6f434c closed pull request #21759: slack: 2.2.1 -> 2.3.4 (master...update-slack) https://git.io/vMWuj
<ixxie> taktoa: I have been learning those tools, but never thought to use them for that, so thanks for the tip ^^
<taktoa> np :)
<ixxie> Ralith: indeed, I have been trying to do so, but as I said - I think guidance of someone more expirienced could save a lot of my time for little of theirs.
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 3 new commits to master: https://git.io/vMWpF
<NixOS_GitHub> nixpkgs/master 157b216 Will Dietz: elfutils: 0.165 -> 0.168
<NixOS_GitHub> nixpkgs/master 2afcf34 Will Dietz: elfutils: Update website and URL to new sourceware location.
<NixOS_GitHub> nixpkgs/master 370d94c Michael Raskin: Merge pull request #21758 from dtzWill/update/elfutils...
<x1n4u> ok, nevermind needed to configure my firewall settings
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 2 new commits to master: https://git.io/vMWhI
<NixOS_GitHub> nixpkgs/master 64e4b7a Josef Kemetmueller: grib-api: 1.14.4 -> 1.19.0...
<NixOS_GitHub> nixpkgs/master 9b00d43 Michael Raskin: Merge pull request #21750 from knedlsepp/fix-grib-problems...
matthewbauer has joined #nixos
<taktoa> impromptu survey: how do you all pronounce "systemctl"? someone infected me with a mindvirus (that I am about to spread to you) that causes me to pronounce it as "system-cuddle"
<ixxie> system control?
<taktoa> "system control" makes sense, but is kind of ambiguous
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 2 new commits to master: https://git.io/vMWhs
<NixOS_GitHub> nixpkgs/master 67573c9 taku0: inkscape: 0.91 -> 0.92
<NixOS_GitHub> nixpkgs/master 8205358 Michael Raskin: Merge pull request #21765 from taku0/inkscape-0.92...
ilja_kuklic has joined #nixos
<LnL> I usually just call it systemd, the systemctl command is the cli client
<taktoa> LnL: okay, what do you call "machinectl" then?
<drp> probably would've been semantically superior to call it systemdctl
jgertm has joined #nixos
<NixOS_GitHub> [nixpkgs] 7c6f434c closed pull request #21724: gtest, gmock: fix broken package by updating to 1.8.0. (master...pullrequest) https://git.io/vMcsb
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 2 new commits to master: https://git.io/vMWhl
<NixOS_GitHub> nixpkgs/master f935115 Ioannis Koutras: qtpass: 1.1.4 -> 1.1.6
<NixOS_GitHub> nixpkgs/master d750321 Michael Raskin: Merge pull request #21723 from jokogr/u/qtpass-1.1.6...
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vMWh4
<NixOS_GitHub> nixpkgs/master 712e62c Sebastian Hagen: nixos/stage2: Check for each special mount individually and mount missing ones. (#21370)
matthewbauer has quit [(Ping timeout: 240 seconds)]
<taktoa> it would be interesting to look at the nixos hydra server data and try to compute the average optimal time to update the stable channel (or a hypothetical "quasistable" channel)
<taktoa> like do some machine learning on commit messages
<ixxie> taktoa: that would be cool, I wonder what kind of databases are already there and who has access to them
Taneb has left #nixos ["Leaving"]
<taktoa> I think there is some work going on to expose hydra data via a RESTful json interface
<ixxie> taktoa: I wonder if this sysdig would work for NixOS out of the box
<taktoa> lol, I'm actually looking into that right now
Rotaerk has quit [(Ping timeout: 248 seconds)]
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 2 new commits to release-16.09: https://git.io/vMleb
<NixOS_GitHub> nixpkgs/release-16.09 41ebe91 Ioannis Koutras: syncthing-gtk: 0.6.3 -> 0.9.2.3...
<NixOS_GitHub> nixpkgs/release-16.09 c2e1b9c Michael Raskin: Merge pull request #21721 from jokogr/u/syncthing-gtk-for-16.09...
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 2 new commits to master: https://git.io/vMlvf
<NixOS_GitHub> nixpkgs/master 7f99fd0 3noch: nginx: add 'cache_purge' module for purging FastCGI cache
<NixOS_GitHub> nixpkgs/master 26730d5 Michael Raskin: Merge pull request #21691 from 3noch/add-fastcgi-cache-purge-nginx-module...
<NixOS_GitHub> [nixpkgs] 7c6f434c closed pull request #21657: hugo: 0.17 -> 0.18.1 (master...pkg.hugo) https://git.io/vMlvC
Rotaerk has joined #nixos
<taktoa> ixxie: successfully got sysdig working on my computer running nixos 16.09
<taktoa> boot.extraModulePackages = [ config.boot.kernelPackages.sysdig ];
phanimahesh has quit [(Ping timeout: 260 seconds)]
<taktoa> plus adding pkgs.sysdig to my systemPackages
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 2 new commits to master: https://git.io/vMlvz
<NixOS_GitHub> nixpkgs/master 6afd5fb Benjamin Staffin: insync: init at 1.3.13.36129
<NixOS_GitHub> nixpkgs/master b9bb55c Michael Raskin: Merge pull request #21638 from benley/insync...
<NixOS_GitHub> [nixpkgs] 7c6f434c closed pull request #21635: tora: init at 3.1 (master...p/tora) https://git.io/vMOrj
<ixxie> cool taktoa - let me know how usage plays out
ilja_kuklic has quit [(Ping timeout: 248 seconds)]
mudri has joined #nixos
mbrgm has quit [(Ping timeout: 240 seconds)]
bennofs_matrix has quit [(Ping timeout: 240 seconds)]
phanimahesh has joined #nixos
bennofs_matrix has joined #nixos
mbrgm has joined #nixos
takle has joined #nixos
rsa has joined #nixos
<manveru> anyone else having trouble with the cache atm?
<NixOS_GitHub> [nixpkgs] 7c6f434c closed pull request #21632: sherpa: fix sqlite dependency (master...sherpa_fix) https://git.io/vMlfY
<manveru> i get a ton of errors like this
sboosali has quit [(Ping timeout: 240 seconds)]
<manveru> not sure if the curl error has anything to do with it
<manveru> s/curl/certificate/
<rsa> very recently i got "curl: (92) HTTP/2 stream 1 was not closed cleanly: INTERNAL_ERROR (err 2)"
ilja_kuklic has joined #nixos
<rsa> seems to work now
<manveru> i even pass --fallback but it's not working :(
<drp> does libvirtd nixops work for containers? I am looking at setting up an email server and one of the packages requires debian/ubuntu, I was considering putting that into its own container instead of a vm
<goibhniu> drp yep, you can deploy to NixOS containers with NixOps
<manveru> hm, gonna try updating my nixpkgs fork, but for some reason the build works on my machine but fails on our CI
civodul` has joined #nixos
civodul` has quit [(Remote host closed the connection)]
ilja_kuklic has quit [(Ping timeout: 248 seconds)]
civodul has quit [(Ping timeout: 240 seconds)]
<ixxie> is there a builtin for passing a set to every element of a list (of imports)
ilja_kuklic has joined #nixos
<LnL> manveru: do you have cacert installed?
<manveru> it fails downloading cacert already
<drp> goibhniu but those are nixos, not ubuntu, correct? from what I can see libvirt only uses kvm and doesn't yet have container support in nixops
<drp> (also thanks for responding)
<manveru> LnL: i think that must be the issue
<manveru> it's a docker container based on yours, but i modified it over time, something must've gone wrong there :)
<LnL> make sure cacert is installed and SSL_CERT_FILE is set
ilja_kuklic has quit [(Ping timeout: 260 seconds)]
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #21747: xfce.mousepad: use keyfile instead of gconf (master...define-MOUSEPAD_SETTINGS_KEYFILE_BACKEND) https://git.io/vMCX5
<LnL> cool to hear that somebody is using that :)
<manveru> we use it as build servers for our docker images :)
<manveru> since our jenkins slaves are wiped every day... we have separate VMs so we can keep the binary cache around
<goibhniu> drp: yep, that's to deploy to a NixOS container on a NixOS machine. I'm afraid I don't fully understand the connection with libvirt. You can't deploy to Ubuntu using NixOps, unless you're talking about deploying to a NixOS vm which is running on Ubuntu?
<LnL> interresting!
<goibhniu> drp Disnix lets you deploy nix stuff to other platforms
froxx has joined #nixos
<froxx> is there a way I can add a new derivation (eg. https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/version-management/git-lfs/default.nix) to my ~/.nixpkgs/config.nix ?
johann__ has quit [(Remote host closed the connection)]
<drp> goibhniu, my idea was to kinda follow the docker way and create a .nix file to stage a different container for each service on the same machine, nixos containers for smtp, imap and postgres, but sogo requires ubuntu, so I thought I could use lxc to pull an ubuntu image and make it execute a script to hook up to the rest of the containers
dgn has joined #nixos
<LnL> froxx: what do you want to do with it, install with nix-env?
<manveru> jup, that fixed it, awesome :)
<froxx> LnL: yes
<LnL> I should improve it sometime to make it easier to update the image, it's a bit of a pain at the moment
Guest9368 is now known as Nycatelos
<offlinehacker[m]> drp: docker-compose? I mean you can generate it with nix.
<ixxie> hmmm how do disnix and nixops interact?
<LnL> froxx: nix-env -f https://github.com/NixOS/nixpkgs/archive/master.tar.gz -iA git-lfs :D
<goibhniu> drp hrm, I wonder if runInLinuxVM helps?
<drp> offlinehacker[m], sure I could just do docker-compose for the whole thing, but then I'm depriving myself of learning nix, plus I personally dislike dockers workflow
matthewbauer has joined #nixos
<drp> goibhniu, from what I can see yeah I can totally use a VM, I just wanted to get in on the container train
<offlinehacker[m]> drp: you can use buildDockerImage nix function to build images, them have a bootstrap script that imports these images and docker-compose to start everything
takle has quit [(Read error: Connection reset by peer)]
wkennington has quit [(Read error: Connection reset by peer)]
<froxx> LnL: will that procude one of those strange result symlinks?
<LnL> no nix-build creates result symlinks
<drp> offlinehacker[m], thanks, but I will use a vm as a fallback before converting it all to docker
<LnL> this just installs git-lfs using the latest definitions from nixpkgs master
<offlinehacker[m]> drp: you can also mount nix store into docker containers and use docker-compose well compose everything
takle has joined #nixos
Ivanych has quit [(Ping timeout: 240 seconds)]
matthewbauer has quit [(Ping timeout: 248 seconds)]
<drp> offlinehacker[m] aren't I defeating the purpose of nix then?, wouldn't I just be better off running docker-compose with stock ubuntu images?
systemfault has joined #nixos
Ivanych has joined #nixos
feepo has quit [(Quit: Connection closed for inactivity)]
<offlinehacker[m]> drp: why? You build docker compose file with nix, which generates it in a such way that it mounts nix store(or for a sake of security you can mount exact nix store outputs) and run your command as init from nix store.
<offlinehacker[m]> By nix store outputs I mean closure of a package you want to run
<offlinehacker[m]> drp: I did some experimenting here: https://github.com/proteuslabs/nix-sandbox
<drp> because then I've just put myself into the docker workflow with the added hook of having created unique images instead of just adding say, the postgres image and ubuntu image
<goibhniu> drp I guess another option is to package sogo for NixOS ... it would also be a useful learning experience
<LnL> offlinehacker[m]: that looks interresting
<drp> offlinehacker[m], hey thanks for the link I will look at it
armin has quit [(Quit: relate to the matter as i drop the bomb)]
<drp> goibhniu, you have too much faith in random internet people, I am a sysadmin, I heavily doubt I have the skills to package extremely complex groupware
<goibhniu> drp :D ... well, I just had a look at the compilation instructions, it *might* be easy enough ... and the rest is configuration
<offlinehacker[m]> LnL: drp: I was using it for some time for my dev environments, works fine, but everytime I needed to add some packages I had to restart container, which was kinda annoying, so I switched to nixos provisioned VMS(virtualbox)+xpra
<offlinehacker[m]> Also with docker you can't easily save runtime state of containers
* drp throws his arms up in the air and says bugger it might as well try
fadenb has quit [(Quit: WeeChat 1.6)]
fadenb has joined #nixos
<LnL> drp: we have gnustep and gnustep-make in nixpkgs, those instructions look pretty standard
<drp> I am a little dodgy on enabling debug, won't that be an potential attack surface in production systems?
<drp> LnL, yeah I am suprised the compile steps are that simple
Shou has joined #nixos
Lowl3v3l has joined #nixos
armin has joined #nixos
ThatDocsLady has joined #nixos
phanimahesh has quit [(Ping timeout: 260 seconds)]
takle has quit [(Remote host closed the connection)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
phanimahesh has joined #nixos
Itkovian has joined #nixos
<manveru> offlinehacker[m]: i use `docker commit` a bit, what's so bad about it?
pi3r has joined #nixos
<offlinehacker[m]> manveru: yes if you use nix docker image, but if you mount nix store into container, this does not help
<offlinehacker[m]> I'm still searching for a hybrid solution, where you mount nix store, but still can install new packages
<offlinehacker[m]> I could use overlays for that, but it's not something docker could do natively
<LnL> 280 PRs, nice job everybody!
matthewbauer has joined #nixos
<manveru> hmm, yeah
<manveru> i use mounted /nix/store sometimes, but it breaks if you run more containers with the same store for me :(
<siarheit_> LnL, thanks for the hints! got my first local .nix package: http://dpaste.com/2N267AN.txt
<goibhniu> drp: I bet they just enable debug in the example because they assume you'd compile it for the sake of doing development ... so, you can surely disable it
xadi has joined #nixos
<drp> goibhniu, I will try, I will be flabbergasted if turning off debug breaks it
<LnL> siarheit_: great!
cpennington has joined #nixos
matthewbauer has quit [(Ping timeout: 248 seconds)]
<LnL> manveru: nix supports extra store paths with NIX_OTHER_STORES=/run/nix/remote-stores/*/nix
<manveru> hmm, that's good to know
<LnL> it works like nix-copy-closure, but using a local mount
_rht has joined #nixos
<manveru> and GC won't touch it?
cko has joined #nixos
systemfault has quit [(Quit: Bye!)]
xadi has quit [(Quit: Leaving.)]
ertesx has joined #nixos
vozz is now known as Guest64085
mudri has quit [(Ping timeout: 256 seconds)]
ertes has quit [(Ping timeout: 258 seconds)]
ertesx is now known as ertes
proteusguy has quit [(Ping timeout: 240 seconds)]
avn has quit [(Ping timeout: 268 seconds)]
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 1 new commit to master: https://git.io/vMlYa
<NixOS_GitHub> nixpkgs/master 5b4906a Michael Raskin: nim: 0.15.2 -> 0.16.0
vozz has joined #nixos
* goibhniu notices 15 people are going to the NixOS meetup in Dublin next week \o/
xadi has joined #nixos
<gchristensen> goibhniu: \o/!
<kragniz> goibhniu: nice!
<kragniz> goibhniu: are you planning on coming to fosdem this year?
<goibhniu> Unfortunately, I'm not gonna make it :/ (busy moving house etc.)
<kragniz> aw
chimay has quit [(Quit: WeeChat 1.6)]
froxx has quit [(Quit: Page closed)]
<NixOS_GitHub> [nixpkgs] dezgeg opened pull request #21766: RFC: More common updater script implementations (master...updater) https://git.io/vMl3B
<gchristensen> nice work, Dezgeg
zagy has joined #nixos
ixxie_ has joined #nixos
<tippenein> does it make any sense that cacert got destroyed when I deleted /nix and ~/.nix-* ? Was trying to do a reinstall
<gchristensen> yeah, the cacert wouldbe stored in /nix
avn has joined #nixos
fkz_ has quit [(Ping timeout: 248 seconds)]
ixxie has quit [(Ping timeout: 256 seconds)]
<avn> folks, how to set zfs' arc cache limit in nixos?
fkz_ has joined #nixos
qknight has quit [(Remote host closed the connection)]
<Dezgeg> yeah I did notice it
qknight has joined #nixos
<tippenein> well, now I can't use curl system-wide. Is there some ENV variable that controls this location? $HOME/.nix-profile/etc/ca-bundle.crt
matthewbauer has joined #nixos
<makefu> tippenein: SSL_CERT_FILE
<Dezgeg> afaict it wasn't fully generic but rather for packages already using a particular convention
flxw has quit [(Ping timeout: 240 seconds)]
flxw has joined #nixos
matthewbauer has quit [(Ping timeout: 260 seconds)]
xadi has quit [(Ping timeout: 260 seconds)]
ixxie_ has quit [(Quit: leaving)]
ixxie has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vMlGQ
<NixOS_GitHub> nixpkgs/master 87e1c49 Jörg Thalheim: android-udev-rules: 20170106 -> 20170109
systemfault has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vMlZK
<NixOS_GitHub> nixpkgs/master f1b8c3b Peter Hoeg: pulseaudio nixos module: use the units provided by upstream (#21633)...
<wangoe> ls
uralbash has quit [(Quit: Leaving.)]
<gchristensen> Dezgeg: I'd put a $20 USD bounty on making an updater for each of imagemagick, graphicsmagick, and gstreamer :D
<dweller> avn: kernel commandline
<dweller> or extraModprobeConfig, but that didnt worked for me
Shou has quit [(Ping timeout: 258 seconds)]
<avn> dweller: zfs.zfs_arc_max?
ThatDocsLady has quit [(Ping timeout: 248 seconds)]
<dweller> yes
<dweller> for ex "zfs.zfs_arc_max=2147483648" if you want arc to take 2gb of ram
sdothum has joined #nixos
<avn> dweller: yep, exactly what I added ;) I still have plenty of other FS until finish migration, so they fight for cache ;)
abcrawf has quit [(Remote host closed the connection)]
ckauhaus has joined #nixos
abcrawf has joined #nixos
<LnL> gchristensen: could you test nix-copy-closure with 1.11.4
katyucha_ has joined #nixos
katyucha has quit [(Killed (verne.freenode.net (Nickname regained by services)))]
katyucha_ is now known as katyucha
derjohn_mob has quit [(Ping timeout: 240 seconds)]
katyucha_ has joined #nixos
<gchristensen> LnL: yeah, I'll be going to my desk with that machine in about 45 minutes
<gchristensen> adding gpg support to nixpkgs is not easy btw :P
<gchristensen> soliciting feedback from #gnupg I got poo-poo'd on a keychain in nixpkgs, though I'm not sure they really understand the flexibility that nix provides
<manveru> what's their objection?
<gchristensen> I'll explain in a minute
ethanoatetint has quit [(Read error: Connection reset by peer)]
ThatDocsLady has joined #nixos
<avn> gchristensen: you want to add mandratory commit signing?
<LnL> no it's for the fetch* stuff
xadi has joined #nixos
ethanoatetint has joined #nixos
regnat_ has joined #nixos
<gchristensen> they assume mutable state, so we'd have to trust old keys a long time to support old packages
<gchristensen> but that isn't true, if you check out an old package it'll use an old keyring obviously :P
<avn> gchristensen: may be writting standalove signatures validator will be easier idea, than adapt gpg with all keyrings and other stuff?
<avn> s/standalove/standalone/
<gchristensen> I have a working prototype
civodul has joined #nixos
<gchristensen> src = verifySignature { src = fetchurl, signature = fetchurl, keyring = keyrings.emacs; }; this was easy enough
<gchristensen> keyrings.emacs = { fingerprints = ["...", "...", "..." ]; sha256 = "..." (sha256 because we need to download their keys) }
MoreTea has joined #nixos
<MoreTea> hi
<MoreTea> I'm trying to import a nixos module from github
<MoreTea> It works perfectly fine if I import it from the filesystem, but {config,pkgs, ...}: let my_mod = fetchurl { ... }; in { imports = [./hwconfig.nix my_mod]; .... } results in infinite recursion
<gchristensen> LnL, manveru, avn "I'm sticking to maintainer responsibility to verify and distribution responsible for own distribution as the only sane model"
<gchristensen> so in this case each person bumping a package would be responsible for having a good trust path to the maintainer of each package they update
<gchristensen> which is ideal but I'm not sure it is feasible
<LnL> yeah, that makes sense
Wizek has joined #nixos
matthewbauer has joined #nixos
Wizek_ has joined #nixos
eacameron has joined #nixos
Shou has joined #nixos
matthewbauer has quit [(Ping timeout: 258 seconds)]
<manveru> hmm, for the crystal language, if you try to `require "yaml"` and libyaml isn't in the build env, it will fail... should we add it as a dependency to the language itself, given that it's in the stdlib?
mudri has joined #nixos
<the-kenny> manveru: If it's in the stdlib I'm inclined to say "yes"
latk has joined #nixos
<manveru> i'll play around a bit and try to write a shards2nix to package crystal apps easily and see what else might be missing
ThatDocsLady has quit [(Ping timeout: 258 seconds)]
derjohn_mob has joined #nixos
<gchristensen> LnL: can you send me a test?
pi3r has quit [(Ping timeout: 256 seconds)]
<LnL> what do you mean?
<gchristensen> LnL: like how should I test copy closure?
<gchristensen> (I have 1.11.4)
michas has joined #nixos
Rotaerk_ has joined #nixos
<ixxie> The manual says that "config is the result of combining the configurations returned by every module" - so I would read that as saying that if my configuration.nix imports two modules, those modules have access to eachother via config even if they don't import eachother directly?
<LnL> gchristensen: nix-store -r /nix/store/3ybz6mfwdpn7hwwz6vk4rs85xjfpjsl5-hello-2.10 on another machine and nix-copy-closure --from <host> /nix/store/3ybz6mfwdpn7hwwz6vk4rs85xjfpjsl5-hello-2.10
<manveru> anyone know how to use nix-prefetch-git with tags?
<gchristensen> LnL: are you having issues with this?
<gchristensen> manveru: refs/tag/v1.0.0 (or refs/tags/v1.0.0? or something? try different pluralizations)
<gchristensen> ixxie: yeah
<LnL> yes, with 1.11.5 + daemon
<manveru> thanks, was missing the refs/ part
<gchristensen> hrmmm this also means I need to have ssh open on one machine, right?
Rotaerk has quit [(Ping timeout: 240 seconds)]
<ixxie> gchristensen: so that must mean nix loads them recursively?
<gchristensen> I don't know, as far as I know it is magic
<ixxie> heh alright
<gchristensen> !seen kmicu
<gchristensen> hrm..
<gchristensen> [0__0]: seen kmicu?
<[0__0]> Yes, I saw kmicu 5 days ago.
<[0__0]> kmicu said: "gchristensen: ah, that chapter is not updated since 1.6 with ‘Nix now has proper integer arithmetic operators. For instance, you can write x + y instead of builtins.add x y, or x < y instead of builtins.lessThan x y. The comparison operators also work on strings.’."
<siarheit_> http://dpaste.com/21HDT0R.txt - this is a configuration-ghc-7.10.x.nix bug, right? Should it not be caught by <something-something-CI>?
zagy has quit [(Quit: Leaving.)]
cjhowe has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 7 new commits to master: https://git.io/vMl0Y
<NixOS_GitHub> nixpkgs/master 39e8eaf Robin Gloster: prometheus module: add nginxExporter
<NixOS_GitHub> nixpkgs/master 363fa27 Corbin: promeutheus.nginxExporter: add improvements...
<NixOS_GitHub> nixpkgs/master 51b247b Corbin: prometheus-varnish-exporter: init at 20161127....
systemfault has quit [(Quit: Bye!)]
Kingsquee has quit [(Quit: https://i.imgur.com/qicT3GK.gif)]
<LnL> siarheit_: hydra only builds the haskellPackages for the latest verison of ghc
<gchristensen> LnL: this also means I need to have ssh open on one machine, right?
<LnL> yes, you need a machine top copy the closure from
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to master: https://git.io/vMlEF
<NixOS_GitHub> nixpkgs/master 575afe3 Robin Gloster: prometheus exporter modules: unify firewall handling
<LnL> doesn't matter if it's darwin or nixos
matthewbauer has joined #nixos
systemfault has joined #nixos
roundhouse has joined #nixos
<gchristensen> LnL: segmentation fault
<LnL> huh, I swear this worked fine before
matthewbauer has quit [(Ping timeout: 248 seconds)]
systemfault has quit [(Client Quit)]
k2s has joined #nixos
<roundhouse> hi guys, i have 2 pc's running nixos and a slow internet connection. I'd like to use "13.3. Serving a Nix store via SSH" from the manual. Is it possible to fix this in my config.nix so that it is used when nixos-rebuild switch --upgrade?
_rht has quit [(Quit: Connection closed for inactivity)]
<LnL> roundhouse: you can use a machine running nix-serve as a binary cache, or you can just nix-copy-closure --from <host> /nix/store/...
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<sphalerite> I've created a nixos AMI instance, but have no idea what the username is for logging into it... Can anyone help?
<LnL> I think it's ec2-user
<sphalerite> Tried that
<sphalerite> still get a password prompt
<roundhouse> LnL: Thanks, but both these options seem manual. Ideally I'd like to set the other computer as a binary server once and be done with it
k2s has quit [(Ping timeout: 256 seconds)]
<gchristensen> sphalerite: you log in as `root` and the SSH key is configured via the SSH key you setup to start with
<sphalerite> tried that too :/
<gchristensen> perhaps you're using the wrong ssh key
<gchristensen> try again with ssh -vvv
<gchristensen> and pastebin the results
<LnL> roundhouse: either use nix.distributedBuilds and nix.buildMachines or run nix-serve on one machine and add it to nix.binaryCaches on the other
<ikwildrpepper> sphalerite: wrt: nixos ami's, you should use root as user, and it will use the ssh key (ec2 key pair) that you specified on the start
<sphalerite> gchristensen: it definitely offers the key I want it to offer, I'd like to check that it matches the one on AWS... but ssh-add -l outputs the fingerprints in a different format from the one shown on the EC2 control panel
<sphalerite> do you know how to get the colon-separated hex format from ssh-add? >.>
Lowl3v3l has quit [(Ping timeout: 260 seconds)]
Mercuria1Alchemi has quit [(Remote host closed the connection)]
<roundhouse> LnL: Thanks
<gchristensen> I don't, sorry
<gchristensen> sphalerite: you could create a new ssh keypair on aws and create a new nixos machine with that keypair
<dtzWill> can you not set it up to use the other host with the ssh substituter (re:roundhouse's question)?
<LnL> roundhouse: cool thing about the ditributed builds is that you can use both machines to compile a bunxh of stuff
sellout- has quit [(Quit: Leaving.)]
<dtzWill> yeah if that's a choice, distributedBuilds is neat
zagy has joined #nixos
<dtzWill> ah, ssh-substituter-hosts=, dunno if that'll work with nixos-rebuild but seems like it might :)
ixxie has quit [(Ping timeout: 260 seconds)]
<sphalerite> looks like I do have the wrong key :(
cko has quit [(Quit: Verlassend)]
<sphalerite> yep, imported the one I had and it works
teknico1 has joined #nixos
olejorgenb has quit [(Read error: Connection reset by peer)]
teknico has quit [(Ping timeout: 256 seconds)]
roundhouse has quit [(Ping timeout: 256 seconds)]
Rotaerk_ has quit [(Quit: Leaving)]
truh has joined #nixos
olejorgenb has joined #nixos
<dtzWill> ssh substituter stuff works nicely in situations where you're running Nix on top of other things
glines has joined #nixos
<sphalerite> It is possible to safely switch out the nix store on a running system? i.e. mount /dev/sdxy /mnt ; rsync -a /nix/store /mnt/ ; mount --bind /mnt /nix/store
teknico has joined #nixos
teknico1 has quit [(Ping timeout: 240 seconds)]
Itkovian has joined #nixos
erasmas has joined #nixos
<globin> /q ikwildrpepper
<globin> whoops %)
<gchristensen> globin: at least you left out your super secret message :)
justbeingglad has joined #nixos
justbeingglad has left #nixos []
danieli_ is now known as danieli
danieli has quit [(Changing host)]
danieli has joined #nixos
peti has quit [(Ping timeout: 248 seconds)]
zagy has quit [(Read error: Connection reset by peer)]
peti has joined #nixos
matthewbauer has joined #nixos
fpletz has quit [(Ping timeout: 240 seconds)]
sellout- has joined #nixos
matthewbauer has quit [(Ping timeout: 256 seconds)]
sellout- has quit [(Ping timeout: 258 seconds)]
sellout- has joined #nixos
fpletz has joined #nixos
<NixOS_GitHub> [nix] edolstra closed pull request #1177: nix-shell: Fix 'nix-shell --command' doing nothing without TTY (master...bash-env-breakage) https://git.io/vMCGc
jmiven has quit [(Quit: brb)]
k0001 has joined #nixos
<dtzWill> \o/
<NixOS_GitHub> [nix] edolstra pushed 2 new commits to master: https://git.io/vMlPc
<NixOS_GitHub> nix/master 855abd8 Jörg Thalheim: Simplify remouting with MS_PRIVATE in sandbox build...
<NixOS_GitHub> nix/master 7adb986 Eelco Dolstra: Merge pull request #1139 from Mic92/master...
<NixOS_GitHub> [nix] edolstra closed pull request #1178: nix-shell: Fix 'nix-shell --command' doing nothing without TTY (stable backport) (1.11-maintenance...bash-env-breakage-stable) https://git.io/vMCZT
jmiven has joined #nixos
xadi has quit [(Read error: Connection reset by peer)]
xadi has joined #nixos
pengi has left #nixos []
Rotaerk has joined #nixos
xadi has quit [(Quit: Leaving.)]
__red__ has quit [(Ping timeout: 256 seconds)]
<exi> vozz: no, the version that was updated in that PR is too old
<exi> the one i have (hopefully) working now is way newer
<exi> cargo and rust from end of december
systemfault has joined #nixos
<exi> but they have change a lot in that time and the normale rustc.nix needed a couple of overrides to work again
<exi> changed*
rmrfroot has joined #nixos
cjhowe has left #nixos ["Textual IRC Client: www.textualapp.com"]
ryanartecona has joined #nixos
<exi> do we have any kind of authority here that can tell me what is/is not acceptable for the rust nightly?
<exi> the current nightly can only be build with the nightly cargo and rustc :/
<exi> so i'm now building rustNighly by using rustNightlyBin as the rustPlatform
<exi> which feels wrong on many levels
<exi> but then again, we cannot even bootstrap stable rust without binary download so this might be the best we can hope for
<exi> cstrahan: ^
<exi> globin: you are a maintainer of this house of card? opinions?
ixxie has joined #nixos
roundhouse has joined #nixos
derjohn_mob has quit [(Ping timeout: 240 seconds)]
Yaniel has quit [(Remote host closed the connection)]
musicmatze[m] has quit [(Remote host closed the connection)]
M-wkennington has quit [(Remote host closed the connection)]
Shell has quit [(Remote host closed the connection)]
regnat[m] has quit [(Remote host closed the connection)]
Kiko[m] has quit [(Remote host closed the connection)]
mythmon- has quit [(Remote host closed the connection)]
bachp has quit [(Remote host closed the connection)]
nhooyr has quit [(Remote host closed the connection)]
dtz has quit [(Read error: Connection reset by peer)]
jack[m] has quit [(Write error: Connection reset by peer)]
offlinehacker[m] has quit [(Remote host closed the connection)]
cinderfish[m] has quit [(Remote host closed the connection)]
eqyiel[m] has quit [(Write error: Connection reset by peer)]
Guest27041 has quit [(Write error: Connection reset by peer)]
rsynnest[m] has quit [(Write error: Connection reset by peer)]
herzmeister[m] has quit [(Read error: Connection reset by peer)]
rycee[m] has quit [(Write error: Connection reset by peer)]
zimbatm[m] has quit [(Write error: Connection reset by peer)]
baldo[m] has quit [(Write error: Connection reset by peer)]
icetan has quit [(Write error: Connection reset by peer)]
bzf[m] has quit [(Write error: Connection reset by peer)]
av[m] has quit [(Write error: Connection reset by peer)]
masia[m] has quit [(Write error: Connection reset by peer)]
bendlas has quit [(Write error: Connection reset by peer)]
ArdaXi[m] has quit [(Write error: Connection reset by peer)]
M41px[m] has quit [(Write error: Connection reset by peer)]
org-rubo78[m] has quit [(Write error: Broken pipe)]
prose[m] has quit [(Write error: Connection reset by peer)]
M-schneeflocke has quit [(Write error: Connection reset by peer)]
regnt[m] has quit [(Write error: Connection reset by peer)]
cornu has quit [(Write error: Connection reset by peer)]
saintaquinas[m] has quit [(Write error: Connection reset by peer)]
M-Shrike has quit [(Write error: Broken pipe)]
MrAxilus[m] has quit [(Write error: Connection reset by peer)]
davidar has quit [(Write error: Connection reset by peer)]
M-Rym has quit [(Write error: Broken pipe)]
lfont[m] has quit [(Write error: Connection reset by peer)]
jcl[m] has quit [(Write error: Connection reset by peer)]
unlmtd[m] has quit [(Write error: Connection reset by peer)]
chexxor_web[m] has quit [(Write error: Broken pipe)]
bennofs_matrix has quit [(Write error: Connection reset by peer)]
primeos[m] has quit [(Write error: Connection reset by peer)]
citizenziggy[m] has quit [(Write error: Connection reset by peer)]
M-roblabla has quit [(Write error: Connection reset by peer)]
Ralith has quit [(Write error: Connection reset by peer)]
ntninja has quit [(Write error: Connection reset by peer)]
M-manveru has quit [(Write error: Connection reset by peer)]
guanjian[m] has quit [(Write error: Connection reset by peer)]
SShrike has quit [(Write error: Broken pipe)]
M-appservice_irc has quit [(Write error: Connection reset by peer)]
M-jackal has quit [(Write error: Broken pipe)]
aspiwack[m] has quit [(Write error: Broken pipe)]
mindB has quit [(Write error: Broken pipe)]
<exi> okay
bin7me has quit [(Remote host closed the connection)]
zagy has joined #nixos
digitalmentat has joined #nixos
systemfault has quit [(Quit: Bye!)]
matthewbauer has joined #nixos
mrkgnao has joined #nixos
<mrkgnao> is locate not working a common problem?
derjohn_mob has joined #nixos
zagy has quit [(Quit: Leaving.)]
matthewbauer has quit [(Ping timeout: 260 seconds)]
<ToxicFrog> mrkgnao: "not working" in which sense? (but also, yes)
<ToxicFrog> If you want periodic updating of the locatedb, you need to set services.locate.enable = true and also run updatedb manually at least once for some reason
<ToxicFrog> Or at least, that's what I had to do to get it working
tvon has joined #nixos
tvon has quit [(Client Quit)]
<cstrahan> exi: I'm about to board a flight; feel free to open a github issue (or PR, if you think you're just about ready) and cc me there. I'll look at it later tonight.
<globin> exi: I didn't do much related to rust packaging itself, only bumped the version a few times, but generally I'm not opposed as long as it works
<cstrahan> Same here.
<ToxicFrog> At a guess (I haven't dug into this extensively), it's because the unit file refers to /var/cache and that directory may not exist before the first updatedb run.
rly has quit [(Ping timeout: 240 seconds)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
cinderfish[m] has joined #nixos
roundhouse has quit [(Ping timeout: 256 seconds)]
Itkovian has joined #nixos
Itkovian has quit [(Client Quit)]
jgertm has quit [(Ping timeout: 248 seconds)]
georges-duperon has joined #nixos
xadi has joined #nixos
fritschy has quit [(Quit: Leaving.)]
teknico has left #nixos []
civodul has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to master: https://git.io/vMldc
<NixOS_GitHub> nixpkgs/master d423567 oida: prometheus-snmp-exporter: added nixos module
<simpson> globin: Thanks for rescuing my Prometheus PR.
ThatDocsLady has joined #nixos
tvon has joined #nixos
<globin> simpson: had wanted to do that for some time since we had some changes of our own, too. thank you for the work on it :)
<simpson> globin: No worries; I needed these to make graphs.
sellout- has quit [(Ping timeout: 258 seconds)]
sellout- has joined #nixos
xadi has quit [(Ping timeout: 240 seconds)]
<Nafai> simpson: Nice graphs. I think Prometheus has potential
<simpson> Nafai: I didn't understand before, but scraping is asymmetric, and IMO the direction that Prometheus goes is just better than collectd/graphite/etc.
* Nafai nods
<simpson> Mostly because of composition. You can have Prometheus metamonitoring by just setting up more Prometheus boxes. This is also how you add more Prometheus capacity. No changes required to the machines in production.
<NixOS_GitHub> [nixpkgs] domenkozar pushed 1 new commit to master: https://git.io/vMlbU
<NixOS_GitHub> nixpkgs/master 464c79e Domen Kožar: turtle_1_3_0: fix build
ryantrinkle has quit [(Ping timeout: 240 seconds)]
derjohn_mob has quit [(Ping timeout: 256 seconds)]
ckauhaus has quit [(Quit: Leaving.)]
ryanartecona has quit [(Quit: ryanartecona)]
goibhniu has quit [(Ping timeout: 240 seconds)]
ronny has quit [(Ping timeout: 240 seconds)]
M41px[m] has joined #nixos
jcl[m] has joined #nixos
herzmeister[m] has joined #nixos
M-manveru has joined #nixos
jack[m] has joined #nixos
primeos[m] has joined #nixos
bachp has joined #nixos
Yaniel has joined #nixos
Kiko[m] has joined #nixos
MrAxilus[m] has joined #nixos
M-Rym has joined #nixos
regnt[m] has joined #nixos
org-rubo78[m] has joined #nixos
ntninja has joined #nixos
guanjian[m] has joined #nixos
eqyiel[m] has joined #nixos
M-roblabla has joined #nixos
citizenziggy[m] has joined #nixos
mindB has joined #nixos
SShrike has joined #nixos
unlmtd[m] has joined #nixos
aspiwack[m] has joined #nixos
ArdaXi[m] has joined #nixos
cornu has joined #nixos
rycee[m] has joined #nixos
bzf[m] has joined #nixos
icetan has joined #nixos
offlinehacker[m] has joined #nixos
prose[m] has joined #nixos
M-appservice_irc has joined #nixos
masia[m] has joined #nixos
bennofs_matrix has joined #nixos
M-jackal has joined #nixos
bendlas has joined #nixos
chexxor_web[m] has joined #nixos
M-Shrike has joined #nixos
regnat[m] has joined #nixos
davidar has joined #nixos
M-schneeflocke has joined #nixos
matthewbauer has joined #nixos
baldo[m] has joined #nixos
nhooyr has joined #nixos
mythmon- has joined #nixos
Shell has joined #nixos
rsynnest[m]2 has joined #nixos
M-wkennington has joined #nixos
av[m] has joined #nixos
saintaquinas[m] has joined #nixos
Ralith has joined #nixos
zimbatm[m] has joined #nixos
scott has joined #nixos
musicmatze[m] has joined #nixos
lfont[m] has joined #nixos
dtz has joined #nixos
xadi has joined #nixos
matthewbauer has quit [(Ping timeout: 260 seconds)]
<cheshircat> Hey, has anyone got glium working with Rust? Whenever anything calls build_glium it returns a None, which seems to me like it's trying to load a dynamic library but failing. I'm just not sure which dynamic library, and what I should put in a nix-shell to get it to work
<cheshircat> I've tried freeglut and mesa
xadi has quit [(Ping timeout: 255 seconds)]
<the-kenny> cheshircat: give me a second
<the-kenny> that's what I use for glium-development
zagy has joined #nixos
<the-kenny> the libPath and LD_LIBRARY_PATH stuff is the important bit
<the-kenny> Just run nix-shell on build your project in it
<cheshircat> the-kenny: thank you
jensens has quit [(Ping timeout: 240 seconds)]
dgn has quit [(Ping timeout: 258 seconds)]
oida has quit [(Read error: Connection reset by peer)]
danharaj has joined #nixos
athaller has quit [(Read error: Connection reset by peer)]
athaller has joined #nixos
nanobapt has joined #nixos
<nanobapt> Hi there !
<simpson> Hi
roconnor__ has joined #nixos
<nanobapt> I try to install teamviewer but there is a different hash for the .deb file. Does anyone know what I could do ?
<LnL> you could override the src if you trust the new sha
<nanobapt> LnL: ie ?
ryanartecona has joined #nixos
<LnL> packageOverrides = pkgs: { teamviewer = lib.overrideDerivation pkgs.teamviewer (drv: { src = pkgs.fetchurl { ... }; }); };
hotfuzz_ has joined #nixos
t7 has joined #nixos
hotfuzz has quit [(Ping timeout: 240 seconds)]
ronny has joined #nixos
sellout-1 has joined #nixos
ryantrinkle has joined #nixos
sellout- has quit [(Ping timeout: 256 seconds)]
c0bw3b has joined #nixos
t7 has quit [(Ping timeout: 240 seconds)]
kampfschlaefer has joined #nixos
mudri has quit [(Ping timeout: 240 seconds)]
seagreen has quit [(Quit: WeeChat 1.6)]
seagreen has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #21767: bundler: 1.13.6 -> 1.13.7 (master...bundler) https://git.io/vM8Jk
seagreen has quit [(Client Quit)]
c0bw3b has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
seagreen has joined #nixos
seagreen has quit [(Client Quit)]
seagreen has joined #nixos
<copumpkin> pierron: how weird would it be to have module option defaults that look at config?
<copumpkin> one weirdness I could see is generating docs
c0bw3b has joined #nixos
<copumpkin> (I'm not saying in NixOS, but rather the module system in general)
oida has joined #nixos
zagy has quit [(Quit: Leaving.)]
zagy has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vM8U6
<NixOS_GitHub> nixpkgs/master 8890814 Franz Pletz: nixos installer: don't log refused packets to console...
stepcut_ has quit [(Remote host closed the connection)]
<gchristensen> nice, fpletz
pstn has joined #nixos
<hodapp> https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1638395 ugh, great, more shit that's broken with printing for no good reason
zagy has quit [(Quit: Leaving.)]
zagy has joined #nixos
matthewbauer has joined #nixos
phreedom has quit [(Quit: No Ping reply in 180 seconds.)]
<fpletz> gchristensen: thinking about the many times this annoyed me i'm suprised i didn't try to shave this yak before… the fix is trivial \o/
<gchristensen> yeah
<gchristensen> :)
<gchristensen> there is an issue you can close for that now
<fpletz> github already closed it :)
<gchristensen> oh nice
matthewbauer has quit [(Ping timeout: 256 seconds)]
mudri has joined #nixos
<LnL> copumpkin: I'm pretty sure some stuff in the nixos modules do that
<hodapp> oh well, I guess this made me learn how to set /etc/hosts in configuration.nix
stepcut has joined #nixos
georges-duperon has quit [(Ping timeout: 256 seconds)]
t7 has joined #nixos
<t7> hello, I tried to install from minimal 64bit iso
<t7> and it failed when trying to download curl
<t7> but at this point i was offline
<t7> do i need to enable some network device before install ?
<NixOS_GitHub> [nixpkgs] pSub pushed 1 new commit to master: https://git.io/vM8LW
<NixOS_GitHub> nixpkgs/master de36c3b Pascal Wittmann: xlockmore: 5.49 -> 5.50
georges-duperon has joined #nixos
dash has quit [(Ping timeout: 260 seconds)]
<aloiscochard> hi all, I'm having an issue trying to build a local haskell project that depends on `simple-bluetooth`.
<aloiscochard> I keep getting "* Missing C library: bluetooth", even after trying to add it manually in `LD_LIBRARY_PATH` (as stated in http://nixos.org/nixpkgs/manual/#users-guide-to-the-haskell-infrastructure)
<aloiscochard> what am I missing? thanks :-)
t7 has quit [(Quit: take2)]
sboosali has joined #nixos
Itkovian has joined #nixos
nanobapt has quit [(Ping timeout: 240 seconds)]
<vozz> exi: Do you have a branch I can have a look at what you've done?
<LnL> aloiscochard: looks like the package is missing a dependency
rmrfroot has quit [(Ping timeout: 248 seconds)]
<aloiscochard> LnL: is there a way I can try to fix it locally? or by adding something to my package?
cyraxjoe has quit [(Remote host closed the connection)]
<aloiscochard> LnL: I thought exporting LD_LIBRARY_PATH in the underlying shell would do the trick
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<LnL> you have to fix the drv, the haskell libs have a helper function to add a dependency to a package
<LnL> haskell.lib.addBuildDepend
Itkovian has joined #nixos
<mrkgnao> ToxicFrog: it says something about /var/cache
georges-duperon has quit [(Ping timeout: 252 seconds)]
<aloiscochard> LnL: sorry I'm confused, when looking at https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/haskell-modules/hackage-packages.nix I see that `simple-bluetooth` has `librarySystemDepends = [ bluetooth ];` shouldn't that be enought for the drv to compile? I should append `addBuildDepend` there?
nanobapt has joined #nixos
Itkovian has quit [(Client Quit)]
jonafato has quit [(Ping timeout: 248 seconds)]
jgertm has joined #nixos
jonafato has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vM8Yp
<NixOS_GitHub> nixpkgs/master c82baee Vladimír Čunát: sssd: fixup build after bind output changes #21685
ilja_kuklic has joined #nixos
zagy has quit [(Quit: Leaving.)]
ryanartecona has quit [(Quit: ryanartecona)]
feepo has joined #nixos
matthewbauer has joined #nixos
<LnL> aloiscochard: yeah sounds like it should work, not sure then
<exi> vozz: tomorrow morning i'll upload something/make a PR
<exi> need to compile rustc+cargo one last time to check if everything workds
<exi> works*
<exi> takes 1-2 hours every time :/
<aloiscochard> LnL: okay, thanks for your help!
<fadenb> nanobapt: the TeamViewer support should be able to provide a hash for all the downloads for verification purposes
<sboosali> Hi, can someone help me with a virtual box issue? I can't access the shared folder (NixOS guest, Windows 10 host) as a user without sudo. I've tried chown'ing /media/sf_*, and adding vboxsf to my groups. My configuration.nix: http://pastebin.com/7LUEzquU
<ToxicFrog> mrkgnao: what does? When you run it manually? When you 'systemctl status' it?
<ToxicFrog> mrkgnao: what you should do is 'systemctl status' it and look for the exec line, something like:
<fadenb> If you are willing to wait some time I can ask an acquaintance sometime later this week
<ToxicFrog> Process: 8023 ExecStart=/nix/store/pblwaxviv2vh6h4qsfhd9pv0ib5nrrr0-unit-script/bin/update-locatedb-start (code=exited, status=255/NAMESPACE)
matthewbauer has quit [(Ping timeout: 240 seconds)]
<ToxicFrog> mrkgnao: so copy that command and run it by hand, as root, and it'll create the directory and the locatedb for you and do the first update pass.
<ToxicFrog> Once it's created, future runs of update-locatedb will work.
cyraxjoe has joined #nixos
<eacameron> Is there a way to run something like "fetchurl" but give it multiple URLs in case some of them don't resolve?
<gchristensen> yep
<gchristensen> fetchurl { urls = [ "..." "..." "..." ]; sha256 = "..." } ;)
<eacameron> gchristensen: Seriously??
jgertm has quit [(Ping timeout: 240 seconds)]
<gchristensen> yep
<eacameron> gchristensen: whoa
<gchristensen> :D
<gchristensen> glad to be of service
<simpson> TIL.
* gchristensen was just spelunking in fetchurl last night
<eacameron> LOL!!
<NixOS_GitHub> [nixpkgs] pSub pushed 4 new commits to master: https://git.io/vM8GE
<NixOS_GitHub> nixpkgs/master fc56c8c Pascal Wittmann: global: 6.5.5 -> 6.5.6
<NixOS_GitHub> nixpkgs/master 15fe70d Pascal Wittmann: entr: 3.5 -> 3.6
<NixOS_GitHub> nixpkgs/master b35af13 Pascal Wittmann: disorderfs: 0.4.2 -> 0.5.1
<NixOS_GitHub> [nixpkgs] goetzst opened pull request #21768: youtube-dl: 2017.01.02 -> 2017.01.08 (master...youtube-dl) https://git.io/vM8Ga
reinzelmann has joined #nixos
reinzelmann has quit [(Client Quit)]
ixxie has quit [(Ping timeout: 240 seconds)]
<eacameron> gchristensen: Too bad fetchzip doesn't have that feature too...but hey, this is still awesome.
roundhouse has joined #nixos
<gchristensen> hrmm
danielrf has quit [(Remote host closed the connection)]
<gchristensen> eacameron: fetchzip { url = ""; urls = [ "you" "urls" ]; } -- try it anyway?
<gchristensen> (the important thing is url = "";)
<eacameron> But a dummy value would likely work
<gchristensen> hrmm one sec
<gchristensen> from fetchurl: urls_ = if urls != [] then urls else [url];
<gchristensen> so set url to one url, and urls to your list of urls, and it should use the list
<gchristensen> not sure if my nix-fu is good enough, but this might work: fetchzip rec { url = (builtins.head urls); urls = [ "list" "of" "urls" ]; }
<NixOS_GitHub> [nixpkgs] pSub pushed 1 new commit to master: https://git.io/vM8Z2
<NixOS_GitHub> nixpkgs/master 755c292 Pascal Wittmann: pdfpc: 4.0.4 -> 4.0.5
<NixOS_GitHub> [nixpkgs] LnL7 pushed 1 new commit to master: https://git.io/vM8ZX
<NixOS_GitHub> nixpkgs/master ab0bb24 Daiderd Jordan: Revert "cairo: Add ApplicationServices as propagatedBuildInput"...
<gchristensen> son of a gun!
pi3r has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 5 new commits to release-16.09: https://git.io/vM8ne
<NixOS_GitHub> nixpkgs/release-16.09 33653bf David McFarland: cc-wrapper: expand response files...
<NixOS_GitHub> nixpkgs/release-16.09 164b8fa David McFarland: cc-wrapper: don't expand $ in response files...
<NixOS_GitHub> nixpkgs/release-16.09 e16a287 Peter Simons: Synchronize Haskell infrastructure with 'master' at 6d58ab2edf8843e03f10af03a16e8137afe49df5.
<NixOS_GitHub> [nixpkgs] Profpatsch closed pull request #21768: youtube-dl: 2017.01.02 -> 2017.01.08 (master...youtube-dl) https://git.io/vM8Ga
<gchristensen> eacameron: well, you can fetchurl the zip and add unzip to your buildinputs I think
<eacameron> gchristensen: Yah that's what I'll do. The only downside is that it doesn't use the same sha as fetchzip
roundhouse has quit [(Ping timeout: 240 seconds)]
<gchristensen> ah
<ToxicFrog> Is there any equivalent to packageOverrides for nixos options?
<ToxicFrog> I want to override parts of the calibre-server service, because as written it's missing a lot of necessary options like listen port.
<NixOS_GitHub> [nixops] domenkozar pushed 3 new commits to master: https://git.io/vM8nR
<NixOS_GitHub> nixops/master cb9dd1e Cireo: virtualbox.{nix,py}: add .vcpu option...
<NixOS_GitHub> nixops/master e38443f Cireo: squash: Add vmFlags, make vcpu accept null...
<NixOS_GitHub> nixops/master fc43d9c Domen Kožar: Merge pull request #540 from Cireo/vbox_vcpu_option...
guacamole_ has joined #nixos
Itkovian has joined #nixos
zagy has joined #nixos
nckx has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub> [nixpkgs] pSub pushed 1 new commit to release-16.09: https://git.io/vM8cl
<NixOS_GitHub> nixpkgs/release-16.09 2ad30bd Pascal Wittmann: pdf2djvu: fix build
xadi has joined #nixos
t7 has joined #nixos
<gchristensen> woah buddy, `docco` supports literate nix
<viric> ha, shotcut never worked
<nanobapt> LnL: thx :)
t7 has quit [(Remote host closed the connection)]
nckx has joined #nixos
<mrkgnao> anyone here familiar with gloss on Haskell?
<mrkgnao> I can't compile an MWE because of a missing C library called "GL"
<mrkgnao> I've tried mesa, glu, and freeglut, but to no avail
<gchristensen> literate nix with docco: http://i.imgur.com/29fiJ4V.png
nanobapt has quit [(Quit: leave)]
<mrkgnao> gchristensen: L I T E R A T E N I X
<gchristensen> lol
<gchristensen> I'm writing some code like this to softly introduce some coworkers
<mrkgnao> sorry, I'm sleep-deprived and felt the memeyness hit me all of a sudden
<mrkgnao> ah
<LnL> gchristensen: ooh, that's pretty nice for explaining stuff
<gchristensen> :)
<guacamole_> I am confused regarding tomcat and webapps. I tried to install guacamole, but I could not access it through tomcat. After some research I found out that the war file determines the context (the URL pathname) under which it can be found. Since the webapps setting of the tomcat NixOS service will just link the apps with their store names, it will not be found under /guacamole.
georges-duperon has joined #nixos
<guacamole_> Looking at the implementation of the tomcat service I found that if I supply a directory instead of a file, it will look under dirname/webapps, and link the apps found there instead. Does this mean the only way to get the context working as expected is to create a package containing just the structure $out/webapps/guacamole that points to the war? Seems rather a workaround for something so fundamental to deploying apps.
zagy has quit [(Quit: Leaving.)]
derjohn_mob has joined #nixos
<simpson> guacamole_: Nix is all about working around architectural problems in various subsystems.
<simpson> guacamole_: If you're feeling generous, you could contribute docs, so that the next person to try Tomcat doesn't stub their toe.
<NixOS_GitHub> [nixpkgs] pSub pushed 1 new commit to master: https://git.io/vM8ll
<NixOS_GitHub> nixpkgs/master a724f66 Pascal Wittmann: lirc: 0.9.3 -> 0.9.4
<eacameron> gchristensen: Ugg...using fetchurl with multiple URLs: it expects a different hash every time I run it.
<guacamole_> simpson: How does one do that? I have yet to contribute to the docs, I see that the wiki has become read-only
<gchristensen> eacameron: must be different URLs returning different things
<eacameron> gchristensen: Eh? The first one always fails with 404
FRidh has quit [(Read error: Connection reset by peer)]
<gchristensen> you only have 2?
<eacameron> gchristensen: Yah.
<gchristensen> nix-prefetch-url that one url a few times
<guacamole_> I saw that teamviewer keeps failing because it returns different contents each fetch, and thus a different sha256
<eacameron> gchristensen: guacamole_: Heh...yep. You're right.
<eacameron> Ug.
<eacameron> So I need fetchzip :/
matthewbauer has joined #nixos
<NixOS_GitHub> [nixpkgs] pSub pushed 2 new commits to master: https://git.io/vM88v
<NixOS_GitHub> nixpkgs/master 1738be8 Pascal Wittmann: axel: 2.11 -> 2.12
<NixOS_GitHub> nixpkgs/master 655db9b Pascal Wittmann: ceptre: 2016-01-01 -> 2016-11-27
<simpson> guacamole_: The docs are in XML in the nixpkgs repo: https://github.com/NixOS/nixpkgs/tree/master/doc
<pSub> Is there still a way to login to hydra.nixos.org with a mail adress that differs from your gmail address?
pikajude has quit [(Quit: Quit)]
pikajude has joined #nixos
matthewbauer has quit [(Ping timeout: 255 seconds)]
<clever> guacamole_: half of the time, that changing hash is caused by a 404 page with the current time in it
<clever> guacamole_: one tip, nix doesnt delete the invalid .tar.gz file, so you can just open it in less and see whats going on
acowley_away is now known as acowley
goibhniu has joined #nixos
<guacamole_> simpson: but is that also the place for application specific documentation, it seems to be mostly general stuff about nixpkgs, and not the kind of contents you could found on the wiki?
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<simpson> guacamole_: The wiki isn't coming back, sorry.
Itkovian has joined #nixos
k2s has joined #nixos
ryanartecona has joined #nixos
<guacamole_> simpson: I do not mind that per se, however, that kind of helpful info, like tips in setting up my Tomcat use case, where is that now being kept, because the repo you linked seems without any of that info, but just the nixpkgs manual itself (specific around all things nixpkgs, not actual pkgs themselves)
<simpson> guacamole_: There's an entire chapter in the nixpkgs manual for specific packages, languages, and frameworks: http://nixos.org/nixpkgs/manual/#chap-language-support
georges-duperon has quit [(Quit: Leaving)]
georges-duperon has joined #nixos
<guacamole_> simpson: saw that, but I thought it would not belong, since it is not really language specific, it just happens to be implemented in Java
seanz has joined #nixos
<guacamole_> clever: yeah, it was a 404, the latest teamviewer should probably be backported, but on Arch Linux it did not work for me (version 12 of TeamViewer that is)
<simpson> guacamole_: IYSS.
acowley is now known as acowley_away
xadi has quit [(Ping timeout: 260 seconds)]
<clever> guacamole_: yeah, teamviewer has been very bad at this, i fixed teamviewer client on nixos a few months ago, then they updated it, old version stops working entirely (not permited)
<clever> guacamole_: and the new version lacks a connect button!
xadi has joined #nixos
<guacamole_> clever: yeah, I saw that version too, on Arch it does have this, but you are unable to click anything (the ID input field included)
k2s has quit [(Quit: Leaving)]
<guacamole_> clever: it is one of those few cases I still have to resort to Windows, since I do use it sometimes to help out friends and family remotely, and it is by far the easiest to setup on their machines, that I found so far.
<clever> same
pi3r has quit [(Quit: Nettalk6 - www.ntalk.de)]
<clever> i have to vnc into a windows 7 vm running under xen, with vnc running over a custom vpn
<clever> often, its been easyer to just run the android app on a cellphone
<guacamole_> clever: nice!
xadi has quit [(Read error: No route to host)]
xadi has joined #nixos
<NixOS_GitHub> [nixpkgs] pSub pushed 1 new commit to master: https://git.io/vM80V
<NixOS_GitHub> nixpkgs/master 18c0b54 Pascal Wittmann: linuxConsoleTools: 1.4.9 -> 1.6.0
<guacamole_> clever: I have yet to try that, so you can actually remote control from Android?
<clever> yep
<clever> surprisingly useable, though the keyboard can be an issue
<clever> bluetooth or usb otg can solve that
<guacamole_> clever: good to know!
<guacamole_> clever: I plan to use Xen to host both Linux and Windows in the future, do you have experience with that, is it stable and fast enough?
<clever> guacamole_: if you have enough ram to dedicate to each guest, yeah
xadi has quit [(Ping timeout: 245 seconds)]
<guacamole_> clever: It is for a desktop, so RAM should not be a problem
acowley_away is now known as acowley
mbrgm has quit [(Read error: Connection reset by peer)]
<globin> guacamole_, clever: TeamViewer is a customer of ours, fadenb is in contact with them on the issue with changing hashes
pi3r has joined #nixos
<guacamole_> globin: but from what I understand running version 11 while the other machine is running version 12 will give the user of version 11 an error anyway, so we need to upgrade the version anyway on the stable branch
mbrgm has joined #nixos
<guacamole_> globin: but regarding the changing hash, it is a webpage that is returned instead of the deb file
pi3r has quit [(Client Quit)]
<fadenb> guacamole_: oh, when I tested like half an hour ago I got a .deb file from the url defined in the package. I did not verify the contents but it was several MB in size
<copumpkin> I vaguely remember some code somewhere to feed in strings for pkgs.foo being "pkgs.foo" when generating nixos module docs
<copumpkin> anyone remember that or where it is?
<guacamole_> fadenb: less /nix/store/shxrip6cbl82c96r8i8s73lzg6dc9fdl-teamviewer_11.0.57095_i386.deb gives me the homepage it seems
<fadenb> ah, I checked the current version in nixpkgs which is 12.0.71510
<fadenb> I will talk to them tomorrow and ask about providing older files for a longer period of time. Can not guruantee anything but I am quite sure there will be a solution
<copumpkin> clever: nah, it was a design to obviate the need for defaultText
<copumpkin> maybe in a PR somewhere
<clever> ah, havent seen that one
<eacameron> is there a way to access a temp directory during a derivation?
<clever> eacameron: TMPDIR, TEMP, TMP, and TEMPDIR all point to the dir for the build, which nix will clean up when things are done
<eacameron> clever: Perfect!
<fadenb> guacamole_: have you tried https://download.teamviewer.com/download/version_11x/teamviewer_11.0.57095_i386.deb to download the file? Seems like the url changed since release of version 12
xadi has joined #nixos
<guacamole_> fadenb: that does seem to work (50MB instead of 1MB)
matthewbauer has joined #nixos
civodul has joined #nixos
MichaelRaskin has joined #nixos
ryanartecona has quit [(Quit: ryanartecona)]
matthewbauer has quit [(Ping timeout: 255 seconds)]
<guacamole_> fadenb: I run into the same problem on both version 11 and 12 once run, apparently the fix is to downgrade one of its dependencies: http://teamviewerforums.com/index.php?topic=3479.0
<guacamole_> fadenb: nvm, just a misconfiguration on my part
<LnL> is there a general opinion about foo.override { bar = null; } vs foo.override { withBar = true; }
hiratara has quit [(Ping timeout: 255 seconds)]
hiratara has joined #nixos
Jackneill_ has joined #nixos
<Jackneill_> hey
<Jackneill_> i'd like to learn how nixos works (its pkg management)
<Jackneill_> how does it handle the linker , ld.so cache etc., its FS etc.
<mrkgnao> ToxicFrog: I get a bunch of "permission denied" errors
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
ambro718 has joined #nixos
<Jackneill_> so if theres no /usr/bin, and so on, how is $PATH handled
<Jackneill_> ?
<copumpkin> Jackneill_: probably easier to ask specific questions after reading this full series: http://lethalman.blogspot.com/2014/07/nix-pill-1-why-you-should-give-it-try.html
<ToxicFrog> mrkgnao: but the database is generated despite that? That's normal.
sellout-1 has quit [(Quit: Leaving.)]
<copumpkin> Jackneill_: there's a dozen or more of those posts that should start from first principles and then build up to how it all works
<ToxicFrog> If you want it to index everything, configure it to run as root rather than nobody.
<Jackneill_> copumpkin, thanks.
<copumpkin> Jackneill_: if there are particular burning questions you have, I'm sure we could answer them as one-offs, but in general you'll probably get a more fulfilling understanding by reading that :)
<sphalerite> clever: hey, I wanted to try out your not-os thing. default.nix doesn't build out of the box on 16.09, "error: value is null while a set was expected, at /nix/store/98ak7jj36b5932bjxnb495zqfdv909mi-nixos-16.09.1445.e9a8853/nixos/pkgs/os-specific/linux/kernel-headers/4.4.nix:11:10"; are there any particular things I need to do to get it working?
<mrkgnao> ToxicFrog: oh, wow, the db was actually generated this time
<Jackneill_> copumpkin, yeah, i was looking for a guide. :)
<mrkgnao> thanks!
Itkovian has joined #nixos
mrkgnao has quit [(Quit: WeeChat 1.5)]
<copumpkin> Jackneill_: the manual is also pretty good, but less tutorialey: http://nixos.org/nix/manual/
<Jackneill_> looks more interesting than gobolinux because of the pkg hash.
<copumpkin> there are lots of other learning resources too, like http://funops.co/nix-cookbook/
<Jackneill_> but with my basic understanding i can say that game creators sgould stop complaining about dependency hell and just support nixos
<Jackneill_> so should valve.
<copumpkin> :D
<copumpkin> we do have steam in nixpkgs
<gchristensen> well obviously
<copumpkin> but I've never done anything with it
<Jackneill_> is nixos a rolling distro?
<copumpkin> in what sense?
<clever> sphalerite: ive only been testing it on nixos-unstable, try that first
<Jackneill_> archlinux sense
<Jackneill_> everything is a pkg including the kernel
<MichaelRaskin> Well, you can just run off the nixos-unstable channel which is a rolling release
<Jackneill_> you get the newest always
digitalmentat has quit [(Ping timeout: 258 seconds)]
<Jackneill_> not in bundles like ubuntu
<copumpkin> Jackneill_: everything is a package, but we have stable channels and unstable ones
<copumpkin> unstable is always latest
<MichaelRaskin> Everything is pkg including the kernel? Pff. What about Xorg.conf being a package
<copumpkin> by everything, I mean everything
<gchristensen> yeah man, xorg.conf is a package
<copumpkin> yeah what MichaelRaskin said
<gchristensen> Jackneill_: here are some notes I have about channels: https://gist.github.com/grahamc/1853598c8a0194659d18db021cf41be2
<MichaelRaskin> Well, grub.cfg is not exactly a package, it is concatenated imperatively
<LnL> gchristensen: you should post that somewhere properly
<gchristensen> LnL: I know :(
<LnL> not sure where tho
ryanartecona has joined #nixos
<Jackneill_> is nix binary based ? i mean the official repos have binaries or i need to build everything from src?
<Jackneill_> or can i do both?
<copumpkin> Jackneill_: both
<gchristensen> nix is a hybrid system
<Jackneill_> awesome
<guacamole_> there are caches that can supply you with binaries
<copumpkin> what we distribute/key off of is instructions on how to build everything
<copumpkin> but the hashes of those build instructions allow you to download pre-built stuff if it's available
<MichaelRaskin> You can only define a package in term of its build process
<MichaelRaskin> But there are cached outputs of the builds
<clever> sphalerite: warning: Nix search path entry ‘/root/nixpkgs-channels’ does not exist, ignoring
<sphalerite> >_>
<sphalerite> <_<
<gchristensen> LnL: I pasted the full thing and tagged vcunat to do it ;) https://gist.github.com/grahamc/c60578c6e6928043d29a427361634df6
tvon has quit [(Ping timeout: 240 seconds)]
<sphalerite> clever: fixed path, still the same thing
<clever> sphalerite: and you will probably want some -A, maybe -A runner
<ertes> the instructions at <https://nixos.org/nix/manual/#chap-hacking> seem to be out of date… could someone tell me what's the proper way to hack on nix?
<LnL> so nice to have distributed builds working again <3
<ertes> (e.g. the dev-shell script is no longer there)
<NixOS_GitHub> [nixpkgs] rycee pushed 3 new commits to master: https://github.com/NixOS/nixpkgs/compare/18c0b5498194...b0106b66fd1d
<NixOS_GitHub> nixpkgs/master 5d27239 Robert Helgesson: perl-mod_perl2: use cpan mirror...
<NixOS_GitHub> nixpkgs/master 5bf06ac Robert Helgesson: eclipse-plugin-checkstyle: 7.2.0 -> 7.3.0
<NixOS_GitHub> nixpkgs/master b0106b6 Robert Helgesson: perl-Net-HTTP: 6.09 -> 6.12
<sphalerite> clever: same with -A runner, -A test1 and -A config
<sphalerite> err no
<NixOS_GitHub> [nixpkgs] abbradar opened pull request #21771: kdeWrapper: postpone /share linking till final buildEnv (master...kde-wrapper) https://git.io/vM8o3
<sphalerite> -A test1 does nothing
<sphalerite> the other two fail
<clever> sphalerite: ah i see, a recent change in unstable broke it
k0001 has quit [(Quit: Connection closed for inactivity)]
<clever> sphalerite: all x86 jobs vanished on dec 22nd
<clever> sphalerite: nixpkgs c9d1d430ec34d667ce9d0b86f843801d1cf3b753 is the last one to pass tests, i'll fix it when i get a chance
<sphalerite> Cool, thanks for the help!
<copumpkin> hmm, did ertes part?
<ertes> copumpkin: nope, still here
<copumpkin> weird
<copumpkin> my client thinks you're not
<copumpkin> ertes: nix-shell should take the place of dev-shell
<ertes> that's weird indeed =)
<copumpkin> the rest should be the same
<ertes> ah, great! that integrates nicely here
<ertes> thanks
<copumpkin> yeah, I think dev-shell was from before nix-shell was as widespread
ktosiek has quit [(Ping timeout: 268 seconds)]
ebzzry has joined #nixos
<sphalerite> wow, hydra is awesome
<gchristensen> hydra is indeed pretty awesome
<gchristensen> also definitely not awesome
<gchristensen> it just depends on which part you're looking at
<sphalerite> haha
<ertes> could someone assess the difficulty of making nix-env -q free all its memory after the evaluation part is done? right now it holds on to hundreds of megabytes of memory while it waits for the pager to terminate
<simpson> I am eagerly awaiting Hercules.
<sphalerite> the fact that it has a "reproduce this build" button is awesome
<ertes> i'd like to fix that
<simpson> But Hydra is awesome compared to many other CI systems.
<clever> ertes: i think the reason, is that the pager hasnt read all input, and nix-env is blocking on a write, in the middle of iterating the data
<sphalerite> is Hercules meant to kill Hydra?
<ertes> clever: let me try
<simpson> ertes: What clever said. You can check by piping nix-env to a pager in another process and seeing whether it still does this.
<simpson> sphalerite: Hercules is a new API with the same database schema as Hydra. #nixos-hercules for more. It's not ready yet, but I'm looking forward to it.
<ertes> doesn't seem to be true… nix-env still holds on to the memory even after less is convinced that it has read up to EOF
<simpson> Hydra is very ad-hoc and undocumented as far as administration goes. I do *not* enjoy running my own Hydra.
<sphalerite> seems nice
ktosiek has joined #nixos
<sphalerite> clever: the latest commit on not-os also breaks it somehow btw
<sphalerite> (but it works fine on the second most recent)
<clever> sphalerite: latest one is when i added a bunch of half-finished stuff to allow nix-daemon on an rpi
<clever> sphalerite: need to finish that as well
<sphalerite> ah ok
<ertes> i've checked the source code: opQuery indeed doesn't seem to release its memory at all
<ertes> i'll try to fix that
<clever> sphalerite: i should probably use branches more when i know things are going to break
tvon has joined #nixos
k2s has joined #nixos
goibhniu has quit [(Ping timeout: 240 seconds)]
hiratara has quit [(Quit: ZNC - http://znc.in)]
AllanEsp1nosa has joined #nixos
<ertes> one more question: should i hack from master, or is there a development branch?
hiratara has joined #nixos
mguentner2 is now known as mguentner
Itkovian has quit [(Quit: Textual IRC Client signing off)]
bennofs1 has joined #nixos
Itkovian has joined #nixos
newhoggy2 has joined #nixos
sellout- has joined #nixos
ebzzry has quit [(Quit: leaving)]
<ertes> (BTW, the source code is really easy to understand and pleasant to read – kudos!)
k2s has quit [(Quit: Leaving)]
<gchristensen> ertes: on what project?
<ertes> gchristensen: nix
<gchristensen> probably against master
<clever> sphalerite: bbl
matthewbauer has joined #nixos
Guest64085 has quit [(Quit: WeeChat 1.2)]
<ertes> thanks
<ertes> if i run 'make install', where will it install?
<NixOS_GitHub> [nixpkgs] abbradar pushed 1 new commit to master: https://git.io/vM8Xh
<NixOS_GitHub> nixpkgs/master 41b69a0 Nikolay Amiantov: spidermonkey_{31,38}: fix sed problem with build
matthewbauer has quit [(Ping timeout: 240 seconds)]
<sphalerite> ertes: I think the idea is to run nix-build
<ertes> sphalerite: sure, i'm just wondering what's the proper way to test… i guess 'make' is enough for that
<sphalerite> wait never mind, there is no default.nix in nix
<ertes> oh, i'm stupid
<ertes> it says it in the manual =)
<sphalerite> is there any particular reason startx can't be used on nixos? Is it because of X needing to run with certain privileges?
<sphalerite> i.e. basically because setuid executables aren't allowed in the store?
roconnor__ has quit [(Ping timeout: 252 seconds)]
<NixOS_GitHub> [nixpkgs] LnL7 pushed 1 new commit to staging: https://git.io/vM8DH
<NixOS_GitHub> nixpkgs/staging bba12a6 Daiderd Jordan: Merge branch 'master' into staging
georges-duperon has quit [(Ping timeout: 252 seconds)]
Jackneill_ has quit [(Remote host closed the connection)]
ryantrinkle has quit [(Ping timeout: 248 seconds)]
benzrf has joined #nixos
<benzrf> concept: push nix as a standalone tool enabling you to distribute your software w/o dependency pain, just as a nix file
<benzrf> i bet a lot of ppl would get on board with something billing itself like "just write a plaintext file and then users will be able to feed it to nix without worrying about installing dependencies, polluting their environment, or setting up a sandbox"
<NixOS_GitHub> [nixpkgs] mguentner opened pull request #21772: subsurface: rev update for 4.5.97 (master...subsurface_beta_fix) https://git.io/vM8SZ
danharaj has quit [(Ping timeout: 255 seconds)]
<MichaelRaskin> Like some tutorials for Haskell recommend to do when setting up an environment?
<MichaelRaskin> Please note: Nix initial installation documents usually imply root (it is not strictly required, unless you want shared store or sandboxing or binaries compatible with the binary cache), most build processes can be performed without root.
c0bw3b has left #nixos []
<clever> sphalerite: setuid does work on nixos, see sudo and su (run type su on a nixos box)
<clever> sphalerite: i think the bigger issue, is that systemd doesnt allow it
<sphalerite> right, but it doesn't live in the store
MoreTea has quit [(Ping timeout: 258 seconds)]
<clever> sphalerite: something in the activation scripts sets that up on boot
<sphalerite> I'm pretty sure that systemd (or more specifically logind) is what makes it possible to use startx without adding any privileges to the X executable
<clever> sphalerite: the last time i debugged xorg heavily, it was common to just mmap /dev/mem directly
<sphalerite> oh man, debugging xorg heavily sounds like fun :p
Shou has quit [(Ping timeout: 248 seconds)]
wangoe has quit [(Quit: WeeChat 1.4)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
siarheit_ has quit [(Ping timeout: 260 seconds)]
civodul has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
zagy has joined #nixos
zagy has quit [(Client Quit)]
guacamole_ has quit [(Quit: Page closed)]
ryanartecona has quit [(Quit: ryanartecona)]
Shou has joined #nixos
eacameron has quit [(Remote host closed the connection)]
matthewbauer has joined #nixos
michas has quit [(Ping timeout: 240 seconds)]
itorres has quit [(Ping timeout: 268 seconds)]
matthewbauer has quit [(Ping timeout: 255 seconds)]
itorres has joined #nixos
Shou has quit [(Ping timeout: 255 seconds)]
systemfault has joined #nixos
xadi has quit [(Read error: Connection reset by peer)]
xadi has joined #nixos
<sphalerite> I want to customise my window manager (i3) through nix for my individual user. The approach I'm taking is to create a wrapper for i3 which points it to the config, which is also added into the store. This builds fine, but what's the best way to get the display manager to execute it properly? For now it's starting i3 from the i3 package, the behaviour is defined by nixos/modules/services/x11/window-manage
<sphalerite> rs/i3.nix
mudri` has joined #nixos
<sphalerite> Would the best way be to have it search PATH, then try running the i3 from the package? i.e. if type i3 &>/dev/null ; then i3 & ; else ${pkg}/bin/i3 [...] ; fi
<sphalerite> Or is there another better way of allowing the user to decide what their session does?
mudri has quit [(Ping timeout: 245 seconds)]
<clever> sphalerite: this script gets ran by the display manager after it has set the uid correctly, and it is ready to launch the chosen desktop manager