Nycatelos has joined #nixos
seanz has quit [(Quit: Leaving.)]
<NixOS_GitHub> [nixpkgs] LnL7 pushed 1 new commit to master: https://git.io/vMHrR
<NixOS_GitHub> nixpkgs/master c7d49e5 Daiderd Jordan: darwin: fixed eval of frameworks
wrl has joined #nixos
AmiableCitizen has joined #nixos
Nycatelos has quit [(Excess Flood)]
Nycatelos has joined #nixos
MP2E has quit [(Quit: leaving)]
FareTower has quit [(Ping timeout: 256 seconds)]
MP2E has joined #nixos
[0x4A6F] has quit [(Ping timeout: 248 seconds)]
<deepfire> who should I ping for a new package PR review?
<LnL> depends on what package
[0x4A6F] has joined #nixos
hexa- has quit [(Remote host closed the connection)]
<LnL> deepfire: is it still on the first page?
<deepfire> LnL, no, second page, https://github.com/NixOS/nixpkgs/pull/21815
cruxeternus has quit [(Ping timeout: 246 seconds)]
hexa- has joined #nixos
Nycatelos has quit [(Quit: Party like it's December 31st, 1983)]
cantstanya has quit [(Ping timeout: 252 seconds)]
ilja_kuklic has quit [(Quit: ilja_kuklic)]
[0x4A6F] has quit [(Ping timeout: 245 seconds)]
[0x4A6F] has joined #nixos
[0x4A6F]_ has joined #nixos
athan has joined #nixos
cantstanya has joined #nixos
AllanEspinosa has quit [(Ping timeout: 256 seconds)]
AllanEspinosa has joined #nixos
[0x4A6F] has quit [(Ping timeout: 240 seconds)]
[0x4A6F]_ is now known as [0x4A6F]
[0x4A6F]1 has joined #nixos
thc202 has quit [(Read error: Connection reset by peer)]
erasmas has quit [(Quit: leaving)]
mizu_no_oto has joined #nixos
endformationage has quit [(Ping timeout: 252 seconds)]
AmiableCitizen has quit [(Ping timeout: 240 seconds)]
[0x4A6F] has quit [(Ping timeout: 240 seconds)]
[0x4A6F]1 has quit [(Ping timeout: 240 seconds)]
[0x4A6F] has joined #nixos
<deepfire> LnL, updated the PR in accord with your review suggestions
<LnL> perhaps use stdenv.lib for everything then it's consistent and you can remove the lib argument
markus1199 has joined #nixos
<deepfire> done!
markus1189 has quit [(Ping timeout: 240 seconds)]
<clever> Unode: i happen to be awake now
xadi has joined #nixos
panostimos has quit [(Quit: .)]
<NixOS_GitHub> [nixpkgs] ttuegel pushed 1 new commit to master: https://git.io/vMHiq
<NixOS_GitHub> nixpkgs/master 1e266da Thomas Tuegel: ibus: make panel configurable
<NixOS_GitHub> [nixpkgs] LnL7 pushed 2 new commits to master: https://git.io/vMHiR
<NixOS_GitHub> nixpkgs/master 7ceca3d Kosyrev Serge: irony-server: init at 'same-version-irony-of-chosen-elpa`
<NixOS_GitHub> nixpkgs/master 78c68f2 Daiderd Jordan: Merge pull request #21815 from deepfire/irony-server...
<LnL> deepfire: ^
<Unode> clever: that explains it, I'm about to dive :) timezone?
<deepfire> LnL, thanks!
<clever> Unode: Fri Jan 20 21:00:58 AST 2017
<Unode> Sat 21 Jan 02:01:13 CET 2017 not so bad then
<LnL> Unode: that's the same timezone as me :)
<clever> main thing, is that i sleep when you least expect it :P
<clever> Unode: today, i slept from 11am to 8pm
<deepfire> is there a semi-manual way to step through the build of a haskell package?
<Unode> clever: half way around the globe?
<Unode> or doing a night shift?
<clever> Unode: currently in NB canada, with no fixed schedule
mojjo has quit [(Remote host closed the connection)]
<Unode> :)
<deepfire> there's a bunch of stages the generic builder performs, and sometimes it's rather hard to deduce exactly where something's gone awry
<deepfire> so stepping a build manually inside a nix shell would be a boon
<deepfire> but the builder is so multistage it's rather hard to do manually -- so that's why some kind of semi-automation is desired
<LnL> deepfire: nix-shell -A hello; unpackPhase; cd $sourceRoot; patchPhase; configurePhase; buildPhase;
<deepfire> LnL, that's for the generic build
<clever> deepfire: there is also a debug variable, one min
<deepfire> LnL, haskell builds are somewhat more elaborate
<clever> deepfire: add NIX_DEBUG=true; to the derivation, and nix-build will tell you a lot more
<LnL> yeah, I don't know off the top of my head what the extra phases are but this should still work
<deepfire> pkgs/development/haskell-modules/generic-builder.nix
<deepfire> LnL, the problem is -- when you approach the haskell build with the generic granularity -- it's too coarse for debug
<LnL> deepfire: //github.com/NixOS/nixpkgs/blob/master/pkgs/development/haskell-modules/generic-builder.nix#L163-L165
<deepfire> LnL, absolutely, but there's a lot going on inside these phases
<LnL> the haskell mkDerivation just has a bunch of extra phases that happen before configure/install/...
<deepfire> sure
copumpkin has quit [(Quit: My MacBook Pro has gone to sleep. ZZZzzz…)]
<deepfire> what I would like is some kind of way to step them -- although at this point I'm beginning to realise it's not really amenable to automation
nixnode has quit [(Ping timeout: 260 seconds)]
<LnL> best thing I can think of is set -x; eval "$setupCompilerEnvironmentPhase"
danharaj has quit [(Ping timeout: 240 seconds)]
<LnL> that should show you the commands that are executed an give you some idea of what went wrong
<deepfire> yes, that might be the way to go, indeed
<deepfire> I was just hoping for something.. more helpful : -)
<deepfire> there's this ill-at-ease kind of marriage between imperative shell and purely functional nix in these builder definitions
<deepfire> no real modularity or introspectability or structure in how the thing is constructed
<NixOS_GitHub> [nixpkgs] AtnNn opened pull request #22009: vmTools: add Ubuntu 16.10 and Debian 9pre (master...vmtools) https://git.io/vMHPo
<deepfire> it's feels like some kind of ad-hoc construct, growing more appendages as time goes..
<justan0theruser> I'm trying to run this install script: https://paste.debian.net/plain/909683 but I'm getting error: cannot auto-call a function that has an argument without a default value (stdenv)
<justan0theruser> when I run nix-env -i -f install-cudnn.nix
<clever> justan0theruser: nix-env -i -E 'with import <nixpkgs> {}; callPackage ./install-cudnn.nix {}'
<justan0theruser> error: attempt to call something which is not a function but a set, at undefined position
pxc has quit [(Ping timeout: 256 seconds)]
<clever> justan0theruser: remove line 1&2, and uncomment line 3
ToxicFrog has joined #nixos
<justan0theruser> same error
AllanEspinosa has quit [(Ping timeout: 255 seconds)]
<clever> justan0theruser: are you just testing it, or do you want to install it?
jsgrant- has quit [(Read error: Connection reset by peer)]
<clever> justan0theruser: and further down, you want tar -xzvf $src, otherwise the build will fail when the sandbox is enabled
<ToxicFrog> Sooo
<ToxicFrog> I can go imports = [ ./services/smb.nix ]
<ToxicFrog> How do I do imports = [ ./services/${service_name}.nix ]?
<ToxicFrog> That's a syntax error, and if enclosed in quotes it complains the import path is not absolute.
justanotheruser has joined #nixos
Fare has joined #nixos
<Nadri> imports = (import "./services/${service_name}.nix") ] ?
<Nadri> *imports = [ (import "./services/${service_name}.nix") ] ?
justan0theruser has quit [(Ping timeout: 248 seconds)]
<ToxicFrog> "string doesn't represent an absolute path"
endformationage has joined #nixos
<gchristensen> ooooeuoeu
<gchristensen> oops
<deepfire> clever, I have tried but hadn't got much more information from: export NIX_DEBUG=true; nix-build -A haskellPackages.gi-pango --check '<nixpkgs>' >pango.log 2>&1
<gchristensen> I reduced hydra-queue-runner's run time by 300ms per job :o
<clever> deepfire: its not an env variable, its an attribute you have to set inside the nix expression
<gchristensen> no that can't be right... but I reduced it a lot ;)
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
<deepfire> clever, from what 'ag' tells me, it is something that is at very least /used/ as a shell variable
eacamero_ has joined #nixos
<deepfire> clever: e.g. it only textually happens inside .sh files in nixpkgs
<clever> deepfire: nix will nuke the environment variables at the start of every build, and initialize it with all attributes inside the derivation its building
<deepfire> *appears
<clever> deepfire: so env vars outside of nix-build cant leak in, only attributes set on the derivation, which affect its hash
<deepfire> aha, I just thought it's a magic thing, passed inside
<clever> this is also how src = fetchurl ... winds up in $src during the build
eacameron has quit [(Ping timeout: 240 seconds)]
<deepfire> so, specifying NIX_DEBUG inside the attrset argument to mkDerivation is a no-go
mudri has joined #nixos
<clever> and haskell may be messing with the attrset some
<clever> the nix functions for haskell
eacamero_ has quit [(Ping timeout: 240 seconds)]
<deepfire> yes, got it..
vaibhavsagar has joined #nixos
eacameron has joined #nixos
eacamero_ has joined #nixos
c74d has joined #nixos
eacameron has quit [(Ping timeout: 252 seconds)]
eacamero_ has quit [(Ping timeout: 264 seconds)]
<Fare> oh noes, kernel compilation! :-(
<Fare> I don't understand why what I changed in my configuration.nix saved a type error, but oh well.
<Fare> maybe the kernel will be done compiling tomorrow
<clever> ive found that kernel compiles are fairly short now, compared to things like chromium
<pikajude> short compared to chromium, lol
eacameron has joined #nixos
<Fare> how do I increase parallelism while compiling the kernel, already?
* Fare sets kernel to 4.9 instead of testing, and there, no more kernel compilation.
eacamero_ has joined #nixos
* Fare reboots... see you in a better NixOS!
Fare has quit [(Remote host closed the connection)]
eacameron has quit [(Ping timeout: 255 seconds)]
mudri has quit [(Quit: WeeChat 1.6)]
AllanEspinosa has joined #nixos
* ToxicFrog flails at nixops
<ToxicFrog> It badly needs either:
<ToxicFrog> - a way to recover the generated deployment keys so you can add them to authorized_keys manually when they get removed by 'nixos-rebuild switch'
<ToxicFrog> - or a way to tell it NOT TO GENERATE KEYS IN THE FIRST PLACE and just trust that 'ssh root@host' will do the right thing
<ToxicFrog> Documentation would also be nice.
<ToxicFrog> 'send-keys' looks like it tries to be what I want, but if it thinks you have keys for those machines it tries to use them, which is a problem because if you're running send-keys obviously those keys won't work!
<clever> ToxicFrog: related, there is ssh-copy-id
<clever> which assumes you can either enter a pw, or your ssh agent has a key not in ~/.ssh/id_rsa that can get in
<ToxicFrog> clever: yeah, but that requires me to feed it the key to copy
<ToxicFrog> and nixops stuffs the key into an sqlite3 database file somewhere
<clever> ouch
<ToxicFrog> And then if the key exists in the db tries to use it exclusively even if the matching authorized_key entry on the remote got deleted
<clever> need to store it to a file and -i then
<ToxicFrog> Right, but that requires me to extract it from the sqlite3 db first
<clever> yeah
<ToxicFrog> To be clear, this isn't some kind of nixops key-import mechanism; the first time you run it it generates a nixops-specific keypair for each host and uses that exclusively for all future operations.
<ToxicFrog> On the controller it goes in the sqlite3 state file; on the remotes it goes into /etc/ssh/authorized_keys.d/root
<ToxicFrog> ...but the latter will get destroyed by a 'nixos-rebuild switch' on the remote, leaving the only copy of the public key in the sqlite3 file.
<ToxicFrog> Which isn't a problem if you're using nixops to manage livestock, but if you're using it to manage pets -- like, say, making sure all your family computers have working, consistent backups -- it's really fragile.
<clever> /etc/ssh/authorized_keys.d/root is managed by setup-etc.pl, and should never be touched directly
<clever> you should either be using ~/.ssh/authorized_keys, or the configuration.nix
<clever> so id say nixops has to have the path fixed
<ToxicFrog> clever: the keys get inserted into the built configuration by 'nixops deploy'
<ToxicFrog> So they aren't in configuration.nix, but they are part of the nix configuration
<clever> also, you shouldnt be using nixos-rebuild on a nixops target
<clever> ahh
<clever> nixops servers shouldnt even have a configuration.nix, as far as im concerned
<ToxicFrog> But that's *only* the configuration on the nixops controller; nixops makes no attempt to make sure the contents of /etc/nixos bear any resemblance to the configuration built on the controller.
<clever> the config must be built by the original master that made it
Fare has joined #nixos
<ToxicFrog> And even if you manually sync it, it won't contain the configuration injected by 'nixops deploy'.
<clever> i would always delete configuration.nix from nixops machines
<ToxicFrog> What I'm getting here is that nixops is fundamentally not the right tool for what I want to do and I should be using ansible on top of nix or something.
<ToxicFrog> Deleting configuration.nix from the managed machines isn't an option because some of them are end-user machines; they need to be able to make local edits and 'nixos-rebuild switch' without destroying the world.
mizu_no_oto has joined #nixos
<Fare> what are you trying to do and what's wrong with nixops?
<Fare> or disnix
<ToxicFrog> I think the root problem here is that I want nixops to only manage part of each system
<Fare> why not all?
<ToxicFrog> e.g. making sure everything has backup software installed, while still letting end users tinker with their local configs
<ToxicFrog> Fare: because these are pets, not livestock. Family laptops and such.
<Fare> if users can have their default.nix ?
zagy1 has joined #nixos
<Fare> and/or their overrides to import?
<ToxicFrog> This was pretty easy to do with ansible, but I figured since moving to nix I should try nixops.
<Fare> do they build software, or just install different packages/
<Fare> ?
<Fare> or just share the list of packages
zagy has quit [(Ping timeout: 245 seconds)]
<ToxicFrog> (this also means that nixops is incompatible with nixos's auto-upgrade option, because every morning it'll run 'nixos-rebuild switch' and toast the nixops deployment keys; presumably the assumption is that you leave that off and instead have a timer on the controller to build and push updated configs)
<simpson> ToxicFrog: This has led me to consider a hypothetical bastion server which manages nixops deployments.
<simpson> Analogous to the role of a Puppetmaster.
<ToxicFrog> (nixops also assumes that you actually *want* to build everything on the controller and then nix-copy-closure, which is the exact opposite of what I want)
<ToxicFrog> simpson: I'm not really familiar with puppet
<simpson> ToxicFrog: You push a git repo, CI runs, a "Puppetmaster" checks out the repo. Async with that, the Puppetmaster delivers Puppet configurations to machines, each of which check in with the Puppetmaster nightly (or whenever.)
<simpson> So, when you push a configuration change, your fleet slowly updates over the next day/interval.
<ToxicFrog> That's kinda-sorta similar to what I want
<ToxicFrog> Thinking on it more, I think the behaviour I'm after is something like
<ToxicFrog> On deploy, check all machines to see if they have local changes
<ToxicFrog> If they do, commit and pull them
<ToxicFrog> Then push local config to all machines and nixos-rebuild switch them
<ToxicFrog> s/local/master/
AmiableCitizen has joined #nixos
<endformationage> When using patchelf to change the linker's path, does it matter whether I use $NIX_CC/nix-support/dynamic-linker or ${stenv.cc.libc.outPath}/... ?
<endformationage> Is one preferred?
AmiableCitizen has quit [(Ping timeout: 240 seconds)]
<clever> endformationage: most places ive seen use $NIX_CC/nix-support/dynamic-linker
<endformationage> Alright.
deepfire has quit [(Ping timeout: 276 seconds)]
deepfire has joined #nixos
<eacamero_> Is there a way to tell nix to build a package locally instead of sending it pre-built from a cache?
<eacamero_> In my case the cache is large and the build step is easy.
athan has quit [(Remote host closed the connection)]
<clever> eacamero_: --option binary-caches "" i think
eacamero_ is now known as eacameron
<eacameron> clever: What's that an option to? I thought maybe there was a way in the derivation to tell it to prefer local builds or something.
<clever> oh that, thats also possible
<clever> grep on nixpkgs should confirm
<clever> preferLocalBuild = true; i think
<eacameron> clever: Sure enough!
<eacameron> Woot!
<eacameron> Thanks.
mbrgm has quit [(Ping timeout: 264 seconds)]
mbrgm has joined #nixos
paroneayea has quit [(Changing host)]
paroneayea has joined #nixos
<eacameron> Sigh...I'm getting this all wrong. I need a way to depend on things without making them part of the closure. I.e. static link. Except in my case it's literally just copying files.
<gchristensen> for a bad time, check out this SQL: https://gist.github.com/grahamc/201af312deef08f7ab597ed92bde8a52
<clever> eacameron: if you copy the files, and they dont contain any internal references, there should be no runtime dependency
<clever> eacameron: you can use grep to check for its old path within the file and see if thats causing the issue
<eacameron> clever: Right...but nixops still thinks it needs to copy the whole closure
<clever> eacameron: run nix-store --query --tree on the final result
<eacameron> clever: I'd just use a symlink...but for some dumb reason this PHP app can't handle it. I think it reflects on its own path and then freaks.
<clever> and confirm if its a dependency or not, and via what
<clever> ahh, if your copying it from a->b, then it cant reuse the a between copy-closure runs, and every time b changes, yeah that can be a pain
<clever> id just fix the php code
<eacameron> clever: Yah that makes sense, and that command is awesome. So yes it's actually depending on another folder which is largely identical. I'd be fine with it copying the result, but it's copying both the result and the dependency, which is just where it copies stuff from.
<eacameron> clever: Essentially I'm using `./src`, copying it, modifying it. But it's copying both the original source and the modified version. I don't care about the original.
<clever> eacameron: can you pastebin the output of --tree and point out which path you dont want?
hexagoxel has quit [(Ping timeout: 256 seconds)]
<eacameron> clever: Sure and thanks for helping! I *only* want "craft-app" : http://lpaste.net/5932621880535023616
<clever> eacameron: aha, line 4 tells me everything, the src refers to itself
<clever> so if you copy the source, it will still internaly be refering to itself
<clever> eacameron: run this, "grep -r l557a8749l88icgwhh8g5m247zg3n3i4 /nix/store/a3cfnz9zm2dm79kvmfqaa2bmqivmlvmn-craft-app"
<eacameron> clever: Oh geez you're right! And that's a bug!
<eacameron> clever: You're insane!
<eacameron> in a good way. ;)
acarrico has quit [(Ping timeout: 260 seconds)]
dramforever has joined #nixos
RchrdB has quit [(Quit: Leaving)]
hexagoxel has joined #nixos
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
<clever> eacameron: nix will basicaly run the same grep command every time a build finishes, to figure out what the runtime deps are
<eacameron> clever: Seriously?
<eacameron> Wow.
<clever> yep
<eacameron> So it basically *infers* the closure...
<clever> it even runs it on binary files, thats how it finds the elf files you depend on
<eacameron> I thought it just assumed that if it was used during the build in needed it.
<clever> and if you have debug symbols enabled, pointing to the source, you now depend on the source at runtime
<eacameron> clever: That's sick!
<eacameron> Nix never ceases to amaze me.
ericsagnes has quit [(Ping timeout: 256 seconds)]
acarrico has joined #nixos
<c74d> NixOS doesn't put program crash memory-dumps somewhere by default, does it?
<clever> coredumps are off by default
<c74d> a QEMU VM of mine just crashed trying to free() an invalid pointer and now I hear lots of disk I/O
<c74d> okay, thanks
deepfire has quit [(Ping timeout: 256 seconds)]
deepfire has joined #nixos
<eacameron> clever: Could I hardlink instead of symlink in the derivation?
<eacameron> clever: That would solve it. ;)
<clever> maybe, but copy-closure wont see the hardlink
<eacameron> clever: Oh...so it'll still copy it.
ertes has joined #nixos
<clever> yeah
deepfire has quit [(Ping timeout: 245 seconds)]
phreedom has quit [(Remote host closed the connection)]
dhess has joined #nixos
<dhess> Hi, I've got a headless Intel NUC running NixOS. I want to use it to encode live streams using ffmpeg with hardware vaapi support. Anyone around who has experience with vaapi on a headless box?
<dhess> Unfortunately /run/opengl-driver doesn't exist, which is breaking everything. I've got hardware.opengl.driSupport = true; and hardware.opengl.extraPackages = [ pkgs.vaapiIntel ]; in configuration.nix
<clever> dhess: one min
<clever> dhess: it needs hardware.opengl.enable = true; to create that symlink
<dhess> ahh ok
<clever> normaly, enabling xorg will do that for you, along with configuring the right driver automaticaly
<clever> but since its headless, you didnt enable xorg
<dhess> right
<clever> it will still read services.xserver.videoDrivers to figure out which drivers to use
<clever> even with xorg disabled
<dhess> so I just set that to the chipset on my NUC I suppose?
<dhess> nope, not even needd
<dhess> needed
<dhess> thanks so much clever!
<dhess> vainfo is now reporting hardware. Very nice.
Sonarpulse-Work has quit [(Ping timeout: 255 seconds)]
<vaibhavsagar> hi, how do I set doCheck = false in a package downloaded from github?
mguentner has quit [(Quit: WeeChat 1.6)]
<NixOS_GitHub> [nixpkgs] robbinch opened pull request #22010: haskellPackages.tinc: 20161102 -> 20161119 (master...pkg-tinc) https://git.io/vMH99
mguentner has joined #nixos
Sonarpulse has joined #nixos
dramforever has quit [(Quit: Leaving)]
athan has joined #nixos
<justanotheruser> clever: same error
<justanotheruser> (I guess my message didn't transmit last time)
<clever> justan0theruser: are you just testing it, or do you want to install it?
<clever> justan0theruser: and further down, you want tar -xzvf $src, otherwise the build will fail when the sandbox is enabled
<justanotheruser> I want to intsall it, the right(tm) way
<clever> then you can just nix-env -iA nixos.cudnn
<clever> justanotheruser: something else that will both help testing, and save you trouble down the road, is to install it as a packageOverride in ~/.nixpkgs/config.nix
<clever> and months later, when you want to rebuilt it for whatever reason, you dont have to remember the exact command we used previously
<clever> justanotheruser: http://pastebin.com/f3GwsE5Y a part of my config.nix, doing the same thing for toxvpn
<justanotheruser> cudnn is part of the main channel?
<clever> no, but if you add it to config.nix like i did with toxvpn, you can act like it was
Wizek has quit [(Ping timeout: 256 seconds)]
<justanotheruser> I dont' follow. that is a nix file, I have a tgz file
<justanotheruser> I am trying to add to nix store at the moment
<clever> justanotheruser: https://gist.github.com/cleverca22/ed3dc79e5f427343cf57ac5b035ba036 put both of these files into ~/.nixpkgs/ and then nix-env -iA nixos.cudnn
<justanotheruser> can I do the same except just put cudnn in configuration.nix?
athan has quit [(Remote host closed the connection)]
<clever> justanotheruser: if using configuration.nix, it would look like this: https://gist.github.com/cleverca22/ed3dc79e5f427343cf57ac5b035ba036
<justanotheruser> seems nixos already is aware of cudnn, but it is cudnn7
moet has joined #nixos
<clever> line 6 of the last gist creates a new entry for cudnn8, and calls it just "cudnn"
<justanotheruser> ah
<moet> how can i tell if my processor is 32 or 64 bit? it's a Intel Atem N450.. i have very little ram (1gb) and i'm about to reinstall nixos.. i'm trying to decide if it's better to use the 32bit version to save on ram..
<clever> moet: look for lm (long mode) in /proc/cpuinfo
<clever> address sizes : 48 bits physical, 48 bits virtual
<clever> and also this
<justanotheruser> I get error: undefined variable ‘cudnn8’ at /etc/nixos/configuration.nix:41:5
<clever> justanotheruser: because like 6 says the name will just be cudnn
ericsagnes has joined #nixos
<clever> cudnn = pkgs.callPackage ./install-cudnn.nix {};
<moet> 32 bits physical, 48 bits virtual .. so 32 bit?
<justanotheruser> right, I changed it to cudnn8
<clever> moet: 64bit cpu, with a 32bit address bus on the mobo
<justanotheruser> because cudnn is already looking for 7.0
<moet> it has long mode
<clever> moet: yep, so it can run 64bit code, but its got a hard limit of 4 gig of ram
<moet> clever: hmm.. does that mean it's less-optimal to run 32 bit?
<moet> the current nixos i have is i686, which i think is 32 bit
<clever> to me, it sounds like somebody made a 64bit cpu with a 32bit pinout, so it could work on older 32bit motherboards
<clever> but it should still run 64bit code faster then 32bit code
<moet> clever: at a trade-off of using more ram, in some places, i guess.
<clever> i686 is 32bit
<clever> i have upgraded from 32 to 64 before with just nixos-rebuild, but its far simpler to just boot a 64bit ISO and re-run nixos-install
<moet> hmm.. ok! thanks. i'll try the 64 bit and compare subjective speed
<moet> yeah, i'm going to just boot the iso
<clever> you dont have to format, it will just make a 64bit variant from your existing configuration.nix, and update
<moet> yay!
<moet> i might delete the directories under / (except /home) first though, as i think my install is borked somehow
<clever> and this actualy gives me an idea
<clever> its pretty hard to break /nix, and you would want to keep /etc/nixos or youll have to redo all the config
<moet> it keeps trying to compile aeson 1.0.2 from scratch when i go to install haskell-stack..
<clever> gchristensen: it would be a bit more complex, but if i use a 32bit shell, kexectools, and cpio in https://github.com/cleverca22/nix-tests/blob/master/kexec/configuration.nix#L17
<moet> i have no overrides or anything..
<clever> gchristensen: i could have it boot a 64bit kernel from a 32bit guest
<gchristensen> oohh
<moet> i'll keep my configuration.nix and my wpa_supplicant.conf.. i don't think i need anything else though
<clever> gchristensen: also, i ran this against a racklodge server lastnight, it booted up just fine, and i was able to image the entire sda, and i plan to install nixos next
<justanotheruser> so using that paste exactly, I get this when building with evironment.systempackages containing cudnn https://paste.debian.net/plain/909784
mizu_no_oto has joined #nixos
<clever> justanotheruser: something elsewhere in your system is referencing cudann7
<clever> justanotheruser: review the contents of your configuration.nix and any files it references
<clever> gchristensen: ah, i sometimes do that kind of thing with mysql, havent really looked into hydra's pgsql db yet
<justanotheruser> clever: only references hardware-configuration.nix, and cudnn isn't anywhere except evironment.systemPackages
<clever> justanotheruser: can you gist the full configuration.nix and nixos-rebuild output?
<gchristensen> clever: there are loads of useless indexes on hydra's db
<clever> gchristensen: part of it depends on the read to insert ratio
<justanotheruser> clever: configuration.nix https://paste.debian.net/plain/909785 rebuild https://paste.debian.net/plain/909786
<gchristensen> clever: I mean indexes that just aren't ever used ever
<clever> justanotheruser: cudatoolkit probably depends on the cudnn7 version
<justanotheruser> oh
<justanotheruser> clever: nothing printed for nix-store -q --tree /nix/var/nix/profiles/system | grep cudnn
<clever> thats the runtime graph, not the compile-time graph
<clever> justanotheruser: if you want the compile-time graph, you need "nix-store -q --tree /nix/store/gvfhv333z17zs8b1spw27wpdyhw3rbpm-nixos-system-dawn-16.09.1512.6b28bd0.drv"
<clever> (that path came from your nixos-rebuild pastebin)
<justanotheruser> yep its there!
<moet> clever: thanks for your help! going for the plunge
moet has quit [(Quit: leaving)]
<justanotheruser> I'll accept 7.0, thank you for your service
xwvvvvwx has quit [(Ping timeout: 252 seconds)]
mguentner2 has joined #nixos
dram_phone has joined #nixos
mguentner has quit [(Ping timeout: 264 seconds)]
mexisme2 has joined #nixos
mexisme has quit [(Ping timeout: 240 seconds)]
Ralith_ has quit [(Ping timeout: 248 seconds)]
athan has joined #nixos
Ralith_ has joined #nixos
Rotaerk has joined #nixos
esmiurium has quit [(Read error: Connection reset by peer)]
Sonarpulse has quit [(Ping timeout: 255 seconds)]
AllanEspinosa has quit [(Ping timeout: 258 seconds)]
dram_phone has quit [(Quit: Yaaic - Yet another Android IRC client - http://www.yaaic.org)]
systemfault has quit [(Quit: Bye!)]
[0x4A6F] has quit [(Ping timeout: 240 seconds)]
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
mizu_no_oto has joined #nixos
mexisme2 has quit [(Read error: Connection reset by peer)]
mexisme has joined #nixos
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
<NixOS_GitHub> [nixpkgs] sheenobu opened pull request #22011: spotify: 1.0.45 -> 1.0.47 (#21856) (release-16.09...spotify/1047/release1609) https://git.io/vMH77
georges-duperon has quit [(Ping timeout: 252 seconds)]
uralbash has joined #nixos
ebzzry has joined #nixos
justan0theruser has joined #nixos
alx741 has quit [(Quit: alx741)]
justanotheruser has quit [(Ping timeout: 258 seconds)]
cgdub has joined #nixos
cgdub has quit [(Remote host closed the connection)]
cgdub has joined #nixos
cgdub has quit [(Read error: Connection reset by peer)]
phanimahesh has joined #nixos
<hodapp> ugh, I am about to give up even getting Turtl to *run*, much less to have any sort of sane Nix package for it
phanimah1sh has quit [(Ping timeout: 240 seconds)]
<hodapp> right now it's just failing silently when I try to do 'make run', or 'make package' and then 'nw' to run it with nwjs
<hodapp> it simply sits there and doesn't open any sort of window, then if I hit Ctrl-C I get "[2591:0121/004854:WARNING:x11_util.cc(1490)] X error received: serial 138, error_code 3 (BadWindow (invalid Window parameter)), request_code 4, minor_code 0 (X_DestroyWindow)"
phanimahesh has quit [(Ping timeout: 248 seconds)]
phanimah1sh has joined #nixos
<hodapp> but I doubt that "application run from nw.js doesn't produce any sort of window on NixOS" rings a bell with anybody
endformationage has quit [(Ping timeout: 240 seconds)]
eacameron has quit [(Remote host closed the connection)]
eacameron has joined #nixos
<NixOS_GitHub> [nixpkgs] thanegill opened pull request #22012: Fix syncthing-gtk.desktop (master...patch-1) https://git.io/vMHdv
eacameron has quit [(Ping timeout: 264 seconds)]
Lowl3v3l has quit [(Remote host closed the connection)]
<NixOS_GitHub> [nixpkgs] peterhoeg opened pull request #22013: supertuxkart: 0.9 -> 0.9.2 (master...u/stk) https://git.io/vMHdZ
moet has joined #nixos
<moet> clever: well that was easy
<moet> and now it downloaded the stack binary instead of trying to compile! my problem is solved.. thanks!
moet_ has joined #nixos
moet has quit [(Ping timeout: 240 seconds)]
Fare has quit [(Quit: Leaving)]
glines has quit [(Ping timeout: 260 seconds)]
moet_ has quit [(Ping timeout: 255 seconds)]
systemfault has joined #nixos
uralbash has quit [(Ping timeout: 255 seconds)]
Baughn has quit [(Ping timeout: 246 seconds)]
Baughn has joined #nixos
phanimahesh has joined #nixos
phanimah1sh has quit [(Ping timeout: 255 seconds)]
athan has quit [(Read error: Connection reset by peer)]
faffolter has joined #nixos
faffolter has quit [(Changing host)]
faffolter has joined #nixos
moet has joined #nixos
xadi has quit [(Quit: Leaving.)]
zagy1 has quit [(Quit: Leaving.)]
uralbash has joined #nixos
jgertm has joined #nixos
athan has joined #nixos
moet has quit [(Quit: leaving)]
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 1 new commit to master: https://git.io/vMHb2
<NixOS_GitHub> nixpkgs/master dc64133 Michael Raskin: eudev: fix build with a fresh gperf
systemfault has quit [(Quit: Bye!)]
<page> fwiw, I was also disabled from the nix-dev ml (gmail), not only the mail.ru people
roconnor has quit [(Ping timeout: 240 seconds)]
<Shell> I was disabled from the ml too!
xadi has joined #nixos
jgertm has quit [(Ping timeout: 240 seconds)]
Kingsquee has quit [(Quit: https://i.imgur.com/qicT3GK.gif)]
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vMHNe
<NixOS_GitHub> nixpkgs/master 655a301 Vladimír Čunát: opentsdb: fixup sandboxed builds...
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vMHNf
<NixOS_GitHub> nixpkgs/master 81d9893 Vladimír Čunát: rpm-ostree: fix build by using older gperf for now
panostimos has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to release-16.09: https://git.io/vMHNz
<NixOS_GitHub> nixpkgs/release-16.09 ca03c9f Pascal Bach: ark: add security patch for CVE-2017-5330 (#22007)
<unlmtd[m]> how do I get dhcp address on a new interface?
<unlmtd[m]> i have a newly created interface and it didnt get an address
<unlmtd[m]> so were not using dhcpcd ?
<unlmtd[m]> I see dhclient
target_i has joined #nixos
nathan7 has quit [(Ping timeout: 255 seconds)]
Itkovian has joined #nixos
nschoe has quit [(Ping timeout: 255 seconds)]
Itkovian has quit [(Client Quit)]
lewo has joined #nixos
nathan7 has joined #nixos
Itkovian has joined #nixos
LUuM has joined #nixos
ericsagnes has quit [(Ping timeout: 255 seconds)]
Itkovian has quit [(Client Quit)]
Jackneill has joined #nixos
eacameron has joined #nixos
flxw has left #nixos ["ERC (IRC client for Emacs 25.1.1)"]
eacameron has quit [(Ping timeout: 260 seconds)]
vaibhavsagar has quit [(Remote host closed the connection)]
ilja_kuklic has joined #nixos
derjohn_mobi has joined #nixos
jarlg has joined #nixos
derjohn_mobi has quit [(Ping timeout: 252 seconds)]
mudri has joined #nixos
YellowOnion_ has joined #nixos
<YellowOnion_> Are there any mirrors for download of the 32bit iso, 80KB/s is a bit slow.
<YellowOnion_> 50mins remaining, feels like 2004 all over. :(
thc202 has joined #nixos
<clever> YellowOnion_: how fast is it from here?
<YellowOnion_> clever, that's the link on the site, I get 40-80kB/s, Cloudfront hates me for some reason.
<YellowOnion_> I got my friend to download it and seed it on torrent lol
<clever> i was able to download it in just 18 seconds
<clever> i can paste a link to my copy
uralbash has quit [(Ping timeout: 240 seconds)]
justbeingglad has joined #nixos
justbeingglad has left #nixos []
zagy has joined #nixos
<irth> uhh
<irth> i am trying to package a program
<irth> I am using buildFHSUserEnv
<irth> but the program wants /proc
glenn has joined #nixos
<irth> meh
<irth> I wasted way too much time
Wizek has joined #nixos
glenn has quit [(Remote host closed the connection)]
swistak35 has joined #nixos
LUuM has quit [(Ping timeout: 248 seconds)]
deepfire has joined #nixos
shanemikel has joined #nixos
reinzelmann has joined #nixos
Itkovian has joined #nixos
roconnor has joined #nixos
deepfire has quit [(Ping timeout: 240 seconds)]
roconnor has quit [(Client Quit)]
Kingsquee has joined #nixos
ebzzry has quit [(Remote host closed the connection)]
e3d3 has joined #nixos
Itkovian has quit [(Read error: Connection reset by peer)]
ebzzry has joined #nixos
eacameron has joined #nixos
eacameron has quit [(Ping timeout: 255 seconds)]
iyzsong has joined #nixos
GiGa|Laptop has joined #nixos
<GiGa|Laptop> Hi folks, anyone know if PHPStorm is installable via nix-env? I don't think it is but I'm sure someone mentioned before that it was
<GiGa|Laptop> I just can't find it
<GiGa|Laptop> I can see in the default.nix for idea-community that there's "buildPhpStorm" - not sure how to tell it to do that though
Itkovian has joined #nixos
<globin> GiGa|Laptop: NIXPKGS_ALLOW_UNFREE=1 nix-env -iA idea.phpstorm -f '<nixpkgs>'
<globin> GiGa|Laptop: untested ^
<NixOS_GitHub> [nixpkgs] offlinehacker closed pull request #20656: Update to docker 1.13.x (master...docker_1_13) https://git.io/v1veR
<GiGa|Laptop> globin, that's the one, thanks
<GiGa|Laptop> I might update the definition for it though, as that's a really old version
altphi has joined #nixos
<GiGa|Laptop> and it's easy enough to update the definition too
<GiGa|Laptop> ta
<globin> GiGa|Laptop: no worries, sure, would be happy to merge :)
<GiGa|Laptop> Cool, might get that done later if I have chance
<GiGa|Laptop> Depends on the family
GiGa|Laptop has quit [(Quit: Leaving)]
deepfire has joined #nixos
<Unode> hi all, what is the recommended way to have thunderbird + enigmail working in nixOS? I have it installed but enigmail always fails decryption because (I assume) it fails to find pinentry or to open its GUI
<Unode> so far I've been opening the keychain manually by decrypting a file on a terminal but this gets annoying pretty quickly.
<jophish_> I need to produce a list of dependencies a package depends on, as well as the licensing information (from the meta field). Getting the list of packages isn't a problem (nix-store --query --references), it's getting the meta information from that which I'm unsure of how to do
GiGa|Laptop has joined #nixos
fadenb has quit [(Quit: WeeChat 1.6)]
fadenb has joined #nixos
bennofs has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
sternenseemann has joined #nixos
LUuM has joined #nixos
Itkovian has joined #nixos
reinzelmann has quit [(Ping timeout: 255 seconds)]
<GiGa|Laptop> globin, when it comes to requesting a pull, I've forked nixpkgs on Github, are you able to pull from my fork?
MP2E has quit [(Quit: sleep time)]
<globin> GiGa|Laptop: creating a PR on github most likely is the easiest
simendsjo has joined #nixos
<globin> GiGa|Laptop: just ping me there :)
ebzzry has quit [(Ping timeout: 240 seconds)]
e3d3 has left #nixos ["Leaving"]
<GiGa|Laptop> globin, Must confess I wouldn't have a clue how to do that
<sternenseemann> 34
<GiGa|Laptop> OK, I can see how to pull request the whole lot
<GiGa|Laptop> but I only want to submit a pull request for one file?
<MichaelRaskin> Create a branch where only this one file is changed
<GiGa|Laptop> hmm, I'll have to look up how to do that
<globin> GiGa|Laptop: git remote add upstream https://github.com/nixos/nixpkgs; git fetch upstream; git checkout -b update-phpstorm; git reset --hard upstream/master; git cherry-pick COMMIT_WITH_UPDATE
<globin> GiGa|Laptop: then push and PR that branch
Itkovian_ has joined #nixos
<GiGa|Laptop> Ah poo, that's included both the files which have changed (as I'm doing this in the Github UI). I'll have to check it out with git properly
<GiGa|Laptop> Got to come back to this later I'm afraid, heading out
GiGa|Laptop has quit [(Quit: Leaving)]
Itkovian has quit [(Ping timeout: 255 seconds)]
ertes has quit [(Ping timeout: 255 seconds)]
ertes has joined #nixos
eacameron has joined #nixos
Itkovian_ has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub> [nixpkgs] timbertson opened pull request #22015: buildPythonPackage: accept developmentPrefix and send `pip` output to stderr (master...python-stderr) https://git.io/vMQvy
ebzzry has joined #nixos
<Unode> Ralith: finally found the font culprit. Seem like the broken font is "Roboto" but I still don't know where it's coming from.
eacameron has quit [(Ping timeout: 255 seconds)]
zml has quit [(Ping timeout: 240 seconds)]
shanemikel has quit [(Quit: My MacBook Air has gone to sleep. ZZZzzz…)]
Itkovian has joined #nixos
<NixOS_GitHub> [nixpkgs] bjornfor pushed 1 new commit to release-16.09: https://git.io/vMQvp
<NixOS_GitHub> nixpkgs/release-16.09 1433871 Niclas Thall: spotify: 1.0.45 -> 1.0.47 (#21856)...
<NixOS_GitHub> [nixpkgs] bjornfor closed pull request #22011: spotify: 1.0.45 -> 1.0.47 (#21856) (backport to 16.09) (release-16.09...spotify/1047/release1609) https://git.io/vMH77
deepfire has quit [(Ping timeout: 240 seconds)]
<Unode> Ralith: and installing the Roboto font fixed the issue :/
<clever> yay
<Unode> seems like without it it was defaulting to some other font that I can't figure out
Kingsquee has quit [(Quit: https://i.imgur.com/qicT3GK.gif)]
pSub has quit [(Remote host closed the connection)]
pSub has joined #nixos
pSub has quit [(Changing host)]
pSub has joined #nixos
<Unode> fc-match gives me DejaVu Sans as first option but tried that on the browser and it looked fine
<Unode> this whole font stuff is very confusing ...
<clever> ive also run into insane font problems with KSP
<clever> running the native linux version, and the windows version under wine results in identical problems
<clever> all text within mods is missing
<clever> first time ive ever seen cross-platform done so well, all platforms have the same bug, lol
<Unode> clever: KSP!! \o/ how I miss that game :D
deepfire has joined #nixos
<clever> installing MS fonts on nixos does not solve the problem
<Baughn> KSP should be bundling its own fonts anyway.
<clever> and without apoaps/periaps visible, the game is near unplayable
<Unode> clever: yeah I've had such problem myself once. Can't remember what I did to fix it...
<Unode> clever: but if you have many addons, try starting with none. I had one issue once that caused graphical glitches and an addon was to blame.
<clever> http://imgur.com/ys7kFOU have fun trying to play this :P
glenn has joined #nixos
<NixOS_GitHub> [nixpkgs] ocharles pushed 1 new commit to master: https://git.io/vMQf2
<NixOS_GitHub> nixpkgs/master 72a002f Ollie Charles: golden-cheetah: Switch to 3.4 stable
<Unode> clever: yeah that's exactly what I remember
<clever> Unode: i believe it happened even with just 1 mod installed, and only the mod UI's where bugged, the native stuff worked fine
<clever> id need to dig it out of mothballs to try things again
<Unode> there was some thread somewhere...
<clever> but i'm currently trying to walk some datacenter support guys thru the process of doing their job, lol
<Unode> clever: also, how much ram do you have on that machine?
<clever> 16gig
<Unode> ok so no issues there
<Unode> clever: best of luck with the datacenter issue
<clever> i recently installed nixos over an old 2015 ubuntu at racklodge
<clever> and upon rebooting, the raid card got upset, and wanted to re-import the config
<clever> and without a console, i had no way of knowing/doing that until i opened a support ticket
<clever> nixos has since booted up, http://imgur.com/a/jhS7r but it is unresponsive to the network
<clever> so now i'm having to explain to support that the remote-console IPMI has to be enabled, lol
<Unode> clever: no vnc over IP ?
<Baughn> Alas, yer doomed.
<clever> Unode: the hardware for that does not appear to be configured, or even plugged in
<Unode> right IPMI that's the one I was looking for.
glenn has quit [(Ping timeout: 255 seconds)]
<Unode> clever: sounds like fun :)
<Unode> ah KVM-over-IP that's what I wanted. Geez my brain.
<clever> Unode: the server appears to already have this physicaly installed, i saw its keyboard in lsusb
<Unode> yeah, but those don't allow VGA right? only telnet/ssh like console
<clever> those typicaly work by scraping the text memory for the GPU
<clever> or the graphics memory if its in a graphical mode
<Unode> oh yeah the java thingy applet.
feepo has joined #nixos
<Unode> always had unpredictable results with those java applets. Quite picky about the java version you need to run also.
jgertm has joined #nixos
zml has joined #nixos
p0le has quit [(Quit: WeeChat 1.6)]
xwvvvvwx has joined #nixos
kampfschlaefer has joined #nixos
<xwvvvvwx> ls
<gchristensen> default.nix foo modules network.nix packet.nix
jgertm has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to gcc-6: https://git.io/vMQJ8
<NixOS_GitHub> nixpkgs/gcc-6 3bc2154 Robin Gloster: spidermonkey_1_8_5: add patch to fix build with gcc6
<Unode> erm... does anyone know which softwares bundle DejaVu Sans?
<Unode> I'm trying to get rid of that font (the problem wasn't fixed, just hidden by installing Roboto) to see if it solves the problem but can't figure out where the font is coming from.
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
p0le has joined #nixos
dermetfan has joined #nixos
<sternenseemann> Unode: fonts.fonts = with pkgs; [
<sternenseemann> erm sry
ebzzry has quit [(Ping timeout: 255 seconds)]
xwvvvvwx has quit [(Quit: WeeChat 1.6)]
<sternenseemann> Unode: you need something like this in your configuration.nix fonts.fonts = with pkgs; [ corefonts dejavu_fonts … ];
<sternenseemann> Unode: then dejavu is available system-wide
<Unode> sternenseemann: I have that, but currently I removed all the fonts included there and I still get dejavu on the system
<ToxicFrog> Oh, and very belated, but the answer to "why not disnix" for me is "I kind of lost interest when the link to the manual 404ed"
<sternenseemann> Unode: i guess it might be part of corefonts?
<Unode> sternenseemann: I basically have a buggy font and I'm trying to figure out which, and where it's coming from
<sternenseemann> or some browser bundles it?
<sternenseemann> Unode: fc-cache -v shows all fonts fontconfig knows of
<sternenseemann> Unode: err, all folders
<sternenseemann> Unode: fc-list is better, shows all fonts in fontconfig cache
<Unode> sternenseemann: well if that's the case (bundle) I don't know how to fix this... They look like http://pasteall.org/pic/show.php?id=111498
<Unode> Notice the "Search Font Library" text
<Unode> among other bits in that page
mudri has quit [(Ping timeout: 255 seconds)]
<sternenseemann> Unode: try installing WhatFont or a similar extension to chromium to check what font is causing the problem
sdothum has quit [(Quit: ZNC - 1.6.0 - http://znc.in)]
<Unode> sternenseemann: doesn't help. For instance in the address (image) I pasted I get "tenso" and "foro", both which I don't have
sdothum has joined #nixos
<Unode> if I then use "fc-match -s 'tenso'" I get: http://dpaste.com/0TNGBSV
<Unode> hence my assumption that the first font in that list is the one causing the problem
<Unode> but I'm currently running with "fonts.fonts = with pkgs; []" and all those fonts are still coming up.
<sternenseemann> maybe the fc-cache is outdated?
<sternenseemann> i'd actually rather add some fonts to fonts.fonts
<sternenseemann> because it might be some kind of fallback
<NixOS_GitHub> [nixpkgs] rasendubi opened pull request #22016: w3m: fix package name (master...w3m) https://git.io/vMQUk
<Unode> sorry, correct would be "fonts.fonts = with pkgs; [ roboto ]".
<Unode> also tried "fc-cache -rf". Doesn't seem to help
<sternenseemann> also I would not blame the fonts themselves maybe your font rendering is broken for some other reason
<Unode> sternenseemann: well... I've been poking the fontconfig settings in configuration.nix without any success.
<Unode> most changes don't seem to produce an effect
<sternenseemann> Unode: have you tried enabling infimality/ultimate?
<sternenseemann> Unode: also is the same problem existant in firefox?
p0le has quit [(Quit: WeeChat 1.6)]
<Unode> yes same problem in firefox. what's infimality?
<Unode> sternenseemann: also, I'm running a lightweight window manager. So I can't blame KDE or any of the sort :)
jensens has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vMQUZ
<NixOS_GitHub> nixpkgs/master 140d135 Franz Pletz: libopus: add patch to fix CVE-2017-0381
pi3r has joined #nixos
dermetfan has quit [(Quit: ChatZilla 0.9.93 [Firefox 50.1.0/20170106125055])]
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to release-16.09: https://git.io/vMQUR
<NixOS_GitHub> nixpkgs/release-16.09 ee4fc9c Franz Pletz: libopus: add patch to fix CVE-2017-0381...
<gchristensen> oh nice
<gchristensen> I was just about to send notices, too :)
<fpletz> just in time :>
ebzzry has joined #nixos
Sonarpulse has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #21853: systemd-boot: allow setting editor security option (master...systemd-boot-editor) https://git.io/vM2Rh
<gchristensen> hard to know exactly what should be in the announcement emails
esmiurium has joined #nixos
<gchristensen> holy crap
<gchristensen> fpletz: duck duck go has instant answers on CVEs:https://duckduckgo.com/?q=CVE-2017-0381
acarrico has quit [(Ping timeout: 260 seconds)]
<Unode> is there any way to know the equivalent of "nix-env -qaP" but for "--installed" packages?
<MichaelRaskin> Doesn't for me
<gchristensen> :o MichaelRaskin
<MichaelRaskin> Hm
<MichaelRaskin> Some instant answers work in non-JS version, CVR one doesn't
<MichaelRaskin> In JS version it does work
<NixOS_GitHub> [nixpkgs] bjornfor opened pull request #22017: Revert "nmap: use python infra's .withPackages" (master...unbreak-zenmap) https://git.io/vMQTG
<pareidolia> It seems nix-shell doesn't accept versions. This fails for me nix-shell --pure -p mathematica-10.0.2
<pareidolia> I get error: syntax error, unexpected INT, expecting ID or OR_KW or DOLLAR_CURLY or '"', at (string):1:81
alx741 has joined #nixos
<pareidolia> Is there something I'm doing wrong?
<MichaelRaskin> -p works in term of attribute names
<MichaelRaskin> Which do lack versions
<NixOS_GitHub> [nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vMQT8
<NixOS_GitHub> nixpkgs/master 8c928cd Vincent Laporte: why3: 0.87.1 -> 0.87.3
[0x4A6F] has joined #nixos
<pareidolia> What can a noob do to workaround?
<gchristensen> MichaelRaskin: I see
<MichaelRaskin> Use package attribute names?
<pareidolia> Oh it's just mathematica10
Jackneill_ has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vMQTr
<NixOS_GitHub> nixpkgs/master 068dad3 Franz Pletz: systemd-boot: fix evaluation
mudri has joined #nixos
<domenkozar> peti: around?
<domenkozar> do you happen to know how /home/ielectric/.stack/setup-exe-cache/x86_64-linux-nix/setup-Simple-Cabal-1.24.0.0-ghc-8.0.1 is created?
jensens has quit [(Ping timeout: 256 seconds)]
<domenkozar> aha actually stack creates it
Jackneill has quit [(Ping timeout: 245 seconds)]
simendsjo has quit [(Ping timeout: 240 seconds)]
<jophish_> Is it possible to enable distributed builds for a client not running nixos?
<jophish_> I have a nixos machine using my ubuntu machine as a build slave, but I'd like to get it working the other way around
dramforever has joined #nixos
dramforever has quit [(Client Quit)]
zagy has quit [(Quit: Leaving.)]
<NixOS_GitHub> [nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vMQTb
<NixOS_GitHub> nixpkgs/master 86b74fb Vincent Laporte: alt-ergo: 0.99.1 -> 1.30
<Dezgeg> yes, you just need to manually do the equivalent configuration that the nixos nix module sets up
<pareidolia> How do I submit a bugreport for a package?
<jophish_> Dezgeg: remote-machines.conf and all that
<jophish_> remote-systems*
georges-duperon has joined #nixos
<Dezgeg> yes that, and NIX_BUILD_HOOK I think
<LnL> look at the remote-build-env script
<jophish_> thanks!
deepfire has quit [(Ping timeout: 255 seconds)]
<sternenseemann> Unode: different font rendering software, see https://nixos.org/nixos/manual/options.html#opt-fonts.fontconfig.ultimate.enable
eacameron has joined #nixos
mizu_no_oto has joined #nixos
eacameron has quit [(Ping timeout: 245 seconds)]
Itkovian has joined #nixos
<gchristensen> fpletz: don't forget about that signature I sent you
Itkovian has quit [(Client Quit)]
civodul has joined #nixos
<jophish_> hmm, doesn't seem to be working
LUuM has quit [(Ping timeout: 260 seconds)]
<jophish_> I've added a darwin machine in remote-systems.conf (x86_64-darwin) and am trying to build a package for darwin. My machine complains that it's unable to build it and doens't seem to be looking at anything in remote-systems.conf
<jophish_> I have sourced remote-build-env
<jophish_> $NIX_BUILD_HOOK is set properly
<clever> jophish_: NIX_REMOTE_SYSTEMS as well?
<jophish_> clever: yeah, that's correct too
<jophish_> I've restarted nix-daemon too
<jophish_> my guess is that nix-daemon is interfering with things
<LnL> jophish_: are the env variables set for the daemon?
<jophish_> NIX_REMOTE is set to daemon
<jophish_> LnL: oh, probably not
<jophish_> I was hoping that I could set them from the user shell
<clever> yeah, its the daemon that will need NIX_BUILD_HOOK/NIX_REMOTE_SYSTEMS set, not the slave
<LnL> those local variables only work for a single user install
<jophish_> gotcha
<LnL> if you're on nixos I would recommend using nix.distributedBuilds and nix.buildMachines
<jophish_> LnL: sadly I'm on Ubuntu
<jophish_> getting this working on my NixOS machine was a breeze :)
Itkovian has joined #nixos
<LnL> how's the daemon running?
<jophish_> LnL: it's a systemd service
<LnL> you can look at the generated definition of your nixos machine then
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
<jophish_> thanks LnL
<domenkozar> jophish_: once you get osx running as slave I'd be interested to see the configuration :)
mizu_no_oto has joined #nixos
alx741 has quit [(Quit: alx741)]
<LnL> domenkozar: I have an osx slave configured on my nixos machine
<jophish_> domenkozar: the plan is to get another linux machine up at the moment, the darwin business was just to test if remote-systems was being read at all!
alx741 has joined #nixos
<domenkozar> jophish_: ah :)
<LnL> oh yes, you also have to do that :p
mizu_no_oto has quit [(Client Quit)]
muhammadn has joined #nixos
<LnL> I have ''pre-build-hook = '' in the nix.conf of my builder
<jophish_> my long build is nearly completed! I better get this working soon!
<muhammadn> I am trying to build a package with my webapp from github but i need to use stateful directory like /var/www/webapp
<muhammadn> how do i achieve this in my .nix file?
<muhammadn> i tried to use $out but that is stateless in /nix/store but i want to use a stateful directory in /var/www/webapp (for example)
t7 has joined #nixos
mizu_no_oto has joined #nixos
<gchristensen> domenkozar: so with hercules, please make better queries than https://gist.github.com/grahamc/201af312deef08f7ab597ed92bde8a52 :D
<jophish_> gchristensen: where's that from?
<gchristensen> one of the queries Hydra runs
<jophish_> gchristensen: hehe. All of the queries Hercules runs are generated using opaleye
<jophish_> (a nifty haskell package for doing type safe postgresql queries)
<gchristensen> well that is fine, almost all the queries hydra run are generated by a nifty perl package for doing postgresql queries, the point is make sure they're not bad :P
<LnL> gchristensen: I made it easier to rebuild my container without needing a special nixpkgs checkout :)
<gchristensen> nice!
<jophish_> I thought that this was less of a concern with postgres as it's got a better optimizer than most databases
<gchristensen> no
<gchristensen> it isn't magic, you still need to treat it well, and hydra contains millions and millions of rows
<gchristensen> heck, _my_ hydra, only a week old, has over a million rows
<LnL> gchristensen: I was thinking that it's probably possible to add an option to nixos that does something similar to apply custom patches on top of the nixpkgs input
<gchristensen> jophish_: I don't mean to be a jerk :/
<jophish_> gchristensen: I'll keep that in mind, thank you!
<jophish_> silly IRC message ordering :)
<jophish_> gchristensen: This is far from my field of expertise, thanks for the advice. I was just parroting a paragraph in the opaleye tutorial https://github.com/tomjaguarpaw/haskell-opaleye/blob/master/Doc/Tutorial/TutorialBasic.lhs#L103-L106
<gchristensen> hydra has lots of weird behaviors that aren't very good, and I frequently see simple updates take 25s to execute
iyzsong has quit [(Quit: bye)]
<LnL> yeah, I've also noticed that
<gchristensen> jophish_: ah ... so, opaleye, with sensible inputs should produce sensible outputs and get good performance. however, it is not impossible to give opaleye nonsensical input
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
<philipp[m]> Anybody else here have the gajim otr plugin breaking on nixos recently?
<gchristensen> jophish_: (I'm assuming, since it can be type-safe and not good input) like a query with a subselect which has a subselect which has an eal
<gchristensen> which has an eval*
<gchristensen> jophish_: here is another query, which leaves a lot to be desired: https://gist.github.com/grahamc/cf32b1a4b7bb8ca37c28e77901265caa
mguentner2 is now known as mguentner
Sonarpulse has quit [(Ping timeout: 255 seconds)]
<jophish_> 14 seconds!
<gchristensen> jophish_: on a technical level, I think that comment is saying that if you have an index on (finished, buildstatus) and your query is `WHERE buildstatus = 0 AND finished = 1` (ie: a different order than the index) MySQL will not use your index, whereas postgresql might
<gchristensen> that is to say, it is sensible in it reorders your query in order to fit optimal indexes
<muhammadn> I want to put the code which i developed to be in /var/www/webapp and not $out but i couldn't find the answer. https://gist.github.com/muhammadn/cd8de7d383fe350cca9d205053001782
<muhammadn> i have permission denied if i 'mkdir -p /var/www/webapp' and cp -Rp * /var/www/webapp
<jophish_> gchristensen: as far as I know that query isn't possible in opaleye, but don't quote me on that :)
<gchristensen> jophish_: the specifics don't matter, it is going to be possible to have poorly performing queries
ebzzry has quit [(Ping timeout: 240 seconds)]
<jophish_> I don't doubt it. I'll keep that in mind when we come to be using some more complex ones :)
<gchristensen> and there are behaviors that are undesirable, like doing selects in a loop, which can also have a nasty impact
xadi has quit [(Quit: Leaving.)]
<gchristensen> one interesting behavior I'm looking at is it does an exclusive lock on a table with high write activity where there are potentially better options to avoid that lock ... sometimes that lock can take 20+s to be allocated
<NixOS_GitHub> [nixpkgs] schneefux opened pull request #22018: vim plugins: add gruvbox (master...pkg.vim-gruvbox) https://git.io/vMQtJ
ericsagnes has joined #nixos
<NixOS_GitHub> [nixpkgs] jagajaga closed pull request #22018: vim plugins: add gruvbox (master...pkg.vim-gruvbox) https://git.io/vMQtJ
civodul has quit [(Read error: Connection reset by peer)]
civodul has joined #nixos
alx741_ has joined #nixos
copumpkin has joined #nixos
<gchristensen> niksnut: ping -- https://github.com/NixOS/hydra/blob/9989e6c0f45a3b2723206af32acdf76bb1994dd2/src/hydra-queue-runner/hydra-queue-runner.cc#L244 could this query, instead of locking BuildSteps, use a SERIAL column on stepnr?
LUuM has joined #nixos
alx741 has quit [(Ping timeout: 255 seconds)]
altphi has quit [(Quit: altphi)]
muhammadn has quit [(Ping timeout: 260 seconds)]
<NixOS_GitHub> [nixpkgs] LnL7 closed pull request #19363: gogs: init module (master...gogs-module) https://git.io/vP4Mv
copumpkin has quit [(Quit: My MacBook Pro has gone to sleep. ZZZzzz…)]
cfricke has joined #nixos
Fare has joined #nixos
contrapumpkin has joined #nixos
ebzzry has joined #nixos
LUuM has quit [(Quit: Leaving)]
eacameron has joined #nixos
acarrico has joined #nixos
alx741_ has quit [(Quit: alx741_)]
<YellowOnion_> is nix cache on cloudfront too? seems quite slow.
alx741 has joined #nixos
<contrapumpkin> yeah it is
<contrapumpkin> (it's on cloudfront, not sure about slow)
eacameron has quit [(Remote host closed the connection)]
<gchristensen> YellowOnion_: where are you?
<YellowOnion_> contrapumpkin, I'm had speed issues downloading the iso.
<YellowOnion_> gchristensen, Chch, NZ, my friend on same ISP has no issues though.
eacameron has joined #nixos
<gchristensen> interesting, maybe just try again?
<gchristensen> may have hit a bad node on CF
ebzzry has quit [(Ping timeout: 260 seconds)]
<YellowOnion_> gchristensen, I mean I've downloaded the ISO, and now it's still running slow installing packages.
<gchristensen> hrm :/
Unode_ has joined #nixos
alx741_ has joined #nixos
alx741 has quit [(Read error: Connection reset by peer)]
Unode_ has quit [(Client Quit)]
Unode_ has joined #nixos
Unode_ has quit [(Client Quit)]
Unode_ has joined #nixos
angerman has quit [(Quit: Gone)]
alx741_ has quit [(Quit: alx741_)]
alx741 has joined #nixos
<YellowOnion_> gchristensen, well if I force ipv4 it's a lot faster.
abrar has quit [(Ping timeout: 245 seconds)]
<gchristensen> YellowOnion_: ahh! I didn't know the cache was available over ipv6... not sure
Unode has quit [(Quit: WeeChat 1.6)]
Unode_ is now known as Unode
zagy has joined #nixos
gr3nade is now known as grenade
acarrico has quit [(Ping timeout: 245 seconds)]
abrar has joined #nixos
pi3r has quit [(Ping timeout: 264 seconds)]
Fare has quit [(Ping timeout: 240 seconds)]
eacameron has quit [(Remote host closed the connection)]
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to master: https://git.io/vMQOq
<NixOS_GitHub> nixpkgs/master 754a9cf Robin Gloster: gnome3.20: remove...
<gchristensen> globin: nice@
<NixOS_GitHub> [nixpkgs] globin closed pull request #19745: WIP gnome3: remove 3.20 (staging...gnome-removal) https://git.io/vP5Cr
<gchristensen> globin: nice!
<globin> gchristensen: yeah but actually just noticed I messed up all-packages.nix while pushing :(
<gchristensen> globin: it is okay!
<gchristensen> globin: nice to see you're signing your work, too.
edvorg has joined #nixos
Unode has quit [(Quit: Off it goes)]
Unode has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to master: https://git.io/vMQOx
<NixOS_GitHub> nixpkgs/master 189f64d Robin Gloster: gnome3.20: fixup removal, mark termite as broken
Unode has quit [(Quit: Off it goes)]
Unode has joined #nixos
ertes has quit [(Ping timeout: 255 seconds)]
oida has quit [(Ping timeout: 256 seconds)]
edvorg has quit [(Remote host closed the connection)]
systemfault has joined #nixos
pie_ has joined #nixos
schneefux_ has quit [(Quit: ZNC 1.6.4 - http://znc.in)]
zagy has quit [(Quit: Leaving.)]
schneefux has joined #nixos
oida has joined #nixos
<mbrgm> are there any efforts besides https://github.com/NixOS/nixpkgs/issues/18977, moving webserver-independent webservices forward
<mbrgm> fpletz: ^ I think you are kinda involved with this?
eacameron has joined #nixos
eacameron has quit [(Ping timeout: 264 seconds)]
georges-duperon has quit [(Ping timeout: 252 seconds)]
<NixOS_GitHub> [nixpkgs] schneefux opened pull request #22019: pythonPackages.discordpy: 0.16.0 -> 0.16.4 (master...pkg.discordpy) https://git.io/vMQsZ
eacameron has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub> [nixpkgs] Mic92 opened pull request #22020: ZfsUnstable: 0.7.0-rc2 -> 0.7.0-rc3 (master...zfs) https://git.io/vMQGq
<fpletz> gchristensen: I noticed yesterday that our signing-party package is missing some tools I need, just finishing up that work :)
<fpletz> mbrgm: yup, I would really love to see that, but currently don't have the time to implement this myself… but happy to talk about it and share ideas
<fpletz> mbrgm: afaik nobody is working on this
<gchristensen> nice
athan has quit [(Ping timeout: 240 seconds)]
<gchristensen> I found a fourth, nice improvement for hydra's db :) https://github.com/NixOS/hydra/issues/446
glenn has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 1 new commit to master: https://git.io/vMQGl
<NixOS_GitHub> nixpkgs/master 843de20 Peter Simons: Fix evaluation presumably broken in 754a9cf69804ec00527f4703806282c16179c589 by @globin.
<fpletz> gchristensen: awesome
<gchristensen> here comes a fifth... :D
<globin> peti: thanks, missed that..
glenn has quit [(Ping timeout: 255 seconds)]
eacameron has joined #nixos
eacameron has quit [(Remote host closed the connection)]
<NixOS_GitHub> [nixpkgs] peti closed pull request #22010: haskellPackages.tinc: 20161102 -> 20161119 (master...pkg-tinc) https://git.io/vMH99
<gchristensen> aw, #5 wasn't such a winner, but I posted it anyway.
eacameron has joined #nixos
danharaj has joined #nixos
xadi has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
mudri has quit [(Ping timeout: 255 seconds)]
ambro718 has joined #nixos
jarlg has quit [(Read error: Connection reset by peer)]
jarlg has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 opened pull request #22021: buildRustPackage: use frozen cargo fetches (master...cargo) https://git.io/vMQns
ktosiek has quit [(Remote host closed the connection)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
ktosiek has joined #nixos
mojjo has joined #nixos
peti has quit [(Ping timeout: 240 seconds)]
<Unode> sternenseemann: ultimate didn't help either
<Unode> I'm starting to get really annoyed and frustrated by this font issue... I can't figure out what's causing this issue.
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 4 new commits to master: https://git.io/vMQnr
<NixOS_GitHub> nixpkgs/master 1fafd2a Kranium Gikos Mendoza: cpp-hocon: 0.1.2 -> 0.1.4
<NixOS_GitHub> nixpkgs/master a85c994 Kranium Gikos Mendoza: leatherman: 0.9.0 -> 0.10.1
<NixOS_GitHub> nixpkgs/master 46cb55c Kranium Gikos Mendoza: facter: 3.4.1 -> 3.5.1
agjacome has joined #nixos
p0le has joined #nixos
georges-duperon has joined #nixos
peti has joined #nixos
mojjo has quit [(Ping timeout: 260 seconds)]
<NixOS_GitHub> [nixpkgs] 7c6f434c closed pull request #22016: w3m: fix package name (master...w3m) https://git.io/vMQUk
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 2 new commits to master: https://git.io/vMQnj
<NixOS_GitHub> nixpkgs/master afb3d5c schneefux: pythonPackages.discordpy: 0.16.0 -> 0.16.4
<NixOS_GitHub> nixpkgs/master 4d337f1 Michael Raskin: Merge pull request #22019 from schneefux/pkg.discordpy...
<NixOS_GitHub> [nixpkgs] schneefux opened pull request #22022: wallabag: 2.1.4 -> 2.1.6 (master...pkg.wallabag) https://git.io/vMQcm
<Ralith> Unode: weird; at this point I'd guess you have some stale config somewhere in your home dir
<sternenseemann> Unode: dunno
<sternenseemann> Unode: maybe run a nix-collect-garbage -d, the at least the fonts should not be present on your system anymore
xadi has quit [(Quit: Leaving.)]
Nycatelos has joined #nixos
xadi has joined #nixos
Fare has joined #nixos
paperd has joined #nixos
<simpson> A Java program (JMeter) needs AWT: java.lang.UnsatisfiedLinkError: no awt in java.library.path
<simpson> How do I fix this?
<simpson> garbas: You're marked as a maintainer; any ideas?
glines has joined #nixos
brh has joined #nixos
<NixOS_GitHub> [nixpkgs] shlevy pushed 1 new commit to master: https://git.io/vMQcb
<NixOS_GitHub> nixpkgs/master 4b1da9b Karn Kallio: Postiats version 0.3.0...
eacameron has joined #nixos
<Unode> sternenseemann: did that... didn't help.
<Unode> Ralith: at some point I thought, oh I'm missing fonts that's why... now I'm not sure anymore
<Unode> but you gave me an idea there. trying with a fresh user
<sternenseemann> Unode: dunno :|
<NixOS_GitHub> [nixpkgs] 7c6f434c closed pull request #21726: [WIP] palemoon: init at 27.0.3 (master...palemoon) https://git.io/vMcDr
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 2 new commits to master: https://git.io/vMQCB
<NixOS_GitHub> nixpkgs/master fb92916 schneefux: wallabag: 2.1.4 -> 2.1.6
<NixOS_GitHub> nixpkgs/master 6a039c6 Michael Raskin: Merge pull request #22022 from schneefux/pkg.wallabag...
<Fare> simpson: here's a solution: rm -rf /**/java*
<Fare> ahem, how do I make man -k work on NixOS ?
<Unode> and no, a fresh user suffers from the same
<Unode> :/
<simpson> Fare: That is not a solution. I'm not sure why you think that it would be a solution.
georges-duperon has quit [(Ping timeout: 252 seconds)]
<Unode> sternenseemann, Ralith https://gist.github.com/Unode/09811ebcaac5686aee532a13307a24fd the current config. But it has been almost entirely commented without any changes
<Fare> simpson: other solution, burn it with fire.
<Ralith> Unode: does it affect things other than github?
<shlevy> domenkozar: Another request to disable travis builds, please :(
<Unode> at this point, if I could just figure out what font is actually being used for the ugly glyphs I'd be happy :/ fc-match tells me DejaVu Sans but I can't figure out how to disable it (bundled).
<MichaelRaskin> Fare: I guess
<Unode> Ralith: yes many other websites
<MichaelRaskin> you could try to run mandb in buildEnv
<simpson> Fare: Sorry, lemme back up. I want to run this program. If I wanted to remove all bad software from my computer, I would simply throw it out the window.
<shlevy> domenkozar: Still getting meaningless emails
<Unode> Ralith: to the point that I had decided to ignore and just live with it but the less style a page has, the more prone to using this font it is.
<Unode> it's like the default failover font is just bad
<Ralith> Unode: have you tried nuking all your font settings other than `fonts`? I'm suspicious of the enable* and fontconfig stuff
<simpson> Fare: If you're interested in helping me with my XY problem, I have a website and I would like to spider a couple levels into it in order to harvest realistic URLs for a load test.
<Unode> Ralith: I can try again
<Ralith> I have no idea why you'd set `antialias = false` for example
<MichaelRaskin> simpson: I think I put urls-from-page script into NixPkgs somewhere
<Unode> that was me trying to get rid of some bluring
<Unode> Ralith: rebooting after nuking everything fonts related
<simpson> MichaelRaskin: pkgs/build-support/upstream-updater/urls-from-page.sh ?
<Fare> how with NixOS do I define things to be run at startup? at network up/down?
<MichaelRaskin> simpson: yes
<Fare> I'd like to use ntpdate, but not ntp
<MichaelRaskin> Of course, it is just curl + sed stuff, but works fine in a lot of cases
<sternenseemann> lol, nixpkgs measured by contribution rate is pretty high up on total of github http://www.krihelinator.xyz/
<simpson> MichaelRaskin: I have given up and am writing a couple dozen lines of Python with Scrapy.
<NixOS_GitHub> [nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vMQWv
<NixOS_GitHub> nixpkgs/master 1f0d5bf Vincent Laporte: smplayer: 16.11.0 -> 17.1.0
<MichaelRaskin> I am not sure it will have better correct rate than urls-from-page
<simpson> MichaelRaskin: urls-from-page doesn't appear to spider at all, so I'd have to reinvent that.
<MichaelRaskin> urls-from-page http://opennet.ru | grep opennet.ru | grep opennet.ru | xargs -l1 urls-from-page
<simpson> Tricky.
<MichaelRaskin> Second grep is a typo
<MichaelRaskin> And xargs -l1 is a thing worth advertising
<Unode> Ralith: https://gist.github.com/fd019916d46fd2c1b1245b7a9de800a8 this is now... same thing :/
<MichaelRaskin> (If second grep would be necessary in that, oh Zalgo have mercy not to torture our souls before devouring)
<Ralith> Unode: I said everything *but* the actual fonts list; not having any fonts installed at all probably won't help anything
jsgrant- has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 2 new commits to master: https://git.io/vMQWX
<NixOS_GitHub> nixpkgs/master 0d6d18c Peter Simons: hackage-packages.nix: automatic Haskell package set update...
<NixOS_GitHub> nixpkgs/master f0314de Peter Simons: haskell-http-api-data: update overrides for latest version
mudri has joined #nixos
<Unode> with https://gist.github.com/Unode/7bd101484afc97d0036f919221a3a0f0 I see some differences between firefox and chromium (i.e. looks fine in firefox). trying a reboot and fresh chromium settings.
jsgrant- has quit [(Ping timeout: 240 seconds)]
<Ralith> if that config didn't sort it out in general I'm stumped
<Ralith> are you on unstable? maybe latest chromium is just weird
<Unode> yep it didn't
<Unode> Ralith: no I'm on stable or should be.
jsgrant- has joined #nixos
<Unode> chromium is in the config file I linked
<Ralith> maybe chrome's developer tools can give you some insight into the font selection/rendering
<Unode> so now firefox shows github without problems (chromium still bad) but for instance: https://www.fontspring.com/license/demo has some bad fonts in both browsers.
mizu_no_oto has joined #nixos
<MichaelRaskin> TFW NixPkgs manual needs OpenJDK to build
eacameron has quit [(Remote host closed the connection)]
<gchristensen> ha!
<Unode> Ralith: tried that... so here's what I can tell
<MichaelRaskin> I feel getting behind, I thought last time it needed GHC
<Unode> If the page references a font that I don't have on my system I get the broken font.
<MichaelRaskin> Ah, it needs both
<Unode> for instance https://www.fontspring.com/license/demo has a font called "tenso" which I don't have and doesn't seem to be included in the CSS
<MichaelRaskin> Also, Lua
jsgrant- has quit [(Read error: Connection reset by peer)]
sitedyno has quit [(Ping timeout: 255 seconds)]
jsgrant- has joined #nixos
<Unode> and fc-match gives me http://dpaste.com/1BM4JKE for tenso
<Unode> which includes DejaVu Sans
<Unode> but which is not currently in the fonts list
<gchristensen> anyone know DBIx::Class? (oy!)
<MichaelRaskin> And Python. I feel like I should make it depend on rust just for a good measure
<gchristensen> MichaelRaskin: it is a real tour de force of what nix can do!
<Unode> Ralith: and http://dpaste.com/1S6C7R1
<MichaelRaskin> Right. If you have managed to build NixPkgs manual, are you sure you still neded it?
<shlevy> gchristensen: I've one some stuff with it in the past
<Unode> even after nix-collect-garbage -d
<Ralith> Unode: dejavu should render fine anyway
<Unode> Ralith: well... as it is, I shouldn't have anything broken right :)
* Ralith elaborate shrug
georges-duperon has joined #nixos
<Unode> I also tried FC_DEBUG=3 fc-match tenso but I don't know how to interpret the output
<NixOS_GitHub> [nixpkgs] vbgl pushed 19 new commits to master: https://git.io/vMQlC
<NixOS_GitHub> nixpkgs/master c4a2bd4 Vincent Laporte: ocamlPackages.topkg: 0.7.8 -> 0.8.1
<NixOS_GitHub> nixpkgs/master 7ebe29a Vincent Laporte: ocamlPackages.uutf: 0.9.4 -> 1.0.0
<NixOS_GitHub> nixpkgs/master 8990a6c Vincent Laporte: ocamlPackages.uunf: 0.9.3 -> 2.0.0
<gchristensen> shlevy: see also https://github.com/NixOS/hydra/issues/446 :)
<shlevy> gchristensen: Bleh
<shlevy> gchristensen: I'm sure I could, but it will take a while :/
deepfire has joined #nixos
* shlevy hates "clever" ORMs
<Unode> is there any way I cant perform changes to the store such as moving a file temporarily out of the way to test something?
* Fare hates even more *stupid* ORMs.
<MichaelRaskin> The problem is that these are the same ORMs
<gchristensen> shlevy: me too, I really really wish I could just put that SQL in.
<shlevy> Eh, it's not my favorite, but I can understand having an ORM for the very basics of databse interaction
<shlevy> Beyond that though just give me the SQL
eacameron has joined #nixos
<Unode> shlevy: you need an SQL abstraction on top of the ORM
<Unode> that will surely fix it
<shlevy> :D
<Unode> and now that I put that silly idea out, I'm going to hit google and look for someone that probably already did it
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
ntc has joined #nixos
paperd has quit [(Quit: WeeChat 1.5)]
eacameron has quit [(Read error: Connection timed out)]
<gchristensen> shlevy: so I think this'll dramatically cut load times on this page: https://prs.nix.gsc.io/project/nixos from over 10s to below 6s. not fabulous, but a nice improvement none the less.
eacameron has joined #nixos
systemfault has quit [(Quit: Bye!)]
<NixOS_GitHub> [nixpkgs] fpletz pushed 3 new commits to master: https://git.io/vMQ8T
<NixOS_GitHub> nixpkgs/master ab90eac Franz Pletz: networking: fix typo in resolvconf option edns0
<NixOS_GitHub> nixpkgs/master ce3b98d Franz Pletz: linux: 3.18.45 -> 3.18.47
<NixOS_GitHub> nixpkgs/master 61caacb Franz Pletz: linux: 4.1.36 -> 4.1.38
graphite has joined #nixos
sellout- has joined #nixos
xwvvvvwx has joined #nixos
<xwvvvvwx> Hey :)
<xwvvvvwx> When I try to rebuild my system I get an error that a URL cannot be found
<xwvvvvwx> output here:
<xwvvvvwx> when downloading spotify
<xwvvvvwx> what can I do about that?
<NixOS_GitHub> [nixpkgs] fpletz pushed 2 new commits to master: https://git.io/vMQ8c
<NixOS_GitHub> nixpkgs/master c796bfc Franz Pletz: libmd: clean up autoreconfHook usage
<NixOS_GitHub> nixpkgs/master 3c49d97 Franz Pletz: signing-party: 2.2 -> 2.5, install all tools
<xwvvvvwx> modify the package and submit a PR?
<NixOS_GitHub> [nixpkgs] vbgl opened pull request #22023: ocamlPackages.apron: init at 20160125 (master...apron) https://git.io/vMQ8W
<gchristensen> that'd be helpful!
<xwvvvvwx> ok
<xwvvvvwx> I'll take a look
glenn has joined #nixos
<fpletz> xwvvvvwx: that was already fixed https://github.com/NixOS/nixpkgs/pull/22011
<xwvvvvwx> nice! :)
<Unode> Ralith: ok so I managed to remove all fonts to the point of having chromium segfaulting for lack of a fixed/sans font :) But up until the end the bugged font was still there
<Unode> which makes me thing that somehow it's defaulting to one of the X bitmap fonts
<Unode> think*
<fpletz> xwvvvvwx: you have to wait for the next channel release or use a nixpkgs git clone :)
<xwvvvvwx> ah
<Unode> is there any way I can completely disable any bitmap font from X?
<xwvvvvwx> I just need to modify the NIX_PATH env var for this local checkout right?
<clever> xwvvvvwx: you can also use -I to override things, -I nixpkgs=~/apps/nixpkgs/
<fpletz> xwvvvvwx: yeah, or use -I nixpkgs=/path/to/your/nixpkgs
graphite has left #nixos ["Leaving"]
<xwvvvvwx> so: sudo nixos-rebuild switch -I nixpkgs=/path/to/nixpkgs
<xwvvvvwx> but this will potentially much more unstable?
ChongLi_ is now known as ChongLi
glenn has quit [(Ping timeout: 255 seconds)]
<fpletz> xwvvvvwx: yup, channels are released if the tests pass, so might be a bit unstable
<fpletz> xwvvvvwx: are you using 16.09 or master?
<xwvvvvwx> right now I'm on the unstable nixos channel
<xwvvvvwx> That's master but only commits where hydra passes right?
<fpletz> you might even need to compile some stuff if hydra hasn't finished building all packages for a specific commit
<fpletz> the master branch can have (which becomes the unstable channel if the tests pass) can be broken :)
<xwvvvvwx> can be quite a long time between passing hydra builds?
<xwvvvvwx> right now nixos-unstable is at 10 days
<xwvvvvwx> and nixpkgs-unstable is at 12 hrs
<xwvvvvwx> what is the difference between these two?
<gchristensen> hydra builds continuously
<gchristensen> one sec
<clever> xwvvvvwx: nixpkgs-unstable updates whenever hydra has finished trying to build everything
<clever> xwvvvvwx: nixos-unstable updates when a set of tests pass, to certify it wont horidly break a nixos machine
res0nat0r has joined #nixos
<xwvvvvwx> interesting gist!
<xwvvvvwx> hehe "DO NOT USE THIS FOR NIXOS" about nixpkgs-unstable :D
JagaJaga has joined #nixos
<xwvvvvwx> so sounds like it's better to stay on nixos-unstable and wait?
<gchristensen> yea
<xwvvvvwx> or what do most people here do?
res0nat0r has quit [(Client Quit)]
<gchristensen> I use stable
<clever> i run nixos-unstable on my systems
<clever> many months ago, there was a wave of people running nixpkgs-unstable, and it was eating grub.cfg, leaving their systems unbootable
res0nat0r has joined #nixos
<xwvvvvwx> :D
<clever> and it also broke the magic rollback from grub that makes nixos great
<xwvvvvwx> ok all of that sound really bad
<xwvvvvwx> what tests get run for the nixos stuff?
<gchristensen> all sorts!
<xwvvvvwx> are you booting full systems?
<clever> if you dont need to test driver stuff, you can cheat in a safe way
<clever> xwvvvvwx: nixos-rebuild -I nixpkgs=~/apps/nixpkgs build-vm
<gchristensen> yep
<clever> xwvvvvwx: this will generate a bash script that runs the resulting nixos under qemu
<xwvvvvwx> no-way!
<MichaelRaskin> On ther other hand, killed GRUB is still fixable by boot-any-Nix-media, mount, nixos-install
<clever> so you can do any testing you want, without risking the stablity of the host
<clever> MichaelRaskin: yep, and in that case, it was just a /boot/ missing, so you could have just fixed it from grub's edit menu
<xwvvvvwx> gchristensen: that page is amazing :)
<gchristensen> :)
<xwvvvvwx> so here is boots a vm, makes sure everything starts up, takes a few screenshots and shuts down?
alx741_ has joined #nixos
<MichaelRaskin> clever: that I would never know: I don't use NixOS enough to have a large chance of getting caught up in such stuff
<MichaelRaskin> With literally NixOS
<gchristensen> yep
<xwvvvvwx> love it :)
<MichaelRaskin> gchristensen: you keep mentioning Packet.net-donated resources for Hydra, does its output also got to cache.nixos.org?
<xwvvvvwx> was there ever any thought of integrating application test suites into the hydra builds?
<gchristensen> if you want to see terror, go find out how debian does this testing :|
<MichaelRaskin> That actually does happen sometimes
<clever> MichaelRaskin: ive read the entire info doc on grub before, so i'm familiar with how grub works
alx741 has quit [(Ping timeout: 258 seconds)]
<gchristensen> MichaelRaskin: no, but I believe niksnut wants to merge these projects
<xwvvvvwx> gchristensen: you have a link?
<gchristensen> xwvvvvwx: nope, because they don't do it.
<gchristensen> (AFAIK...!)
<xwvvvvwx> :D :D claws out :D
<xwvvvvwx> yeah I can imagine
<MichaelRaskin> clever: I have messed up GRUB config in multiple times, I know how GRUB works, and _if_ the failure is missing /boot/ … But we have seen funnier failures
<clever> MichaelRaskin: ive even gotten a little bored, and i read the assembly behind the stub in the MBR
<Yaniel> like rEFInd spontaneously refusing to run on a beautiful saturday morning?
<clever> MichaelRaskin: and then used it to decode an MBR on an actual disk, and figure out where stage 1.5 was
<MichaelRaskin> Yaniel: I classify rEFInd and everything Apple-related as «oh the pain»
<Yaniel> this didn't even happen on a mac
<Yaniel> anyway, it was a fun day
<Yaniel> *Fun
<MichaelRaskin> Urist McRefindUser confirms?
res0nat0r has quit [(Quit: Leaving)]
<MichaelRaskin> clever: the good thing about EFI is that now stage2 is located using an actual filesystem
<MichaelRaskin> And stage1 is not needed
eacameron has quit [(Remote host closed the connection)]
<clever> MichaelRaskin: yeah
<clever> MichaelRaskin: GPT legacy solves that, by forcing you to put stage 1.5 into a dedicated "bios boot partition"
<clever> that partition has no filesystem, grub just writes the raw stage 1.5 executable directly to it
<MichaelRaskin> The most Fun story about GRUB that I remember is when it turned out that some large number of NixOS generations in config make GRUB fail badly. Not as in «ignore all after N», bad as in «ignore config»
<Yaniel> MichaelRaskin: yeah my desktop mobo uses UEFI
<MichaelRaskin> clever: I know that well
eacameron has joined #nixos
<Yaniel> somewhat surprisingly systemd-boot hasn't caused any problems
<MichaelRaskin> And that's also better than default
<MichaelRaskin> They haven't changed much since the gummiboot days
<shlevy> Have they changed anything?
<MichaelRaskin> They cannot destroy all common sense _instantly_ you know
<clever> MichaelRaskin: http://imgur.com/a/lfuRB
<shlevy> Even back when it was gummiboot it was run by the same guys :P
<clever> MichaelRaskin: the guid type code for the "bios boot partition", when converted to ascii, is "Hah!IdontNeedEFI"
<MichaelRaskin> I know
<clever> i recently had to fix the MBR on one of my drives
<clever> and used hexdump to confirm things
<shlevy> It always had the "bootloader timing interface" thing that was (and still is) supposedly generic but as far as I know only systemd actually supports it
<clever> turns out, the partition label was bios boot partition, but it had the wrong typecode
<clever> and a random magnetic in the box was holding the MBR
<clever> until the drives got shuffled about
<clever> the SSD's failed to boot on their own
<MichaelRaskin> Great
<clever> MichaelRaskin: and the entire reason i had to shuffle the drives, memtest86 said the ram in my desktop was bad
<clever> MichaelRaskin: even if i swapped it for ram from another pc
<MichaelRaskin> I think I have done all working combos: MBR + GRUB, GPT + BIOS-boot + GRUB, GPT + gummiboot, GPT + UEFI + GRUB
<clever> except, memtest still said the ram in 3 other systems was also bad
<MichaelRaskin> A damaged memtest copy?
<clever> the gcc hardening in nixpkgs
<MichaelRaskin> Ahaha
Fare has quit [(Ping timeout: 258 seconds)]
<clever> memtest86 on nixos-unstable gives false errors
<MichaelRaskin> Great
xwvvvvwx has quit [(Quit: WeeChat 1.6)]
<clever> as for weird things ive done with grub
<clever> i have booted my laptop with ipxe + iscsi + grub legacy + gpt
Fare has joined #nixos
<clever> ipxe uses iscsi to open the root hdd over the LAN, and it then hijacked the legacy bios API for the primary master hdd, and ran the MBR
<clever> so grub legacy boots via the legacy bios api, thinking its a local drive the entire time
xwvvvvwx has joined #nixos
<clever> and that gets it far enough to load the kernel+initrd
<clever> and then a copy of iscsistart in the initrd is enough to make linux happy
<MichaelRaskin> Nice
<clever> i have since switched that laptop to an internal copy of nixos, it now has ZFS on LVM on LUKS, with a plaintext /boot, all ontop of GPT
<MichaelRaskin> I should learn to use LUKS, then make an initramfs with a ton of tools in the plain /boot/, and have unlock-capable boot on a USB key
<gchristensen> fpletz: opa! success!
<fpletz> gchristensen: yeah, finally %)
<fpletz> this looks interesting https://release-monitoring.org/
<fpletz> also knows about NixOS
<gchristensen> oh yes
ryantrinkle has joined #nixos
sitedyno has joined #nixos
moet has joined #nixos
moet has quit [(Client Quit)]
seagreen has quit [(Quit: WeeChat 1.6)]
<Ankhers> Hey, is there a way to manually update the time in NixOS? I have my timezone set correctly, but the time is still off by about an hour.
seagreen has joined #nixos
<Yaniel> have you tried timedatectl?
<Yaniel> or was it datetimectl
phreedom has joined #nixos
<Ankhers> timedatectl list-timezones apparently lists only UTC. Am I supposed to do something to install another timezone?
derjohn_mobi has joined #nixos
<Yaniel> I think it lets you set the current timezone?
<Yaniel> (not with list-timezones obviously)
Fare has quit [(Ping timeout: 255 seconds)]
<Ankhers> I get an error, "Failed to set time zone: changing system settings via systemd is not supported on NixOS."
<Yaniel> oh wait, that might be mentioned in the manual
mexisme2 has joined #nixos
<Yaniel> there's the time.timezone option
<clever> Ankhers: i would just manualy run ntpdate against an ntp server
<clever> Ankhers: that should perfectly set the clock for you
mexisme has quit [(Ping timeout: 255 seconds)]
<MichaelRaskin> nope.
alx741 has joined #nixos
<MichaelRaskin> You are supposed to call ntpd -gqc /dev/null
<MichaelRaskin> Or something like that
<MichaelRaskin> (it is upstream advice)
<clever> from what i remember, ntpdate is to set it once as fast as possible, while ntpd is to give it time to get a lock, and keep it locked
<MichaelRaskin> ntpd is configurable
sitedyno has quit [(Ping timeout: 258 seconds)]
alx741_ has quit [(Ping timeout: 276 seconds)]
sitedyno has joined #nixos
tvon has joined #nixos
cpennington has joined #nixos
mexisme2 has quit [(Read error: Connection reset by peer)]
mexisme has joined #nixos
<clever> ah, thats new
<clever> 2014.... to me... lol
<MichaelRaskin> Revision 1 is _2005_
shanemikel has joined #nixos
<gchristensen> nixos on the internet alert! http://www.krihelinator.xyz/ NixOS is #11
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vMQEG
<NixOS_GitHub> nixpkgs/master 39f08c7 Jörg Thalheim: gajim: fix patch url
sdothum has quit [(Quit: ZNC - 1.6.0 - http://znc.in)]
eacameron has quit [(Remote host closed the connection)]
Fare has joined #nixos
eacameron has joined #nixos
sdothum has joined #nixos
Jackneill_ has quit [(Read error: Connection reset by peer)]
mojjo has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
<mojjo> hi! has anybody experience with using haskell packages which depend on external libs. I'm having troubles using 'gloss' as a dependency in a stack project. stack --nix install gloss gives me 'Missing dependency on a foreign library.'
shanemikel has quit [(Quit: My MacBook Air has gone to sleep. ZZZzzz…)]
<Unode> hi all, a question about tmpfs filesystems. I have: http://dpaste.com/247NXRW but for some reason the size option is being ignored.
glenn has joined #nixos
<Unode> Is the syntax incorrect?
<Unode> by ignored I mean that the actual mount produces a 2G filesystem (default given 4G RAM) and not 3G
michaelpj has joined #nixos
glenn has quit [(Remote host closed the connection)]
glenn has joined #nixos
glenn has quit [(Remote host closed the connection)]
glenn has joined #nixos
shanemikel has joined #nixos
<justan0theruser> how do I find out when a package was published to the main nixos channel? https://nixos.org/nixos/packages.html
Fare has quit [(Ping timeout: 255 seconds)]
p0le has quit [(Quit: WeeChat 1.6)]
<Unode> and by produces I mean at boot. If I issue a "mount -o remount /tmp" after boot I get a 3G tmpfs... is this a bug?
jensens has joined #nixos
<Unode> Ralith: I'm giving up on the font issue... can't figure out what's wrong (with chromium) but at least firefox seems usable.
<Unode> currently trying to build a chromiumBeta to check if it's an upstream bug that got fixed in the meantime.
kampfschlaefer has quit [(Ping timeout: 256 seconds)]
sitedyno has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub> [nixpkgs] schneefux opened pull request #22024: Pkg.nextcloud (master...pkg.nextcloud) https://git.io/vMQze
deepfire has quit [(Ping timeout: 252 seconds)]
<NixOS_GitHub> [nixpkgs] lsix opened pull request #22025: Update django guardian (master...update_django_guardian) https://git.io/vMQz3
hiratara has quit [(Ping timeout: 255 seconds)]
glenn has quit [(Remote host closed the connection)]
hiratara has joined #nixos
sitedyno has joined #nixos
<NixOS_GitHub> [nixpkgs] pSub pushed 1 new commit to master: https://git.io/vMQgv
<NixOS_GitHub> nixpkgs/master 6bf6026 Pascal Wittmann: filezilla: 3.23.0.2 -> 3.24.0
glenn has joined #nixos
xadi has quit [(Quit: Leaving.)]
stepcut has quit [(Remote host closed the connection)]
stepcut has joined #nixos
_c_ has quit [(Ping timeout: 252 seconds)]
eacameron has joined #nixos
_c_ has joined #nixos
jmiven has quit [(Remote host closed the connection)]
slyfox_ has joined #nixos
jmiven has joined #nixos
slyfox has quit [(Ping timeout: 240 seconds)]
eacameron has quit [(Ping timeout: 240 seconds)]
deepfire has joined #nixos
cfricke has quit [(Quit: WeeChat 1.6)]
Itkovian has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 2 new commits to master: https://git.io/vMQ2i
<NixOS_GitHub> nixpkgs/master 8eb7c70 schneefux: nextcloud: 11.0.0 -> 11.0.1
<NixOS_GitHub> nixpkgs/master 8642b6c Franz Pletz: Merge pull request #22024 from schneefux/pkg.nextcloud...
hiratara has quit [(Remote host closed the connection)]
glenn has quit [(Remote host closed the connection)]
glenn has joined #nixos
hiratara has joined #nixos
cheshircat has quit [(Quit: WeeChat 1.5)]
cheshircat has joined #nixos
<bennofs> When I use services.hydra.enable = true, hydra-server service fails to start with Compilation failed. Is there anything I can do about that?
<bennofs> I'm on NixOS unstable
JagaJaga has quit [(Ping timeout: 255 seconds)]
<NixOS_GitHub> [nixpkgs] pSub pushed 2 new commits to master: https://git.io/vMQam
<NixOS_GitHub> nixpkgs/master 57f1198 Pascal Wittmann: udunits: 2.2.21 -> 2.2.23
<NixOS_GitHub> nixpkgs/master 280750c Pascal Wittmann: datamash: 1.1.0 -> 1.1.1
shanemik_ has joined #nixos
shanemikel has quit [(Ping timeout: 276 seconds)]
<LnL> not sure, I have a working setup with 16.09 and hydra master
<LnL> with two small changes
<NixOS_GitHub> [nixpkgs] pSub pushed 1 new commit to master: https://git.io/vMQal
<NixOS_GitHub> nixpkgs/master 487f2cf Pascal Wittmann: groovy: 2.4.7 -> 2.4.8
acarrico has joined #nixos
<bennofs> I get Jan 21 23:16:04 c-cube hydra-server[14959]: Compress::Raw::Bzip2 version 2.07 required--this is only version 2.064 at /nix/store/v4b73k27ijng18d38d79hghxmjisif1k-hydra-perl-deps/lib/perl5/site_perl/5.22.2/IO/Compress/Adapter/Bzip2.pm line
sdothum has quit [(Quit: ZNC - 1.6.0 - http://znc.in)]
jarlg has quit [(Quit: WeeChat 1.5)]
sdothum has joined #nixos
<bennofs> hmm looks like CompressRawBzip2 was updated in nixpkgs master
tvon has quit [(Quit: Peace out, y'all!)]
glenn has quit [(Remote host closed the connection)]
<bennofs> nixos-unstable is 10days old???
glenn has joined #nixos
shanemikel has joined #nixos
shanemik_ has quit [(Ping timeout: 240 seconds)]
<94KAAA71Q> [nixpkgs] Mic92 closed pull request #22020: ZfsUnstable: 0.7.0-rc2 -> 0.7.0-rc3 (master...zfs) https://git.io/vMQGq
<NixOS_GitHub> [nixpkgs] Mic92 pushed 4 new commits to master: https://git.io/vMQVe
<NixOS_GitHub> nixpkgs/master c33e1e0 Jörg Thalheim: zfsUnstable: 0.7.0-rc2 -> 0.7.0-rc3
<NixOS_GitHub> nixpkgs/master adecd56 Jörg Thalheim: splUnstable: 0.7.0-rc2 -> 0.7.0-rc3
<NixOS_GitHub> nixpkgs/master 56c6a43 Franz Pletz: zfs: add hint to try unstable version, fix typo
<Unode> bennofs: probably due to problems with Hydra
xadi has joined #nixos
<LnL> what problems?
pxc has joined #nixos
<mojjo> is there a haskell hacker using stack on nixos?...
<bennofs> mojjo: I'm not using stack yet, but planning to do that soon. What's your question?
xadi has quit [(Quit: Leaving.)]
<mojjo> I'm trying to use the haskell package gloss in a stack project. It depends on external libraries. Stack has a explicit nix flag, which is meant to handle those cases: That's why I could not compile the project in the beginning, but after putting the needed nixos(not haskell) dependencies in the stack.yaml the compilation worked. but when trying to execute the build, an error appears which indicates that there is sti
<mojjo> ll a lib missing.
<bennofs> mojjo: can you show that errro?
<mojjo> my-exe: user error (unknown GLUT entry glutInit)
xadi has joined #nixos
peti has quit [(Ping timeout: 252 seconds)]
<mojjo> and the only dependency I added to the yaml to make it compile was 'mesa'
<bennofs> mojjo: can you try running the program from outside the nix shell?
<NixOS_GitHub> [nixpkgs] jpierre03 closed pull request #21970: rrdtool: 1.5.5 -> 1.5.6 (master...jpierre03-rrdtool) https://git.io/vMXKb
jsgrant- has quit [(Read error: Connection reset by peer)]
jsgrant- has joined #nixos
xadi has quit [(Ping timeout: 276 seconds)]
glenn has quit [(Remote host closed the connection)]
mojjo has quit [(Ping timeout: 252 seconds)]
glenn has joined #nixos
faffolter has quit [(Ping timeout: 245 seconds)]
target_i has quit [(Quit: leaving)]
peti has joined #nixos
mojjo has joined #nixos
<mojjo> bennofs: sry, connection as broke. but read your msg in the log... wait
<mojjo> bennofs: I tried this: ./.stack-work/install/x86_64-linux-nix/lts-7.0/8.0.1/bin/my-exe
<mojjo> (outside a nix shell) but the error is the same
michaelpj has quit [(Ping timeout: 255 seconds)]
<mojjo> The only way I got the package working was by: $ nix-shell -p "haskellPackages.ghcWithPackages (pkgs: [gloss])", then it is known to ghc and it works fine.
<mojjo> rather pkgs.gloss
jgertm has joined #nixos
civodul has quit [(Ping timeout: 255 seconds)]
mexisme2 has joined #nixos
civodul has joined #nixos
wildjim has joined #nixos
mexisme has quit [(Ping timeout: 240 seconds)]
wildjim has quit [(Read error: Connection reset by peer)]
mexisme2 has quit [(Ping timeout: 240 seconds)]
Kingsquee has joined #nixos
mexisme has joined #nixos
<glenn> Hi all, is this the right place for noobie (user as opposed to developer) questions? (relates to nix-env on darwin)
<mojjo> glenn: go ahead..
<MichaelRaskin> Are there any Nix users on Darwin who don't become developers really quickly, if only to remove an obsolete Linux-only flag?
<ToxicFrog> glenn: I ask a lot of newbie questions here and people are pretty helpful, go for it
<MichaelRaskin> (which means there are no newbie user questions, just newbie developer questions!)
<glenn> coolio, thanks - so, having installed nix package manager, i'm playing with different profiles.. the prob i've to is that once i switch profile all my nix* commands vanish effectively as they are in the default profile.
<glenn> i can kinda work around this by always having /nix/...profiles/default in the path behind the currently selected profile, but what is the correct way of handing this?
<mojjo> glenn: what exactly do you mean by nix commands?
<glenn> sorry, for example nix-env
<LnL> adding entries to your path is fine
<LnL> I don't even use the profiles.d/nix.sh helper
<glenn> ok, cool, so thats normaal
<glenn> ok
<glenn> thanks LnL
cpennington has quit [(Ping timeout: 240 seconds)]
<glenn> and mojjo
<LnL> yes it's just a package manager, it doesn't manager your system
<LnL> if you want more system integration look at https://github.com/LnL7/nix-darwin :)
<glenn> :) ok, cool, thanks, i'll check that out
<NixOS_GitHub> [nixpkgs] cstrahan closed pull request #3603: add cross-compilation support for go compiler (master...go-cross) https://git.io/HVUnhw
<glenn> ah, that looks handy