<c74d> hm
<clever> you can leave it on for longer
<clever> or just not set a timer to disable it
<c74d> no, if I listen closely I can hear the fan as well, and it's different
c0bw3b has left #nixos []
<c74d> leaving it on longer did capture activity
<c74d> all from systemd-journal, kworker/u2, and jbd2/vda-8
<clever> normal stuff for a nixos machine
<clever> and part of that is the logger saving dmesg, which creates more messages
eacameron has quit [(Read error: Connection reset by peer)]
eacameron has joined #nixos
<c74d> hm, the noise pauses when the HDD makes actual read/write noises
<c74d> at least sometimes
Fare has quit [(Ping timeout: 268 seconds)]
<c74d> hm, switching away from the VM window to IRC doesn't affect the noise, but then switching back to the VM makes it pause briefly
bfrog_ has quit [(Ping timeout: 258 seconds)]
<clever> this reminds me of an issue on one of my older laptops, the capacitors near the cpu would make an audible noise, that is synced to the cpu usage
<clever> so i could hear the cpu load changing in real time
seku has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
zagy has joined #nixos
zagy has quit [(Client Quit)]
aneeshusa has joined #nixos
kampfschlaefer has quit [(Ping timeout: 258 seconds)]
bfrog_ has joined #nixos
Shoue has quit [(Ping timeout: 250 seconds)]
<NixOS_GitHub> [nixpkgs] lheckemann opened pull request #21010: endless sky: init at 0.9.4 (master...master) https://git.io/v1aP9
<sphalerite> https://github.com/NixOS/nixpkgs/pull/21010 my first nixpkgs PR :D
<sphalerite> oh hey the bot posted about it too
<sphalerite> thanks, bot!
eacamero_ has joined #nixos
bigvalen has left #nixos ["Leaving"]
digitus has quit [(Quit: digitus)]
eacameron has quit [(Ping timeout: 258 seconds)]
eacamero_ has quit [(Ping timeout: 246 seconds)]
eacameron has joined #nixos
aneeshusa has quit [(Ping timeout: 250 seconds)]
eacameron has quit [(Read error: Connection reset by peer)]
eacameron has joined #nixos
aneeshusa has joined #nixos
erasmas has quit [(Quit: leaving)]
estewei has quit [(Quit: Quit)]
redmq has joined #nixos
markus1189 has joined #nixos
eacameron has quit [(Ping timeout: 265 seconds)]
bfrog_ has quit [(Ping timeout: 246 seconds)]
markus1199 has quit [(Ping timeout: 258 seconds)]
eacameron has joined #nixos
nh2_ has quit [(Ping timeout: 260 seconds)]
herzmeister has quit [(Quit: Leaving)]
herzmeister has joined #nixos
eacameron has quit [(Ping timeout: 244 seconds)]
<gchristensen> aszlig: ping
eacameron has joined #nixos
eacameron has quit [(Ping timeout: 246 seconds)]
eacameron has joined #nixos
thc202 has quit [(Ping timeout: 250 seconds)]
m0rphism has joined #nixos
[0x4A6F] has quit [(Ping timeout: 256 seconds)]
eacameron has quit [(Ping timeout: 246 seconds)]
aneeshusa has quit [(Ping timeout: 260 seconds)]
stepcut has joined #nixos
<clever> gchristensen: do you know if hetzner uses dhcp or staticly configured IP's on each box?
angerman has joined #nixos
nh2_ has joined #nixos
<jmiven> clever: dhcp, at least on the VPSs
<clever> ah
eacameron has joined #nixos
stepcut has quit [(Remote host closed the connection)]
aneeshusa has joined #nixos
joelmo has joined #nixos
stepcut has joined #nixos
<nhooyr> I'm trying to override the patches being used while building a derivation. right now, they are `patches = [ ./remove-tools-1.7.patch ./cacert-1.7.patch ];` but I want to make them `patches = [ ./remove-tools-1.7.patch ];` in my ~/.nixpkgs/config.nix but the problem is that ./remove-tools-1.7.patch is in the directory of the derivation. how can I make that path relative to that directory?
<nhooyr> in the directory of the package*
Seichi has quit [(Quit: Konversation terminated!)]
[0x4A6F] has joined #nixos
bfrog_ has joined #nixos
<clever> nhooyr: <nixpkgs/pkgs/foo/bar/remove-tools-1.7.patch>
<nhooyr> clever: thanks!
glines has quit [(Ping timeout: 268 seconds)]
<nhooyr> is there a way to tell nix to keep the out folder of a derivation even if it fails to build?
<clever> -K
mudri has quit [(Ping timeout: 258 seconds)]
<clever> oh, the out folder
<clever> i think it always keeps it, but it doesnt register it as valid
<clever> and the next time you try a build, it will clean it up
eacameron has quit [(Remote host closed the connection)]
eacameron has joined #nixos
<c74d> clever: how unlikely is it that my strange high disk activity might be caused by some interaction between the VM I/O and my host's ZFS?
<clever> c74d: i also have zfs, and i can see a lot of write activity from its internal threads
<clever> [610566.130202] z_wr_int_5(1127): READ block 332197568 on sdd2 (16 sectors)
<clever> [610566.131166] z_null_iss(945): READ block 304 on sdc2 (8 sectors)
<clever> correction, every single record was a read
<c74d> oh, I hadn't thought to try block_dump on the host >_>
<clever> heh
<clever> so your only seeing what the guest has done to its virt block dev
eacamero_ has joined #nixos
eacameron has quit [(Ping timeout: 268 seconds)]
bfrog_ has quit [(Ping timeout: 245 seconds)]
<c74d> that does show activity, mostly from systemd-journal, ZFS, and "SimpleCacheWork", but I don't recognize anything as QEMU
<Leo`> Did anyone got tp_smapi to work on an X240?
<c74d> hm, the noise also pauses briefly when I switch back to X11 from a kernel console
<Leo`> (I got it to work with Debian, but I don't remember how... Just doing what https://nixos.org/wiki/Lenovo_Thinkpad_x200 says doesn't work.)
<clever> c74d: try playing with ctrl+z and fg on the qemu process, that will halt everything its doing, and resume it
eacamero_ has quit [(Ping timeout: 268 seconds)]
eacameron has joined #nixos
<Leo`> (Looks like acpi_call is enough for TLP to work... Not sure I need tp_smapi at all after all...)
<catern> hey #nixos
<catern> how can I check when I installed a package?
<catern> into my profile
<Leo`> catern: nix-env -q?
<clever> that will just show if it is installed, not when
sdothum has quit [(Ping timeout: 260 seconds)]
<Leo`> How, ok, misparsed the question.
<Leo`> Oh*
<clever> http://pastebin.com/c1eGkZJL in here, you can see the exact date+time each generation of my profile was made on
<clever> and adb is only present in 295, 296, and 297
ThatDocsLady has quit [(Ping timeout: 256 seconds)]
<Leo`> Btw, why are all the directories in /nix/store timestamped to 1970-01-01?
<clever> so it looks like i installed it on nov 1st at 8:46
<eacameron> Is there a way to see which precise version of nixpkgs is being used by my channel right now?
<clever> Leo`: purity, some builds behave differently depending on the mod-time of files
<Leo`> I see.
<clever> eacameron: realpath $(nix-instantiate --find-file nixpkgs)
<clever> /nix/store/k984k6xncihdsiajy99wk82gn3zhhy7x-nixos-17.03pre95306.a24728f/nixos
<clever> i am currently on git revision a24728f of nixpkgs
sdothum has joined #nixos
<nhooyr> clever: it never keeps it for me, any ideas why?
<nhooyr> (the out folder)
<clever> nhooyr: can you gist all of the output of nix-build?
muyfine has quit [(Quit: Textual IRC Client: www.textualapp.com)]
<nhooyr> just a sec
<nhooyr> clever: i'm stopping it manually right now so it doesn't take forever, that shouldn't matter right?
<nhooyr> like i'm gonna ctrl-c
<clever> if you stop it before it reaches the install phase, then it never made $out
<nhooyr> the package i was testing will take it a while
<nhooyr> I want to read the files where it panics
<nhooyr> in the stack trace
<nhooyr> if not out
<nhooyr> how can I preserve them?
<clever> looks like you just want -K
<nhooyr> ok thanks!
ThatDocsLady has joined #nixos
data8 has joined #nixos
<avn> btw folks, any way to clean up /nix/var/log/nix/drvs?
<avn> (or it cleaned up by GC?)
ekleog has left #nixos ["There are better worlds than this one"]
<clever> avn: my router goes a lot of builds, and also GC'd regularly, that dir is 55mb
<avn> clever: I have 259M there
ThatDocsLady has quit [(Ping timeout: 246 seconds)]
<avn> some files stay from 2015
<clever> can you paste the path for one of the larger/older files?
<avn> /nix/var/log/nix/drvs/00/3x4zwb9794iydhbclxl0h4cixq1vq0-cmake-2.8.12.2.drv.bz2 9.02.2015
<clever> avn: what does this output: ls -lh /nix/store/003x4zwb9794iydhbclxl0h4cixq1vq0-cmake-2.8.12.2.drv.bz2
<avn> Is not so hard to write script, which will purge files for non-exists stuff
<avn> ls -la /nix/store/003x4zwb9794iydhbclxl0h4cixq1vq0-cmake-2.8.12.2.drv no such file
<clever> not sure then, i would expect GC to do it
Rotaerk has joined #nixos
<avn> clever: I expect it myself
derjohn_mobi has joined #nixos
<clever> only thing i can think of is that you did some naughty things in your early nixos days and manualy deleted things
<clever> ive done that, it deleted the active nixos generated, lol
ilja_kuklic has quit [(Ping timeout: 250 seconds)]
derjohn_mob has quit [(Ping timeout: 265 seconds)]
ThatDocsLady has joined #nixos
zraexy has quit [(Ping timeout: 258 seconds)]
rardiol has quit [(Ping timeout: 244 seconds)]
glines has joined #nixos
rardiol has joined #nixos
agjacome has quit [(Quit: leaving)]
<NixOS_GitHub> [nixpkgs] garbas pushed 2 new commits to master: https://git.io/v1adt
<NixOS_GitHub> nixpkgs/master 3a1d52f Rok Garbas: updateScript: initital work
<NixOS_GitHub> nixpkgs/master d295d68 Rok Garbas: firefox-bin: updated the updateScript with suggestions from @Mic92...
aneeshusa has quit [(Ping timeout: 246 seconds)]
aneeshusa has joined #nixos
echo-area has joined #nixos
<gchristensen> ugh nixops + hetzner is so annoying
<gchristensen> we should seriously consider dropping everything but aws + hardware
<simpson> gchristensen: We should keep GCE!
<clever> gchristensen: i have thought about how to integrate my kexec idea with nixops
<clever> gchristensen: in theory, you just need to ssh into the root account, inspect some state (ip addr mainly), build the kernel+initrd, scp, execute, and wait for ssh to come back, then it behaves like it booted from the install ISO
<clever> gchristensen: in theory, it will work on any hoster that obeys the MBR loader
<gchristensen> aye
<gchristensen> simpson: I dunno, gce doesn't work as nicely as aws. I don't care what we have as long as it works well
<gchristensen> and users don't have to fight with nixops to do it
<clever> gchristensen: the kexec idea also opens up routes that arent currently available, like partition table control
<simpson> gchristensen: GCE is cheaper than AWS and I'm not interested in leaving GCE.
<gchristensen> that is fine, sure, whatever, we could support other providers via unofficial plugins
mguentner2 has quit [(Ping timeout: 250 seconds)]
mguentner3 has joined #nixos
<gchristensen> the problem isn't GCE the problem is nixops + not enough time and effort behind anything than aws
<clever> gchristensen: with a few more changes, my kexec thing could nixos-ify any host in one go, and leave it without a configuration.nix file, then you can target it with the none env in nixops
aneeshusa has quit [(Ping timeout: 248 seconds)]
<gchristensen> yeah
<gchristensen> that might be the thing
<clever> only scary thing, is that you need to be real carefull where you aim the thing
<clever> insta-format!
<gchristensen> haha yeah
herzmeister has quit [(Quit: Leaving)]
<clever> with these files, any machine on my LAN that tries to netboot will land at a nixos prompt
<clever> and if i run "justdoit", the hdd is nuked, and nixos is installed
herzmeister has joined #nixos
anelson has quit [(Ping timeout: 245 seconds)]
<clever> with a slight tweak, that could run on bootup, and now its death&rebirth! :P
data8 has quit [(Quit: nite nite)]
<Rotaerk> hmm if a default.nix takes parameters, is there some way to run it directly, or does it have to be callPackaged by something else
<clever> nix-build -E 'with import <nixpkgs>{}; callPackage ./default.nix {}'
<Rotaerk> ah
<clever> the something else can be in-lined with -E
<Rotaerk> k, I see; thanks
data8 has joined #nixos
anelson has joined #nixos
rardiol has quit [(Ping timeout: 244 seconds)]
nh2_ has quit [(Quit: Leaving.)]
<Rotaerk> think I'm going to start naming my cabal2nix-generated files <project>.cabal.nix, so that it's clear that it was generated
<Rotaerk> and thus only to be "modified" through overriding
rardiol has joined #nixos
<stepcut> I installed the latest hydra from github, but when I look at a build for a job I get this http://i.imgur.com/Sxkb0t5.png, is hydra broken, or did I screw things up ?
<clever> stepcut: i'm guessing the db schema is out of sync with the code
<stepcut> so, I thought that might be the case, so I started with a fresh database and ran hydra-init
<clever> if the schema in hydra-init is out of sync with the code, it will happen every time
<gchristensen> this is driving me crazy: https://github.com/NixOS/nixops/issues/356 I can't even figure out how my old solution worke.
<clever> imperative solutions are evil!
<stepcut> :)
mbrgm has quit [(Ping timeout: 250 seconds)]
<gchristensen> yes well I'd take _any_ solution
rardiol has quit [(Ping timeout: 260 seconds)]
<clever> gchristensen: error 60 is ssl, export SSL_CERT_FILE=/etc/ssl/certs/ca-bundle.crt
<clever> which may need to be inserted into .bashrc or .bash_profile, since ssh may not set it for non-login shells
<gchristensen> I've tried that one. I'mactually getting curl error 77
<clever> 77 Problem with reading the SSL CA cert (path? access rights?).
<clever> does that file exist on the target?
<gchristensen> yup
<gchristensen> I can't properly strace though b/c it is perl
<clever> can you pastebin your console?
<gchristensen> yeah one second
mbrgm has joined #nixos
<clever> gchristensen: strace -ff -o logfiles nix-store --realize /nix/store/q7d0217f5mf2pbw37y389x06y8ha5355-etc
<clever> gchristensen: and then try to gist every file it made
<clever> may need to tar them up, move to a working machine, untar, and then run gist -p logfiles.* on them
<gchristensen> oooooooh magic
<clever> -f will follow a fork, -ff will append the pid to the output name (resulting in logfiles.1234), which makes it much much easyer to follow
<gchristensen> omg clever
<gchristensen> thank you
<clever> oh, and -s is often of use
<clever> strace will cut things off a lot
aneeshusa has joined #nixos
<clever> strace -s 3000 -ff -o logfiles nix-store --realize /nix/store/q7d0217f5mf2pbw37y389x06y8ha5355-etc
<gchristensen> it is because nix-store here is going in to a chroot
<clever> then you can just grep "Curl error 77" logfiles*
<gchristensen> where /etc/ssl/certs/ca-certificates.crt doesn't exist
<clever> to find which process originaly made the err
<clever> ah, nix-store shouldnt do that on its own, but if you know where the chroot is, just copy the contents of the file over
<clever> oh, thats strange
<clever> i would have just used nixos-install --chroot
<clever> which drops you into a shell, with all the mounts setup for you
<gchristensen> hetzner automation
<clever> ah
<clever> then just copy the contents of the ssl file over
glines has quit [(Ping timeout: 246 seconds)]
<clever> mkdir -pv /mnt/etc/ssl/certs && cat /etc/ssl/certs/ca-certificates.crt > /mnt/etc/ssl/certs/ca-certificates.crt
<clever> gchristensen: it sounds like somebody automated the linode guide from the wiki?
echo-are` has joined #nixos
<gchristensen> maybe? I have no idea
<clever> gchristensen: also, it sounds like this would be a great template for my kexec+nixops thing
<clever> gchristensen: it sounds like that is forcing the server into a rescue OS, that lacks nix, and then does funny things
<gchristensen> oh yes
zagy has joined #nixos
<gchristensen> that is what it does
zagy has quit [(Client Quit)]
<clever> my kexec drops you into a rescue ramdisk, with full nixos
<clever> think about how much simpler it becomes
<gchristensen> I agree :)
<gchristensen> here are all the shenanigans
<clever> oh, and another thought, the target server may not have an os yet
<clever> just do the kexec, inside the rescue shell it already has!
echo-area has quit [(Ping timeout: 250 seconds)]
<clever> does that rescue shell have kexec in the path?
<gchristensen> no :(
<clever> does /proc/config* exist?
<gchristensen> http://ix.io/1L5I
<clever> CONFIG_KEXEC=y
<clever> yep, its enabled in the kernel
<clever> so we just need to copy over a build of the userland half from nixpkgs
<clever> want to give it a try?
<gchristensen> how about in the AM?
<gchristensen> (8+hrs from now)
<gchristensen> I'mvery tired
<clever> kk, i can automaticaly tar it up to make things go faster
<gchristensen> yes! :D
Fare has joined #nixos
<NixOS_GitHub> [nixpkgs] amiloradovsky opened pull request #21012: planner: making Gantt and Resource Usage views usable (master...planner-line-styles) https://git.io/v1aAL
sitedyno has quit [(Ping timeout: 246 seconds)]
glines has joined #nixos
<c74d> can one allow a specific unfree package?
<clever> c74d: yeah, let me find it
<clever> c74d: allowUnfreePredicate is a function, that takes a derivation name and returns true or false
<clever> it goes into the same config as allowUnfree
<c74d> clever: okay, thanks
glines has quit [(Ping timeout: 244 seconds)]
glines has joined #nixos
<Rotaerk> in that hetzner-bootstrap.nix file, what's with the first line?
<Rotaerk> line 1 seems to be a set, and then the rest of the file is a derivation... what's the first line even for?
sdothum has quit [(Read error: Connection reset by peer)]
<clever> Rotaerk: that forces nixpkgs to do a 64bit linux build, and overrides pkgs.nix to use nixUnstable
<clever> Rotaerk: its just a modified form of with import <nixpkgs> {};
<Rotaerk> ah
<clever> line 4 loads nixpkgs again, this time without setting system
<clever> so if your on a mac, line 4 provides mac packages
<Rotaerk> why force it to do a 64-bit linux build?
<Rotaerk> if the mac ones are what're actually used in the derivation
<clever> probably so the stuff its uploading to the linux server doesnt wind up being mac
sdothum has joined #nixos
<Rotaerk> ah
<clever> i have also seen other nixops users spam with import <nixpkgs> {}; everywhere, because they didnt know how to use callPackage
<clever> that causes the entire application to be compiled for mac, then pushed to the linux server
Wizek has quit [(Ping timeout: 250 seconds)]
systemfault has quit [(Quit: Bye!)]
Wizek_ has quit [(Ping timeout: 260 seconds)]
<NixOS_GitHub> [nixops] grahamc opened pull request #564: Bundle ca-certs with hetzner bootstrap, fixes #356 (master...fix-certs) https://git.io/v1axq
TheAppleMan has quit [(Ping timeout: 246 seconds)]
PragCyphr has joined #nixos
<clever> gchristensen: almost done the tarball
garbas has quit [(Quit: WeeChat 1.6)]
PragCyph1 has quit [(Ping timeout: 256 seconds)]
aneeshusa has quit [(Ping timeout: 244 seconds)]
garbas has joined #nixos
<clever> gchristensen: except, due to a util-linux->systemd->kexectools dependency, fixing kxectools is practicaly a mass-rebuild
sitedyno has joined #nixos
bfrog_ has joined #nixos
Wizek has joined #nixos
Wizek_ has joined #nixos
hexagoxel_ has joined #nixos
hyper_ch has joined #nixos
christine_ has quit [(Ping timeout: 245 seconds)]
hexagoxel has quit [(Ping timeout: 264 seconds)]
hexagoxel_ is now known as hexagoxel
mguentner3 has quit [(Quit: WeeChat 1.6)]
<NixOS_GitHub> [nixpkgs] chris-martin opened pull request #21014: git-bz: add pycrypto dependency (master...git-bz-pycrypto) https://git.io/v1apG
bfrog_ has quit [(Ping timeout: 246 seconds)]
mguentner has joined #nixos
aneeshusa has joined #nixos
<stepcut> ok, that hydra error I pasted later is because I upgrade to the new hydra, but my init scripts were broken so the old hydra server never stopped and the new one never started
<clever> ah
<clever> so i was half right, but didnt think about that possibility
<eacameron> clever: I never thanked you for the solution to getting the git hash of my channel. Thank you! Your knowledge knows no bounds. (Whether no bounds is worth knowing, only you would know.)
<clever> heh
<stepcut> I spent waaay too long figuring that out :)
<stepcut> it would help if, ps ax | grep hydra, had showed the server was running, but it shows up as starman
<stepcut> this would likely work better if I was running hydra on NixOS instead of Ubuntu
<stepcut> getting the init.d scripts to start *and* stop reliably is a black art
<clever> ive got nixos and hydra on my router, and its simple to start/stop
<eacameron> clever deploys hydra to his router O_o
<clever> i call it a router, but its a dual-socket rack-mountable server, with 3gig of ecc ram, and 3 gigabit ethernet ports
<clever> but it does dhcp and nat, so that makes it a router, right?
<simpson> clever: Do you happen to have any nixos-container networking snippets? Every time I fight with nixos-container, I seem to have networking troubles.
<clever> simpson: i just setup NAT when i was doing that, one sec
<simpson> I want generally for my containers to just be free to access Internets.
slack1256 has joined #nixos
<clever> simpson: line 8 has to be the external ip of the host, on the LAN, and line 12 has to differ from the lan subnet
<clever> 18&19 need to be unique within that new subnet
<clever> and 10 forwards things to the container
<simpson> Mm. I hate reading networking configuration. But this looks really useful, thanks.
bfrog_ has joined #nixos
<eacameron> simpson: I wouldn't mind reading it if I actually understand a word of it. :/
<eacameron> Too bad my networking prof was the worst prof in the school installing WireShark was about as much as we learned that semester.
<clever> having done the same thing in my nixos router, it was simple to do again
<simpson> Ah, yes, code is always easier to write the third time around.
<clever> eacameron: i have written wireshark decoding plugins, heh
<eacameron> clever: Lol...you would
glines has quit [(Ping timeout: 246 seconds)]
<clever> simpson: i have also previously ran a linuxfromscratch router before, and manualy turned my laptop into a router a few times with entirely manual iptables and ip commands
uralbash has joined #nixos
<simpson> clever: Yeah, like, I remember doing all that stuff a decade ago, but then I forgot all of it.
bfrog_ has quit [(Ping timeout: 260 seconds)]
glines has joined #nixos
<Rotaerk> there some way to use antiquoting in a path?
<Rotaerk> ./${project}.nix doesn't seem to work
mk-fg has quit [(Ping timeout: 256 seconds)]
<clever> Rotaerk: ./. + "/${project}.nix" i think
<Rotaerk> heh, that worked
<clever> paths can have strings appended to them
<clever> but after each append, nix will normalize the path
<clever> so ./. + "/" == ./. (the trailing slash is dropped)
<clever> so you cant do the obvious ./. + "/" + project + ".nix"
<clever> ( and ) can force it, but antiquoting it inside a string also works
<eacameron> So hypothetical scenario. You have a nixops deployment and you lose the state file...how do you recover a situation where you can deploy again? (Presuming you have another way of accessing the machine to add a new key or something
stepcut has quit [(Remote host closed the connection)]
<clever> none that i know of, somebody that i talked to a few months ago kept the nixops state in git (with some gpg crypto over it)
<clever> which also allowed sharing the state with other people
<clever> to sync it up
anelson has quit [(Remote host closed the connection)]
<Rotaerk> I'm doing let ghcpkgs = nixpkgs.pkgs.haskell.packages.ghc801 in (ghcpkgs.callPackage ./myproject.nix {}), but some of the dependencies of my project, while they exist in ghcpkgs, aren't the right version
<Rotaerk> I have access to a good version from git...
<Rotaerk> should I basically do something like... let self = ghcpkgs // { myDependencyOverride = callPackage (mkDerivation (/* pull from git */)) }
<Rotaerk> and then the expression above
anelson has joined #nixos
glines has quit [(Ping timeout: 260 seconds)]
Wizek_ has quit [(Ping timeout: 265 seconds)]
Wizek has quit [(Ping timeout: 260 seconds)]
glines has joined #nixos
Wizek has joined #nixos
Wizek_ has joined #nixos
<Rotaerk> though really, if a local package is meant to have a reproducible build, it really shouldn't draw upon nixpkgs derivations at all...
<Rotaerk> since updating nixpkgs could update one of the local package's dependencies
joelmo has quit [(Quit: Connection closed for inactivity)]
<eacameron> Rotaerk: I'm not exactly sure I understand, but it seems like you want to override your package set with some patched version of a package.
<eacameron> Rotaerk: That is a tad tricky because if that package has downstream dependencies, they also need to rely on the patched version.
<eacameron> Rotaerk: Let me show you what I have...
<clever> Rotaerk: pkgs2 = import <nixpkgs> {}; fixedPoint = pkgs2.fetchFromGitHub { owner = "nixos"; repo = "nixpkgs"; rev = "something"; sha512 = "something"; }; pkgs = import fixedPoint { config = {}; };
<Rotaerk> eacameron, I want to use the reflex package, but when I nix-build, I get errors indicating that it encountered missing dependencies
<clever> Rotaerk: pkgs2 can update, but all its used for is to download a fixedPoint version, which goes into pkgs
<clever> Rotaerk: and the pkgs instance is told to ignore ~/.nixpkgs/config.nix, to further enhance the reproducability
<Rotaerk> actually, I guess this error is due to an inconsistent combination of hackage packages in this particular build of nixpkgs
<Rotaerk> not a problem with my own project
<eacameron> Rotaerk: If you're overriding a dependency, it's probably because it's not being transitively applied to downstream dependents. One sec...
<Rotaerk> reflex 0.4.0 in nixpkgs requires base >=4.7 && <4.9, but the version of base in there is 4.9
<eacameron> Rotaerk: Hmm...well this still might be helpful: https://gist.github.com/3noch/7095975e2e61e37f7a7c4b4c123909a8
<eacameron> It's cut out of one of my projects, but it basically shows how to come up with a new haskell package set and override some of the dependencies in a fully transitive way (no inconsistencies)...it also shows how to get a package directly from GitHub.
<eacameron> I think reflex-platform already has a (likely better version) of my fetchCabal thingy
<eacameron> It really should be called "callCabal"
<Rotaerk> clever, interesting. don't think that approach would work here, though; looks like you're downloading an expression and then importing it, but in my case I want to get a different version of the source for this package from its github repo
sdothum has quit [(Quit: ZNC - 1.6.0 - http://znc.in)]
<clever> Rotaerk: you can also aim that at your fork of nixpkgs, and include customizations
<clever> Rotaerk: or put the customizations into the config argument, it supports overrides
<eacameron> clever: Rotaerk: That's essentially what my example is doing, but only for haskell packages (i.e. not all of nixpkgs)
<Rotaerk> ah, so it's explicitly pulling from cabal..
<eacameron> Rotaerk: Yah sorry not tons of docs there. It downloads from GitHub, runs cabal2nix on it, and then runs callPackage on *that*
<eacameron> :P
hotfuzz has quit [(Read error: Connection reset by peer)]
hotfuzz_ has joined #nixos
<eacameron> Rotaerk: peti agrees this function should be included in nixpkgs...just haven't gotten around to it yet.
<Rotaerk> k, thanks, will go over it in depth
<eacameron> Rotaerk: Yah, you'll want to be generally familiar with how overrides system works for package sets: https://nixos.org/nixpkgs/manual/#how-to-build-projects-that-depend-on-each-other
<eacameron> Once you have an overridden set, you can say "dependencies = with myOverriddenSet; [ dep1 dep2 dep3];" and it will use your revised set
<Rotaerk> yea I read that section; obviously didn't fully understand it though
<Rotaerk> thanks, will re-read
<eacameron> Rotaerk: "overrides = self: super: { ... }" really is confusing. "self" is the revised set that you're currently defining. "super" is the unrevised set that you're revising...
<eacameron> so you'll notice "fetchCabal' = ... fetchCabal { haskellPackages = self; }" <- which is saying "when you build this package with cabal, build it with the new set of packages that I'm currently defining. Since packages are built in dependency order, that won't create a cycle of any sort.
angerman has quit [(Remote host closed the connection)]
angerman has joined #nixos
stepcut has joined #nixos
mk-fg has joined #nixos
grisher has quit [(Quit: Chickens don't clap!)]
jacob_ has joined #nixos
jacob_ is now known as Guest85226
grisher has joined #nixos
zagy has joined #nixos
aneeshusa has quit [(Ping timeout: 250 seconds)]
slack1256 has quit [(Remote host closed the connection)]
mk-fg has quit [(Ping timeout: 245 seconds)]
christine_ has joined #nixos
glines has quit [(Ping timeout: 265 seconds)]
spacekitteh has joined #nixos
amarsman has quit [(Quit: amarsman)]
mk-fg has joined #nixos
hotfuzz_ has quit [(Read error: No route to host)]
hotfuzz has joined #nixos
grisher has quit [(Quit: Chickens don't clap!)]
fritschy has joined #nixos
grisher has joined #nixos
MercurialAlchemi has joined #nixos
herzmeister has quit [(Read error: Connection reset by peer)]
amarsman has joined #nixos
Itkovian has joined #nixos
Fare has quit [(Ping timeout: 268 seconds)]
andymandias has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
herzmeister has joined #nixos
griff_ has joined #nixos
saintromuald has quit [(Ping timeout: 256 seconds)]
AllanEspinosa has quit [(Ping timeout: 250 seconds)]
wkennington has joined #nixos
bennofs1 has joined #nixos
griff_ has quit [(Ping timeout: 260 seconds)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
anelson has quit [(Ping timeout: 245 seconds)]
hotfuzz has quit [(Read error: Connection reset by peer)]
hotfuzz has joined #nixos
echo-are` is now known as echo-area
anelson has joined #nixos
bennofs1 has quit [(Ping timeout: 246 seconds)]
andymandias has joined #nixos
Itkovian has joined #nixos
zagy has quit [(Quit: Leaving.)]
eacameron has quit [(Remote host closed the connection)]
eacameron has joined #nixos
wangoe has quit [(Ping timeout: 250 seconds)]
eacameron has quit [(Ping timeout: 265 seconds)]
kampfschlaefer has joined #nixos
data8 has quit [(Read error: Connection reset by peer)]
christine_ has quit [(Ping timeout: 245 seconds)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<NixOS_GitHub> [nixpkgs] rbvermaa pushed 1 new commit to release-16.09: https://git.io/v1VtT
<NixOS_GitHub> nixpkgs/release-16.09 38b1bd9 Rob Vermaas: Fix hash for p7zip patch (seems fetchurl hash was added, while fetch-patch function is used.
Itkovian has joined #nixos
<NixOS_GitHub> [nixpkgs] rbvermaa pushed 1 new commit to master: https://git.io/v1Vtq
<NixOS_GitHub> nixpkgs/master 0a90a53 Rob Vermaas: Fix hash for p7zip patch (seems fetchurl hash was added, while fetch-patch function is used....
teknico has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #21014: git-bz: add pycrypto dependency (master...git-bz-pycrypto) https://git.io/v1apG
<NixOS_GitHub> [nixpkgs] rbvermaa pushed 1 new commit to release-16.09: https://git.io/v1Vtu
<NixOS_GitHub> nixpkgs/release-16.09 7a28df4 Rob Vermaas: Fix location of broadcom sta driver.
<lewo> hi. How could I write a file in a test VM (makeTest) before starting any services? Is there an exemple of such kind of "preprovionning"?
<lewo> (this is besically to create a /var/run/my-file in order to simulate nixops deployment keys mecanism)
christine_ has joined #nixos
ckauhaus has joined #nixos
markus1189 has quit [(Remote host closed the connection)]
anelson has quit [(Ping timeout: 258 seconds)]
anelson has joined #nixos
hotfuzz_ has joined #nixos
hotfuzz has quit [(Ping timeout: 258 seconds)]
zagy has joined #nixos
markus1189 has joined #nixos
vandenoever has joined #nixos
vandenoever has quit [(Changing host)]
vandenoever has joined #nixos
ericsagn1 has quit [(Ping timeout: 246 seconds)]
<NixOS_GitHub> [nixops] rbvermaa pushed 1 new commit to master: https://git.io/v1Vmi
<NixOS_GitHub> nixops/master 50d6e15 Rob Vermaas: Add i2 and c5 as hvm instances.
eacameron has joined #nixos
<lewo> ok, boot.postBootCommands doest the job
eacameron has quit [(Ping timeout: 245 seconds)]
<clever> lewo: normaly, id use a prestart on the systemd unit, auto-generate random keys before starting up
<NixOS_GitHub> [nixops] rbvermaa pushed 1 new commit to master: https://git.io/v1VYc
<NixOS_GitHub> nixops/master 0740a03 Rob Vermaas: Remove the need to add new HVM instance types. HVM is the default nowadays for new instance types, so better to just check if it is not a PV GRUB instance type.
ktosiek is now known as ktosiekk
ktosiekk is now known as ktosiek
ktosiek is now known as ktosie
ktosie is now known as ktosiek
johann__ has quit [(Quit: Leaving.)]
tat_ has joined #nixos
<NixOS_GitHub> [nixops] rbvermaa pushed 1 new commit to master: https://git.io/v1VYo
<NixOS_GitHub> nixops/master b57820d Rob Vermaas: Regenerated ec2-properties.nix, which new instance types.
<tat_> i just saw that the debian pkg's on hydra.nixos.org are failing to build, are you still actively supporting deb package installation ?
Wizek_ has quit [(Ping timeout: 265 seconds)]
<lewo> clever, do you have an example?
<lewo> clever, and are you overriding the prestart of an existing unit file, or do you create a new unit file that has to be run before all others?
<clever> lewo: i usualy put the prestart on the unit that cares about the keys, generaly in the same module file
<clever> lewo: the sshd service is an example of that already in nixos
latk has joined #nixos
ckauhaus has quit [(Quit: Leaving.)]
<lewo> clever, not sure we are speaking about the same usecase. I have a module that can gets its secret from /var/run/some-file. In order to test this module, I want to write a test taht use this module and create this secret file (which would be normally created by nixops). So I don't want to put this part in the module itself since this is only used by the test.
<clever> my thought, is to have it generate its own secret when nixops isnt at play
markus1189 has quit [(Ping timeout: 260 seconds)]
<clever> and then the testcase can read the file out of the guest, to steal the secret and continue testing
jgeerds has joined #nixos
johann__ has joined #nixos
latk has quit [(Quit: Textual IRC Client: www.textualapp.com)]
<chattered> Not sure whether I should be asking this here or in #emacs, but it seems my Emacs has lost all its dbus functions. It's compiled with dbus-support by default, right?
<chattered> (at least, I can't see --without-dbus in the configure flags)
ckauhaus has joined #nixos
<lewo> clever, ok, I understand
derjohn_mobi has quit [(Ping timeout: 260 seconds)]
Judson has quit [(Ping timeout: 260 seconds)]
ThatDocsLady has quit [(Ping timeout: 260 seconds)]
elurin has joined #nixos
goibhniu has joined #nixos
Guest350 has joined #nixos
christine_ has quit [(Ping timeout: 245 seconds)]
rly has joined #nixos
ilja_kuklic has joined #nixos
Judson has joined #nixos
ThatDocsLady has joined #nixos
johann__ has quit [(Quit: Leaving.)]
FRidh has joined #nixos
<NixOS_GitHub> [nixpkgs] nico202 opened pull request #21015: non: 2016-04-05 -> 2016-12-07 (master...non) https://git.io/v1VZ1
Cinnamon811rc has joined #nixos
civodul has joined #nixos
<Cinnamon811rc> Hello! Could you help me with installation of nixOS?
thc202 has joined #nixos
<goibhniu> Hi Cinnamon811rc, what's up?
<NixOS_GitHub> [nixpkgs] knedlsepp opened pull request #21016: openblas: Fix build issue when inside VM and CPU is undetected (master...fix-openblas-build) https://git.io/v1VnY
derjohn_mobi has joined #nixos
tat_ has quit [(Read error: Connection reset by peer)]
hyper_ch has quit [(Ping timeout: 260 seconds)]
<Cinnamon811rc> Grub i386 failed to set on a separate partition, and I missed the step where the installer asked about root password
<Cinnamon811rc> and now I cannot login into the system installed
<Cinnamon811rc> what is the default passsword?
<goibhniu> so you have it installed and booting?
<Cinnamon811rc> yes from another grub
hyper_ch has joined #nixos
<Cinnamon811rc> from aptosid
<Cinnamon811rc> and I cannot get into the system
AllanEspinosa has joined #nixos
<Cinnamon811rc> I installed 17.03 version
<Cinnamon811rc> kde4 is terrible but kde5 is nice
lsix has joined #nixos
Seichi has joined #nixos
edvorg has joined #nixos
<clever> Cinnamon811rc: simplest thing is to just boot from the installer, re-mount things, and re-run nixos-install
<clever> Cinnamon811rc: it should finish in under a minute, since all the files are present, and re-ask for the root pw
AllanEspinosa has quit [(Ping timeout: 268 seconds)]
<Cinnamon811rc> and how to write it in config file that no grub is needed?
<clever> boot.loader.grub.device = "nodev"; tells it to not install a grub to the MBR
<Cinnamon811rc> aha perfect
<Cinnamon811rc> the quotes are needed?
<clever> yeah
<Cinnamon811rc> "nodev"
<clever> it will still make a grub.cfg in /boot, but nothing will be installed to the MBR
<Cinnamon811rc> thank you very much I will try
<Cinnamon811rc> I appreciate your help thank you
<Cinnamon811rc> see you
johann__ has joined #nixos
Cinnamon811rc has left #nixos ["Leaving"]
roconnor has quit [(Ping timeout: 250 seconds)]
jensens has joined #nixos
griff_ has joined #nixos
ericsagn1 has joined #nixos
<NixOS_GitHub> [nixpkgs] AndersonTorres opened pull request #21017: rst2html5: init at 1.8.2 (master...rst2html5) https://git.io/v1VCs
christine_ has joined #nixos
m0rphism has quit [(Quit: WeeChat 1.4)]
derjohn_mobi has quit [(Ping timeout: 260 seconds)]
ebzzry has quit [(Ping timeout: 244 seconds)]
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 1 new commit to master: https://git.io/v1VCH
<NixOS_GitHub> nixpkgs/master c94e44b Michael Raskin: linkFarm: prefer local build
<NixOS_GitHub> [nixpkgs] edolstra pushed 1 new commit to master: https://git.io/v1VCp
<NixOS_GitHub> nixpkgs/master c94454a Eelco Dolstra: nixUnstable: 1.12pre4523_3b81b26 -> 1.12pre4911_b30d1e7
MarcelineVQ has quit [(Ping timeout: 246 seconds)]
Seichi has quit [(Remote host closed the connection)]
Seichi has joined #nixos
zagy has quit [(Quit: Leaving.)]
zagy has joined #nixos
derjohn_mobi has joined #nixos
MarcelineVQ has joined #nixos
iyzsong has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 2 new commits to master: https://git.io/v1V8s
<NixOS_GitHub> nixpkgs/master af12024 Joachim Fasting: ndiswrapper: mark as broken...
<NixOS_GitHub> nixpkgs/master 3e6f9a5 Joachim F: Merge pull request #21007 from joachifm/ndiswrapper...
<NixOS_GitHub> [nixpkgs] edolstra pushed 1 new commit to release-16.09: https://git.io/v1V8G
<NixOS_GitHub> nixpkgs/release-16.09 bca4e40 Eelco Dolstra: diffoscope: 52 -> 63...
hotfuzz_ is now known as hotfuzz
christine_ has quit [(Ping timeout: 258 seconds)]
ilja_kuklic has quit [(Ping timeout: 244 seconds)]
iyzsong has quit [(Read error: Connection reset by peer)]
adev has joined #nixos
RchrdB has joined #nixos
mudri has joined #nixos
iyzsong has joined #nixos
<domenkozar> if someone wants to upvote nix stuff at HN https://news.ycombinator.com/newest
amarsman has quit [(Quit: amarsman)]
markus1189 has joined #nixos
<NixOS_GitHub> [nixpkgs] josthkko opened pull request #21018: chromedriver: 2.21 -> 2.25 (master...patch-1) https://git.io/v1VBO
<NixOS_GitHub> [nixpkgs] joachifm pushed 2 new commits to master: https://git.io/v1VBu
<NixOS_GitHub> nixpkgs/master f3fda19 Nicolò Balzarotti: non: 2016-04-05 -> 2016-12-07
<NixOS_GitHub> nixpkgs/master 7833315 Joachim F: Merge pull request #21015 from nico202/non...
wkennington has quit [(Read error: Connection reset by peer)]
IITaudio has joined #nixos
<IITaudio> Hi, I'm using pkgs.writeText to write some config file from configuration.nix. I'd like to create also a couple of scripts. Is there a way to set the permissions of files created by writeText?
<joachifm> IITaudio: see build-support/trivial-builders.nix
christine_ has joined #nixos
<IITaudio> joachifm: executable true, was that easy, thanks!
<kragniz> domenkozar: on the front page now :)
<domenkozar> so easy
<joachifm> IITaudio: :)
johann__ has quit [(Quit: Leaving.)]
griff_ has quit [(Quit: griff_)]
AllanEspinosa has joined #nixos
<ben> Why does nix-env -qasP hit the network? :(
AllanEspinosa has quit [(Ping timeout: 245 seconds)]
<gchristensen> ben: "The third is S or -, indicating whether a substitute is available for the derivation."
<gchristensen> ben: ie: it checks the substitution cache (cache.nixos.org) for the substitution
<ben> Oh, so it tries to fetch every single substitute
<gchristensen> mmm probably not actually fetching, probably a HEAD or something to see if it exists
Ivanych has quit [(Ping timeout: 250 seconds)]
<gchristensen> ben: that is the `-s` option, btw
mudri has quit [(Ping timeout: 248 seconds)]
<gchristensen> ben: `man nix-env` you can not pass `-s` and it won't check
<ben> yeah
<ben> Thanks; I guess I won't pass -s in the future because I appear to suffer from a network condition where simultaneously created connections cause most of them to silently be dropped
cfricke has joined #nixos
<gchristensen> whoa... that is a neat trick ..
Ivanych has joined #nixos
Fare has joined #nixos
mudri has joined #nixos
ericsagn1 has quit [(Ping timeout: 250 seconds)]
<gchristensen> ikwildrpepper: :( https://github.com/NixOS/nixpkgs/commit/38b1bd9e729485d418f20c43c275c2856837f8cf -- I used fetch-url for several patches :(
<gchristensen> ikwildrpepper: fixing
herzmeister has quit [(Quit: Leaving)]
<ikwildrpepper> gchristensen: ?
nh2_ has joined #nixos
<gchristensen> the issue of the hash mismatch, I also used fetch-url to get the hashes for https://github.com/NixOS/nixpkgs/pull/20973/commits/86da9839b17127c0ca474dc56a58717160bbcc6c
<ikwildrpepper> ah
<ikwildrpepper> that explains the xen error I had this morning, which I didn't want to look into :D
herzmeister has joined #nixos
<gchristensen> which I'm fixing now. I had learned earlier this week that `nix-prefetch-url` can take an attribute, and it was so much nicer than build-and-wait-for-error
<NixOS_GitHub> [nixpkgs] romildo opened pull request #21019: roboto: 2.134 -> 2.135 (master...upd.roboto) https://git.io/v1Vzs
johann__ has joined #nixos
<LnL> gchristensen: this is why I stopped using the nix-prefetch-tools
<gchristensen> yeah ... so usually this problem would be caught by my build machine and I'd fix before merging... but that one isn't back up yet.
<LnL> the annoying thing with fetchpatch is that it won't complain once it's in the store
<gchristensen> eh?
<LnL> so you have to run nix-build --check -E 'fetchpatch ...' or build on another machine
IITaudio has quit [(Quit: Leaving)]
<NixOS_GitHub> [nixpkgs] grahamc pushed 1 new commit to master: https://git.io/v1Vz7
<NixOS_GitHub> nixpkgs/master a2d6e8a Graham Christensen: xen: Fix patch hashes...
<LnL> it would be nice if you could just give a derivation expression to nix-prefetch and it would detect the fetchurl/fetchpatch attributes and check those
<NixOS_GitHub> [nixpkgs] grahamc pushed 1 new commit to release-16.09: https://git.io/v1Vzb
<NixOS_GitHub> nixpkgs/release-16.09 c43a79e Graham Christensen: xen: Fix patch hashes...
Shoue has joined #nixos
<NixOS_GitHub> [nix] edolstra pushed 1 new commit to master: https://git.io/v1Vg2
<NixOS_GitHub> nix/master 47f5877 Eelco Dolstra: Probably fix a segfault in PathLocks
<sphalerite> is there anything analogous to apt show for nixos? The metadata is all there, but what about querying it?
<sphalerite> I guess I could grep through the actual expressions, but surely there's a way with a better UX?
<LnL> nix-env -qaP is the closest thing
<sphalerite> that's more like apt search
<manveru> sphalerite: you'll like nox
<sphalerite> that's also more like apt search
<manveru> oh, my bad
<LnL> ah, you can get the meta field from a drv
<manveru> what format is the drv even? it's not nix or json...
<sphalerite> although I guess nox does show most of the relevant metadata
<LnL> sphalerite: nix-env -qaA nixpkgs.hello --meta --json
<sphalerite> excellent UX ;)
<sphalerite> I'll just stick to nvim nixpkgs/**/<name>/default.nix for now
sdothum has joined #nixos
<manveru> nix-env -f '<nixpkgs>' -qaA hello --meta --json | $(nix-build '<nixpkgs>' -A jq)/bin/jq
<manveru> :)
scode has quit [()]
scode has joined #nixos
<manveru> yeah... it's not exactly a beauty, hopefully we'll get the new nix cli soon
<FRidh> Ugh why am I using Nix for constructing a listening test.
<gchristensen> b/c you're an addict
<FRidh> Yes, I guess so.
<FRidh> The first part that is working is kind of neat though. Now, I get to the point I need a PRNG and somehow I don't think that would be part of Nix.
edvorg has quit [(Remote host closed the connection)]
<gchristensen> I've used /dev/random to make prngs in a runCommand derivation, and with an input parameter to use as a `seed` for when I want to regenerate it
<gchristensen> so the randomness is stable until I want to new randomness
jgeerds has quit [(Quit: Leaving)]
<rly> Do we have a jsonlinter packaged?
<FRidh> gchristensen: and then import from derivation to get the result?
<gchristensen> yeah
<FRidh> I was thinking of doing something like that, although in Python. But I don't know, how many "layers" of IFD can nix handle?
Bodil has quit [()]
Bodil has joined #nixos
systemfault has joined #nixos
<gchristensen> :)
johann__ has quit [(Read error: Connection reset by peer)]
johann__ has joined #nixos
Ivanych has quit [(Ping timeout: 260 seconds)]
amarsman has joined #nixos
agarzia has quit [()]
agarzia has joined #nixos
johann__ has quit [(Quit: Leaving.)]
Fare has quit [(Ping timeout: 260 seconds)]
<sphalerite> I just saw that the closure for pavucontrol includes a whole lot of dev packages, including gtk+3 and all that it depends on. I'm guessing that's not really necessary? How can I debug it?
Wizek has quit [(Ping timeout: 260 seconds)]
anelson has quit [(Ping timeout: 245 seconds)]
anelson has joined #nixos
<joachifm> sphalerite: one thing you can do is grep for store paths and work from there
rly has quit [(Ping timeout: 250 seconds)]
<joachifm> sphalerite: then there's nix-store -q --tree &c
<sphalerite> oooh yes that's nice
<sphalerite> thanks!
emmanueloga has quit [()]
emmanueloga has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 2 new commits to release-16.09: https://git.io/v1Vw1
<NixOS_GitHub> nixpkgs/release-16.09 a8e2b3e Tim Steinbach: linux: 4.4.36 -> 4.4.37...
<NixOS_GitHub> nixpkgs/release-16.09 fbd303f Tim Steinbach: linux: 4.8.12 -> 4.8.13...
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 2 new commits to master: https://git.io/v1VwM
<NixOS_GitHub> nixpkgs/master e861a5f Tim Steinbach: linux: 4.4.36 -> 4.4.37
<NixOS_GitHub> nixpkgs/master bfffbb5 Tim Steinbach: linux: 4.8.12 -> 4.8.13
<sphalerite> hm, cairo-dev seems to be getting brought in by cairomm, but the only reference to cairo-dev I can find is in cairomm's propagated-native-build-inputs. Surely that shouldn't cause it to become a dependency?
<sphalerite> (runtime dependency)
<joachifm> it all depends on which store paths end up being written to the output
<joachifm> there's all sorts of reasons why you might pick up unwanted refs
Ivanych has joined #nixos
systemfault has quit [(Quit: Bye!)]
johann__ has joined #nixos
glines has joined #nixos
Wizek has joined #nixos
rardiol has joined #nixos
<FRidh> sphalerite: $ nix-store -qR $(nix-build -A cairo) I don't see any dev packages
<FRidh> oh wait, that should be pavucontrol
<sphalerite> or cairomm
<sphalerite> cairomm references cairo-dev
<sphalerite> I don't really understand the mechanisms at play here
AllanEspinosa has joined #nixos
echo-area has quit [(Remote host closed the connection)]
<avn> sphalerite: cairomm shouldn't, but cairomm-dev should. Possible propagated reference putted to $out, not to $dev
<sphalerite> right
<sphalerite> that's what I thought. No idea how it would be fixed though
AllanEspinosa has quit [(Ping timeout: 250 seconds)]
<avn> haven't idea, where propagation happens (cairomm/default.nix haven't explicit propagation)
<avn> so it have `propagatedBuildInputs = [ cairo libsigcxx ];`, idk where it handled in scripts
<avn> possible it not multi-output ready
<avn> sphalerite: try to ask vcunat, he better know how pkgs/build-support/setup-hooks/multiple-outputs.sh works
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #21019: roboto: 2.134 -> 2.135 (master...upd.roboto) https://git.io/v1Vzs
glines has quit [(Ping timeout: 250 seconds)]
Cinnamon811rc has joined #nixos
<gchristensen> domenkozar, ikwildrpepper ^
<Cinnamon811rc> Hello! Could you, please, tell me how to add ModemManager in the config file? Is it services.modemamanger?
<Cinnamon811rc> I am in countryside and can connect to the Internet via Modem only.
<Cinnamon811rc> Maybe somebody knows?
Fare has joined #nixos
smola_ has quit [()]
smola_ has joined #nixos
<gchristensen> Cinnamon811rc: we don't seem to have a service for ModemManager
<Cinnamon811rc> really? only via wifi?
<gchristensen> I don't know, I'm sorry :(
<Cinnamon811rc> it is ok, thank you. When I tried to install guixSD there was ModemManager there. But they derived their OS from nixOS
<gchristensen> one minute, Cinnamon811rc
pchiusano has quit [()]
<Cinnamon811rc> aha thank you:)
pchiusano has joined #nixos
adulteratedjedi has quit [()]
adulteratedjedi has joined #nixos
johann__ has quit [(Quit: Leaving.)]
<gchristensen> I don't know how modemmanager works
<gchristensen> but you can get it from pkgs.modemmanager, `nix-shell -p modemmanager`
<Cinnamon811rc> I mean it is Mobile Modem on the USB flash drive
cpennington has joined #nixos
<Cinnamon811rc> what does it mean? single back quotes?
<Cinnamon811rc> I am new and do not know what is nix-shell
<Cinnamon811rc> should I write it in term?
<gchristensen> I'm sorry, Cinnamon811rc, I've run out of time for right now. I'm hoping someone else can help you :) however: typing `nix-shell -p modemmanager` at the term will open a shell where modemmanager is in the PATH
<Cinnamon811rc> tham you for your support and have a great day
<Cinnamon811rc> thank you
<NixOS_GitHub> [nixpkgs] joachifm pushed 3 new commits to master: https://git.io/v1VXw
<NixOS_GitHub> nixpkgs/master ca7cc96 Joachim Fasting: grsecurity: enable PAX_INITIFY...
<NixOS_GitHub> nixpkgs/master 9a63779 Joachim Fasting: grsecurity: use upstream url as the primary source
<NixOS_GitHub> nixpkgs/master d1a5dc0 Joachim Fasting: grsecurity: 4.8.12-201612062306 -> 4.8.13-201612082118
yorick_ is now known as yorick
<NixOS_GitHub> [nixpkgs] joachifm pushed 1 new commit to release-16.09: https://git.io/v1VXQ
<NixOS_GitHub> nixpkgs/release-16.09 f8bea71 Joachim Fasting: grsecurity: 4.8.12-201612062306 -> 4.8.13-201612082118...
chaoflow has joined #nixos
uralbash has quit [(Quit: Leaving.)]
pi3r has joined #nixos
<pi3r> is it possible to pass a resolver to buildStackProject ?
eacameron has joined #nixos
glines has joined #nixos
eacameron has quit [(Ping timeout: 244 seconds)]
exi has joined #nixos
Rotaerk has quit [(Quit: Leaving)]
<exi> hi
<exi> anyone here knows how to use nixos-rebuild switch --build-host <myhost>
<exi> ?
<exi> i only get:
<exi> error: imported archive of ‘/nix/store/9krlzvny65gdc8s7kpb6lkx8cd02c25b-default-builder.sh’ lacks a signature
<exi> ah, one more line on top:
<exi> copying 213 missing paths (0.48 MiB) to ‘builder@nixos.lan’...
<exi> error: imported archive of ‘/nix/store/9krlzvny65gdc8s7kpb6lkx8cd02c25b-default-builder.sh’ lacks a signature
<exi> so it fails to copy paths over but there is no documentation to tell my why that is and how to fix it
Cinnamon811rc has left #nixos ["Leaving"]
philips has quit [()]
philips has joined #nixos
fritschy has quit [(Quit: Leaving.)]
alx741 has joined #nixos
glines has quit [(Ping timeout: 264 seconds)]
roconnor has joined #nixos
<exi> anyone?
rly has joined #nixos
m0rphism has joined #nixos
glines has joined #nixos
johann__ has joined #nixos
Seichi_ has joined #nixos
Seichi has quit [(Ping timeout: 260 seconds)]
MercurialAlchemi has quit [(Ping timeout: 260 seconds)]
<rly> How am I supposed to use bundix?
chaoflow has quit [(Quit: WeeChat 1.6)]
<manveru> with a lot of enthusiasm
cpennington has quit [(Ping timeout: 264 seconds)]
<rly> manveru: the documentation lists some commands, but it never bothers to say what it will achieve.
<manveru> is aflatter still linked somewhere?
<NixOS_GitHub> [nixpkgs] edolstra pushed 2 new commits to release-15.09: https://git.io/v1VSD
<NixOS_GitHub> nixpkgs/release-15.09 5e9cb9d Gabriel Ebner: minisat: migrate from builderDefsPackage to mkDerivation...
<NixOS_GitHub> nixpkgs/release-15.09 bdbe680 Gabriel Ebner: minisat: support clang...
<rly> manveru: #1 on Google.
<manveru> well, please tell them then :)
gleber has quit [()]
gleber has joined #nixos
<manveru> he hasn't done anything on that repo for ages, and i haven't been able to contact him either
<NixOS_GitHub> [nixpkgs] ttuegel closed pull request #21009: qt5.6: darwin compatibility (master...qt5.6.2-darwin) https://git.io/v1aV8
eacameron has joined #nixos
eacameron has quit [(Remote host closed the connection)]
eacameron has joined #nixos
<rly> manveru: That gets me "Cannot write a changed lockfile while frozen."
<manveru> delete the lockfile
<rly> manveru: the one in the nix store? That's a read-only file system.
<rly> manveru: there is no other lockfile.
<manveru> where do you get the error from?
<manveru> when running bundix?
<rly> manveru: bundler lock
<manveru> oh
<manveru> can you try this then: $(nix-build '<nixpkgs>' -A bundler)/bin/bundler lock && $(nix-build '<nixpkgs>' -A bundix)/bin/bundix -d
<rly> manveru: that works fine.
<Spritzgebaeck> hello, i have currently ipv6 only and i want to visit nixos.org.... but it's not available with ipv6
<gchristensen> Spritzgebaeck: is this a request for help on how to get ipv4 on your computer, or a bug report that nixos.org doesn't have ipv6?
<Spritzgebaeck> oh, a bug report
<gchristensen> ok
<rly> manveru: is there no hacky way to run Ruby applications without doing anything like this?
<gchristensen> I can't imagine how many groups you're contacting to report the same bug :)
<manveru> rly: chroot?
<manveru> or docker maybe
<eacameron> Anyone have feedback on handling state files in nixops? https://github.com/NixOS/nixops/issues/565
<manveru> on nixos you'll run into trouble as soon as you have gems with native extensions otherwise
<rly> manveru: how do you mean? Do they not work at all?
<manveru> they don't build
cpennington has joined #nixos
<manveru> anw, i basically run the above line everytime i change the Gemfile, and it works for me that way
<rly> manveru: so, it can be made to work?
<rly> manveru: I really have no idea what you mean.
<manveru> i'm not sure what you mean with "hacky way"
<rly> manveru: OK, in that case just ignore that comment.
johann__ has quit [(Quit: Leaving.)]
<manveru> this is the nix way, where else would you get the checksums for your gems?
<rly> manveru: I'd like to see a documented method which works for any ruby project just containing some ruby files with some dependencies.
<rly> Native or otherwise.
<manveru> me too :)
Fare has quit [(Ping timeout: 248 seconds)]
<rly> manveru: can you explain why 'bundler lock' doesn't work in my case?
<rly> manveru: the error message regarding its "frozen" state is rather terrible, IMHO.
<Spritzgebaeck> gchristensen: okay, thank you
<rly> manveru: that's not an answer.
<rly> manveru: it just explains why a particular code path is activated.
<rly> manveru: you are putting `bundler lock` (a command which doesn't work in general) as the first command in your documentation.
<rly> manveru: I think that's odd.
zagy has quit [(Quit: Leaving.)]
L0g4nAd4ms has joined #nixos
pi3r has quit [(Quit: Leaving)]
<L0g4nAd4ms> hi, quick question: which "release channel" do you recommend ? stable ?
<gchristensen> yes
<L0g4nAd4ms> how does the release model work anyway ?
<gchristensen> every 6 months we take a snapshot from master and test it carefully and fix any issues
<gchristensen> then release that as stable
<gchristensen> for the next 6 months, the stable release gets only security updates and bug fixes
cpennington has quit [(Ping timeout: 240 seconds)]
<L0g4nAd4ms> so traditional release model
cpennington has joined #nixos
L0g4nAd4ms has quit [(Remote host closed the connection)]
<manveru> rly: sorry, was in a meeting, the issue is that the doc is probably outdated
<manveru> we added the frozen env afterwards to deal with another issue regarding modification of the Gemfile.lock in the nix store
<gchristensen> domenkozar, ikwildrpepper: 44605761 and 44602587 also aren't reproducible failures
erasmas has joined #nixos
Sonarpulse has joined #nixos
<manveru> hmm, looks like the `nix-shell -i ruby` patch never actually fixed the issue :(
<FRidh> hmm, glib.dev has a c file in it
glines has quit [(Ping timeout: 256 seconds)]
herzmeister has quit [(Quit: Leaving)]
herzmeister has joined #nixos
katyucha has quit [(Quit: leaving)]
rly has quit [(Ping timeout: 250 seconds)]
rly has joined #nixos
ThatDocsLady has quit [(Quit: Arma-geddin-outta-here!)]
Seichi_ has quit [(Remote host closed the connection)]
Seichi_ has joined #nixos
FRidh has quit [(Remote host closed the connection)]
derjohn_mobi has quit [(Ping timeout: 256 seconds)]
rly has quit [(Ping timeout: 260 seconds)]
rly has joined #nixos
Seichi has joined #nixos
Seichi_ has quit [(Ping timeout: 268 seconds)]
<NixOS_GitHub> [nixpkgs] cillianderoiste closed pull request #21018: chromedriver: 2.21 -> 2.25 (master...patch-1) https://git.io/v1VBO
amarsman has quit [(Ping timeout: 246 seconds)]
ariel has joined #nixos
ariel is now known as Guest10411
ckauhaus has quit [(Quit: Leaving.)]
<Guest10411> hey! how can one install node modules globally? Currently tried npm -g install 'module', but it prompts me for admin accesss
Seichi has quit [(Quit: Konversation terminated!)]
herzmeister has quit [(Quit: Leaving)]
spacekit1eh has joined #nixos
herzmeister has joined #nixos
kragniz has quit [(Read error: Connection reset by peer)]
kragniz has joined #nixos
<sphalerite> fractal: neat, thanks for the pointer
spacekitteh has quit [(Ping timeout: 250 seconds)]
<sphalerite> or rather investigating the issue
zagy has joined #nixos
cpennington has quit [(Ping timeout: 258 seconds)]
digitus has joined #nixos
lsix has quit [(Quit: Konversation terminated!)]
rly has quit [(Ping timeout: 248 seconds)]
adev has quit [(Remote host closed the connection)]
alx741_ has joined #nixos
hlavaty has left #nixos ["ERC (IRC client for Emacs 25.1.1)"]
alx741 has quit [(Ping timeout: 264 seconds)]
iyzsong has quit [(Ping timeout: 268 seconds)]
Guest350 has quit [(Ping timeout: 265 seconds)]
devhell has joined #nixos
<manveru> zimbatm: i think we should add the bundled_gems to ruby...
amarsman has joined #nixos
L0g4nAd4ms has joined #nixos
<L0g4nAd4ms> OK, i seem to be to stupid to change my x server keyboard layout to german. I have layout = "de", xkbModel = "pc105", but that does not seem to be enough.
<manveru> zimbatm: also i'd love an option to exclude the rdocs for production
<manveru> i'll give it a try tonight
<L0g4nAd4ms> anybody know what i do wrong ? These are my layout options in configuration.nix. https://paste.pound-python.org/show/OjI8OF026pxz7CxuXscu/
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<manveru> L0g4nAd4ms: what does `setxkbmap -query` say?
<L0g4nAd4ms> well, one moment
<L0g4nAd4ms> rules: evdev, model: pc105, layout: de,de, variant ,
<L0g4nAd4ms> @manveru, ^
<manveru> that looks wrong?
<L0g4nAd4ms> yeah, i know xD
<manveru> setxkbmap -layout de
<manveru> try that
<L0g4nAd4ms> setxkbmap is all just temporary
<manveru> yes
<manveru> but first you gotta figure out wtf is wrong with that comma
<L0g4nAd4ms> yeah now the comma is gone
<L0g4nAd4ms> the question is, what should i delete / edit now in my central config file
<manveru> i've never used the variant setting, but the manpage says it influences the layout flag as well
<manveru> so if you remove that line, it should work
<manveru> and maybe try to set it to "sk" instead of ",sk"
zagy has quit [(Quit: Leaving.)]
<L0g4nAd4ms> OK ill reboot now to see if it works
cfricke has quit [(Quit: WeeChat 1.6)]
L0g4nAd4ms has quit [(Remote host closed the connection)]
<manveru> just rebuild switch and restart X?
<manveru> xserver.enableCtrlAltBackspace = true; is handy too btw :)
ericsagn1 has joined #nixos
mudri has quit [(Ping timeout: 268 seconds)]
L0g4nAd4ms has joined #nixos
<L0g4nAd4ms> Well, it does not work. In Gnome i got german keyboard layout (because i set them in the settings) but on gdm i still got us layout
aneeshusa has joined #nixos
<L0g4nAd4ms> @manveru, ^
<L0g4nAd4ms> and then after a reboot there is again a "," in "variant"
iyzsong has joined #nixos
iyzsong has quit [(Read error: Connection reset by peer)]
devhell has quit [(Ping timeout: 268 seconds)]
<manveru> what's your nix config now?
<L0g4nAd4ms> you mean the settings for the x server keyboard layout ?
<manveru> yeah, you removed the variant line or changed it?
<L0g4nAd4ms> removed variant, only got layout = de and xkbModel
<NixOS_GitHub> [hydra] domenkozar pushed 1 new commit to master: https://git.io/v1wUI
<NixOS_GitHub> hydra/master de55303 Renzo Carbonara: Fix SQL syntax for migration 50. It failed with PostgreSQL 9.4. (#416)
<manveru> then i really don't know, sorry :(
<L0g4nAd4ms> i think maybe its because i set the keyboard layout in gnome manually via GUI
<manveru> you might wanna check out the source of nixos to see why it ends up like that
<manveru> i only use i3, and it's fine here
cpennington has joined #nixos
jensens has quit [(Ping timeout: 258 seconds)]
<L0g4nAd4ms> yeah well, got one last idea, gonna try that now
L0g4nAd4ms has quit [(Remote host closed the connection)]
civodul has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
ryanartecona has joined #nixos
Guest10411 has quit [(Quit: Page closed)]
amarsman has quit [(Quit: amarsman)]
christine_ has quit [(Ping timeout: 258 seconds)]
amarsman has joined #nixos
<manveru> zimbatm: ignore the gems thing, i noticed it's the rails express stuff changing them
L0g4nAd4ms has joined #nixos
<L0g4nAd4ms> ok does still not work, i got no ideas anymore xD
<L0g4nAd4ms> if i could just use localectl xDD
Wizek has quit [(Ping timeout: 260 seconds)]
mudri has joined #nixos
L0g4nAd4ms has quit [(Client Quit)]
alx741 has joined #nixos
msd has joined #nixos
alx741_ has quit [(Ping timeout: 244 seconds)]
latk has joined #nixos
dgn has joined #nixos
Itkovian has joined #nixos
aneeshusa has quit [(Quit: WeeChat 1.6)]
m0rphism has quit [(Quit: WeeChat 1.4)]
Itkovian has quit [(Client Quit)]
dgn has quit [(Ping timeout: 260 seconds)]
Wizek has joined #nixos
estewei has joined #nixos
zagy has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/v1wt0
<NixOS_GitHub> nixpkgs/master d14586c montag451: nautilus: 3.20.2 -> 3.20.3 (#20853)
<gchristensen> I wonder if we should be talking more loudly about these people using nixos (see the nix-dev thread)
c0bw3b has joined #nixos
goibhniu has quit [(Ping timeout: 244 seconds)]
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to staging: https://git.io/v1wmF
<NixOS_GitHub> nixpkgs/staging ff62e8a Vladimír Čunát: glib: avoid runtime reference from gtk3...
ecraven has left #nixos []
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to staging: https://git.io/v1wmp
<NixOS_GitHub> nixpkgs/staging b05b120 Vladimír Čunát: Merge branch 'master' into staging
<stepcut> $ hydra-queue-runner --help
<stepcut> error: unrecognised flag ‘--help’
<stepcut> Try ‘hydra-queue-runner --help’ for more information.
<stepcut> :(
<NixOS_GitHub> [nixpkgs] vcunat closed pull request #20862: gnome-control-center: provides access to the tracker gsettings schemas (master...gnome-control-center-tracker) https://git.io/v1CIl
<gchristensen> stepcut: :|
<stepcut> I am getting this error, "possibly transient failure building ‘/nix/store/pd5arhhskwbkzmn21nzkh97wjh48lv23-appraisalscribe-paths-8564ecf.drv’ on ‘localhost’:" when hydra-queue-runner tries to run a job -- any idea if there is a way to get more information about why the step failed?
teknico has left #nixos []
<stepcut> I think it is an issue with fetchgitPrivate :-/
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/v1wO2
<NixOS_GitHub> nixpkgs/master e54650e Vladimír Čunát: gnome-control-center: port the parent commit to 3.22...
mizu_no_oto has joined #nixos
seanz has joined #nixos
griff_ has joined #nixos
<NixOS_GitHub> [nixpkgs] dtzWill opened pull request #21023: musl: 1.1.11 -> 1.1.15, add security patch. (master...update/musl) https://git.io/v1w3q
griff_ has quit [(Quit: griff_)]
glines has joined #nixos
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
mizu_no_oto has joined #nixos
rly has joined #nixos
pi3r has joined #nixos
mizu_no_oto has quit [(Client Quit)]
griff_ has joined #nixos
k11` has joined #nixos
k11` has quit [(Read error: Connection reset by peer)]
k11` has joined #nixos
Guest350 has joined #nixos
pi3r has quit [(Ping timeout: 240 seconds)]
<dtzWill> zomg update.nix wut maybe I can replace my kludge-tastic collection of scripts soon! \o/
pi3r has joined #nixos
<gchristensen> woot
<k11`> I can't upgrade nix manually :(
<LnL> k11`: it's to old to evaluate nixpkgs?
<k11`> LnL: yes
<k11`> It seems wrong link in 'one-click install' on hydra
<LnL> that does 't work anymore
glines has quit [(Ping timeout: 250 seconds)]
<k11`> I tried: curl -L https://hydra.nixos.org/build/42718869/nix/pkg/nix-1.11.4-i686-linux.nixpkg | nix-install-package --non-interactive -
<NixOS_GitHub> [nixpkgs] edolstra pushed 1 new commit to master: https://git.io/v1wZg
<NixOS_GitHub> nixpkgs/master c5b96ca Eelco Dolstra: minisat: Fix build on Darwin
<LnL> but you can just nix-env -i /nix/store/<sha>-nix
<NixOS_GitHub> [nixpkgs] edolstra pushed 1 new commit to release-15.09: https://git.io/v1wZi
<NixOS_GitHub> nixpkgs/release-15.09 3727911 Eelco Dolstra: minisat: Fix build on Darwin...
<k11`> LnL: hmm... thanks
<LnL> that just downloads it from the cache without trying to evaluate nixpkgs :)
Judson has quit [(Remote host closed the connection)]
<pi3r> I am probably doing something wrong but I really don't understand what is this error about: http://pastebin.com/raw/PknPDxtq
<pi3r> I am not even using Apple ...
<k11`> LnL: I have a new trouble :)
<k11`> LnL: new old trouble
<k11`> error: evaluation aborted with the following error message: ‘This version of Nixpkgs requires Nix >= 1.10, please upgrade! See https://nixos.org/wiki/How_to_update_when_Nix_is_too_old_to_evaluate_Nixpkgs
msd has quit [()]
<LnL> are you using nixos-rebuild?
<k11`> yes
<k11`> I tried to upgrade too old installation
<LnL> then you have to set some environment variable to make nixos-rebuild use the new version of nix
ryanartecona has quit [(Quit: ryanartecona)]
<LnL> but I don't remember what it is
<k11`> LnL: ok
<LnL> have you looked at https://nixos.org/nixos/manual ?
<k11`> LnL: of course, but this manual seems outdated
rly has quit [(Ping timeout: 260 seconds)]
pi3r has quit [(Ping timeout: 250 seconds)]
<LnL> it's still not in there? :(
pi3r has joined #nixos
rly has joined #nixos
<pi3r> So I see why my nix.shell is completely off .. I was actually expecting this to work:
<pi3r> with (import <nixpkgs> {}).pkgs;
<pi3r> (haskellPackages.callPackage ./. {servant = pkgs.haskellPackages.servant_0_9_1_1; servant-client = pkgs.haskellPackages.servant-client_0_9_1_1;}).env
ryanartecona has joined #nixos
<pi3r> It does compile the default.nix package but it is not available as an exec. I thought 'env' would do that for me ?
griff_ has quit [(Quit: griff_)]
zagy has quit [(Quit: Leaving.)]
<srhb> pi3r: You probably want one of the ghcWithPackages ...
<srhb> Oh, wait, you're expecting servant-client to produce an executable?
<srhb> I'm confused. It's just a library, so there is no executable.
<NixOS_GitHub> [nix] domenkozar pushed 1 new commit to master: https://git.io/v1wB8
<NixOS_GitHub> nix/master 41d6523 Domen Kožar: Document builtins.match, fixes #1145
<pi3r> srhb: no the default.nix is a supposedly producing the executable
brh has quit [(Quit: Lost terminal)]
spacekit1eh has quit [(Ping timeout: 258 seconds)]
spacekitteh has joined #nixos
<srhb> pi3r: What executable?
pi3r has quit [(Ping timeout: 265 seconds)]
elurin has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
redmq has quit [(Ping timeout: 248 seconds)]
nh2_ has quit [(Ping timeout: 240 seconds)]
<Ralith> srhb: he's invoking a package in the current directory
<NixOS_GitHub> [nixpkgs] LnL7 pushed 1 new commit to master: https://git.io/v1wal
<NixOS_GitHub> nixpkgs/master 2444baf Daiderd Jordan: include me in mention bot for darwin
josdotso has joined #nixos
zagy has joined #nixos
saintromuald has joined #nixos
<simpson> garbas: (and also fridh who is missing) I just learned about https://wiki.python.org/moin/PyPIJSON information. Would this help us autogenerate Python packages at all?
AllanEspinosa has joined #nixos
tormen_ has quit [(Ping timeout: 250 seconds)]
<NixOS_GitHub> [nixpkgs] NeQuissimus opened pull request #21025: atom: 1.12.6 -> 1.12.7 (master...atom_1_12_7) https://git.io/v1wVp
nh2_ has joined #nixos
anelson has quit [(Ping timeout: 258 seconds)]
anelson has joined #nixos
FRidh has joined #nixos
<FRidh> garbas: i use both this and the xmlrpc API to get the meta data
<FRidh> but it doesn't include dependencies
<FRidh> oh, simpson: ^
<simpson> FRidh: Aha.
<garbas> simpson: FRidh: yup also it doesnt check if specifications are possible to resolve
<simpson> FRidh, garbas: That's too bad. But I guess it makes a bit of sense; we're the only ones AFAIK that do dependency resolution so early in the build process.
Guest37568 has quit [(Changing host)]
Guest37568 has joined #nixos
Guest37568 has quit [(Changing host)]
Guest37568 has joined #nixos
<NixOS_GitHub> [nixops] domenkozar created deployment.hasFastConnection (+1 new commit): https://git.io/v1wru
<NixOS_GitHub> nixops/deployment.hasFastConnection cde351b Domen Kožar: Move has_really_fast_connection() to Nix...
Guest37568 is now known as scott
ldng has joined #nixos
nh2_ has quit [(Ping timeout: 258 seconds)]
Guest350 has quit [(Ping timeout: 258 seconds)]
<NixOS_GitHub> [nixops] domenkozar force-pushed deployment.hasFastConnection from cde351b to 8042933: https://git.io/v1wrS
<NixOS_GitHub> nixops/deployment.hasFastConnection 8042933 Domen Kožar: Move has_really_fast_connection() to Nix...
dstufft has joined #nixos
<dstufft> Hi!
<FRidh> dstufft: hi
<dstufft> I'm told by simpson that y'all are looking for some sort of API on PyPI?
* simpson communicating
<FRidh> simpson: simpson asked whether the pypi api could be of use. I've looked into it in the past, and we can use it to auto update our packages. It doesn't include dependencies, but that's a known problem :)
<dstufft> it sort of kinda does include deps
<dstufft> if we know about them
<NixOS_GitHub> [nixpkgs] romildo opened pull request #21027: flat-plat-gtk-theme: eba3be5 -> 2016-12-03 (master...upd.flat-plat-gtk-theme) https://git.io/v1wou
<FRidh> that's something new for me. How does pypi get to know them?
<LnL> dstufft: where?
<gchristensen> oh hi dstufft :) <3
<dstufft> FRidh: so it's kind of a mess right now :/ The "info" box there is populated by the first file that was uploaded to PyPI or the last time setup.py register was ran. If the first file someone uploaded was (A) a wheel and (B) was uploaded using twine, then PyPI will know about the dependencies
<dstufft> this isn't a 100% solution, because different wheels could have different dependencies (e.g. python specific ones) if someone isn't using environment markers for their conditional dependencies
ryanartecona has quit [(Quit: ryanartecona)]
rardiol has quit [(Read error: Connection reset by peer)]
<dstufft> If someone uses twine and does like ``twine upload dist/*``, then twine will ensure that it uploads a wheel first (it obviously can't if someone explicitly calls twine multiple times with different files though)
<dstufft> gchristensen: heya
<FRidh> dstufft: okay, interesting. i guess this could be parsed with the same tools used for requirements.txt?
<dstufft> FRidh: dunno what you're using for requirements.txt, but yes, or you can use packaging
<dstufft> pip doesn't have a public API, but packaging does
<FRidh> indeed, packaging
<simpson> FRidh: I'm trying to remember all of the problems that our current system has. Aside from deps, wasn't there something about versions that we needed too?
<FRidh> simpson: with the api we can get urls and hashes of all versions, and also determine the latest stable version, so that part is solved.
<FRidh> one issue that we have is that we typically want packages that are all compatible with each other, because we don't resolve versions like pip or conda
<dstufft> FRidh: things are kind of tricky with sdists. Even beyond the current format. There are folks who really do not want to be locked into a static dependency list for sdists evne as we move away from setup.py, projects with, complex dependency requirements
<simpson> The feature system is also a thing. And it complicates things more.
<dstufft> so it's possibly we might never get complete dependency coverage even for new projects
<LnL> FRidh: I created some expressions that generate a fixed output derivation using pip download
<dstufft> My _goal_ is to make it so that porjects that need dynamic data for dependencies explicitly opt into that though
<LnL> FRidh: I did that because we have an internal pypi server at work
<FRidh> dstufft: could you explain further?
<dstufft> FRidh: So right now, projects can apply logic in their setup.py to determine what their install_requires is going to be yes?
<FRidh> yes
glines has joined #nixos
<dstufft> a lot of projects do this, the typical use cases are things like platform differences, python version differences, etc. Those are all handled fine by environment markers now which allows them to be static again
<dstufft> HOWEVER
<dstufft> some projects, like things that depend on Numpy, are more complicated
<FRidh> exactly
<dstufft> if something depends on numpy, it wants to be able to dynamically set install_requires based upont he version of numpy it was built against
<dstufft> for built packages like wheels etc
<dstufft> so we're probably always going to need some sort of escape hatch that lets people have dynamic install_requires
<dstufft> which those projects won't be able to have a sdist that says "these are my deps" on PyPI
<dstufft> hopefully we'll get to a place those are the exception rather than the rule though.
<domenkozar> dstufft: is there no way to avoid dynamic install_requires for numpy?
<simpson> Definitely we want those to also be exceptions to the rule in nixpkgs.
proteusguy has joined #nixos
<dstufft> domenkozar: You're probably asking the wrong person :) I'm a proponent of static install_requires, but the science folks are fairly adament they need it
<domenkozar> I'd really like to hear those arguments :)
<domenkozar> nevertheless, this could be solved with configuration syntax again
<domenkozar> or simple if/else statements
<dstufft> domenkozar: It'll likely happen on distutils-sig when we look at finally implementing pluggable build systems again
<dstufft> Nathaniel Smith is the one who primarily argued for it
user__ has joined #nixos
<gchristensen> dstufft: the science folks do are fairly adamant about a lot of things :P
* gchristensen has been jaded
<dstufft> gchristensen: all in all, the relationship between the science folks and the rest of the packaging ecosystem has gotten a lot better lately, particularly with njs and co acting as laisons
<user__> My system is not working properly (there was something wrong with udev during boot, and X is all garbled). There seems to be some erros on dmesg. Could someone take a look? And also tell me how to use a pastebin from the CLI?
<domenkozar> as long as a single boolean control these 0.1% overrides, I think that's fine for packaging.
<domenkozar> controls*
Sonarpulse has quit [(Ping timeout: 250 seconds)]
<gchristensen> that is really great to hear, dstufft, I definitely appreciate that work -- rising tides raise all boats
k0001 has joined #nixos
<dstufft> domenkozar: yea, I don't think I really understand fully why they can't, but I think if there's some sort of explicit opt-in to it, then it'll be fine.
<dstufft> most projects are unlikely to do dynamic install_requires just for kicks
<dstufft> particularly since the penality will be future pip will end up being much slower resolving deps for your project
<k0001> I'm getting this error with Hydra, and I'm not sure how that `store_uri` is supposed to be formated: `hydra.conf: binary_cache_secret_key_file is deprecated and ignored. use store_uri=...?secret-key= instead`. Anyone can point me in the right direction? I'm not sure what to put before the `?` in that URI.
<NixOS_GitHub> [nixops] domenkozar force-pushed deployment.hasFastConnection from 8042933 to b356e9a: https://git.io/v1wrS
<NixOS_GitHub> nixops/deployment.hasFastConnection b356e9a Domen Kožar: Move has_really_fast_connection() to Nix...
<domenkozar> k0001: hey! :)
<k0001> domenkozar: hello!
<domenkozar> :)
<k0001> domenkozar: Ah! `file:///nix/store`! That makes sense. Thanks!!!!
<domenkozar> also see one line above, to spare you some time
<gchristensen> zimbatm: ping
<domenkozar> k0001: last but not least: https://github.com/NixHercules/hercules
Guest85226 has quit [(Quit: Lost terminal)]
<FRidh> (heh science person here.) I can understand somewhat why it is an issue. Packaging pure Python is straightforward, especially now with the environment markers. But as soon as you consider extension types you likely want other libraries/compilers to be there, and then it gets messy.
alx741_ has joined #nixos
<k0001> domenkozar: Oh my! That is fantastic! It doesn't "run" yet, though, right? Or does it?
<domenkozar> No :)
alx741 has quit [(Ping timeout: 244 seconds)]
<domenkozar> k0001: but I'm writing down plans how to get there
<k0001> domenkozar: I'll take a look at it, maybe I can help with some bits here and there.
<gchristensen> NeQuissimus: ping
<domenkozar> k0001: that would rock
<domenkozar> k0001: #nixos-hercules
<domenkozar> k0001: I'm catching up learning about product-profunctors, but currently we'are at the phase where queries needs to be written
<gchristensen> hrm. a kernel update broke the build
<k0001> domenkozar: let me guess, you are using Opaleye?
<domenkozar> yes, jophish coworker is the author
<FRidh> dstufft: what kind of dependency resolving will pip get? SAT similar to conda?
<domenkozar> k0001: but I'm interested to hear about alternatives
ckauhaus has joined #nixos
<domenkozar> let's move the discussion to hercules channel
<k0001> domenkozar: there aren't many :( I've been working on my own based on Opaleye here and there for a while https://github.com/k0001/tisch
<domenkozar> oliver charles is also working on it
<domenkozar> it's a really grey area in Haskell
<k0001> Yeah, we're often frustrated with the same things ocharles_ and I :)
<cstrahan> What's Hercules?
<cstrahan> Thanks!
user__ has quit [(Remote host closed the connection)]
<domenkozar> cstrahan: also #nixos-hercules if you're interested in helping! :)
<domenkozar> see https://github.com/NixHercules/hercules/issues/5 for a list of todos
<LnL> domenkozar: oooh, that's the hydra rewrite in haskell right?
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #21025: atom: 1.12.6 -> 1.12.7 (master...atom_1_12_7) https://git.io/v1wVp
Kingsquee has joined #nixos
<domenkozar> LnL: yeah, but Haskell is not the important bit as much as github integration (incl. PRs) and UX improvements
derjohn_mobi has joined #nixos
<LnL> hmm I thought we where getting that with the current implementation
<NixOS_GitHub> [nixpkgs] svend opened pull request #21028: rubygems: 2.6.6 -> 2.6.8 (master...rubygems-2-6-8) https://git.io/v1wM8
pi3r has joined #nixos
c0bw3b has left #nixos []
ryanartecona has joined #nixos
<k0001> I suspect Haskell can lead to more collaboration as well, seeing as how many people using Haskell also use Nix.
<domenkozar> And the fact that servant keeps contract between the frontend I don't even need to mention.
glines has quit [(Ping timeout: 258 seconds)]
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #20915: solc: 0.4.4 -> 0.4.6 (master...solc) https://git.io/v183O
<domenkozar> LnL: it's just time for second generation, but time will tell :)
<domenkozar> well that's harsh to Hydra, since it went through a few rewrites already.
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #20912: mysqltuner: init at 1.6.18 (release-16.09...mysql) https://git.io/v1lhV
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/v1wMN
<NixOS_GitHub> nixpkgs/master cffea60 Bruno Bzeznik: pythonPackages.pamela: init at 0.3.0
<NixOS_GitHub> nixpkgs/master 9a7e6e9 Frederik Rietdijk: Merge pull request #20945 from bzizou/pamela...
rly has quit [(Ping timeout: 265 seconds)]
<NixOS_GitHub> [nixpkgs] vbgl closed pull request #20867: omake: update to 0.10.1 (master...omake-0.10.1) https://git.io/v1CEk
hiratara has quit [(Ping timeout: 258 seconds)]
hiratara has joined #nixos
redmq has joined #nixos
mizu_no_oto has joined #nixos
Maxdamantus has quit [(Ping timeout: 244 seconds)]
cpennington has quit [(Remote host closed the connection)]
XeonSquared has quit [(Ping timeout: 245 seconds)]
redmq has quit [(Ping timeout: 258 seconds)]
<NixOS_GitHub> [nixpkgs] dezgeg closed pull request #20691: CIFS improvements (master...cifs-fixes) https://git.io/v1JLR
glines has joined #nixos
<dstufft> FRidh: dunno yet :)
alunduil has quit [(Quit: leaving)]
ckauhaus has quit [(Quit: Leaving.)]
ale-batt has joined #nixos
<ale-batt> hello
<ale-batt> i just installed nixos on my thinkpad, but my touchpad is making me crazy, each touch on it move the cursor at the position ... any idea how to solve that ?!
<gchristensen> I think you need to enable palm rejection
RchrdB has quit [(Quit: Leaving)]
redmq has joined #nixos
<ale-batt> i'll check that, thank you. it's a config from nix or kde ?
Maxdamantus has joined #nixos
<FRidh> ale-batt: search for synaptics on http://nixos.org/nixos/options.html
Itkovian has joined #nixos
m` has joined #nixos
m` has left #nixos []
mooho has joined #nixos
<mooho> hi! I set up emacsclient in nixos according to this page: https://nixos.org/wiki/Emacs_configuration#Find_man_pages_in_Emacs_.28WoMan_mode.29
<mooho> I'm having problems with using man/woman now, even though it looks like emacs sees the envvar NIX_PROFILES (as described in the link9
<mooho> )
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #8672: ocaml modules needed for XAPI (XenServer) (master...upstream.xapi_ocamls) https://git.io/vq8l7
t-bone has quit [(Quit: Konversation terminated!)]
<pi3r> Let's say I have a working nix specification for a package alike https://github.com/bartavelle/language-puppet/blob/master/default.nix but I have renamed "language-puppet.nix"
<pi3r> Now I have a default.nix with this content:
<pi3r> with (import <nixpkgs> {}).pkgs;
<pi3r> haskellPackages.callPackage ./language-puppet.nix {servant = pkgs.haskellPackages.servant_0_9_1_1; servant-client = pkgs.haskellPackages.servant-client_0_9_1_1;}
<pi3r> $nix-build default.nix -I nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz works fine and build the project with the exec.
<pi3r> I thought I could then have a shell.nix with just:
<pi3r> with (import <nixpkgs> {}).pkgs;
<pi3r> (import ./.).env
<pi3r> but that does not bring the exec in the shell. Do I really need to create a new "env" derivation in the shell.nix ?
hiratara has quit [(Remote host closed the connection)]
oida has quit [(Quit: WeeChat 1.0.1)]
hiratara has joined #nixos
Seichi has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to release-16.09: https://git.io/v1w7d
<NixOS_GitHub> nixpkgs/release-16.09 64e2d4d Vladimír Čunát: xorg-server: maintenance 1.18.3 -> 1.18.4...
mooho has quit [(Ping timeout: 258 seconds)]
<ale-batt> FRidh: i can't nixos-rebuild services.xserver.synaptics.palmDetect; i have to put it in /etc/nixos/configuration.nix right ?
<ale-batt> i found why, sorry
cpennington has joined #nixos
FRidh has quit [(Remote host closed the connection)]
<ale-batt> gchristensen: I didn't find anything with palm rejection and synaptics, any other idea ?
<ale-batt> with the nixos live usb i didn't had the issue
virtualmaster has joined #nixos
<virtualmaster> hi
c0bw3b has joined #nixos
nh2_ has joined #nixos
ldng has quit [(Quit: Leaving)]
glines has quit [(Ping timeout: 250 seconds)]
virtualmaster is now known as shravan
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
shravan is now known as shra1
shra1 has left #nixos []
virtualmaster has joined #nixos
virtualmaster has left #nixos []
ale-batt_ has joined #nixos
ale-batt has quit [(Ping timeout: 260 seconds)]
ryanartecona has quit [(Quit: ryanartecona)]
jarlg has joined #nixos
ale-batt_ has quit [(Ping timeout: 260 seconds)]
cpennington has quit [(Remote host closed the connection)]
glines has joined #nixos
redmq has quit [(Ping timeout: 258 seconds)]
vandenoever has quit [(Ping timeout: 250 seconds)]
nh2_ has quit [(Ping timeout: 244 seconds)]
k0001 has quit [(Ping timeout: 246 seconds)]
anelson has quit [(Remote host closed the connection)]
anelson has joined #nixos
redmq has joined #nixos
m0rphism has joined #nixos
k0001 has joined #nixos
roconnor has quit [(Ping timeout: 268 seconds)]
oida has joined #nixos
bencevans has quit [(Quit: No Ping reply in 180 seconds.)]
Tsutsukakushi has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub> [nixpkgs] c0bw3b opened pull request #21029: nghttp2: 1.16.1 -> 1.17.0 (master...nghttp2-1.17.0) https://git.io/v1whC
bencevans has joined #nixos
Tsutsukakushi has joined #nixos
pi3r has quit [(Quit: Nettalk6 - www.ntalk.de)]
nh2_ has joined #nixos
josdotso has quit [(Quit: Leaving)]
Guest350 has joined #nixos
filterfish has joined #nixos
c0bw3b has left #nixos []
wak-work has quit [(Ping timeout: 258 seconds)]
<NixOS_GitHub> [nixpkgs] romildo opened pull request #21030: efl: 1.18.3 -> 1.18.4 (master...upd.efl) https://git.io/v1wjd
jsgrant has joined #nixos
filterfish has quit [(Remote host closed the connection)]
Fare has joined #nixos
filterfish has joined #nixos
xadi has joined #nixos