gchristensen changed the topic of #nixos to: Share the output of nix-shell -p nix-info --run nix-info to help us help you. || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://botbot.me/freenode/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64
<clever> mfiano: using /proc, i confirmed that the i3 in my vm, has that 2nd PATH
<samueldr> okay, verified the source and it generates /etc/profile
<clever> and its xterm that is adding things, for the reason samueldr mentioned
<mfiano> this is termite/bash btw
<mfiano> not even checking i3/rofi
<mfiano> just my shell window
aarvar has joined #nixos
<clever> mfiano: whoa
<clever> mfiano: the bash running xsession, has the right $PATH
<clever> but the i3 under it, doesnt!
<samueldr> clever: in the case of /etc/profile not being sourced, would adding source /etc/profile to .xsessionrc help?
ottidmes has quit [Ping timeout: 240 seconds]
<mfiano> clever: Heh, yeah, and the terminal window spawned by i3 doesn't which is how I'm testing
<samueldr> good
<clever> mfiano: the weird part, is that the parent of i3 is good, but i3 itself is bad
<clever> so its something to do with how i3 got launched
<mfiano> clever: even weirder is how i3 has the right $PATH without line 143
<mfiano> but missing other stuff like XDG
<clever> mfiano: the line i linked samueldr covers all of /etc/profile
<mfiano> and they are both set in the same block in my config. So I'm confused
<clever> mfiano: something is probably setting it again
<mfiano> I'm open to suggestions.
<clever> you appear to be using xterm as a desktop manager as well, which can be rather anoying
<clever> the instant you quit the xterm, it kills the entire gui session
thc202 has quit [Ping timeout: 256 seconds]
<mfiano> I shouldn't be.
<mfiano> desktopManager.default = "none";
<mfiano> I never used xterm
<clever> the vm boots directly into an xterm window, fullscreen, with i3 at the bottom
<mfiano> Not for me
<clever> 136 desktopManager.xterm.enable = false;
<clever> added this
<clever> i think there is also a filesystem dependant bug here
<clever> the order of the default DM's, is dependant on how your FS sorts files in a dir
<clever> so it varies from user to user
BlessJah has quit [Ping timeout: 252 seconds]
<samueldr> >:( there are packages with symlinks to others for manpages
<clever> https://packages.debian.org/sid/disorderfs is a package designed to make that problem worse, within a single setup, so it can be detected
<clever> samueldr: browsers are a good use of that
<samueldr> ??
<clever> samueldr: you generate a package that is just shell-scripts setting up env vars, and then that breaks all man pages
<clever> samueldr: so the wrapper package has to symlink the man pages into itself
<mfiano> clever: no idea. i just want i3 to have the vars i set in the parent shell :(
<clever> mfiano: testing with the line 136 i pasted above...
<mfiano> I added it as well
<samueldr> what's weird is that *somehow* nix-index gives me packages without /share/man
<clever> mfiano: yep, no more xterm auto-opening, now i need to know the magic i3 spell to get a shell, lol
<mfiano> clever: by default it MIGHT be alt+enter
<clever> samueldr: maybe they had one when the index was made, but lack it now?
chisui has quit [Ping timeout: 260 seconds]
<clever> samueldr: are you quering the exact storepath the nix-index listed?
<clever> mfiano: yep
<samueldr> for both I used -f <nixpkgs> + NIX_PATH to a specific checkout
<clever> mfiano: that launched uxterm
<mfiano> echo $PATH
<clever> mfiano: its right for root (via sudo -i), but wrong for your user, interesting
<mfiano> hmm
<clever> mfiano: i believe i3 is doing something wonky
<clever> mfiano: let me check deeper...
kelleyNif has joined #nixos
<samueldr> hmm, I probably need to rtfm on nix-index
<clever> for the xsession bash, its right
<samueldr> (mesos.out) 2 d /nix/store/xrd4ab08qiwhrdg07jgjahhp0naf48sl-gnutar-1.29/share/man
<clever> for the i3 child, its wrong
<clever> samueldr: that means its the .out output of mesos
<mfiano> frustrating
<clever> which is different from "${mesos}"
katona has quit [Quit: Connection closed for inactivity]
<samueldr> so uh, yeah
<clever> samueldr: can you paste the full line nix-index gave?
<samueldr> that was the full line
<clever> ah, over more
<clever> gnutar is the package with a man page
<clever> and mesos depends on tar
<samueldr> yes
<clever> and nix-index had trouble finding the attrpath of gnutar
<clever> it may be an overriden version
<samueldr> ah
<samueldr> though, I had no gnutar loaded
<clever> so it just said, mesos somehow depends on this tar
<mfiano> clever: to clarify without that `source` line in sessionCommands, xterm/etc have the right env vars set, but telling i3 to launch a nix-shell interpreted script is missing some env vars.
<samueldr> though, I can probably "fix" this by using the output of nix-index directly
<samueldr> I don't really care about the attributes, I prefer the store paths! :)
<clever> samueldr: :D
<mfiano> wonder if i should try switching wm's after 10 years if it's this broken on nix
<mfiano> because at this point i wasted all day
<clever> mfiano: aha, found some of the problem
<clever> mfiano: set-environment, SETS PATH!, lol
<clever> not append, not prepend, just set
<mfiano> where is that?
<clever> read the /etc/profile file to find the set-environment path
<clever> then read that file
<clever> so when you source /etc/profile (which xsession does), it sets PATH directly, then prepends your things
<clever> then when you source set-environment again (which isnt needed due to profile already having been sourced), it sets PATH again, undoing things
<mfiano> hmm
<mfiano> the question is how do I source things again correctly for i3 then?
BlessJah has joined #nixos
<clever> it was already setup correctly by /etc/profile
<clever> testing it that way...
<mfiano> But that's not correct :)
<mfiano> It's only correct outside of nix-shell
<clever> you can also modify what goes into set-environment
<clever> set-environment obeys methods A and C
<clever> so the only question remaining, is if those land after the set
m3lst4d has joined #nixos
<mfiano> I think we're talking past each other slightly
fragamus has joined #nixos
<mfiano> There's no problem with xsession/i3 without line 143 of my gist. an xterm window has the correct $PATH, and $XDG-* variables that I need set correctly
<mfiano> The problem is ONLY within a nix-shell
<clever> ah, one min
<tertle||eltret> can someone help me out with this https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/audio/renoise/default.nix what is the release path arrtibue that I need to edit, and how do I do that if the package is on the repos alreay?
freeman42x]NixOS has quit [Ping timeout: 252 seconds]
<mfiano> and on top of that, only within a nix-shell that is spawned by i3
<mfiano> nix-shell called from an xterm is also correct
<mfiano> so this is a very specific edge case
<clever> mfiano: how do i launch the problem nix-shell then?
infinisil has quit [Quit: Configuring ZNC, sorry for the join/quits!]
<mfiano> Sec
infinisil has joined #nixos
<mfiano> clever: put 'config' in ~/.config/i3/ and 'rofi-pass' in ~/.bin and mark it +x https://gist.github.com/anonymous/1fa336e9eb22bf68816246a746f22115
<clever> mfiano: and i dont have any cut/paste in the VM
<mfiano> click raw then wget?
<clever> cant even get the URL into the vm
<clever> there is still the issue of getting that giant string into the VM
<mfiano> lol
<mfiano> that's pretty inconvenient. no idea
<clever> lets see...
dan_b has joined #nixos
kelleyNif has quit [Quit: Leaving.]
<mfiano> going to make to create ~/.bin too which i forgot
<mfiano> s/make/need/
<clever> mfiano: this generates a bash script, and line 59 puts it into the default $PATH
<clever> mfiano: alt+enter no longer opens a shell
coot has joined #nixos
<mfiano> super+enter
aardito has quit [Quit: Page closed]
<clever> now i have a new terminal
<mfiano> yep, termite
<clever> ps confirms
asuryawanshi has joined #nixos
<mfiano> your doit needs to mkdir ~/.bin too...not sure if it actually put it there
<clever> manually made it before running
<mfiano> ok
m3lst4d has quit [Ping timeout: 252 seconds]
<mfiano> clever: now super+p will run the bad nix-shell script, and it will write env vars to /tmp/vars
<clever> no /tmp/vars
<mfiano> did it open a menu?
<clever> nothing happened
<mfiano> yeah probably errored due to no password database
<clever> nope
<clever> $NIX_PATH is broken
<clever> the VM is meant for testing nixos, and lacks a <nixpkgs>
asuryawanshi has quit [Ping timeout: 252 seconds]
<mfiano> ah
<clever> id rewrite it to be installed as part of configuration.nix, dont use nix-shell
<clever> that would probably also fix everything?
<clever> export PATH=${lib.makeBinPath [
<clever> coreutils utillinux procps ]}
<clever> mfiano: using this, you can generate a PATH variable
<mfiano> no clue how to do that yet or what you are writing there. only my second day with nix :)
<clever> mfiano: use that, to prepend to PATH, and use the writeScriptBin example i made for doit
<clever> mfiano: and you can generate a rofi-pass in your configuration.nix
<clever> that just skips nix-shell entirely
<mfiano> interesting
<clever> typing up an example...
<mfiano> what is the coreutils etc list?
<disasm> mfiano: you can specify your i3 config in configuration.nix and then use any variables in your configuration.nix as well as paths to any packages in nixpkgs in your i3 config. I hard code my path to i3bar for example
<mfiano> interesing
<clever> mfiano: the same as your nix-shell -p
<mfiano> I need to learn all this yet
awygle has joined #nixos
<mfiano> Ideally I would like pretty much everything in configuration.nix eventually. I have a lot of machines that differ only slightly, like static IP, but function more or less the same
<mfiano> I'm no devops guy, but this seems pretty trivial with nix
<mfiano> clever: why does line 1 have 'lib' instead of 'config'?
<clever> mfiano: line 1 defines a function, and what arguments it is asking for
<clever> you will need to merge it with your own line 1
mekeor has quit [Remote host closed the connection]
<tertle||eltret> where do I put this line in my nixos/configuration.nix? (renoise.override { releasePath = /home/foo/path/to/renoise.tar.gz; })
<mfiano> I'm not sure I understand but okay
<clever> mfiano: adding it to the vm to iron-out the bugs
<tertle||eltret> deos it go in the configs,pkgs part?
<disasm> clever: I know how to with nixops but is there a way with configuration.nix to get the IP of interface (using DHCP) as a variable in configuration.nix?
<clever> mfiano: this is confirmed to build: https://gist.github.com/cleverca22/295d8efc424d216b74ac9f56ca34ec29
<clever> disasm: not really, its only known at runtime, so nix has no clue what it will be
<clever> disasm: you just have to run things like ifconfig or ip, and parse away
<disasm> right, that's what I thought
<clever> tertle||eltret: inside the systemPackages array
<fragamus> hey is anyone using swift package - when I try it it says it is marked as broken
<tertle||eltret> clever: is that here? { config, pkgs, ... }:
<fragamus> nix-shell '<nixpkgs>' -A swift
<fragamus> error: Package ‘swift-3.1.1’ in /nix/var/nix/profiles/per-user/root/channels/nixos/pkgs/development/compilers/swift/default.nix:260 is marked as broken, refusing to evaluate.
<clever> tertle||eltret: farther down, where it says systemPackages
<fragamus> does anyone have a clue
<mfiano> clever: trying to get it to evaluate without the doit, virtualization stuff
<mfiano> i'm missing brackets apparently
<tertle||eltret> clever mine doesnt have that :c
<clever> tertle||eltret: then add environment.systemPackages = [ (renoise.override { releasePath = /home/foo/path/to/renoise.tar.gz; }) ]; between the main { and }
acarrico has quit [Ping timeout: 252 seconds]
<clever> mfiano: oops, i forgot to prepend to path, env cant be found, lol
<mfiano> thats ok. i cant build it anyway
<clever> updated my gist
<mfiano> a few syntax errors
<clever> mfiano: yeah, my original example had a typo or 2, https://gist.github.com/cleverca22/295d8efc424d216b74ac9f56ca34ec29#file-configuration-nix-L11 is a fixed version
<mfiano> i don't want doit or virtualisation though
<mfiano> taking them out made things break. let me start over
<mfiano> oh i'm missing the "in" keyword. haven't seen that before
<clever> mfiano: the in is part of the let syntax
<clever> mfiano: any place you can put a value, you can also put: let key=value; key2=value; in <value>
<clever> and those keys are in scope while parsing <value>
<mfiano> I sort of don't like how it is inline in my config. Ideally I'd like that to be a separate file where all of them are generated
<mfiano> especially at the top like that
<clever> thats also an option
<clever> editing...
<samueldr> 442M of (some or all compressed) man pages
acarrico has joined #nixos
Tehnix has quit [Read error: Connection reset by peer]
<clever> samueldr: nice
Tehnix4 has joined #nixos
<samueldr> I'm "only" left with converting them to HTML
<samueldr> (which in itself isn't a problem, I need to find the best one though)
<mfiano> clever: Your package works! However I still don't think something is correct with env vars...
<mfiano> If I remove the PASSWORD_STORE_DIR=$XDG_DATA_HOME/pass from the last line, it doesn't work, even though it is defined in my .bashrc
<mfiano> With it though, works like a charm
<disasm> .bashrc won't be parsed by shell scripts that aren't executed from a shell
markus1189 has joined #nixos
<mfiano> Ah. I'll play with my setup then
<mfiano> clever: Thanks yet again
<clever> yep
jackdk has quit [Ping timeout: 256 seconds]
<clever> mfiano: the bashInteractive also does nothing in rofi-pass.nix
<mfiano> I know, removed
<clever> because nothing actually runs bash
<mfiano> That was debugging
<clever> but the /bin/sh at the #! is what matters
<clever> and it could be changed to #!${bashInteractive}/bin/bash
<clever> if you wanted to use a specific bash to run this script
<mfiano> is it okay to chown /etc/nixos as my user or how should I maintain a git repository of my changes?
<clever> id leave it owned by root
<clever> the way i manage my systems, is that i have a git repo at /etc/nixos/nixcfg/
<clever> and then configuration.nix is basically just the bare-minimum to boot the hardware, and imports = [ ./nixcfg/laptop.nix ];
<clever> everything else goes into laptop.nix
<clever> and if somebody wants to spawn a copy of your machine, laptop.nix is all they care about, all the btrfs sub-volume junk is useless
<mfiano> that works
<mfiano> Yeah that's a good idea
<clever> also, i have a desktop.nix in the same nixcfg repo
<clever> and both laptop and desktop contain imports = [ ./core.nix ];
<clever> so core.nix contains common stuff for both machines
dan_b has quit [Ping timeout: 252 seconds]
<awygle> hi everyone. I have a "do I understand what nix is" question
<gchristensen> ok, shoot
ashkitten has quit [Quit: WeeChat 2.0.1]
<tertle||eltret> thank clever i think you got me moving again
<awygle> what I'm looking for is a tool which will let me say "in order to do this thing (say, build this software), I need this artifact (identified by say, a sha1 hash). Please point me to it, or a source for it", and then hand it a binary or a makefile or a setup.py or....
<awygle> Nix sounds kind of like it is intended to do this. Is that directionally correct?
<clever> awygle: with nix, you typically give both a URL and a sha256, and then it automatically downloads it, and verifies it still matches that hash
<awygle> clever: what if the thing I need isn't hosted in nix-pkgs(?)
<disasm> mfiano: I built a new git repo for my nixos-configurations that's now public if you want to see how I configure i3 within nixos configs: https://github.com/disassembler/nixos-configurations/blob/master/i3config.nix
<clever> awygle: then you have your own default.nix file, that has a url pointing anywhere you want
<mfiano> disasm: thanks!
<disasm> mfiano: that's included in my configuration.nix here: https://github.com/disassembler/nixos-configurations/blob/master/machines/ohrid.nix#L109
<awygle> clever: but the operation performed is still fundamentally "download"? I can't cause it to be built from source for example?
<mfiano> My goal is to get a nice config going that is flexible enough to deploy to about 10 of my machines with minimal effort
<clever> awygle: you can also just refer to files on the local machine as paths
<clever> mfiano: oh, another crazy thing ive done, that may interest you
<clever> mfiano: ive made netboot images with nixos, that boot into a ramdisk, and can run without any hdd
<mfiano> nice
<clever> mfiano: this is a fully self-contained netboot server, that also does dhcp, dns, and nat: https://github.com/cleverca22/nixos-configs/blob/master/netboot_server.nix
<disasm> mfiano: have you looked at nixops? :) I only use nixos-rebuild on my laptops. I use nixops deploy for the rest of my network as well as any cloud servers I use: https://github.com/disassembler/network
<clever> disasm: i switched my nixos router over to nixops lastnight, with minimal issues
<mfiano> disasm: I just started using nix yesterday. It's on my to read list, along with the other 75% of the manual :P
<disasm> and yeah, one of these days I'm building a net boot server like clever to bootstrap! :)
<awygle> clever: could I point at a nix script(?) and have it build the nix-pkg if not already built?
<clever> awygle: yeah
<awygle> clever: okay, thank you :-)
<mfiano> oh and chromium is not slow anymore. i have no clue what changed there though
<disasm> clever: yeah, optina (in my network config) was originally manually configured. I imported it into nixops when I got my nixos router (which aside from a 5 line configuration.nix for installation has always been deployed with nixops)
chrios_ has quit [Remote host closed the connection]
chrios_ has joined #nixos
<clever> disasm: originally, the router ran a copy of nixos-unstable that claimed to be nixos 16.03, lol
<clever> disasm: i initially copy-closured that nixpkgs to the laptop, and aimed nixops at it, and used nix-diff to get the resulting derivation to be as identical as possible
<gchristensen> not a great firewall, that old :)
<clever> which got nixops into control, with minimal changes
<clever> then i upgraded it to the latest nixos 17.09 channel
<clever> nixos-unstable currently fails to build hydra, so i cant go further
dex1983 has quit [Ping timeout: 248 seconds]
<disasm> clever: how did you specify a different nixpkgs path for nixops? Mine always uses the nixpkgs my system is using
dex1983 has joined #nixos
<clever> disasm: currently, i'm just changing $NIX_PATH before i run nixops
<clever> i need to look into a better option, i saw one but cant remember where it was
<mfiano> ANyway, I don't know how to use nixos yet. I don't even know how to upgrade packages etc yet. I figured I'd learn the most by trying to write a decent config before continuing with the manual
<clever> disasm: whatever we do, it has to impact this area of the code
<samueldr> https://nix.samueldr.com/man/store/ (temporary~ish location, and raw data)
<samueldr> it's currently chewing through the data, ~45 minutes left
<clever> disasm: i see an extra_nix_path in that source, that feels related to what i saw before...
<samueldr> chrome thinks store hashes is vietnamese
cmacrae has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis closed pull request #35583: cbc: 2.9.5 -> 2.9.9 (master...auto-update/cbc-2.9.5-to-2.9.9) https://git.io/vAr8l
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vArar
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 8d08029 adisbladis: Merge pull request #35585 from ryantm/auto-update/cfdg-3.0.2-to-3.0.9...
<NixOS_GitHub> nixpkgs/master b69d279 Ryan Mulligan: cfdg: 3.0.2 -> 3.0.9...
adamCS has quit [Excess Flood]
adamCS has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis closed pull request #35574: browserpass: 2.0.10 -> 2.0.11 (master...auto-update/browserpass-2.0.10-to-2.0.11) https://git.io/vArOF
NixOS_GitHub has left #nixos [#nixos]
cmacrae has quit [Ping timeout: 256 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vAra5
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 60f0625 adisbladis: Merge pull request #35576 from ryantm/auto-update/buildah-0.11-to-0.12...
<NixOS_GitHub> nixpkgs/master 413e41d Ryan Mulligan: buildah: 0.11 -> 0.12...
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis closed pull request #35577: cachefilesd: 0.10.9 -> 0.10.10 (master...auto-update/cachefilesd-0.10.9-to-0.10.10) https://git.io/vArGI
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis closed pull request #35573: bro: 2.5.2 -> 2.5.3 (master...auto-update/bro-2.5.2-to-2.5.3) https://git.io/vArOa
NixOS_GitHub has left #nixos [#nixos]
<fragamus> is swift language available on nixos
Shados has quit [Remote host closed the connection]
jackdk has joined #nixos
<clever> disasm: ok, weird, nixops python code is checking for rollbackEnabled
<clever> but the option is called enableRollback in nix...
Shados has joined #nixos
<clever> nixops/deployment.py: self.rollback_enabled = config["network"].get("enableRollback", False)
<mfiano> clever: I noticed in your vim config you have `set foldmethod=syntax`. know any way to get that to work with nix filetypes?
<clever> rollback_enabled = nixops.util.attr_property("rollbackEnabled", False)
<clever> disasm: the nixops i cloned, doesnt match the nixops i have in github
<clever> mfiano: i havent looked into folding that heavily yet, but if the file is well indented, then the indent mode also works nicely
<mfiano> yeah well that doesn't work that great with nix, assuming you do the convention of having the closing brackets on the same indent level as a new starting expression
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vArVY
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master daa9293 adisbladis: Merge pull request #35570 from ryantm/auto-update/brltty-5.5-to-5.6...
<NixOS_GitHub> nixpkgs/master 8754bfd Ryan Mulligan: brltty: 5.5 -> 5.6...
<mfiano> clever: like this would be one fold, and can't unfold JUST shellInit: https://gist.github.com/cleverca22/295d8efc424d216b74ac9f56ca34ec29#file-configuration-nix-L20-L55
<clever> mfiano: i believe each string would be its own fold, because they are indented one lever deeper then their quotes
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master e8d0563 adisbladis: Merge pull request #35566 from ryantm/auto-update/bowtie2-2.3.4-to-2.3.4.1...
<NixOS_GitHub> [nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vArVc
<NixOS_GitHub> nixpkgs/master bc73086 Ryan Mulligan: bowtie2: 2.3.4 -> 2.3.4.1...
NixOS_GitHub has left #nixos [#nixos]
<mfiano> clever: yes, but given that gist, there's no way to fold environment...doing so folds the whole file
<mfiano> maybe my indent is wrong
<mfiano> and propagated to yours
<clever> mfiano: yeah, it probably depends on what you set the indentation to
<mfiano> ah but you are indenting the stuff under the environment line. i was talking about folding that line
<mfiano> that would require syntax method though i think
<clever> there is another mode that looks only at the { and } chars
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jtojnar opened pull request #35594: gpredict: 1.3 → 2.2.1 (master...gpredict) https://git.io/vArVg
NixOS_GitHub has left #nixos [#nixos]
<mfiano> hmm
jb55 has joined #nixos
<disasm> clever: the network config param is called enableRollback but the nixops.util.attr_property is called rollbackEnabled
<mfiano> clever: which mode is that?
<disasm> rollback_enabled is initially initialized the the attr property but in evaluate() the variable is set to the one from the network config
dbmikus has joined #nixos
<clever> i think i was mixing different python files up
<clever> i'm trying to track down how to set the nix_path in the same region
pxc has joined #nixos
coot has quit [Ping timeout: 240 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35595: cppzmq: 4.2.1 -> 4.2.3 (master...auto-update/cppzmq-4.2.1-to-4.2.3) https://git.io/vArVx
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35596: cryptoverif: 1.22 -> 1.28 (master...auto-update/cryptoverif-1.22-to-1.28) https://git.io/vArVh
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35597: coturn: 4.5.0.6 -> 4.5.0.7 (master...auto-update/coturn-4.5.0.6-to-4.5.0.7) https://git.io/vArwJ
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35598: containerd: 1.0.1 -> 1.0.2 (master...auto-update/containerd-1.0.1-to-1.0.2) https://git.io/vArwI
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35599: corosync: 2.4.2 -> 2.4.3 (master...auto-update/corosync-2.4.2-to-2.4.3) https://git.io/vArw3
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35600: convmv: 1.15 -> 2.04 (master...auto-update/convmv-1.15-to-2.04) https://git.io/vArwn
NixOS_GitHub has left #nixos [#nixos]
MarcelineVQ has joined #nixos
MarcelineVQ has left #nixos [#nixos]
mbrgm has quit [Ping timeout: 252 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35601: consul-template: 0.18.1 -> 0.19.4 (master...auto-update/consul-template-0.18.1-to-0.19.4) https://git.io/vArwR
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35602: consul: 0.9.3 -> 1.0.6 (master...auto-update/consul-0.9.3-to-1.0.6) https://git.io/vArwa
NixOS_GitHub has left #nixos [#nixos]
mbrgm has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35603: confd: 0.9.0 -> 0.11.0 (master...auto-update/confd-0.9.0-to-0.11.0) https://git.io/vArww
NixOS_GitHub has left #nixos [#nixos]
jackdk has quit [Ping timeout: 240 seconds]
d4g_ has quit [Ping timeout: 248 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis closed pull request #35561: blktrace: 1.1.0 -> 1.2.0 (master...auto-update/blktrace-1.1.0-to-1.2.0) https://git.io/vArLv
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis closed pull request #35565: boolstuff: 0.1.15 -> 0.1.16 (master...auto-update/boolstuff-0.1.15-to-0.1.16) https://git.io/vArL5
NixOS_GitHub has left #nixos [#nixos]
<clever> disasm: [clever@system76:~/nixops]$ nixops modify router_deployment.nix -I nixpkgs=https://github.com/nixos/nixpkgs/archive/8bce347f02f6bd606ec1822f0ba9b94d7f139071.tar.gz
<clever> disasm: aha
<clever> disasm: i believe the -I flag from create/modify, is stored into the state file, and then persists from there
Mateon3 has joined #nixos
mk-fg has quit [Ping timeout: 252 seconds]
Supersonic has quit [Disconnected by services]
Mateon1 has quit [Ping timeout: 252 seconds]
Mateon3 is now known as Mateon1
Supersonic112 has joined #nixos
mk-fg has joined #nixos
mk-fg has quit [Changing host]
mk-fg has joined #nixos
Supersonic112 is now known as Supersonic
nuncanada has quit [Read error: Connection reset by peer]
owickstrom has quit [Remote host closed the connection]
d4g has joined #nixos
owickstrom has joined #nixos
asuryawanshi has joined #nixos
<clever> [clever@system76:~/nixops]$ nix-diff $(readlink original) $(nix-instantiate -I nixpkgs=https://github.com/nixos/nixpkgs/archive/8bce347f02f6bd606ec1822f0ba9b94d7f139071.tar.gz '<nixpkgs/nixos>' -I nixos-config=./router.nix -A system)
<clever> disasm: now i can diff the original router config, against a refactored version
asuryawanshi has quit [Ping timeout: 248 seconds]
pkill9 has quit [Ping timeout: 240 seconds]
m3lst4d has joined #nixos
<fearlessKim[m]> I am a bit disappointed by vim plugins, I thought that adding vimtex would pull tex(live) for instance :'(
<mfiano> How do I escape characters in nix?
<clever> mfiano: ${ inside a ''string'' is escaped as ''${
<mfiano> I'd like to translate the shell alias: `alias ..="cd .."` into environment.shellAliases = { .. = "cd .."; };
<mfiano> and can't use .. like that
<clever> mfiano: ah, just quote it
<clever> keys in a set can be quoted
<clever> fileSystems."/media/videos/4tb/" = {
<fearlessKim[m]> mfiano: I have it for zsh but didn't know bash suppoorted it ?
<clever> an example from a config i'm editing now
<mfiano> fearlessKim[m]: supported what?
<mfiano> single or double quotes?
<mfiano> Ah ok
<clever> mfiano: double most of the time
<fearlessKim[m]> to alias ..
<mfiano> fearlessKim[m]: You can alias anything really.
<mfiano> Well until it starts requiring arguments/more complex things that deserves a function
<mfiano> clever: Do I have to escape '?' as I do in bash as with this? alias \?="man"
<samueldr> fun, it's been two sourceforge project websites (subdomains) that fail to load tonight
<clever> mfiano: i think you can just environment.shellAliases."?" = "man";
sigmundv has joined #nixos
<mfiano> cool
<clever> mfiano: oh, but the bash that this generates might be invalid then
<clever> mfiano: so you may need to "\\?" it
<mfiano> I did ? and it seems to work
<clever> ah
<clever> maybe it never needed escaping in the first place
<clever> at the bash layer
<mfiano> year appears not. might have been an artifact from older times. i haven't went through this stuff in years
<mfiano> yeah*
<clever> my router is getting a similar overhaul
acarrico has quit [Ping timeout: 256 seconds]
<clever> using the giant nix-diff incantation above, to diff 2 nix files
lopsided98 has quit [Remote host closed the connection]
lopsided98 has joined #nixos
<fearlessKim[m]> is is possible to run some tests at the end of a rebuild to validate a generation, like checking that the vim generated config doesn't generate error on vim startup ?
<clever> fearlessKim[m]: id add a checkPhase to the derivation that manages the vim config, that runs vim against the config file
<fearlessKim[m]> I intend to do that ty
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35605: daq: 2.0.6 -> 2.2.2 (master...auto-update/daq-2.0.6-to-2.2.2) https://git.io/vAror
NixOS_GitHub has left #nixos [#nixos]
<mfiano> Is there a package for this? Kind of hard to search for: https://github.com/github/hub
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35606: dante: 1.4.1 -> 1.4.2 (master...auto-update/dante-1.4.1-to-1.4.2) https://git.io/vAroK
NixOS_GitHub has left #nixos [#nixos]
<clever> mfiano: at a quick glance, i dont see it
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35607: daemonize: 1.7.7 -> 1.7.8 (master...auto-update/daemonize-1.7.7-to-1.7.8) https://git.io/vAroi
NixOS_GitHub has left #nixos [#nixos]
<clever> /home/clever/nixpkgs/pkgs/applications/version-management/git-and-tools/default.nix: git-extras = callPackage ./git-extras { };
<mfiano> did you grep that dir, or is there some tool to help with these tasks?
<clever> nix-repl> gitAndTools.git-extras
<clever> nix-repl> gitAndTools.hub
<clever> [clever@system76:~/nixops]$ grep -r --color git-extras ~/nixpkgs/
<mfiano> ok thanks
<clever> mfiano: git-extras was the hint i needed to also find hub
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg closed pull request #35432: syncthing,qsyncthingtray: remove syncthing-inotify (master...syncthing-deprecate-inotify) https://git.io/vAVnT
NixOS_GitHub has left #nixos [#nixos]
<clever> mfiano: i also did nix-repl '<nixpkgs>' and tab-completed gitAnd then .h and .git-e
<mfiano> It's nice to know there is a REPL
<clever> its massively useful
<mfiano> I am going to be amazed for a long time at how this changes my life
<clever> for example, try nix-repl '<nixpkgs/nixos>'
<fragamus> ohkay i think I have a decent question. I am trying to get swift running and I believe I need to run some bleeding edge stuff: https://github.com/NixOS/nixpkgs/pull/34893 how can I do that
<clever> then eval config.environment.shellInit
<clever> mfiano: and :r to reload everything
<mfiano> nix-repl: command not found
<clever> mfiano: with just that, you can see how nix parses your configuration.nix to generate its shellInit
<clever> nix-env -iA nixos.nix-repl
<clever> or add nix-repl to systemPackages
m3lst4d has quit [Ping timeout: 245 seconds]
<mfiano> eek
<mfiano> config.environment.shellInit has no line breaks at all
<clever> nix-repl escapes linebreaks
<mfiano> I can't read that
<clever> i think the only way around that is to throw it at `echo -e`, lol
<clever> copy, echo -e <paste>, lol
<fragamus> i guess my question is: how do I load packages from the latest git@github.com:NixOS/nixpkgs.git
<mfiano> Yeah, that defeats the usefulness of a REPL imo
<clever> mfiano: its a lot more handy when it comes to smaller strings
<clever> mfiano: and just confirming the syntax is valid without doing a full build
smichel17 has quit [Quit: smichel17]
<clever> fragamus: clone that, and then just run `nix-build -A swift` in the root directory
<fragamus> nice
b has quit [Ping timeout: 248 seconds]
lopsided98 has quit [Remote host closed the connection]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vArKc
<NixOS_GitHub> nixpkgs/master 4ca5319 Ryan Mulligan: cppzmq: 4.2.1 -> 4.2.3...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 142b417 adisbladis: Merge pull request #35595 from ryantm/auto-update/cppzmq-4.2.1-to-4.2.3...
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis closed pull request #35582: btrfs-progs: 4.14.1 -> 4.15.1 (staging...auto-update/staging/auto-update/btrfs-progs-4.14.1-to-4.15.1) https://git.io/vArlM
NixOS_GitHub has left #nixos [#nixos]
<fragamus> thanks clever it looks like it will work
lopsided98 has joined #nixos
<mfiano> I have a really complicated quote escaping alias I can't convert over
<mfiano> alias rlwrap="rlwrap -p"'"1;31"'""
<clever> mfiano: try ''quotes'' instead
<mfiano> Ok
<clever> oh, and the singles will need \'s
<clever> because nix tries to singlequote the entire thing
<mfiano> actually the single quotes should be just like that
<mfiano> and it works with just the '' around it
<mfiano> This is why this alias is strange, it needs a mixture of both quotes inside.
jb55 has quit [Ping timeout: 256 seconds]
pkill9 has joined #nixos
<mfiano> which option is a good place to store my readline configuration (multiple `bind` calls i usually put in my bashrc)?
hamishmack has quit [Quit: hamishmack]
spear2 has joined #nixos
<fearlessKim[m]> mfiano: I have environment.etc."inputrc".source = ../config/inputrc;
<disasm> mfiano: have you read the nix pills yet? https://nixos.org/nixos/nix-pills/
<mfiano> nope, thanks
<disasm> mfiano: it takes a while to get through them all, but super useful for understanding syntax once you start getting into writing nix derivations.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] othercriteria opened pull request #35609: lutris: init at 0.4.14 (master...feature/lutris) https://git.io/vAr6y
NixOS_GitHub has left #nixos [#nixos]
<disasm> clever: I need to play with nix-diff. That looks really useful
<disasm> clever: ooh, so I'm already using git worktree on the laptop I'm using nixops from and have my nixpkgs pointed to ~/nixpkgs/nixpkgs-custom. I could theoretically just create nixpkgs-nixops or maybe nixpkgs-stable and point my deployments there so I can switch back and forth between 17.09 and 18.03 (when it forks off master end of the month) without breaking any of my stable deployments I might not want to
<disasm> update just yet.
<clever> disasm: in my case, i pinned the deployment to a rev on github, so it doesnt care about local nixpkgs at all
Drakonis has quit [Ping timeout: 245 seconds]
uptime has joined #nixos
<disasm> clever: that works too if you don't have any local changes to nixpkgs required :)
<clever> disasm: overrides/overlays
plakband has quit [Quit: leaving]
alpha_sh has quit [Ping timeout: 256 seconds]
data8 has joined #nixos
sigmundv has quit [Ping timeout: 240 seconds]
alpha_sh has joined #nixos
<mfiano> does anyone know what causes an empty $HOME/Desktop directory to be created? I don't use a DE, and the only gui apps I use are chromium and pcmanfm once in a while. I find I have to keep deleting that directory at least once a week.
sigmundv has joined #nixos
schoppenhauer has quit [Ping timeout: 256 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35610: delve: 0.12.2 -> 1.0.0 (master...auto-update/delve-0.12.2-to-1.0.0) https://git.io/vArip
NixOS_GitHub has left #nixos [#nixos]
schoppenhauer has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35611: doclifter: 2.15 -> 2.17 (master...auto-update/doclifter-2.15-to-2.17) https://git.io/vArPf
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35612: double-conversion: 2.0.1 -> 3.0.0 (master...auto-update/double-conversion-2.0.1-to-3.0.0) https://git.io/vArPT
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35613: dnscrypt-wrapper: 0.3 -> 0.4.0 (master...auto-update/dnscrypt-wrapper-0.3-to-0.4.0) https://git.io/vArPI
NixOS_GitHub has left #nixos [#nixos]
data8 has quit [Quit: nite nite]
uptime has quit [Ping timeout: 252 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35614: drush: 6.1.0 -> 8.1.16 (master...auto-update/drush-6.1.0-to-8.1.16) https://git.io/vArPq
NixOS_GitHub has left #nixos [#nixos]
data8 has joined #nixos
pxc has quit [Ping timeout: 252 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35615: drumkv1: 0.8.5 -> 0.8.6 (master...auto-update/drumkv1-0.8.5-to-0.8.6) https://git.io/vArP3
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35616: dmtcp: 2.5.1 -> 2.5.2 (master...auto-update/dmtcp-2.5.1-to-2.5.2) https://git.io/vArPZ
NixOS_GitHub has left #nixos [#nixos]
pxc has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35617: dlib: 19.8 -> 19.9 (master...auto-update/dlib-19.8-to-19.9) https://git.io/vArPB
NixOS_GitHub has left #nixos [#nixos]
sigmundv has quit [Ping timeout: 240 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35618: diskscan: 0.19 -> 0.20 (master...auto-update/diskscan-0.19-to-0.20) https://git.io/vArPz
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35619: diod: 1.0.23 -> 1.0.24 (master...auto-update/diod-1.0.23-to-1.0.24) https://git.io/vArP2
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35620: dico: 2.4 -> 2.5 (master...auto-update/dico-2.4-to-2.5) https://git.io/vArPw
NixOS_GitHub has left #nixos [#nixos]
<tnks> so... after a couple of years of using Debian+Nix, I finally installed NixOS (got a spare laptop).
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 82653d9 Jan Tojnar: goocanvas2: init at 2.2.1
<NixOS_GitHub> nixpkgs/master c65cd76 Jan Tojnar: gpredict: 1.3 → 2.2.1
<NixOS_GitHub> [nixpkgs] jtojnar pushed 2 new commits to master: https://git.io/vArPr
<tnks> how does the prompt work that tells you what you should "nix-env -iA" install when a program is called, but missing?
<tnks> I have a "dev" docker repository with Nix installed, and it would be useful to enable this in there.
<tnks> sorry, I mean Docker image.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jtojnar pushed 1 new commit to master: https://git.io/vArPP
<NixOS_GitHub> nixpkgs/master 6d1ee45 Jan Tojnar: zeitgeist: 1.0 → 1.0.1...
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jtojnar closed pull request #35562: zeitgeist: 1.0 → 1.0.1 (master...zeitgeist-1.0.1) https://git.io/vArLT
NixOS_GitHub has left #nixos [#nixos]
<mfiano> Does the NixOS webmaster come on IRC? I found a dead link
uptime has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35622: dhcpcd: 6.11.5 -> 7.0.1 (master...auto-update/dhcpcd-6.11.5-to-7.0.1) https://git.io/vArPS
NixOS_GitHub has left #nixos [#nixos]
<samueldr> mfiano: if you want to file an issue, https://github.com/NixOS/nixos-homepage/issues or you can share here and I'll file an issue
<mfiano> samueldr: The PDF link here is broken. https://nixos.org/nix/docs.html
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35623: dvdstyler: 3.0.3 -> 3.0.4 (master...auto-update/dvdstyler-3.0.3-to-3.0.4) https://git.io/vArPH
NixOS_GitHub has left #nixos [#nixos]
<mfiano> samueldr: I saw in this issue that the manuals are available in EPUB format https://github.com/NixOS/nixpkgs/issues/21391 - do you know where that may be?
<samueldr> for nix or nixos?
<mfiano> well that issue says for both
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35624: e2fsprogs: 1.43.8 -> 1.43.9 (master...auto-update/e2fsprogs-1.43.8-to-1.43.9) https://git.io/vArPb
NixOS_GitHub has left #nixos [#nixos]
<samueldr> for nixos, it's possible to generate it with a git checkout by `cd doc` then `nix-build`
<mfiano> I was looking for both
* samueldr is now looking for the manual for nix
<samueldr> btw, the nixos one generated a .epub file too
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35625: eccodes: 2.5.0 -> 2.6.0 (master...auto-update/eccodes-2.5.0-to-2.6.0) https://git.io/vArPA
NixOS_GitHub has left #nixos [#nixos]
asuryawanshi has joined #nixos
hamishmack has joined #nixos
<mfiano> samueldr: I don't see an epub after `nix-build` in nixpkgs/doc though
<samueldr> it will be under the result symlink
<mfiano> aha
<samueldr> anything nix-build build defaults to being symlink at `result` in $PWD
pkill9 has quit [Ping timeout: 260 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35626: devilspie2: 0.42 -> 0.43 (master...auto-update/devilspie2-0.42-to-0.43) https://git.io/vArXf
NixOS_GitHub has left #nixos [#nixos]
<mfiano> where is the nixos repo?
<samueldr> there is none, nixos is in nixpkgs
<samueldr> if you see a nixos repo under the nixos organization, it is the older repository from the time it was a split repository
<Havvy> Is Hydra failing on something? nixpkgs-nightly hasn't updated in two days.
<mfiano> Ok, so I'm trying to build offline books for both nixos and nixpkgs
<samueldr> Havvy: hydra is having a hard time for now
<mfiano> Like the ones available on nixos.org
asuryawanshi has quit [Ping timeout: 240 seconds]
<mfiano> Possible?
<clever> Havvy: postgress is dead: https://hydra.nixos.org/
<samueldr> (postgresql database seems a bit sick)
<Havvy> Is anybody working on making it less sick?
<samueldr> mfiano: nixos/doc/manual/README has build instructions for the nixos manual
<samueldr> Havvy: let's hope that by $tomorrow/$today europe time, the owner will fix it
<samueldr> they were notified
<samueldr> mfiano: for nixpkgs, `nix-build` in the `doc` directory
<Havvy> Alright.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35628: electrum-ltc: 3.0.5.1 -> 3.0.6.2 (master...auto-update/electrum-ltc-3.0.5.1-to-3.0.6.2) https://git.io/vArXO
NixOS_GitHub has left #nixos [#nixos]
<mfiano> samueldr: Thanks, but I only see html in the results directory for nixos
<samueldr> mfiano: for those manuals, the looks will be different
<samueldr> aww, I don't know if there is anything to build them as epub or other formats for now though
<mfiano> Damn I was hoping to read this when I'm away from the computer
<mfiano> According to the above issue they should be. oh well
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35629: ddcutil: 0.8.5 -> 0.8.6 (master...auto-update/ddcutil-0.8.5-to-0.8.6) https://git.io/vArXc
NixOS_GitHub has left #nixos [#nixos]
<samueldr> looks like there's something to make the nixos one build as an epub in the `default.nix` under nixos/doc/manual
<samueldr> mfiano: nix-build nixos/release.nix -A manualEpub.x86_64-linux
<mfiano> samueldr: That's what I already did
<mfiano> It generated html
<samueldr> sure with manual__Epub__ ?
* samueldr is looking right now
<samueldr> result/share/doc/nixos/nixos-manual.epub
<mfiano> Oh i missed that
<samueldr> :)
<samueldr> it wasn't in the readme
<samueldr> took a small while to build
<mfiano> thanks!
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35630: emby: 3.2.60.0 -> 3.2.70.0 (master...auto-update/emby-3.2.60.0-to-3.2.70.0) https://git.io/vArX8
NixOS_GitHub has left #nixos [#nixos]
pie__ has quit [Ping timeout: 252 seconds]
data8 has quit [Quit: nite nite]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35631: entr: 3.9 -> 4.0 (master...auto-update/entr-3.9-to-4.0) https://git.io/vArX4
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35632: envconsul: 0.6.2 -> 0.7.3 (master...auto-update/envconsul-0.6.2-to-0.7.3) https://git.io/vArXE
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35633: esptool: 2.1 -> 2.2.1 (master...auto-update/esptool-2.1-to-2.2.1) https://git.io/vArX2
NixOS_GitHub has left #nixos [#nixos]
data8 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35634: encfs: 1.9.2 -> 1.9.4 (master...auto-update/encfs-1.9.2-to-1.9.4) https://git.io/vArXV
NixOS_GitHub has left #nixos [#nixos]
ryantm has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35635: etcd: 3.1.6 -> 3.3.1 (master...auto-update/etcd-3.1.6-to-3.3.1) https://git.io/vArXX
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35636: emscripten: 1.37.16 -> 1.37.34 (master...auto-update/emscripten-1.37.16-to-1.37.34) https://git.io/vArXS
NixOS_GitHub has left #nixos [#nixos]
chessai has quit [Remote host closed the connection]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35637: eventstat: 0.03.04 -> 0.04.03 (master...auto-update/eventstat-0.03.04-to-0.04.03) https://git.io/vArXH
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35638: exempi: 2.4.2 -> 2.4.4 (master...auto-update/exempi-2.4.2-to-2.4.4) https://git.io/vArX5
NixOS_GitHub has left #nixos [#nixos]
aborsu has joined #nixos
<mfiano> clever: Those env vars with i3 are going to really dissuade me from using nixos. I have another issue that requires an env var, but for a package that already exists
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35639: expect: 5.45 -> 5.45.4 (master...auto-update/expect-5.45-to-5.45.4) https://git.io/vArXA
NixOS_GitHub has left #nixos [#nixos]
<clever> mfiano: try another WM and see if it still happens?
<samueldr> mfiano: how'd you acces that docs page for nix?
<mfiano> samueldr: hmm?
<samueldr> it's not in the source for the site anymore, it may be an older page that's still indexed, but unreachable from the nixos website
<mfiano> I see. Probably an external link in my searches for a PDF
<samueldr> (it still needs to be fixed though!)
<mfiano> clever: Well bspwm loads to a black screen with no cursor and doesn't respond to anything
<mfiano> I need to find another lightweight one
data8 has quit [Quit: nite nite]
reinzelmann has joined #nixos
<clever> mfiano: xfce is the one i prefer
<clever> mfiano: xserver.desktopManager.xfce.enable = true; and dont touch anything related to window managers
<mfiano> clever: Isn't xfce a DE with more than just a window manager? I'm trying to pick one that only has one process running under xsession, to limit false positives
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35640: fakeroot: 1.20.2 -> 1.22 (master...auto-update/fakeroot-1.20.2-to-1.22) https://git.io/vAr12
NixOS_GitHub has left #nixos [#nixos]
<mfiano> The window manager I was using before i3 isn't even listed in nixpkgs
<mfiano> Hmm
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35641: fceux: 2.2.2 -> 2.2.3 (master...auto-update/fceux-2.2.2-to-2.2.3) https://git.io/vAr1o
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35642: fcron: 3.2.1 -> 3.3.0 (master...auto-update/fcron-3.2.1-to-3.3.0) https://git.io/vAr1P
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] volth opened pull request #35643: graalvm8: init at 0.31 (master...graalvm8-init-0.31) https://git.io/vAr11
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35644: feh: 2.23 -> 2.23.2 (master...auto-update/feh-2.23-to-2.23.2) https://git.io/vAr19
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35645: flacon: 2.1.1 -> 4.0.0 (master...auto-update/flacon-2.1.1-to-4.0.0) https://git.io/vAr17
NixOS_GitHub has left #nixos [#nixos]
data8 has joined #nixos
data8 has quit [Client Quit]
marusich has quit [Quit: Leaving]
robstr has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35646: fleet: 0.11.8 -> 1.0.0 (master...auto-update/fleet-0.11.8-to-1.0.0) https://git.io/vAr1b
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35647: flatbuffers: 1.4.0 -> 1.8.0 (master...auto-update/flatbuffers-1.4.0-to-1.8.0) https://git.io/vAr1p
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35648: flyway: 4.2.0 -> 5.0.7 (master...auto-update/flyway-4.2.0-to-5.0.7) https://git.io/vArMe
NixOS_GitHub has left #nixos [#nixos]
<mfiano> clever: Removed windowManager settings, and added that line with xfce4 but it doesn't start
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35649: fluidsynth: 1.1.8 -> 1.1.9 (master...auto-update/fluidsynth-1.1.8-to-1.1.9) https://git.io/vArMk
NixOS_GitHub has left #nixos [#nixos]
robstr has quit [Ping timeout: 245 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vArM0
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master b089f4a adisbladis: Merge pull request #35649 from ryantm/auto-update/fluidsynth-1.1.8-to-1.1.9...
<NixOS_GitHub> nixpkgs/master b05cc4d Ryan Mulligan: fluidsynth: 1.1.8 -> 1.1.9...
Rusty1_ has quit [Quit: Konversation terminated!]
reinzelmann has quit [Quit: Leaving]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vArMa
<NixOS_GitHub> nixpkgs/master 1fddd31 adisbladis: Merge pull request #35619 from ryantm/auto-update/diod-1.0.23-to-1.0.24...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 9ca3ba1 Ryan Mulligan: diod: 1.0.23 -> 1.0.24...
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vArMr
<NixOS_GitHub> nixpkgs/master b7e5ae9 Ryan Mulligan: corosync: 2.4.2 -> 2.4.3...
<NixOS_GitHub> nixpkgs/master 2e977fd adisbladis: Merge pull request #35599 from ryantm/auto-update/corosync-2.4.2-to-2.4.3...
NixOS_GitHub has left #nixos [#nixos]
pie__ has joined #nixos
robstr has joined #nixos
robstr_ has joined #nixos
robstr has quit [Read error: Connection reset by peer]
alunduil has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis closed pull request #35620: dico: 2.4 -> 2.5 (master...auto-update/dico-2.4-to-2.5) https://git.io/vArPw
NixOS_GitHub has left #nixos [#nixos]
ryantm has quit [Ping timeout: 256 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis closed pull request #35618: diskscan: 0.19 -> 0.20 (master...auto-update/diskscan-0.19-to-0.20) https://git.io/vArPz
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master b79911a Ryan Mulligan: coturn: 4.5.0.6 -> 4.5.0.7...
<NixOS_GitHub> [nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vArMF
<NixOS_GitHub> nixpkgs/master 3b7558c adisbladis: Merge pull request #35597 from ryantm/auto-update/coturn-4.5.0.6-to-4.5.0.7...
NixOS_GitHub has left #nixos [#nixos]
orivej has quit [Ping timeout: 252 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vArMA
<NixOS_GitHub> nixpkgs/master 806b925 adisbladis: Merge pull request #35598 from ryantm/auto-update/containerd-1.0.1-to-1.0.2...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master f2b73a5 Ryan Mulligan: containerd: 1.0.1 -> 1.0.2...
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis closed pull request #35607: daemonize: 1.7.7 -> 1.7.8 (master...auto-update/daemonize-1.7.7-to-1.7.8) https://git.io/vAroi
NixOS_GitHub has left #nixos [#nixos]
21WAABM5W has joined #nixos
<21WAABM5W> [nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vArDe
21WAABM5W has left #nixos [#nixos]
<21WAABM5W> nixpkgs/master 8bc7c5f adisbladis: Merge pull request #35613 from ryantm/auto-update/dnscrypt-wrapper-0.3-to-0.4.0...
<21WAABM5W> nixpkgs/master 4cf7a5f Ryan Mulligan: dnscrypt-wrapper: 0.3 -> 0.4.0...
14WAABM58 has joined #nixos
<14WAABM58> [nixpkgs] adisbladis closed pull request #35613: dnscrypt-wrapper: 0.3 -> 0.4.0 (master...auto-update/dnscrypt-wrapper-0.3-to-0.4.0) https://git.io/vArPI
14WAABM58 has left #nixos [#nixos]
pie__ has quit [Ping timeout: 252 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mnacamura opened pull request #35651: rPackages.xml2: fix darwin build (master...r-xml2-darwin) https://git.io/vArDq
NixOS_GitHub has left #nixos [#nixos]
Guanin has quit [Ping timeout: 240 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 09da207 Ryan Mulligan: dmtcp: 2.5.1 -> 2.5.2...
<NixOS_GitHub> [nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vArD2
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 4ebe51e adisbladis: Merge pull request #35616 from ryantm/auto-update/dmtcp-2.5.1-to-2.5.2...
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis closed pull request #35615: drumkv1: 0.8.5 -> 0.8.6 (master...auto-update/drumkv1-0.8.5-to-0.8.6) https://git.io/vArP3
NixOS_GitHub has left #nixos [#nixos]
Guanin has joined #nixos
sophiag has joined #nixos
<sophiag> hi all. i think i have to gc for the first time (my 128gb boot drive is full and it's ~90% dev stuff) and considering i'm currently rolling back a ton of builds every time i reboot due to a hardware issue i'm concerned about getting it right
<sophiag> i'd like to just delete all build artifacts from before the version i boot from and ideally everything from there to the most recent build as well
<clever> sophiag: one handy trick, nix-collect-garbage --max-freed 2g
<clever> that will delete 2gig worth of garbage, and stop
<clever> it will still preserve all GC roots, so rollbacks are un-affected
<sophiag> ah ok
alpha_sh has quit [Ping timeout: 245 seconds]
<mfiano> So I just tested another window manager and I have the same problem
<sophiag> um, how does that work?
<clever> sophiag: it only deletes things that are un-rooted, and it counts the bytes as it deletes things
<clever> sophiag: then just stops when it hits the requested number
<sophiag> right, i was confused about what my roots are set to and thought i could accidentally delete the version i have to rollback to
<clever> ah
<clever> nix refuses to delete anything that is rooted
<clever> and the rollbacks are all gc roots
<sophiag> oh...so that's it
alpha_sh has joined #nixos
<clever> also, if you know a particular store path that is rather fat, you can just `nix-store --delete /nix/store/that-path`
<clever> it will still obey roots, and refuse to delete anything you might need
<sophiag> how do i see all my rollbacks? in case i _do_ actually want to prune some
<clever> sophiag: `nix-env --list-generations` as each user that has used nix-env, and also `nix-env --list-generations -p /nix/var/nix/profiles/system` for the nixos generations
<clever> and from the man page, nix-env --delete-generations generations...
<sophiag> ah the -p flag was what i was missing
<clever> behind the scenes, nixos-rebuild is just a wrapper for nix-env -p /nix/var/nix/profiles/system
<clever> it builds <nixpkgs/nixos> -A system, and then stores that in the newest generation
<sophiag> wow, can't believe i never knew that
<sophiag> well, i can :)
<clever> i get obsessed with knowing how things work, and consume source code like its food :P
<mfiano> How do you delete generations?
<sophiag> also what if i call nix-collect-garbage without the --max-freed flag? there doesn't seem to be any danger of that
<clever> mfiano: nix-env --delete-generations
<clever> sophiag: it will just delete all un-rooted things, freeing up a ton of space, and ruining your cache, so you have to redownload a lot for nix-shell or nix-build
<clever> so its a balance between how much space you want, and how much bandwidth you want to waste re-downloading lesser used things
<sophiag> ah yikes
<sophiag> maybe i will actually try pruning generations first
<clever> sophiag: also, nix-store --gc --print-dead
<clever> i think this just lists all garbage
<sophiag> is there a way to see the nixos version for each generation? that's the only way i can tell which i'll never need to roll back to :p
<mfiano> it's safe to pipe that last command to nix-store --delete?
<clever> mfiano: thats basically what nix-collect-garbage does
<clever> mfiano: simpler to just use that directly
<clever> sophiag: [root@system76:~]# ls -l /nix/var/nix/profiles/
<mfiano> Hmm, I don't see any cache in the print-dead list
<mfiano> Just google-chrome and crap I was testing yesterday
<clever> mfiano: yeah, it doesnt call it cache, but it is caching a copy of chrome, incase you want it again
<clever> but nothing refers to it, so it wont be used automatically
<clever> you have to know the full path to use it
<mfiano> Is there anyway to see how much space would be freed for a particular one ofthe above operations?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 9ffc5b3 Ryan Mulligan: flatbuffers: 1.4.0 -> 1.8.0...
<NixOS_GitHub> [nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vAryW
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master c12a174 adisbladis: Merge pull request #35647 from ryantm/auto-update/flatbuffers-1.4.0-to-1.8.0...
<clever> [root@router:~]# du --max=0 -hc $(nix-store --gc --print-dead) | sort -h
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg opened pull request #35652: makeDesktopItem: genericName is not mandatory (master...f/di) https://git.io/vAry4
NixOS_GitHub has left #nixos [#nixos]
<clever> du will now sum up how big every piece of garbage is
<clever> 23M /nix/store/2kcrj1ksd2a14bm5sky182fv2xwfhfap-glibc-2.26-131
<clever> 192M /nix/store/8fchpdqskkzlwjamvb5lvyqw8zwzm9x8-systemd-237
<clever> 279M total
<mfiano> wow 3.5G
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg closed pull request #35652: makeDesktopItem: genericName is not mandatory (master...f/di) https://git.io/vAry4
NixOS_GitHub has left #nixos [#nixos]
<clever> mfiano: and you can also `nix-store --delete` just one of those, so you dont ruin the cache
<mfiano> and what about generations disk usage up to a certain point?
<mfiano> I suppose that's trickier knowing what is used by later generations
<clever> [root@router:~]# du -hc --max=0 $(nix-store -qR /nix/var/nix/profiles/system-393-link) | sort -h
<clever> mfiano: this is the total size of everything that generation 393 used
<clever> but a very large chunk of that, is ahred with 392, 391, and a couple of others
<clever> shared*
<clever> 254M /nix/store/haa62nc1zz7327d2l6iyghi8lsbwjr08-go-1.9.2
<clever> 578M /nix/store/c1lqq2yd6xgk2m940m6ldhlnbwgj0vah-clang-4.0.1
<clever> 3.0G total
<mfiano> you must have a lot of aliases to be typing all these this fast :)
<clever> comes to 3gig on my router
<clever> mfiano: nope, i just type really fast
<mfiano> I would say so :)
<clever> and i use them enough that its all automatic
<sophiag> ok, hopefully last stupid question...is there a way to delete all *but* certain generations (other than enumerating them with bash)? i figure i'll just keep the one i rollback to on boot and the current one, then delete everything
<clever> sophiag: not directly, but there is `nix-collect-garbage --delete-older-than 30d --dry-run`
<clever> sophiag: which will just set a cut-off point in time
<clever> i believe the --dry-run stops it from actualy deleting anything, so you can preview the action first
<clever> if ran without root, it can only clean up nix-env for the current user
<sophiag> yup, i did read the manual that much :)
<clever> if ran with root, it cleans up every profile
astrofog has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/vAryr
<NixOS_GitHub> nixpkgs/master 095260a Peter Hoeg: nixos udevil: set up wrapper for udevil
NixOS_GitHub has left #nixos [#nixos]
<mfiano> These commands are very nice. I'm saving them for later
<clever> there is another i often use
pie__ has joined #nixos
<clever> [root@router:/nix/store]# du --max-depth=1 -hc | sort -h
<clever> this one will print everything in the store, sorted by size
<clever> then, run `nix-store --query --roots /nix/store/fat-thing-1` to find out what depends on it
<clever> then selectively remove roots/generations, and `nix-store --delete`
<clever> that gets edge cases the above things dont get, like a result symlink from 3 years ago in a random directory, lol
<mfiano> Oh yes, I use that so much it's a function def
<mfiano> I learned something new though. I didn't know that the -h flag of both can be used like that to sort by size. I usually do du without -h and sort -n
<sophiag> is it weird if my nixos generations list doesn't update after deleting some?
<clever> sophiag: what did you delete?
<sophiag> well i ran through them one by one with bash so i realize now that could be sketchy if it bumps the numbers :/
<sophiag> so from root like: for i in $(seq 11 57); do nix-env --delete-generations $i; done
<sophiag> since i identified 58 as the one i boot from
<clever> sophiag: that lacks the -p flag, so its deleting generations from the `nix-env -i` profile
<sophiag> ah, that makes sense
MercurialAlchemi has joined #nixos
<sophiag> but if i rerun it do i want to replace $i with 1? iow, does it bump the numbers since i'm not passing them as a list?
<clever> sophiag: put an echo before the nix-env
<clever> the du i gave above has finished, i see 5 storepaths, that are 1.9gig each
<clever> and then i --query --roots to find nothing depends on it
<clever> and nix-store --delete is happy to remove it
asuryawanshi has joined #nixos
<mfiano> I just did the same for a 2gb store path with no roots
<sophiag> clever: sorry, i'm unclear how echo affects what i was asking about it bumping generation numbers
<clever> sophiag: more that it lets you preview what $i is at every command
<sophiag> ah yeah i was going to just try that
<clever> mfiano: i much prefer targeted deletion, since i dont loose anything i might have wanted, but sometimes you just dont have the time
<mfiano> Yeah he's wondering if the generations get renumbered to be sequential after deletion
<mfiano> I'm curious as well
<clever> ah
<clever> it always starts +1 above the current
aborsu has quit [Quit: aborsu]
<clever> [root@system76:~]# ls -l /nix/var/nix/profiles/system{,-5?-link}
<clever> lrwxrwxrwx 1 root root 14 Feb 13 14:21 /nix/var/nix/profiles/system -> system-58-link
<clever> lrwxrwxrwx 1 root root 92 Feb 7 01:54 /nix/var/nix/profiles/system-57-link -> /nix/store/v1qw417lq5h13wzma299a60ys6w2nkmd-nixos-system-system76-18.03pre125130.3a763b91963
<clever> lrwxrwxrwx 1 root root 92 Feb 13 14:21 /nix/var/nix/profiles/system-58-link -> /nix/store/n8j8g3vw1y1zh8wq6ab79rcdyd4hn0c2-nixos-system-system76-18.03pre125130.3a763b91963
<clever> system points to the current generation, 58 in my case
<sophiag> oh, one *above* the current?
<clever> the next one will be 59
<clever> if you do a rollback, all it does is point system to an older generation
<clever> so if i made a rollback, system would become a symlink to system-57-link
<clever> if you do another rebuild, while in that state, it will check 58, see its in use, then make 59 the new one
<mfiano> if current is 58 and you delete #1, is #2 the same generation as it was or does it get pushed down to #1?
<clever> they dont shift when deleted
<mfiano> Ok
<clever> so you will wind up with holes in the list
<sophiag> ah ok
<clever> and it will never fill the holes in
<clever> so the number just keeps going up without limit
asuryawanshi has quit [Ping timeout: 252 seconds]
<mfiano> deterministic is good
<clever> things may break at INT_MAX? lol
pie__ has quit [Ping timeout: 240 seconds]
<mfiano> until you hit integer overflow
<mfiano> haha
<sophiag> omg nightmare
<sophiag> :p
<clever> nix also has file level dedup
<sophiag> anyway, so it seems to delete old ones then i'd want to work backwords, right? that doesn't seem right tho
<clever> if you run `nix-store --optimize`, it will go thru every single file in the store, and hash it
<clever> then it will hardlink the file to /nix/store/.links/$HASH
<clever> so 2 files with the same hash, share a hardlink to that path, and share the contents
rauno has joined #nixos
<sophiag> like nix-env --delete-generations -p -1 doesn't delete the second latest
<clever> sophiag: they dont renumber, so you can delete in any order
<clever> i dont think negative numbers work either
<sophiag> i was confused when you were saying it treats the current generation as 1
<sophiag> but so "nix-env --delete-generations -p 1" still shows generation 1 on my list
<clever> that is pointing to a profile called 1 in the current directory
<clever> not the system profile
<sophiag> i thought the -p meant system profile?
<clever> -p takes a path to a profile
<sophiag> ah shit, sorry
<sophiag> got it :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mnacamura opened pull request #35653: rPackages.JuniperKernel: fix darwin build (master...r-juniperkernel-darwin) https://git.io/vArSi
NixOS_GitHub has left #nixos [#nixos]
hellrazor has joined #nixos
<mfiano> is it odd that `nix-collect-garbage --dry-run` returns nothing?
<clever> mfiano: i dont think it will print anything in that mode
<clever> its not going to clean up any generations
<sophiag> oh shit emacs is probably going to crash
<sophiag> i decided to gc everything...
<sophiag> chrome crashed
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 5 new commits to master: https://git.io/vArS1
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 48e449e Florian Jacob: nixos/piwik: rename to matomo
<NixOS_GitHub> nixpkgs/master a892bd8 Florian Jacob: piwik 3.2.1 -> matomo 3.3.0...
<NixOS_GitHub> nixpkgs/master d431aed Florian Jacob: matomo: make the substituteInPlace a proper patch,...
<clever> sophiag: nix is smart enough to check what files are in use
<clever> sophiag: it scans the open files, arguments, running binaries, and env variables
<clever> and mapped files
<sophiag> ah, so more likely google's fault
<sophiag> it freezes constantly, but then again i'm on an old version cuz of my hardware issue
<sophiag> also saying "nix is smart" is a kind way of putting it imo. lol
<sophiag> you could say, "nix treats you as stupid as a darwin user"
<mfiano> so again, how do you clean up all unrooted garbage?
<clever> mfiano: just nix-collect-garbage without any flags
<sophiag> nix-collect-garbage
elninja44 has quit [Remote host closed the connection]
<mfiano> that helped. i had a lot of garbage in 1 day of trying things out
<sophiag> 1 day??
<sophiag> i was wondering how you had finished already :p
<mfiano> Yeah just installed nix yesterday :)
<sophiag> i'm hung on /nix/store/trash. this must be the end
<mfiano> I'm a newbie
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #35467: pythonPackages.jupyterhub-ldapauthenticator: init at 1.1 (master...ldapauth) https://git.io/vAVH9
NixOS_GitHub has left #nixos [#nixos]
<sophiag> good for you. seems so many folks give up halfway through installation
alex`` has joined #nixos
<clever> sophiag: nix makes the "deletions" more atomic, by instead moving the trash into /nix/store/trash with the rename() syscall
<sophiag> i just put myself in a situation where i had to install a new os one way or another and swore a lot
<clever> sophiag: so the paths are either in the store, or not, and they are never partially deleted
<clever> sophiag: but then it has to rm -rf /nix/store/trash at the end, and do the slow part it was avoiding the entire time
<mfiano> Well I'm about to give up on this env var issue. It's sad I have to start chromium with a env var in a shell
<sophiag> it actually wasn't anywhere near as slow as i thought
<clever> mfiano: i just never close chromium...
<mfiano> Because i3 and dwm and other wm's don't obey what's in `env`
<clever> mfiano: i treat it more like a daemon
<sophiag> lol, freed up 51gb!
<sophiag> but chrome is gone somehow...at least from gnome
<sophiag> fuck i hope my tabs are still there :(
<sophiag> i'm just upgrading everything from nix-env
<sophiag> i was warned of this...
<mfiano> Your profile would be under $HOME more than likely :)
<clever> sophiag: what if you just run chromium from a shell?
<sophiag> i use the unfree one. `which` turns up nothing :/
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #35471: pythonPackages.py_stringmatching: init at 0.4.0 (master...py_stringmatching) https://git.io/vAVNd
NixOS_GitHub has left #nixos [#nixos]
<mfiano> sophiag: I think it would be named google-chrome
<sophiag> it is
<sophiag> still not there after `nix-env -u`
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/vAr9v
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 86ccf4d Ryan Mulligan: eccodes: 2.5.0 -> 2.6.0...
<NixOS_GitHub> nixpkgs/master c83ab76 Frederik Rietdijk: Merge pull request #35625 from ryantm/auto-update/eccodes-2.5.0-to-2.6.0...
<clever> sophiag: what about nix-env -q ?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #35626: devilspie2: 0.42 -> 0.43 (master...auto-update/devilspie2-0.42-to-0.43) https://git.io/vArXf
NixOS_GitHub has left #nixos [#nixos]
<sophiag> that's for local profiles?
<clever> sophiag: that will list everything you installed with nix-env
<sophiag> right
<sophiag> but i've never installed google-chrome that way so it's not there
<clever> ah, then nix-env -u wont update it either
Sonarpulse has joined #nixos
<sophiag> oddly enough i have the spotify client and that's unfree
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #35611: doclifter: 2.15 -> 2.17 (master...auto-update/doclifter-2.15-to-2.17) https://git.io/vArPf
NixOS_GitHub has left #nixos [#nixos]
<sophiag> i just reinstalled it. my history is there but it crapped out reloading tabs
<sophiag> i'm so weak for my tab attachment. otherwise i could be using firefox quantum
<clever> sophiag: i have 4 addons just to help wtih that
<clever> sophiag: first, i use session buddy to save all tabs, it also semi-randomly saves its own snapshots
<clever> thats the last-ditch backup
<clever> sophiag: second, i use one-tab to store tabs short-term
<clever> sophiag: third, i use unique tabs to prevent duplicates (sadly, it only checks within a single window)
<clever> sophiag: fourth, i use vimium to search for tabs, T in any tab pops open a search UI
<clever> chromes built-in tab-restore is a bit dogdy, if you dont choose to restore, or you fail during restore, the restore is lost
<pjan> anyone here knows how to escape the interpolation characters in string expressions in nix?
<sophiag> yup, totally dodgy
<clever> pjan: ''in this string, you do ''${this} and your done''
<sophiag> i've tried onetab, but it wasn't really what i was looking for
<sophiag> i should try session buddy
<pjan> thanks clever
<sophiag> the thing is...i have to sigkill it often enough you'd think i could just locate last they reloaded from like at most two days ago
Arcaelyx_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<clever> sophiag: oh, i have a bug that sounds related
<clever> sophiag: sometimes, chrome appears to hang, but youtube keeps playing
<clever> sophiag: ps aux | grep =gpu, and kill only the gpu process, and it recovers
<clever> the problem, is that it shoves all GUI updates into a single process, that sometimes hangs
<clever> murderize that, it respawns, and no state is lost
<sophiag> oh damn that sounds exactly like my problem. it's always after i fullscreen movies
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis closed pull request #35605: daq: 2.0.6 -> 2.2.2 (master...auto-update/daq-2.0.6-to-2.2.2) https://git.io/vAror
NixOS_GitHub has left #nixos [#nixos]
<sophiag> also this hardware problem i've been referring to...i'm on a hand me down gaming laptop where the nvidia card is hardwired to the screen. so you can't turn off either nvidia or integrated...
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis closed pull request #35639: expect: 5.45 -> 5.45.4 (master...auto-update/expect-5.45-to-5.45.4) https://git.io/vArXA
NixOS_GitHub has left #nixos [#nixos]
<clever> ive heard of some weird laptop setups, that do "fun" things to save power
<sophiag> sadly, looks like i'll purchased a gaming laptop for my next one anyway. i can't find anything that competes with the 13" razor as far as size and ram
nh2 has joined #nixos
<clever> basically, the screen is tied to a dumb low-power video chipset
<clever> and then they glued a powerfull 3d chipset on the side
<clever> and configure it, to just render 2d frames into the framebuffer of the low-power chip
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis closed pull request #35641: fceux: 2.2.2 -> 2.2.3 (master...auto-update/fceux-2.2.2-to-2.2.3) https://git.io/vAr1o
NixOS_GitHub has left #nixos [#nixos]
<clever> the trick, is that you can now just cut power to the entire 3d GPU
<sophiag> you can get that razor maxed out with a 1tb ssd for $2k which is much less than the macbook pro that caps your ram at 16gb
<adisbladis[m]> sophiag: There are plenty of thinkpads at around 14" that max out at 32G ram
leat has quit [Ping timeout: 260 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] markus1189 opened pull request #35655: jmeter: 3.3 -> 4.0 (master...jmeter) https://git.io/vAr9A
NixOS_GitHub has left #nixos [#nixos]
<clever> sophiag: one min
<sophiag> adisbladis: hmm hadn't seen any
<clever> sophiag: https://system76.com/laptops/kudu is what i'm currently running
<sophiag> i really would like something light with a fancy screen like the mbps
<adisbladis[m]> sophiag: My thinkpad 25 has 32G RAM and a nice 14" 1080p screen
<clever> sophiag: 32gigs of ram, i went with the variant that has no dedicated gpu, since i'm not gaming on it
<lejonet> adisbladis[m]: The T25?
<adisbladis[m]> lejonet: Yeah
<lejonet> adisbladis[m]: :D
<clever> sophiag: but i have cracked it open, and there is a very clear void on the motherboard where the gpu&gpu ram goes, along with a massive void where the cooler would have gone
hotfuzz_ has joined #nixos
<adisbladis[m]> lejonet: Came with 1x16G but the mb takes 2x16G :)
<lejonet> adisbladis[m]: that is awesomesauce
<clever> sophiag: double-checking the site, i dont even see a gpu variant offered for the kudu
<adisbladis[m]> lejonet: It's a pretty sweet beast :)
<lejonet> clever: but... a 17.3" screen?! That is huge
<lejonet> adisbladis[m]: I'm waiting for the A series with Raven Ridge, then I'm maybe swapping my x260
<clever> lejonet: its mainly a coding laptop
hotfuzz has quit [Ping timeout: 252 seconds]
<clever> lejonet: the bigger the screen, the more text you can fit
<lejonet> clever: fair enough then
<clever> lejonet: the cpu can also nearly match my desktop, yet has half the cores
<lejonet> clever: 7700HQ is a beast :)
<clever> yeah
<clever> model name : AMD FX(tm)-8350 Eight-Core Processor
<clever> lejonet: thats what the desktop has
<lejonet> clever: ouff, a poor excavator :P
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl closed pull request #35596: cryptoverif: 1.22 -> 1.28 (master...auto-update/cryptoverif-1.22-to-1.28) https://git.io/vArVh
NixOS_GitHub has left #nixos [#nixos]
<clever> lejonet: the cpu draws enough watts that 100% usage can trip the overload alarm on the UPS
<lejonet> clever: Haha yeah, they weren't energy eficient at all :(
<adisbladis[m]> <3
<lejonet> efficient*
<adisbladis[m]> I had a bulldozer before.. Even at idle it noticeably warmed up my kitchen
<lejonet> Yep, they were ill-designed when it came to the power draw
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vArH4
<NixOS_GitHub> nixpkgs/master e78c4ae Ryan Mulligan: feh: 2.23 -> 2.23.2...
<NixOS_GitHub> nixpkgs/master 40fd69c adisbladis: Merge pull request #35644 from ryantm/auto-update/feh-2.23-to-2.23.2...
NixOS_GitHub has left #nixos [#nixos]
<sophiag> yikes...just reloaded my tabs from memory :(
<sphalerite_> what do you mean?
<sphalerite_> adisbladis[m]: don't dis them, they have so much more compute power than any other space heaters!
<mfiano> clever: vimium is just what i was looking for!
<clever> sophiag: my chrome eats about 32gig of ram and another 32gig of swap
<mfiano> ouch
<lejonet> sphalerite_: and giving them a load that rarely get mispredicted and they'll chug down a lot of data fast
<clever> mfiano: vimium also has a number of other hotkeys i rarely use, that basically apply tiling window-manager features to the whole browser
<lejonet> clever: lol
<sphalerite_> lejonet: branch prediction? Wasn't there a thing about that recently? :D
<lejonet> sphalerite_: haha yeah :P
reinzelmann has joined #nixos
<clever> mfiano: f for example, puts a unique letter(combination) on every link, hit that letter to "click" it
<mfiano> sadly i only have 8gb of ram, because the 32gb i ordered is on backorder until next week
<lejonet> sphalerite_: you could say its just a spectre nowdays tho... ;)
<sphalerite_> ehehehehe
<mfiano> i was getting by with that much for years, but thanks to the web that is no longer possible
<sphalerite_> how much stuff do you people have open simultaneously o.o
<mfiano> clever: I'm aware. I was using the same with uzbl
<lejonet> sphalerite_: 40+ tabs... :P
<sphalerite_> I mean, I used to have ~140 tabs in my firefox. But I wouldn't actually load them all
<adisbladis[m]> sphalerite_: It was running gentoo at the time so on a cold day you could "emerge -e world" :D
<sophiag> wait, just catching up
<mfiano> amazing how spectre/meltdown get all the attention when we had rowhammer for a long time and is still an issue :)
<clever> mfiano: there is also a config thing in vimum to blacklist certain domains from having the hotkeys
<clever> mfiano: for example, youtube already uses f for fullscreen, and things get wonky if f does 2 things
<sophiag> clever: it definitely *is* chrome. even a friend of mine at goog (not on the chrome team) says it's the new ie :(
<sphalerite_> adisbladis[m]: nixos-rebuild switch --upgrade --substituters '' :D
<clever> sophiag: ?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 876263e adisbladis: Merge pull request #35640 from ryantm/auto-update/fakeroot-1.20.2-to-1.22...
<NixOS_GitHub> nixpkgs/master c7f30b3 Ryan Mulligan: fakeroot: 1.20.2 -> 1.22...
<NixOS_GitHub> [nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vArHF
NixOS_GitHub has left #nixos [#nixos]
<sophiag> firefox quantum really impressed me. but even before that safari would kill chrome on my work machine
<sphalerite_> adisbladis[m]: or run hydra to verify all of hydra.nixos.org's builds! :D
<LnL> adisbladis[m]: nix supports something similar if you want
<adisbladis[m]> sphalerite_: <3
<adisbladis[m]> LnL: Ehrm. No thanks :)
<sophiag> clever: cuz you said it eats up to 64gb ram
<clever> sophiag: ah, thats mostly due to my tabs, one sec
<lejonet> mfiano: well, yes, but that got attention when it was shown, then 3s later, they forgot it too, just like spectre and meltdown is soon forgotten, atleast by the general public
<sophiag> i'm sayign i bet if you had 40 tabs on firefox you'd be okay
<clever> sophiag: my primary chrome profile has 885 tabs open right now
<sophiag> lolol
<clever> sophiag: and the second chrome profile (in the same instance) has another 142
<LnL> stdenv.overrideAttrs (drv: { REBUILD = builtins.currentTime; })
<clever> sophiag: oh, i also found an un-expected bug in chrome, due to one-tab
<LnL> that should keep it warm for a while
<clever> sophiag: i got to the point, that opening the gui for one-tab, killed the rendering process for it in chrome
<lejonet> sophiag: my firefox rarely eats more than a gig or 3 :P
<clever> sophiag: turns out, chrome calls socketpair() when loading fonts
<clever> sophiag: and the gui had such an insane number of links, that it went nuts trying to load the same font in parallel
<clever> sophiag: and it ran out of file-descriptors
<sphalerite_> my firefox is using… 1GB of RAM. But I did a major tab purge a while back.
<sophiag> yeah shit like that is a lot of why i've stopped using certain extensions. i always used to blame whoever wrote the extensions tho
<sphalerite_> and on my chromebook it's using 400MB, but on there I disable javascript and keep the tab count very limited
<sophiag> like the pocket chrome extension crashes it all the time
<clever> sophiag: the multi-process nature of chrome helps to contain those crashes
<clever> but in the case above, it got to the point that the process for one-tab crashed every time i tried to use one-tab
<clever> which essentialy made the entire extension unusable
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vArQO
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master c8a91ac adisbladis: Merge pull request #35606 from ryantm/auto-update/dante-1.4.1-to-1.4.2...
<NixOS_GitHub> nixpkgs/master cd95173 Ryan Mulligan: dante: 1.4.1 -> 1.4.2...
<sophiag> apropos...now chrome hangs when i try to load...google.com!
rauno has quit [Ping timeout: 268 seconds]
<sphalerite_> is there a way to get --check behaviour with `nix build`?
ixxie has joined #nixos
<sphalerite_> also, is there a way to find the source for a .drv file? I'm guessing not in the general case, but I know an evaluation that has it somewhere in its dependency tree so that must help surely
<clever> sphalerite_: look at where it is within nix-store --query --tree, and then check the .drv at each step to get hints on which parameter to mkDerivation it was in
<clever> sphalerite_: then just chase it down on the nix side
<hyper_ch> LnL: test it now also on home server... reverting back to that commit makes tmux work normal again...
<hyper_ch> dtz: online?
<LnL> he’s probably sleeping right now
<ixxie> it seems package / option search on nixos.org is broken
<hyper_ch> LnL: sleeping in the middle of the day? :)
<ixxie> correction: only package search is broken it seems
<ixxie> correction: nothing is broken xD
<LnL> hyper_ch: pretty sure it’s midnight for him
<sphalerite_> clever: that's fiddly :( I was hoping there would be some way to get an evaluation trace of each instantiation so I can just grep for the drv I'm looking for
<clever> sphalerite_: you could maybe modify stdenv.mkDerivation such that it calls lib.traceShowVal
<clever> or another one of the trace family
<sphalerite_> I just found a distinctive string in the .drv tha I can grep for :)
<clever> then it could print meta.position and every .drv
<clever> thats a much simpler way
<clever> sphalerite_: what is just the drv name?, maybe ive memorized it already? lol
Itkovian has joined #nixos
<sphalerite_> /nix/store/n2ss1pdrsmgngcdb9l7nfw3amkbckmc2-binutils-2.28.1.drv
<sphalerite_> but a bootstrap one
<sphalerite_> anyway I've found it now
<LnL> hyper_ch: did you revert the commit on master?
<clever> ahh
leat has joined #nixos
<hyper_ch> LnL: cloned nixpkgs and set checkout to the commit and rebuild
<clever> sphalerite_: yeah, thats a tricky one because there are several layers of binutils
Sonarpulse has quit [Ping timeout: 245 seconds]
<hyper_ch> LnL: btw, if I run: git log --oneline b9806751074..327a84749ed then two adjacent commits are really commited just one after the other, right?
<sphalerite_> oh no, Sonarpulse left. Just when I might be needing him.
<LnL> hyper_ch: not necessarily, check —graph
<sophiag> ugh, now after all that to free up space i can't remember how i finally got stack to use the system ghc :p
rauno has joined #nixos
<hyper_ch> LnL: oh :(... I used that to find which works and which doesn't :(
<hyper_ch> not sure about check --graph
<clever> sphalerite_: i dont think he was back, he has been reconnecting and pinging out for the last 8-ish hours
<sphalerite_> oh ok
<LnL> could still be right
<LnL> hyper_ch: git log —oneline —graph
<hyper_ch> howto understand that?
<sphalerite_> LnL: btw whatever you're typing in turns -- into –.. Which makes copying commands you write harder!
zzamboni has joined #nixos
<sphalerite_> hyper_ch: git history isn't linear. You can get branches that split out from the same commit and later get merged back together
<LnL> I know! not sure how to fix that on my phone’s client
gillmanash has quit [Remote host closed the connection]
zzamboni has quit [Remote host closed the connection]
zzamboni has joined #nixos
<sophiag> sphalerite: that's bad news. you should definitely delete branches after merging and then recreate them if you need
<sophiag> *_
<LnL> hyper_ch: have to leave for work now, back in a bit
<hyper_ch> how to read that graph?
<sphalerite_> sophiag: not really, it's just how git works..?
<sophiag> i'm saying you can avoid that by deleting branches after merging to master. obviously git lets you do tons of painful stuff
<sphalerite_> hyper_ch: if there's a line between two adjacent commits the upper one is directly descended from the lower one
<sphalerite_> sophiag: you still have the nonlinear history
<sphalerite_> sophiag: unless you rebase instead of merging
ertes-w has joined #nixos
<sophiag> hmm? maybe i confused your initial comment i responded to
<sophiag> i've never had that cause a problem...
<sphalerite_> it's not a problem, I'm just trying to explain the output of git log --graph to hyper_ch :)
<sophiag> i mean, you either pull before merging or go the other way
<sophiag> ah
ixxie has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
madknight has quit [Quit: PanicBNC account has been auto selected for removal due to login inactivity.]
<hyper_ch> sphalerite_: https://paste.simplylinux.ch/view/raw/0a07b915 with the f5e96d3 commit it doesn't work anymore... with the 122fa75 it works
<hyper_ch> but still no clue how to read that
Tucky has joined #nixos
vidbina has joined #nixos
<sphalerite_> hyper_ch: oh yeah, when you have lots of branches it's very confusing
ixxie has joined #nixos
<sphalerite_> hyper_ch: I highly recommend chapters 2 and 3 of pro git https://git-scm.com/book/en/v2
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jfrankenau opened pull request #35656: neomutt: fix smime_keys openssl path, closes #35654 (master...fix-neomutt) https://git.io/vAr5q
NixOS_GitHub has left #nixos [#nixos]
<hyper_ch> sphalerite_: so how can I narrow it down?
<sphalerite_> I don't actually know what the problem you're trying to solve is
<hyper_ch> (those are no in linear history)
ixxie has quit [Client Quit]
<hyper_ch> sphalerite_: trying to find out which commit causes tmux on a user account to crash/stop/kill if the ssh connection stops
<sphalerite_> ah right, in that case I'd suggest using bisect if that wasn't what you were already doing
<hyper_ch> bisect doesn't seem to help
<sphalerite_> well you check out the last known working revision, do git bisect good, then check out the first known broken one, and git bisect bad
<sphalerite_> then you test the one that puts you on, and do git bisect good or bad depending on whether it works or not
<sphalerite_> and repeat until you get to the commit that breaks it
Itkovian has quit [Remote host closed the connection]
jensens has joined #nixos
Itkovian has joined #nixos
ixxie has joined #nixos
<adisbladis[m]> hyper_ch: Isn't it just systemd's linger setting you are looking for
<fearlessKim[m]> you can have a script return the result too to automate the bisect
<sphalerite_> adisbladis[m]: nope that was already suggested yesterday :/
rindvieh has joined #nixos
<sphalerite_> fearlessKim[m]: I'm not too keen on using git bisect run on nixpkgs, because it often results in enormous amonts of rebuilding
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 841ef47 adisbladis: Merge pull request #35642 from ryantm/auto-update/fcron-3.2.1-to-3.3.0...
<NixOS_GitHub> nixpkgs/master 4ef48a5 Ryan Mulligan: fcron: 3.2.1 -> 3.3.0...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vAr5r
henk has left #nixos ["WeeChat 1.6"]
<adisbladis[m]> Crazy amount of PRs today O.o
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis closed pull request #35634: encfs: 1.9.2 -> 1.9.4 (master...auto-update/encfs-1.9.2-to-1.9.4) https://git.io/vArXV
NixOS_GitHub has left #nixos [#nixos]
<sphalerite_> see the "auto-update" bit in the branch names? ;)
<sphalerite_> ryantm is doing automagic stuff
<adisbladis[m]> sphalerite_: I saw it :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] andrew-d closed pull request #34869: sudo: explicitly disable tmpfiles.d to fix build on Linux (master...adunham/sudo-no-tempfiles) https://git.io/vAqrV
NixOS_GitHub has left #nixos [#nixos]
<adisbladis[m]> sphalerite_: Doesn't change the fact that the amount is crazy :P
<sphalerite_> :D
orivej has joined #nixos
lexcurious has joined #nixos
<Guanin> what exactly does 'inherit' do in a function? I know about it copying variables from the parent scope, but I found a nginx configuration which uses it on a function like this https://gist.github.com/Amarandus/001817b176ad00338876e7019cbb6f25
<fragamus> I am trying to build the swift language package in git@github.com:NixOS/nixpkgs.git when I tried to build it, I got a problem described here: https://stackoverflow.com/questions/14261013/bind-is-not-a-member-of-std#14261068 suggesting I need to compile with a different compiler.
<mog> anyone here run stumpwm? im trying to get stumptray loaded in my stumpwmrc and having trouble
<fragamus> I am running 17.09 stable. should I be on bleeding edge to build this stuff?
<clever> Guanin: thats identical to just locations = locations; still
<lexcurious> a trailer of ubuntu SNAPs https://www.youtube.com/watch?v=BaQDjziGib4
<Guanin> Thanks, clever :)
<clever> Guanin: its inheriting the argument to the function, not the function itself
sigmundv has joined #nixos
<sophiag> this is a huge longshot but does anyone here use libpcap? i'm trying out a haskell wrapper for it for the first time and it either can't find or doesn't like a header file :/
asuryawanshi has joined #nixos
civodul has joined #nixos
<clever> sophiag: i think you need to use overrideCabal to add librarySystemDepends = [ libpcap ];
<clever> sophiag: cabal doesnt really understand non-haskell dependencies
<clever> so the auto-generated nix xpressions omit them also
<sophiag> i'm using stack actually, although i did just try cabal install
<clever> i think you need to make your own shell.nix, and use stack --nix, in that case
<sophiag> with stack i do have to do `stack --nix build` to get it to find the right ghc, but i'm wondering if that's making it not find libpcap
robstr_ has quit [Remote host closed the connection]
<clever> sophiag: that shell wont have any non-haskell dependencies in it
<clever> sophiag: i dont think stack understands them either, so you must make a shell.nix that can supply them
robstr has joined #nixos
<sophiag> in the actual project directory or user?
vaninwagen has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] lsix opened pull request #35657: automake: 1.15.1 -> 1.16 (staging...automake-1.16) https://git.io/vArFW
NixOS_GitHub has left #nixos [#nixos]
robstr has quit [Remote host closed the connection]
asuryawanshi has quit [Ping timeout: 240 seconds]
<clever> sophiag: the root of the project i think
<sophiag> ugh
robstr has joined #nixos
asuryawanshi has joined #nixos
Itkovian has quit [Ping timeout: 248 seconds]
asuryawanshi has quit [Read error: Connection reset by peer]
asuryawa_ has joined #nixos
<sophiag> i'm concerned it could be a versioning issue. addding a shell.nix with libpcap in buildInputs didn't help and it *has* been able to find it in nix-store
pie__ has joined #nixos
<sphalerite_> sophiag: shouldn't it just be a matter of adding nix: {enable: true, packages: [libpcap]} to your stack.yaml?
<clever> sphalerite_: ah, hadnt seen that option, i dont really use stack much
<sphalerite_> I don't really know much at all about stack but that's what https://docs.haskellstack.org/en/stable/nix_integration/#additions-to-your-stackyaml suggests to me
<clever> sphalerite_: nix already does everything i need, so i just never learned stack/cabal
<sphalerite_> same
<sphalerite_> although I did write a cabal file for my current project
<sphalerite_> and you need to do that for anything you want to put on hackage, right?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vArFp
<NixOS_GitHub> nixpkgs/master f917848 Ryan Mulligan: exempi: 2.4.2 -> 2.4.4...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 1ff9fe2 adisbladis: Merge pull request #35638 from ryantm/auto-update/exempi-2.4.2-to-2.4.4...
jensens has quit [Ping timeout: 245 seconds]
<sphalerite_> !m adisbladis[m]
<[0__0]> You're doing good work, adisbladis[m]!
<adisbladis[m]> <3
<sudoreboot[m]> Since yesterday I've been getting `warning: unknown setting 'signed-binary-caches'`, messed up output followed by the program freezing (have to `kill -9` it) with nix-env and nix-build
<sphalerite_> sudoreboot[m]: sounds like you upgraded nix
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] nlewo closed pull request #35601: consul-template: 0.18.1 -> 0.19.4 (master...auto-update/consul-template-0.18.1-to-0.19.4) https://git.io/vArwR
NixOS_GitHub has left #nixos [#nixos]
<sphalerite_> sudoreboot[m]: and are using a 2.0 daemon with a 1.11.x client
<sudoreboot[m]> sphalerite_: Hmm, I did download nixUnstable to test it, but I didn't think it'd interfere
<sphalerite_> I haven't seen this freezing behaviour, but the messed up output definitely
<clever> i think i saw some trouble with nix-build consuming 100% cpu when i was upgrading
<clever> but it went away pretty fast
<clever> possibly due to fully switching to 2.0 on both ends?
pie__ has quit [Ping timeout: 256 seconds]
<sphalerite_> the unknown setting warning is perfectly normal though, signed-binary-caches was removed in favour of require-sigs
zzamboni has quit [Quit: Leaving.]
zzamboni has joined #nixos
<LnL> is the option not fixed yet?
<sphalerite_> LnL: fixed? I don't think that was the plan
<LnL> I mean in the nixos module
<sudoreboot[m]> I restarted nix-daemon.socket and nix-daemon.service and the program doesn't freeze or produce messed up output anymore but I still get the warning
<sphalerite_> ooh right
<sphalerite_> I don't think so
<sophiag> as you can tell by my absence i got libpcap configure :p
<LnL> I'll make a pr then
<sophiag> thanks again, all
<sphalerite_> woo!
Tucky has quit [Quit: WeeChat 2.0.1]
nschoe has quit [Quit: Program. Terminated.]
jensens has joined #nixos
reinzelmann has quit [Ping timeout: 240 seconds]
Itkovian has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] lblasc opened pull request #35658: avro-c: init at 1.8.2 (master...avro-c) https://git.io/vArb6
NixOS_GitHub has left #nixos [#nixos]
nuncanada has joined #nixos
thc202 has joined #nixos
robstr has quit [Remote host closed the connection]
markus1189 has quit [Ping timeout: 240 seconds]
robstr has joined #nixos
ottidmes has joined #nixos
<LnL> hyper_ch: so, did you try doing an actual revert of that commit on top of master?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis closed pull request #35495: alembic: 1.7.4 -> 1.7.5 (master...auto-update/alembic-1.7.4-to-1.7.5) https://git.io/vAwCP
NixOS_GitHub has left #nixos [#nixos]
robstr has quit [Ping timeout: 240 seconds]
kini has quit [Quit: No Ping reply in 180 seconds.]
fiddlerwoaroof has quit [Ping timeout: 265 seconds]
markus1189 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis closed pull request #35498: anki: 2.0.47 -> 2.0.48 (master...auto-update/anki-2.0.47-to-2.0.48) https://git.io/vAwlx
NixOS_GitHub has left #nixos [#nixos]
kini has joined #nixos
reinzelmann has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis closed pull request #35493: advancecomp: 2.0 -> 2.1 (master...auto-update/advancecomp-2.0-to-2.1) https://git.io/vAwC8
NixOS_GitHub has left #nixos [#nixos]
<mbrock> trying to get my custom channel to work with `nix-channel --update` on both Nix 1 and Nix 2, feeling confused
<clever> Program terminated with signal SIGSEGV, Segmentation fault.
<clever> #0 0x00007fbdaf4b86d4 in clock_gettime () from /home/clever/.local/share/Daedalus/installation/lib/libc.so.6
<clever> now thats strange....
<sphalerite_> nice
<mbrock> I think Nix 1 used to fetch $channelurl/nixexprs.tar.xz whereas Nix 2 tries to fetch just $channelurl
mbrgm has quit [Quit: ZNC 1.6.5 - http://znc.in]
<mbrock> so I tried redirecting $channelurl to the .tar.xz but then Nix 1.0 tries to fetch $channelurl/nixexprs.tar.xz/nixexprs.tar.bz2
<LnL> they try both
vidbina has quit [Ping timeout: 240 seconds]
mbrgm has joined #nixos
Myrl-saki has joined #nixos
hask_bee_3 has joined #nixos
rauno has quit [Remote host closed the connection]
Tucky has joined #nixos
<mbrock> it seems that Nix 2 demands that something is at the $channelurl location
17WAAUFH7 has joined #nixos
<17WAAUFH7> [nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vArA2
17WAAUFH7 has left #nixos [#nixos]
<17WAAUFH7> nixpkgs/master ee8059c Ryan Mulligan: ace: 6.4.3 -> 6.4.6...
<17WAAUFH7> nixpkgs/master 877fb9d adisbladis: Merge pull request #35488 from ryantm/auto-update/ace-6.4.3-to-6.4.6...
94KAABF2A has joined #nixos
<94KAABF2A> [nixpkgs] adisbladis closed pull request #35488: ace: 6.4.3 -> 6.4.6 (master...auto-update/ace-6.4.3-to-6.4.6) https://git.io/vAwnx
94KAABF2A has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis closed pull request #35500: antigen: 2.2.2 -> 2.2.3 (master...auto-update/antigen-2.2.2-to-2.2.3) https://git.io/vAw8s
NixOS_GitHub has left #nixos [#nixos]
taktoa has quit [Read error: Connection reset by peer]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 247db6d adisbladis: Merge pull request #35501 from ryantm/auto-update/aptly-1.1.1-to-1.2.0...
<NixOS_GitHub> [nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vArAP
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 2e60ec7 Ryan Mulligan: aptly: 1.1.1 -> 1.2.0...
<joko> Hello, I would like to create an installation ISO which already contains some of the derivations I will have on the installation target, so that they don't get downloaded. Any idea how to do so?
<clever> joko: one minute
<clever> joko: create a custom configuration.nix, and add one of the iso files to imports (probably graphical-kde?), then set this, and nix-build the right target
<mbrock> hmm, is the nixexprs.tar.xz somehow supposed to be signed now?
<joko> clever: Awesome, this is what I wanted! system.extraDependencies
<hask_bee_3> From 2014: "Nix now includes systemd units and Upstart jobs."
<hask_bee_3> Has this feature been documented anywhere?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 2 new commits to master: https://git.io/vArxk
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 0da5d7c Franz Pletz: Merge pull request #35630 from ryantm/auto-update/emby-3.2.60.0-to-3.2.70.0...
<NixOS_GitHub> nixpkgs/master a37e3f2 Ryan Mulligan: emby: 3.2.60.0 -> 3.2.70.0...
<mbrock> I made my channel's root into a browsable directory (https://nix.dapphub.com/pkgs/dapphub) and now nix-channel --update says "error: imported archive of /nix/store/...-dapphub lacks a signature"
<clever> mbrock: that happens if you use a 2.0 client with a 1.11 daemon
<adisbladis[m]> hask_bee_3: It no longer contains upstart jobs if that's what you mean
<mbrock> oh
<hask_bee_3> adisbladis[m] I'm only interested in systemd. I just don't see it documented anywhere
<clever> hask_bee_3: https://nixos.org/nixos/options.html#systemd.services
<clever> hask_bee_3: this example runs iscsid, and also loads a kernel module: https://github.com/cleverca22/nixos-configs/blob/master/iscsi_module.nix
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis closed pull request #35506: asunder: 2.8 -> 2.9.2 (master...auto-update/asunder-2.8-to-2.9.2) https://git.io/vAwRU
NixOS_GitHub has left #nixos [#nixos]
<clever> hask_bee_3: this example has config and runs snmpd https://github.com/cleverca22/nixos-configs/blob/master/snmpd.nix
astrofog has quit [Quit: Quite]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] lsix opened pull request #35660: pythonPackages.sqlalchemy: 1.2.3 -> 1.2.4 (master...sqlalchemy-1.2.4) https://git.io/vArxW
NixOS_GitHub has left #nixos [#nixos]
asuryawa_ has quit [Remote host closed the connection]
<makefu> also there are tons of examples in the nixpkgs repo under nixos/
asuryawanshi has joined #nixos
<makefu> however a quick intro would be nice addition to the https://nixos.wiki ;)
<sphalerite_> hask_bee_3: do you mean systemd units for the nix daemon, or systemd units generated by nixos?
<sphalerite_> because the nix manual is referring to systemd units for the nix daemon
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis closed pull request #35555: bcftools: 1.6 -> 1.7 (master...auto-update/bcftools-1.6-to-1.7) https://git.io/vArTS
NixOS_GitHub has left #nixos [#nixos]
rgc has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vArxK
<NixOS_GitHub> nixpkgs/master 05b6f23 adisbladis: Merge pull request #35497 from ryantm/auto-update/angelscript-2.31.2-to-2.32.0...
<NixOS_GitHub> nixpkgs/master 2d314a0 Ryan Mulligan: angelscript: 2.31.2 -> 2.32.0...
NixOS_GitHub has left #nixos [#nixos]
<sphalerite_> Is there a way to find all the input pahts for a drv? nix-store -qR gives me a mixture of sources and drvs, but I want the sources and the output paths for those drvs
<sphalerite_> Actually I want the *closure* of that operation
xeji has joined #nixos
<hask_bee_3> Here's the full context: I'm using Nix on another Linux. I wish to run a postgresql instance. I know I could simply put nix-shell -p postgresql --run 'postgres -D /tmp/foo' into a systemd (.service) file. But I understand this is not a good idea. Supposedly, I can avoid going through nix-shell every time by using so-called unit files.
<hask_bee_3> I guess unit files = systemd files = .service files.
<hask_bee_3> clever said yesterday: "if you generate a .service file with nix, then the version will be locked in until you re-generate it, and the files will remain cached"
<hask_bee_3> I'm trying to figure out how to do this. Also, how do such generated .service files differ from the .service file I suggested above (with the nix-shell command)?
ThatDocsLady has joined #nixos
<sudoreboot[m]> I haven't so far been able to figure out how to set which generation to boot into by default. For example if I create a new profile for some specific task, on next boot it will see it as the most recent and boot into that. I want to be able to be able to choose which I boot into by default
<clever> hask_bee_3: ahh, you mean outside of nixos, i'm not sure how well the nixos .service files would work outside of nixos, but you can always make your own with writeTextFile
<clever> hask_bee_3: one min
<sphalerite_> hask_bee_3: what you're trying to do is quite a fuss. Is nixos really not an option?
babyflakes has quit [Quit: Connection closed for inactivity]
<sphalerite_> hask_bee_3: you could run it in a systemd-nspawn container if you don't want to use full machine virtualisation or install a full nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis closed pull request #35503: asciinema: 1.4.0 -> 2.0.0 (master...auto-update/asciinema-1.4.0-to-2.0.0) https://git.io/vAwBm
NixOS_GitHub has left #nixos [#nixos]
<hask_bee_3> sphalerite_ just running it through nix-shell looks easy to me. maybe i should just do that for now? one day i could move to nixos. i just want to get up to speed with nix on my existing linux right now, that's all
Tucky has quit [Quit: WeeChat 2.0.1]
<clever> hask_bee_3: this nix expression generates a thing.service file, that is based on the template in the nix, with some nix builds inserted
Tucky has joined #nixos
<clever> hask_bee_3: as long as the symlink nix-build created remains, nix will not delete the things it refers to
<LnL> yeah I'd suggest something like that
<LnL> then you can upgrade/rollback the unit file
<clever> and it wont update things without warning, the version can only change if you re-run nix-build
<clever> LnL: ah yeah, if you instead nix-env -f unit.nix -i, it would land in ~/.nix-profile/yourthing.service, and you gain full rollback control
<clever> and its now 6am, i should get to bed
<hask_bee_3> This is really cool, thanks clever
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis closed pull request #35496: angband: 4.0.5 -> 4.1.2 (master...auto-update/angband-4.0.5-to-4.1.2) https://git.io/vAwW3
NixOS_GitHub has left #nixos [#nixos]
<hask_bee_3> I'll try this out!
<hask_bee_3> sleep tight
<sophiag> clever: where are you that it's 6am? i thought my sleep cycle was off in new york!
<the-kenny-w> I have a Thinkpad x260 (intel graphics). When playing video, scrolling, and playing games I have this weird horizontal "cut" down 1/3 of the monitor where it shows another frame. Feels like the bottom part of the monitor is one frame ahead or behind. Any idea how I can fix this? It's driving me crazy recently
<LnL> yep, I'm not sure where systemd user unit files are supposed to end up but you can probably add a symlink from /path/to/units/foo.service to ~/.nix-profile/foo.service
the-kenny-w is now known as the-kenny
<hask_bee_3> I think I have just witnessed yet another great reason for Nix hardcoding Nix store paths into binaries. I can just call that binary through systemd, and the binary will automagically find what it needs to find!
<LnL> yeah, and nix will know that the file depends on those specific versions and won't delete those as long as the unit file is used somewhere
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to staging: https://git.io/vArp9
<NixOS_GitHub> nixpkgs/staging 4f08b0f Frederik Rietdijk: Merge remote-tracking branch 'upstream/master' into HEAD
NixOS_GitHub has left #nixos [#nixos]
<LnL> if you used nix-shell and the service wasn't running it could get deleted with a gc otherwise
<hask_bee_3> this is excellent
<clever> thats also why i avoid ~/.stack's cached builds, nix doesnt really know about them
* clever heads off to bed
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vArhf
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master d0cf327 Ryan Mulligan: armadillo: 8.300.0 -> 8.400.0...
<NixOS_GitHub> nixpkgs/master 0b2bd98 adisbladis: Merge pull request #35502 from ryantm/auto-update/armadillo-8.300.0-to-8.400.0...
babyflakes has joined #nixos
lambdamu has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh force-pushed python-unstable from 9ad415f to b016097: https://git.io/v5aIf
<NixOS_GitHub> nixpkgs/python-unstable 414db1b Frederik Rietdijk: python: behave: 1.2.5 -> 1.2.6
<NixOS_GitHub> nixpkgs/python-unstable 78f1ebf Frederik Rietdijk: python: aiohttp: 3.0.1 -> 3.0.3
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/python-unstable 3b6ffb9 Frederik Rietdijk: python: aniso8601: 2.0.0 -> 2.0.1
fiddlerwoaroof has joined #nixos
orivej has quit [Ping timeout: 256 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #35660: pythonPackages.sqlalchemy: 1.2.3 -> 1.2.4 (master...sqlalchemy-1.2.4) https://git.io/vArxW
NixOS_GitHub has left #nixos [#nixos]
zzamboni has quit [Quit: Leaving.]
sophiag has left #nixos ["ERC (IRC client for Emacs 24.5.2)"]
zzamboni has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis closed pull request #35632: envconsul: 0.6.2 -> 0.7.3 (master...auto-update/envconsul-0.6.2-to-0.7.3) https://git.io/vArXE
NixOS_GitHub has left #nixos [#nixos]
<adisbladis[m]> etu: The postgres is down
<LnL> yeah, postgres has been down for most of the weekend
<etu> oh
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vArhx
<NixOS_GitHub> nixpkgs/master b5f50db adisbladis: Merge pull request #35637 from ryantm/auto-update/eventstat-0.03.04-to-0.04.03...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 20246dc Ryan Mulligan: eventstat: 0.03.04 -> 0.04.03...
<etu> Yeah, I could see that it was a database issue. But I don't know how that affects rest of the system though :)
<LnL> somebody is looking at it right now
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 2 new commits to master: https://git.io/vArjW
<NixOS_GitHub> nixpkgs/master 6a3bd92 Franz Pletz: Merge pull request #35646 from ryantm/auto-update/fleet-0.11.8-to-1.0.0...
<NixOS_GitHub> nixpkgs/master c84e359 Ryan Mulligan: fleet: 0.11.8 -> 1.0.0...
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 2 new commits to master: https://git.io/vArjB
<NixOS_GitHub> nixpkgs/master dedd9d1 Franz Pletz: Merge pull request #35645 from ryantm/auto-update/flacon-2.1.1-to-4.0.0...
<NixOS_GitHub> nixpkgs/master 21adaec Ryan Mulligan: flacon: 2.1.1 -> 4.0.0...
NixOS_GitHub has left #nixos [#nixos]
<hask_bee_3> LnL i wonder why that symlink prevents GC though. it's just a symlink in some arbitrary location on my system (where i executed the command)
<LnL> ah it's an indirect root
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vArjP
<NixOS_GitHub> nixpkgs/master 0db2120 adisbladis: Merge pull request #35629 from ryantm/auto-update/ddcutil-0.8.5-to-0.8.6...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 426816e Ryan Mulligan: ddcutil: 0.8.5 -> 0.8.6...
Tucky has quit [Quit: WeeChat 2.0.1]
vidbina has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 2 new commits to master: https://git.io/vArjH
<NixOS_GitHub> nixpkgs/master ea299bd Michael Raskin: lispPackages.xembed: init
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 025e1a3 Michael Raskin: stumpwm: passthrough contrib
<LnL> it creates a 2 symlinks: 1. /foo/result -> /nix/store/... and 2. /nix/var/nix/gcroots/auto/... -> /foo/result
<hask_bee_3> ah ok
<LnL> so if you remove the result one the auto gcroot becomes invalid (points to nothing) and gets removed
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis closed pull request #35621: dehydrated: 0.4.0 -> 0.5.0 (master...auto-update/dehydrated-0.4.0-to-0.5.0) https://git.io/vArPo
NixOS_GitHub has left #nixos [#nixos]
Tucky has joined #nixos
<hask_bee_3> excellent
<LnL> yeah it's a pretty neat trick to create a gcroot anywhere
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 2 new commits to master: https://git.io/vAoei
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 8eabd76 Peter Hoeg: onkyo-eiscp: init at 1.2.4
<NixOS_GitHub> nixpkgs/master 1349e81 Peter Hoeg: home-assistant: use onkyo-eiscp for media_player.onkyo
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/vAoed
<NixOS_GitHub> nixpkgs/master ff67268 Ryan Mulligan: dvdstyler: 3.0.3 -> 3.0.4...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 123bfb6 Frederik Rietdijk: Merge pull request #35623 from ryantm/auto-update/dvdstyler-3.0.3-to-3.0.4...
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/vAoeb
<NixOS_GitHub> nixpkgs/master 4816a39 Ryan Mulligan: dlib: 19.8 -> 19.9...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 556e060 Frederik Rietdijk: Merge pull request #35617 from ryantm/auto-update/dlib-19.8-to-19.9...
fragamus has joined #nixos
<hask_bee_3> LnL Thank you for the help
<LnL> no problem :)
periklis has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] deepfire opened pull request #35661: ghc841 | hpack: SMP fix unmerged (master...ghc-8.4) https://git.io/vAovr
NixOS_GitHub has left #nixos [#nixos]
<cmcdragonkai1> Is there someone who is nix on ubuntu?
<cmcdragonkai1> Or other non-nixos distro?
<joko> Is there anything like writeScriptBin with substituteAll?
<vaibhavsagar> cmcdragonkai1: I use Nix on Ubuntu
<cmcdragonkai1> What's been your experience?
<cmcdragonkai1> Was there any hacks you had to do to make it all work?
<vaibhavsagar> mostly good, no hacks required
<cmcdragonkai1> GUI apps all work?
<vaibhavsagar> ooh, haven't tried those
<cmcdragonkai1> nix-shell all works?
<vaibhavsagar> nix-shell works great
<cmcdragonkai1> Do you even use the ubuntu apt get package manager at all now?
<vaibhavsagar> my boss uses NixOS+Ubuntu for everything
<cmcdragonkai1> I'm guessing for system services and ubuntu upgrades
sorear has joined #nixos
<vaibhavsagar> I use apt-get sometimes, but I try to avoid it when possible
<cmcdragonkai1> you still use apt-get
<vaibhavsagar> yes
<cmcdragonkai1> which one takes precedence?
<genesis> cmcdragonkai1 : i use gentoo+nix
<cmcdragonkai1> if you have apt-get installed vim
<vaibhavsagar> apt-get AFAIK
<cmcdragonkai1> and then apt-get install vim
TweyII has joined #nixos
<vaibhavsagar> but it depends on your $PATH
<cmcdragonkai1> which one is the one that takes precedence in your profile?
<vaibhavsagar> with my setup I think it's apt-get
TweyII is now known as Guest2518
<vaibhavsagar> but you can set it up the other way round
<cmcdragonkai1> why did you make your apt-get installed stuff take precedence over your nix-env?
<vaibhavsagar> because I've been using Ubuntu without Nix on this laptop for a long time
<cmcdragonkai1> genesis: Do you have something published about this?
<vaibhavsagar> If I were starting from scratch I would install NixOS
<genesis> cmcdragonkai1 : no i just use official gentoo nix ebuild ...
<cmcdragonkai1> yea so I'm using NixOS personally, but at work, it seems i'm stuck on ubuntu, but i wanted to investigate how much of nix i can use in ubuntu
zzamboni has quit [Quit: Leaving.]
<cmcdragonkai1> vaibhavsagar: Did you install nix directly via the curl pipe script?
<cmcdragonkai1> Or is there an apt-get repo for nix?
<cmcdragonkai1> genesis: Does GUI apps installed via nix-env or nix-shell work for you?
<genesis> yes, just classic problem with some opengl one
zzamboni has joined #nixos
<genesis> i did a dirty hack, works for some ...
periklis has quit [Ping timeout: 248 seconds]
<cmcdragonkai1> what's the dirty hack?
<cmcdragonkai1> i'm dying to know in case i meet it
<symphorien> cmcdragonkai1: I used nix on ubuntu 14.04 last summer, regarding gui, gtk themes were not gtk3 ready so it was not most beautiful
<genesis> mkdir -p /run/opengl-driver/ && ln -s /nix/store/z5j0dnyf1h9v3c5263hvb9hp8xpsvx11-mesa-noglu-17.2.6-drivers/* /run/opengl-driver/
hask_bee_3 has quit [Quit: Textual IRC Client: www.textualapp.com]
<cmcdragonkai1> genesis: so nix GUI apps expect that the drivers are just located there, but on gentoo/ubuntu, they are not there by default
<genesis> btw i don't understand why it failed when i add qtbase to my derivation :O
<cmcdragonkai1> genesis: my experience with qt on nix is that it's really stateful as well
<genesis> drive me crazy "called without required argument 'qtbase'"
<cmcdragonkai1> genesis: and it can suffer from problems if you have multiple qt versions installed
<joko> Found it, I had to use pkgs.substituteAll and set an attribute dir = "bin" to make it work
<joko> cmcdragonkai1: There was a wrapper for OpenGL https://github.com/guibou/nixGL , but I haven't tried it
<joko> I tested nix over Debian six months ago. Shell applications were running as intended, but I ended up using Debian's Firefox to make it work
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] pSub pushed 2 new commits to master: https://git.io/vAofp
<NixOS_GitHub> nixpkgs/master b27eee3 Ryan Mulligan: auctex: 11.90 -> 12.1...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master b63b2b6 Pascal Wittmann: Merge pull request #35518 from ryantm/auto-update/auctex-11.90-to-12.1...
<joko> Have also a look at https://github.com/deepfire/nix-install-vendor-gl This is actually what I wanted to try then, but the machine had an Intel graphics card
<genesis> yes it doesn't work for me, i tried to fix it but no way :/
<cmcdragonkai1> Oh that looks useful thanks
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 2656d04 Pascal Wittmann: libfilezilla: 0.12.0 -> 0.12.1
<NixOS_GitHub> nixpkgs/master b49cf33 Pascal Wittmann: libfilezilla: 0.11.2 -> 0.12.0
<NixOS_GitHub> [nixpkgs] pSub pushed 3 new commits to master: https://git.io/vAoJq
<NixOS_GitHub> nixpkgs/master 24534d0 Pascal Wittmann: filezilla: 3.30.0 -> 3.31.0
__Sander__ has joined #nixos
<alp> for nix-on-non-nixos distros & opengl, folks might want to try guibou's https://github.com/guibou/nixGL
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/release-17.09 38d7371 Pascal Wittmann: disorderfs: 0.5.1 -> 0.5.2
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] pSub pushed 1 new commit to release-17.09: https://git.io/vAoJE
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dywedir opened pull request #35663: gphoto2: 2.5.11 -> 2.5.15 (master...gphoto2) https://git.io/vAoJg
NixOS_GitHub has left #nixos [#nixos]
rauno has joined #nixos
MP2E has quit [Remote host closed the connection]
nuncanada has quit [Read error: Connection reset by peer]
roberth has joined #nixos
dan_b has joined #nixos
pie__ has joined #nixos
chisui has joined #nixos
xeji has quit [Quit: WeeChat 2.0]
rgrinberg has quit [Quit: Connection closed for inactivity]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] pSub pushed 1 new commit to master: https://git.io/vAoTz
<NixOS_GitHub> nixpkgs/master 4925a5a Pascal Wittmann: entr: 3.9 -> 4.0
NixOS_GitHub has left #nixos [#nixos]
simukis has joined #nixos
roberth has quit [Ping timeout: 256 seconds]
pie__ has quit [Ping timeout: 260 seconds]
vaninwagen has quit [Ping timeout: 256 seconds]
vaninwagen has joined #nixos
humanoyd has joined #nixos
rgc has quit [Remote host closed the connection]
dan_b has quit [Ping timeout: 245 seconds]
alexteves_ has joined #nixos
<jluttine> hmm.. nixos.org RSS news doesn't work with tiny tiny rss.. https://nixos.org/news-rss.xml
<jluttine> in my ttrss, i only get the first news from 2004 as the only entry
<jluttine> perhaps because other news don't have content or because they are all pointing to the same url?
<genesis> QT_HOME=/nix/store/vi6g88ldbskbcmjdqjzy9zxf7p9axvkc-qtbase-5.10.0-bin i don't want bin, i want 0f0z5yd348bjaqbwdzsla874w3fpzb2z-qtbase-5.10.0 , don't find how
<genesis> all package use qtbase and it failed here, if someone has an idea ...
<genesis> (i try qt5.qtbase but -> -bin)
alexteves has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/36b0efc12f4 (from 3 days ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
rindvieh has quit [Remote host closed the connection]
humanoyd has quit [Quit: WeeChat 2.0.1]
rindvieh has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to master: https://git.io/vAoIk
<NixOS_GitHub> nixpkgs/master a2a922d Robin Gloster: transmission: 2.92 -> 2.93
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jluttine opened pull request #35665: rssguard: 3.5.5 -> 3.5.6 (master...rssguard-3.5.6) https://git.io/vAoIW
NixOS_GitHub has left #nixos [#nixos]
rindvieh has quit [Ping timeout: 276 seconds]
<Guanin> do I understand system.autoUpgrade correctly, so that it will pull updates and rebuild the system everytime the specified dates is given? So I'll get security updates and recompile everything if needed?
betaboon has joined #nixos
iyzsong has joined #nixos
<sphalerite_> Guanin: not usually recompile anything
<sphalerite_> Guanin: only if you have overrides that cause recompilation or stuff which isn't built by hydra (most likely nonfree software) or completely custom packages
zzamboni has quit [Quit: Leaving.]
<Guanin> sphalerite_, I made a patch for PAM ;)
<sphalerite_> but yes. Essentially it will run nixos-rebuild switch --upgrade
<sphalerite_> oh yeah that haha
<Guanin> okay, thanks :)
<sphalerite_> so yes, it will rebuild everything in your case :D
zzamboni has joined #nixos
rindvieh has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 754816b Michael Raskin: python2Packages.pathlib2: disable test that assumes /etc/passwd
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 1 new commit to master: https://git.io/vAoLW
NixOS_GitHub has left #nixos [#nixos]
<Guanin> still thinking about choosing another approach, but I guess recompiling everything is not the worst thing - I mean, it takes around 45 minutes in my case
oahong has quit [Ping timeout: 256 seconds]
Guest2518 has quit [Quit: WeeChat 1.7]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] shlevy opened pull request #35666: systemd cross compilation (staging...systemd-cross) https://git.io/vAoLr
NixOS_GitHub has left #nixos [#nixos]
<Guanin> I have to go, see ya
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/098c7f3d945 (from 3 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
oahong has joined #nixos
markus1189_ has joined #nixos
rauno has quit [Read error: Connection reset by peer]
pkill9 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat opened pull request #35667: poppler: fix build on Darwin (staging...p/poppler-darwin) https://git.io/vAotV
NixOS_GitHub has left #nixos [#nixos]
rardiol1 has joined #nixos
<sphalerite_> Guanin: you could use replaceDependency. Or the git version of mumble which uses qt5 which is split into components and should hopefully not depend on all the UI bits of qt
<sphalerite_> not sure if murmur git is packaged
sigmundv_ has joined #nixos
<sphalerite_> what's the best terminal-based email client for a habitual vim user? I'd like to switch away from thunderbird
<sphalerite_> (terminal-based isn't actually a hard requirement)
alexteves_ has quit [Ping timeout: 252 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/vAoYk
<NixOS_GitHub> nixpkgs/master fc23242 Frederik Rietdijk: Merge staging at '8d490ca9934d0c01e1e9ade455657e54e2e843c0' into master
NixOS_GitHub has left #nixos [#nixos]
freeman42x]NixOS has joined #nixos
viric has quit [Ping timeout: 255 seconds]
<{^_^}> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/81f1de01fd6 (from 3 days ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
<lexcurious> does NixOS support Unity as DE ath this moment?
vidbina has quit [Ping timeout: 240 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/glibc-2.27 2a110b5 Shea Levy: xfsprogs: Fix build on glibc-2.27
<NixOS_GitHub> [nixpkgs] shlevy pushed 1 new commit to glibc-2.27: https://git.io/vAoGX
NixOS_GitHub has left #nixos [#nixos]
coot has joined #nixos
<LnL> dtz: thanks for poking around with the screen/tmux issue, I don't really know much about systemd internals, etc.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] shlevy pushed 11 new commits to staging: https://git.io/vAoGp
<NixOS_GitHub> nixpkgs/staging 42c8776 Shea Levy: systemd: Take python3 from buildPackages.
<NixOS_GitHub> nixpkgs/staging 337d8ab Shea Levy: libidn2: Fix cross-compilation
<NixOS_GitHub> nixpkgs/staging 24ad507 Shea Levy: libgcrypt: Remove verbosity intended to avoid a systemd rebuild....
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] shlevy closed pull request #35666: systemd cross compilation (staging...systemd-cross) https://git.io/vAoLr
NixOS_GitHub has left #nixos [#nixos]
<manveru> lexcurious: i don't think there's a package for it?
alexteves has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
ThatDocsLady has quit [Remote host closed the connection]
<dtz> LnL: absolutely, hopefully that helps enough to get things moving. This is pretty unacceptable IMO
ThatDocsLady has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] lsix opened pull request #35668: Add python packages kubernetes (master...add_pythonPackages_kubernetes) https://git.io/vAonH
NixOS_GitHub has left #nixos [#nixos]
<dtz> err not so much that it happened, AFAICT it's something subtle (I'm working on adding nixos test for it now :P)
<dtz> but rather it should be a release blocker
raynold has quit [Quit: Connection closed for inactivity]
<LnL> that would be great!
<dtz> shlevy: the buildPackages.buildPackages make me sad. Does "depsBuildBuild = [ packagename ];" not do the trick? I'm kinda hoping it will since it's less ugly
<dtz> but yeah reducing the duplication would be nice, lol
<dtz> I hit that /hard/ when building LLVM components
kelleyNif has joined #nixos
<LnL> thought about that when doing the bisect but felt like it was a bit overkill
<dtz> esp since at some point I was building LLVM entirely just to get the dang tablegen lol
<shlevy> dtz: No, it doesn't. And I don't like the magic splicing
<shlevy> I'd rather get rid of native/non-native too and just pull packages from buildPackages
<shlevy> dtz: I'm gonna wait for John to chime in on that issue and see what he thinks
<shlevy> Then I'll try to come up with a good solution if I'm not happy still :)
<lexcurious> manveru , I don't see packages or options for it
<lexcurious> looks like it doesn't
thblt has joined #nixos
<ertes-w> is nix-env planned to become a 'nix' command, too? i switched to nix 1.12, but since nix-env is one of my most common commands, i can't really benefit from the new UI for half of my commands
babyflakes has quit [Quit: Connection closed for inactivity]
<gchristensen> ertes-w: parts of nix-env are ported, like nix search
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] shlevy opened pull request #35670: perl: Cross-compile: patch miniperl for gcc7 (master...perl-cross-gcc7) https://git.io/vAo8l
NixOS_GitHub has left #nixos [#nixos]
<ertes-w> gchristensen: yeah, i'm already using that
<dtz> LnL: can you repro https://github.com/NixOS/nix/issues/1907 ? Just curious, looks like likely it's a darwin compat thing
<gchristensen> the imperative package management parts of nix-env are not yet ported, but will be
smichel17 has joined #nixos
<LnL> dtz: yeah, that segfaults
viric has joined #nixos
<dtz> great
<dtz> i mean, not great but
<dtz> :)
<dtz> whhyyyy am I rebuilding qtwebengine QQ
sigmundv_ has quit [Ping timeout: 248 seconds]
<dtz> it's like this is the expected behavior when building against master
<dtz> or something
<dtz> :P
<LnL> hydra has been out for a while
<dtz> oh... oh
zzamboni has quit [Quit: Leaving.]
<dtz> ._.
<dtz> that's right.
Itkovian_ has joined #nixos
markus1189_ has quit [Quit: WeeChat 2.0]
Itkovian has quit [Ping timeout: 248 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dotlambda opened pull request #35671: python36Packages.aiohttp: 3.0.1 -> 3.0.3 (master...aiohttp) https://git.io/vAo0T
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] shlevy pushed 1 new commit to master: https://git.io/vAozK
<NixOS_GitHub> nixpkgs/master b45fb43 Shea Levy: perl: Cross-compile: patch miniperl for gcc7
NixOS_GitHub has left #nixos [#nixos]
<chisui> nix-env show "warning: name collision in input Nix expressions, skipping ‘/home/chisui/.nix-defexpr/channels_root/nixos’" on each operation. what does that mean and should I be worried?
<srhb> chisui: I THINK it means you have two channels called nixos.
<srhb> chisui: But please verify.
sigmundv has quit [Ping timeout: 245 seconds]
zzamboni has joined #nixos
Tucky has quit [Remote host closed the connection]
<chisui> nix-channel --list : nixos https://nixos.org/channels/nixos-unstable
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] shlevy closed pull request #35670: perl: Cross-compile: patch miniperl for gcc7 (master...perl-cross-gcc7) https://git.io/vAo8l
NixOS_GitHub has left #nixos [#nixos]
<chisui> srhb: Maybe I mixed something up while switching to unstable. I set the channel for the current user and for root. Is that a problem?
<dash> sphalerite_: mutt is the traditional answer
<gchristensen> chisui: maybe run nix-info
robstr has joined #nixos
<gchristensen> or, nix-shell -p nix-info --run nix-info
<chisui> system: "x86_64-linux", multi-user?: yes, version: nix-env (Nix) 1.11.16, channels(chisui): "nixos-18.03pre127867.6acfa356ddc", channels(root): "nixos-18.03pre129076.831ef4756e3", nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs
<gchristensen> sounds like you have two channels named nixos!
<chisui> Ok, I think I should get rid of the user channel right?
Itkovian_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<gchristensen> I'll let srhb keep doing her thing :)
zzamboni has quit [Ping timeout: 256 seconds]
<srhb> chisui: That sounds right, yes :)
<srhb> And I'm afk now, need to fix a broken server of my own :D
<sphalerite_> dash: and the non-traditional answer? :p
Tucky has joined #nixos
zzamboni has joined #nixos
<chisui> Thanks, the warning is gone and tabcompletion works again too.
pkill9 has quit [Ping timeout: 240 seconds]
<{^_^}> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/81f1de01fd6 (from 3 days ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
Itkovian has joined #nixos
mounty has quit [Read error: Connection reset by peer]
Tucky has quit [Client Quit]
zzamboni has quit [Ping timeout: 245 seconds]
<manveru> writing tests with comments like "this test will fail after 2286-11-20" is my favorite :)
asymmetric has joined #nixos
<manveru> hopefully my grand-grand-grand-grand-grand-grand-grand-grand-children won't hate me
<yorick> manveru: just fix it now
<asymmetric> hi all, is it normal that the tests of a pythong package are not to be found in `/nix/store`?
<manveru> i can't because the upstream API will fail on that date too
sigmundv has joined #nixos
zzamboni has joined #nixos
Tucky has joined #nixos
babyflakes has joined #nixos
<asymmetric> i'm trying to debug why a sed run in the preCheck phase of a package has no effect
<asymmetric> i.e. it doesn't replace
<asymmetric> and the replace is on a test file. so i'm trying to find the test file, but i can't
darlan has joined #nixos
<sphalerite_> asymmetric: yes, it's normal. Does the package fail to build?
<sphalerite_> asymmetric: if so, use --keep-failed and have a look in /tmp/nix-build-<name>
<asymmetric> yes, it fails. the package runs `datetime.dateime.now().year`, and i want to hardcode to 2017
darlan has quit [Client Quit]
<manveru> maybe do it in patchPhase?
<sphalerite_> asymmetric: do you have a custom checkPhase for it?
alexteves has joined #nixos
alexteves_ has joined #nixos
<asymmetric> sphalerite_: no, i've just added preCheck
<asymmetric> is that not enough?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dtzWill opened pull request #35672: libiconv: don't use deprecated crossAttrs, re-enabling cross-stripping (master...fix/libiconv-strip) https://git.io/vAoV7
NixOS_GitHub has left #nixos [#nixos]
<sphalerite_> yeah it should be, just that if you have your own checkPhase you need to make sure to run the pre/postCheck hooks yourself
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<manveru> if it fails to find the file, it's probably running alright
<manveru> just in the wrong directory, is my guess :)
Itkovian has joined #nixos
rindvieh has quit [Remote host closed the connection]
raynold has joined #nixos
<asymmetric> oh i see, i was escaping characters in sed that i didn't need to
<asymmetric> never know when i should escape, and when i shouldn't
<asymmetric> e.g. \( instead of just (
Itkovian has quit [Client Quit]
bebarker has quit [Quit: Leaving]
peacememories has joined #nixos
peacememories has quit [Client Quit]
Itkovian has joined #nixos
lord| has quit [Quit: WeeChat 2.0.1]
<hyper_ch> sphalerite_: so with git --graph I do get the commits in chronological order (of merging)?
<betaboon> adisbladis[m]: how do you feel about the current state of pnpm2nix ? ready to be tested by others ? :P
Itkovian has quit [Client Quit]
Rusty1_ has joined #nixos
Itkovian has joined #nixos
peacememories has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 3 new commits to master: https://git.io/vAowh
<NixOS_GitHub> nixpkgs/master 6f14417 Peter Simons: hackage-packages.nix: automatic Haskell package set update...
<NixOS_GitHub> nixpkgs/master cf4b8c6 Peter Simons: LTS Haskell 10.7
<NixOS_GitHub> nixpkgs/master 0f7a7cb Peter Simons: hackage: update db snapshot
NixOS_GitHub has left #nixos [#nixos]
nuncanada has joined #nixos
<sphalerite_> hyper_ch: in chronological order of committing, I think. I'm not sure
<sphalerite_> it might also be in chronological order of authorship
robstr has quit [Remote host closed the connection]
<sphalerite_> authoring even
dbmikus has quit [Quit: WeeChat 2.0.1]
robstr has joined #nixos
dbmikus has joined #nixos
gal_bolle has joined #nixos
vaninwagen has quit [Ping timeout: 240 seconds]
Myrl-saki has quit [Ping timeout: 252 seconds]
Myrl-saki has joined #nixos
robstr has quit [Ping timeout: 245 seconds]
<ottidmes> genesis: ls /nix/store | grep qtbase
<ottidmes> genesis: (whoops, was still scrolled up, ignore me)
<genesis> ottidmes : i finished to use "QT_HOME=${qt5.qtbase.out}"
chaker has joined #nixos
<genesis> i'm sure people will complain ...
tertle||eltret has quit [Quit: Connection closed for inactivity]
<ottidmes> genesis: Is the .out bit necessary? Is that not implicit?
<genesis> without i've -bin by default
<genesis> the weird part is why i can't use qtbase alone, like dozen of derivation ...
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ottidmes> genesis: Not sure, I noticed this too with openssl, probably to prevent overlapping libraries or something similar
<genesis> since the compilation took 7 hours, i wait night and launch before sleeping ;)
<dash> sphalerite_: mu4e and notmuch? :)
rindvieh has joined #nixos
<ottidmes> genesis: I meant the bit about why -bin by default, but I am also not sure how you would prevent it from recompiling everything from qt, unless of course if in your use case of qtbase you would not use it in other packages in turn, because then you might just copy the qt description if that is possible and package it yourself on its own
<sphalerite_> dash: not heard of those, I'll have a look, thanks
Itkovian has joined #nixos
<ottidmes> genesis: I am doing that for samba (customized copy of existing samba package), since I do not want to recompile things like VLC, which depends on some Samba libs
<genesis> i just try to provide the right directory with qt5core gui and widgets libraries
rindvieh has quit [Ping timeout: 240 seconds]
<genesis> others packages sucessful import qtbase, i don't for mysterious reason.
ryantrinkle has quit [Ping timeout: 256 seconds]
<genesis> i've a "called without required argument 'qtbase'"
<ottidmes> genesis: I had to do this: libsForQt5.callPackage
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Itkovian has joined #nixos
<genesis> doc/languages-frameworks/qt.xml explain a bit why ok
<genesis> not straightforward ...
TonyTheLion has joined #nixos
<TonyTheLion> has anyone installed nixos through qemu yet?
<TonyTheLion> Trying to do that it just hangs
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dtzWill closed pull request #35672: libiconv: don't use deprecated crossAttrs, re-enabling cross-stripping (master...fix/libiconv-strip) https://git.io/vAoV7
NixOS_GitHub has left #nixos [#nixos]
<TonyTheLion> tried to run the installer as follows 'qemu-system-x86_64 -enable-kvm -m 4G -cdrom ../install/nixos/nixos-17.09.3023.c882c4dd55e-x86_64.iso -boot order=d ./hydra.qcow2 -nographic'
Tucky has quit [Quit: WeeChat 2.0.1]
<TonyTheLion> but it hangs
<TonyTheLion> :(
Nazral has quit [Quit: leaving]
coot has quit [Quit: coot]
acarrico has joined #nixos
<ottidmes> genesis: Yeah this page: https://nixos.org/nixpkgs/manual/#sec-language-qt I did not know about that part of the manual either, I stumbled upon the problem much like you, but instead of finding my own workaround I eventually found other packages that use libsForQt5.callPackage by inspecting nixpkgs
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ryantm has joined #nixos
<genesis> i don't building a library anyway but just a binary that use qt libs.
<genesis> and optionally ...
<sphalerite_> TonyTheLion: I thikn the issue is that it doesn't put a console on the serial port by default
<sphalerite_> passing console=ttyS0 to the kernel should help
<sphalerite_> or you could use graphical mode just for the installation
rindvieh has joined #nixos
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Profpatsch pushed 1 new commit to master: https://git.io/vAoPt
<NixOS_GitHub> nixpkgs/master 6a70e4e Profpatsch: dhall: passthru dhall prelude...
NixOS_GitHub has left #nixos [#nixos]
Itkovian has joined #nixos
chocopuff has joined #nixos
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<sphalerite_> oh nice, my tmux just segfaulted…
coot has joined #nixos
<dtz> something like https://github.com/NixOS/nixpkgs/issues/35415 ? or something else?
justanotheruser has quit [Quit: WeeChat 1.9.1]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dtzWill opened pull request #35674: llvm_4: fix cosmetic issue in help output (staging...fix/llvm-4-cmdline-help) https://git.io/vAoX7
NixOS_GitHub has left #nixos [#nixos]
szicari has joined #nixos
Itkovian has joined #nixos
justanotheruser has joined #nixos
iyzsong has quit [Ping timeout: 248 seconds]
07IACKLPF has joined #nixos
<07IACKLPF> nixpkgs/staging 435288c Will Dietz: llvm_4: fix cosmetic issue in help output...
<07IACKLPF> nixpkgs/staging 3092659 Will Dietz: Merge pull request #35674 from dtzWill/fix/llvm-4-cmdline-help...
07IACKLPF has left #nixos [#nixos]
<07IACKLPF> [nixpkgs] dtzWill pushed 2 new commits to staging: https://git.io/vAoyb
21WAABTPK has joined #nixos
<21WAABTPK> [nixpkgs] dtzWill closed pull request #35674: llvm_4: fix cosmetic issue in help output (staging...fix/llvm-4-cmdline-help) https://git.io/vAoX7
21WAABTPK has left #nixos [#nixos]
jensens has quit [Read error: Connection reset by peer]
vidbina has joined #nixos
jensens has joined #nixos
asuryawanshi has quit [Ping timeout: 276 seconds]
lush has joined #nixos
MercurialAlchemi has quit [Ping timeout: 245 seconds]
stephenplatz has joined #nixos
<lush> how do I switch from 17.03 to 17.09 again?
periklis has joined #nixos
robstr has joined #nixos
asuryawanshi has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] pSub pushed 2 new commits to master: https://git.io/vAoS5
<NixOS_GitHub> nixpkgs/master 7f400f4 Pascal Wittmann: instead: 3.0.1 -> 3.2.0
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 3562962 Pascal Wittmann: intel-gpu-tools: 1.19 -> 1.21
TrentP has quit [Quit: ZNC - http://znc.in]
<aminechikhaoui> lush: hm just switch the channel ?
<aminechikhaoui> are you on NixOS ?
peacememories has quit [Quit: Textual IRC Client: www.textualapp.com]
<lush> yes I am, did not do systems stuff for a while
<lush> but just found it as well, thx
<aminechikhaoui> if you have nix unstable/2.0, it's as easy as nixos-rebuild switch -I nixpkgs=channel:nixos-17.09 ;)
asuryawanshi has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
alexteves has quit [Quit: Textual IRC Client: www.textualapp.com]
<hyper_ch> you want stable? oO
zzamboni has quit [Quit: Leaving.]
lush has quit [Quit: Konversation terminated!]
jensens has quit [Read error: Connection reset by peer]
jensens has joined #nixos
badi has quit [Ping timeout: 245 seconds]
<abrar> is there a way to set environment variables for the nix build user on a non-nixos system (darwin in this case)?
<abrar> i couldn't find a way to specify them in nix.conf
ixxie has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
badi has joined #nixos
ixxie has joined #nixos
erasmas has joined #nixos
ixxie has quit [Client Quit]
<aminechikhaoui> abrar: it's probably better to set the environment vars in the derivation itself no ?
<aminechikhaoui> or do you need the nix-daemon to have access to some env vars
<fearlessKim[m]> I can't use `compgen` in my derivation , isn't compgen a builtin ?
<abrar> aminechikhaoui: i'm trying to use a private fetchFromGitHub: "Error: Private fetchFromGitHub requires the nix building process (nix-daemon in multi user mode) to have the NIX_GITHUB_PRIVATE_USERNAME and NIX_GITHUB_PRIVATE_PASSWORD env vars set."
<fearlessKim[m]> (bash builtin)
<abrar> so that'd have to be an env var that the nix-daemon can access
<aminechikhaoui> abrar: oh ok so that the nix-daemon
<aminechikhaoui> are you on
<aminechikhaoui> NixOS ? *
<aminechikhaoui> or using systemd in general
reinzelmann has quit [Quit: Leaving]
TrentP has joined #nixos
ryantrinkle has joined #nixos
<aminechikhaoui> if you're on NixOS, you could simply add `systemd.services.nix-daemon.serviceConfig.EnvironmentFile = "/etc/foo/github-creds";` for example
<aminechikhaoui> and you can set in that file the required env vars
<{^_^}> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/67afa8e26a1 (from 18 hours ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
<abrar> aminechikhaoui: i've got it working on my nixos machines, but in this case i need to build on a mac
<aminechikhaoui> abrar: hm ok, so you probably need to check the launchd setup I think
<abrar> aminechikhaoui: ah! i see an Environment Variables section in the launch daemon plist
badi has quit [Ping timeout: 240 seconds]
<abrar> i'll try adding my environment variables there. thanks for your help
<aminechikhaoui> sure
<ottidmes> fearlessKim[m]: Maybe for bash, but are you sure you are not in /bin/sh?
<fearlessKim[m]> ottidmes: doesn't nix-shell/build use bash ?
<ottidmes> fearlessKim[m]: To my knowledge it indeed always uses bash, but there are exceptions like when you use .script for a systemd service or one of the trivial builders (writeScript), which default to /bin/sh
stephenplatz has quit [Quit: Leaving]
<ottidmes> fearlessKim[m]: It is for auto complete right, I believe there are 2 versions of bash being used, and the one in the builder comes without completion support, so it probably has do with that, bash build with some flags that disable that particular builtin
ryanartecona has joined #nixos
<fearlessKim[m]> ottidmes: the 2nd explanation seems like the good one as I used compgen in a plain derivation, just to check if a file existed (according to a ppattern). I replaced it with a for loop where I break on first entry.
<fearlessKim[m]> thanks
orivej has joined #nixos
kai_w has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] pSub created nasm-minor-update (+1 new commit): https://git.io/vAods
<NixOS_GitHub> nixpkgs/nasm-minor-update 0e064cf Pascal Wittmann: nasm: 2.13.02 -> 2.13.03
NixOS_GitHub has left #nixos [#nixos]
periklis has quit [Ping timeout: 240 seconds]
kai_w has quit [Quit: Konversation terminated!]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] pSub opened pull request #35675: nasm: 2.13.02 -> 2.13.03 (staging...nasm-minor-update) https://git.io/vAodF
NixOS_GitHub has left #nixos [#nixos]
<LnL> euh, what's all this rebuilding on master
leat has quit [Ping timeout: 240 seconds]
robstr has quit [Remote host closed the connection]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 5 new commits to master: https://git.io/vAoFV
<NixOS_GitHub> nixpkgs/master afd191a Peter Hoeg: jsonrpc-base: init at 1.0
<NixOS_GitHub> nixpkgs/master b619c9b Peter Hoeg: pyunifi: init at 2.13
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 48a792d Peter Hoeg: jsonrpc-async: init at 0.6
mahe2 has joined #nixos
<mahe2> Hi, anyone succeeded running nixos on a rpi 2? After stage 2 I get a black screen. Any hints welcome
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] swflint opened pull request #35676: x11idle: update version, repository (master...update-x11idle) https://git.io/vAobf
NixOS_GitHub has left #nixos [#nixos]
<aminechikhaoui> mahe2: hm I remember setting it up without any issues
<aminechikhaoui> using the awesome binary cache of Dezgeg :D
knupfer has joined #nixos
<gchristensen> LnL: re rebuilds on master: https://github.com/NixOS/ofborg/issues/66#issuecomment-368547209
<mahe2> aminechikhaoui: I boot with same kernel params. Strange. Had no issues with rpi 1.
<LnL> gchristensen: that's a good idea
<gchristensen> that + requiring the PR to pass ... :)
<aminechikhaoui> mahe2: but I didn't do a nixos-rebuild for a while and using nixos-unstable so not sure if anything changed since then
<globin_> gchristensen: +1 on failing
<LnL> I agree with MichaelRaskin, but that's an explicit decision then
<gchristensen> do you think failing it is too strong?
propumpkin has joined #nixos
<LnL> depends if it's possible to still merge, there are exceptions eg. https://github.com/NixOS/nixpkgs/pull/35021
contrapumpkin has quit [Ping timeout: 240 seconds]
ThatDocsLady has quit [Remote host closed the connection]
peacememories has joined #nixos
ThatDocsLady has joined #nixos
peacememories has quit [Read error: Connection reset by peer]
peacememories has joined #nixos
<LnL> going through another staging eval would have been very annoying since it had another mass rebuild before that fix
<gchristensen> well it wouldn't have to, but merge to staging then directly merge staging -> master
<LnL> that would have been a mass rebuild for all platforms
<LnL> instead of ~1000 darwin packages
<gchristensen> I don't think I fully understand
<LnL> well doesn't really matter, I'm just saying that there are cases where we might want to merge anyway
<gchristensen> yeah
<LnL> if the PR checks disallow merges then we probably need something like @GrahamcOfBorg UNSAFE-merge-anyway
<tnks> I asked this question earlier, but what is the program that recommends what to install with "nix-env" when you don't have it installed yet?
pxc1 has joined #nixos
<tnks> I'd like to use it in a Docker image we use for dev work.
<infinisil> tnks: command-not-found
<tnks> infinisil: thanks!
pxc has quit [Ping timeout: 240 seconds]
<LnL> gchristensen: possibly requiring something like multiple people to do it :)
<gchristensen> :D
<tnks> different question, I can't find a discussion online about the backwards-compatibility of nix and nixUnstable.
<tnks> If I have both installed in different profiles, am I asking for trouble?
Sonarpulse has joined #nixos
Sonarpulse has quit [Remote host closed the connection]
Sonarpulse has joined #nixos
pxc1 has quit [Ping timeout: 240 seconds]
ThatDocsLady_ has joined #nixos
07EAA0G4H has joined #nixos
<07EAA0G4H> [nixpkgs] Mic92 closed pull request #35539: dockerTools: Pin go to 1.9 (master...35505) https://git.io/vAwFy
07EAA0G4H has left #nixos [#nixos]
94KAABMJ0 has joined #nixos
<94KAABMJ0> nixpkgs/master be5090f Sarah Brofeldt: dockerTools: Pin go to 1.9...
<94KAABMJ0> nixpkgs/master d61a632 Sarah Brofeldt: docker: pin go to 1.9...
<94KAABMJ0> [nixpkgs] Mic92 pushed 3 new commits to master: https://git.io/vAoAp
94KAABMJ0 has left #nixos [#nixos]
<94KAABMJ0> nixpkgs/master 02ba80a Jörg Thalheim: Merge pull request #35539 from srhb/35505...
<infinisil> tnks: backwards compatible no problem
ThatDocsLady has quit [Read error: Connection reset by peer]
<infinisil> tnks: forwards compatible too I'm pretty sure
<tnks> infinisil: good to know. I get there might be nasty bugs, but as long as I'm not breaking an assumed contract.
<infinisil> tnks: Well it's released now, and it's been in development for a long time, so the bugs shouldn't be that grave
<tnks> Is it the default in NixOS yet?
pxc1 has joined #nixos
<gchristensen> there shouldn't be any nasty bugs
<mahe2> aminechikhaoui: it happens when trying to load the fb module
<tnks> okay, I'm going to play around with it.
<mahe2> Everything semms fine until then
<tnks> I'm curious how changes to nix-copy-closure will affect me.
gal_bolle has quit [Quit: Konversation terminated!]
<infinisil> tnks: it's going to be the default in the next release (18.03)
<tnks> infinisil: okay, good to know.
i-am-the-slime has joined #nixos
<i-am-the-slime> Hello! xmonad decided it would like to crash right on/after login. Does anybody know which logs I have to check to find out what did this?
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ryantm has quit [Ping timeout: 248 seconds]
<aminechikhaoui> mahe2: hm I don't see an fb module in lsmod output in my case
<ottidmes> i-am-the-slime: Shouldn't it just be viewable with sudo journalctl -e?
<tnks> hmm... so the new "nix" command doesn't subsume "nix-env"?
<i-am-the-slime> ottidmes: Could be. I don't know anything about this stuff.
<i-am-the-slime> ottidmes: Can I do it now?
<ottidmes> i-am-the-slime: You can always access that log, so sure why not :P
<infinisil> i-am-the-slime: i think it should be in the display-manager's logs
<i-am-the-slime> I thought I could also do something like ctrl-alt-f2 to login into a terminal session
<infinisil> sudo journalctl -u display-manager -e
<i-am-the-slime> but it looks like it crashed before
viric has quit [Quit: Lost terminal]
<infinisil> i-am-the-slime: you mean your computer actually crashed?
<i-am-the-slime> no entries in the display manager
<i-am-the-slime> maybe it is something else
<i-am-the-slime> infinisil: yes consistently
<ottidmes> i-am-the-slime: That is what I always use, one of the other tty's, but if those cannot be accessed, rebooting into a working NixOS generation will do, then you just check the logs farther back, you might need to increase the log lookback a bit with -n 30000 for example
mkoenig has quit [Remote host closed the connection]
zzamboni1 has joined #nixos
leat has joined #nixos
coot has quit [Quit: coot]
<tnks> man... the "this program is EXPERIMENTAL" warnings are kind of ominous.
<tnks> I hope this doesn't become a warning people just learn to ignore.
<i-am-the-slime> Ah okay , thanks ottidmes
<i-am-the-slime> They didn't go far enough before
pxc1 has quit [Ping timeout: 256 seconds]
zzamboni1 has quit [Remote host closed the connection]
<tnks> I mean, if Nix 2.0 has released, I'd wonder if these warnings could be removed.
<tnks> I suppose they will definitely be removed when Nix is the default in Nix 18.03?
<tnks> NixOS, I mean.
<niksnut> no
<niksnut> it really does mean that the command line interface of the "nix" command might yet change
<niksnut> so you may want to keep using e.g. nix-build instead of "nix build" in scripts
jb55 has joined #nixos
<simpson> tnks: Additionally, Nix 2 isn't the default recommended interface yet, and that alone means that the non-recommended interface should be marked somehow.
<LnL> maybe not intentional, but nix build also doesn't print the store path so it's not ideal to use in scripts
roberth has joined #nixos
<thoughtpolice> shlevy: Oh, good tip. I've sort of been out of the loop until relatively recently, plus mostly doing package management... My servers were running quite stable. :)
* thoughtpolice thinks he has a NixOS 15.0x machine still running somewhere...
<gchristensen> :o
cement has joined #nixos
<i-am-the-slime> ottidmes: Is there a keyword like "crash" I could look for in these logs?
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/ea299bdca8a (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<mahe2> aminechikhaoui: do you know whether older arm7 images are around somewhere?
<shlevy> thoughtpolice: What tip did I give? Might be advice I need to take myself :D
<thoughtpolice> shlevy: #nixos-dev :)
<shlevy> Aaah, in #riscv :)
<thoughtpolice> Ah, wrong channel!
<ottidmes> i-am-the-slime: You should probably check for the name of your display manager
<thoughtpolice> gchristensen: I'll admit part of it is that it has a btrfs filesystem that is just horrendously slow/highly latent to deal with, but it runs, so, yeah.
<thoughtpolice> (I'm going to retire it sometime in the next like 2 months...)
Tucky has joined #nixos
jensens has quit [Ping timeout: 240 seconds]
<i-am-the-slime> Feb 26 15:49:47 nixos xsession[1030]: /home/mark/.xmonad/xmonad-x86_64-linux: executeFile: permission denied (Permission denied)
<aminechikhaoui> mahe2: donnow, Dezgeg should be the guy to ask :)
dan_b has joined #nixos
<i-am-the-slime> And then: Power button pressed.
<i-am-the-slime> So did I maybe compile xmonad as root or something?
<ottidmes> i-am-the-slime: You probably build your xmonad with root instead of your user, so just do: chmod -R mark:mark /home/mark/.xmonad or something similar
<i-am-the-slime> -rw-r--r-- 1 mark users 0 26. Feb 15:47 /home/mark/.xmonad/xmonad-x86_64-linux
<i-am-the-slime> hmm
<ottidmes> i-am-the-slime: Ehh, chown of course...
<Dezgeg> I don't keep old ones around (no disk space)
humanoyd has joined #nixos
<i-am-the-slime> this looks like mark owns it, right?
xeji has joined #nixos
<i-am-the-slime> But that it's not executable.
<i-am-the-slime> However that happened.
<ottidmes> i-am-the-slime: That is indeed weird, maybe some recursive chmod call you did
<Dezgeg> but I guess it would be best to debug why it isn't working; with luck there's /var/log/journal created with the logs
<i-am-the-slime> I don't think I really ran chmod.
<i-am-the-slime> I usually recompile with some key combination.
<ottidmes> i-am-the-slime: Remove the file and try a recompile and see what happens
gspia has joined #nixos
<mahe2> aminechikhaoui: thank you so far
jtojnar has quit [Remote host closed the connection]
<mahe2> Dezgeg: Do you host older images of nixos armv7 build somewhere?
rgc has joined #nixos
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<aminechikhaoui> mahe2: actually he just said he doesn't due to disk space :)
<aminechikhaoui> but maybe you can debug this further ?
<i-am-the-slime> now it's executable
<i-am-the-slime> I'll reboot
<rgc> hi everyone. How can I delete all the old configurations but the default?
<ottidmes> rgc: nix-collect-garbage -d
<mfiano> Is it possible to stop doing these lines since I am not using KDE and my $XDG_DATA_HOME is a different path? https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/x11/display-managers/default.nix#L111-L118
<i-am-the-slime> I probably should start versioning my xmonad
<i-am-the-slime> At least the config.
<rgc> ottidmes: thank u, but after this command I'm always able to boot from grub any entry
<i-am-the-slime> I'll try a reboot now.
<rgc> I'm new to nixos, and I'm confused...
i-am-the-slime has quit [Remote host closed the connection]
<ottidmes> i-am-the-slime: Yeah versioning it would be for the best
pxc1 has joined #nixos
<ottidmes> mfiano: The only way I know of is to remove those lines from your local nixpkgs checkout, or by making a pull request that makes it optional via some option
<mfiano> That's unfortunate. I went through a lot of trouble to clean my homedir up and nixos clutters it with a bunch of stuff after switching to it the other day
<ottidmes> rgc: You will have to trigger a rebuild of the bootloader entries, which can be done with: nixos-rebuild boot (but of course if something changed, you might end up with a new generation which you might wanted to prevent)
jb55 has quit [Ping timeout: 240 seconds]
<rgc> ottidmes: I'll try
<ottidmes> rgc: If you want to do it by hand see this post: http://blog.ielliott.io/how-to-delete-old-nixos-boot-configurations/ For reasoning why this is not done automatically when doing a garbage collect see this: https://github.com/NixOS/nixpkgs/issues/3542
<rgc> ottidmes: thanks!
himmAllRight has quit [Remote host closed the connection]
bsima has quit [Quit: Bye!]
<tnks> hmm... I tried to switch to nixUnstable, and `nix-channel --update` is giving me a "lacks a signature" error.
<ottidmes> mfiano: You could do either of the two things I suggested, that would at least solve the clutter introduced by those lines you showed me. On a postive note, just think about all the clutter that NixOS protects your system against in all system folders!
badi has joined #nixos
tabaqui1 has quit [Quit: WeeChat 1.6]
dnovosel has joined #nixos
asymmetric has quit [Read error: Connection reset by peer]
<ottidmes> tnks: You could try setting nix.requireSignedBinaryCaches = false;
<avn> Folks, anyone familiar with glm (c++ library)? I trying to fix slop/maim builds
periklis has joined #nixos
justanotheruser has quit [Ping timeout: 240 seconds]
<gchristensen> !libraries
<gchristensen> I should probably add an alias for that
<ottidmes> tnks: That option sounds scary to disable, but it is actually deprecated in Nix 2: https://github.com/NixOS/nix/issues/1806#issuecomment-362064642
markus1189_ has joined #nixos
himmAllRight has joined #nixos
athan has joined #nixos
kelleyNif has quit [Quit: Leaving.]
periklis has quit [Ping timeout: 256 seconds]
rogue_koder has joined #nixos
pkill9 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/vAKTd
<NixOS_GitHub> nixpkgs/master 88b7830 Peter Hoeg: wakeonlan: init at 1.0.0
NixOS_GitHub has left #nixos [#nixos]
ryanartecona has quit [Quit: ryanartecona]
<infinisil> gchristensen: i thought there was?
<gchristensen> just !library I think?
<infinisil> !library
<{^_^}> Don't install libraries through nix-env or systemPackages. See https://nixos.wiki/wiki/FAQ/Libraries for details.
<infinisil> Yup
<gchristensen> but !libraries should be the same, probably
dan_b has quit [Ping timeout: 245 seconds]
__Sander__ has quit [Quit: Konversation terminated!]
Tucky has quit [Remote host closed the connection]
Arcaelyx has joined #nixos
<lexcurious> Any ex-ubuntu fanboys here? I would like to discuss my personal doubts and frustrations
<simpson> lexcurious: Relax.
* lexcurious making deep breath in and deep breat out
kelleyNif has joined #nixos
<simpson> This isn't a ranting channel.
<mahe2> Dezgeg: I have some journals around.
<lexcurious> why not? it could be
<gchristensen> if it is truly a discussion, it can be had. but indeed, no ranting. #nixos is a very friendly place
<lexcurious> k
<Dezgeg> right, then journalctl --directory=/mnt/var/log/journal -b or something should display them from the mounted SD
coot has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #35442: notmuch: Fix configure invocation (master...fix-notmuch) https://git.io/vAVgJ
NixOS_GitHub has left #nixos [#nixos]
FRidh2 has joined #nixos
<mahe2> Dezgeg: I can see nothing interesting. It reports a successful startup. Regarding fb I have "fb: switching to vc4drmfb from simple" and "Console: switching to colour frame buffer device 228x61"
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nix/master 24ec750 Eelco Dolstra: nix run: Fix segfault on macOS...
<NixOS_GitHub> [nix] edolstra pushed 1 new commit to master: https://git.io/vAKId
<mahe2> maybe "dmi: Firmware registration failed." is meaningful in any way
<Dezgeg> that shouldn't affect anything
<mfiano> config.fonts.fontconfig.dpi says if not specified, the display's detected dpi will be used. where is the code that detects this?
detran` has quit [Ping timeout: 260 seconds]
alex`` has quit [Quit: WeeChat 2.0.1]
alex`` has joined #nixos
<srhb> mfiano: Somewhere in Xorg.
<mfiano> Well that's strange. xdpyinfo says 162x162 dots per inch, but if I don't specify config.fonts.fontconfig.dpi = 162, everything is way too small.
<srhb> mfiano: Is Xft.dpi set to something else?
<{^_^}> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/38d7371dddd (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
<mfiano> no
<srhb> Huh.
alex`` has quit [Client Quit]
alex`` has joined #nixos
<tnks> ottidmes: where do I put that option? In ~/.nixpkgs/config.nix?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/staging 006a6db Frederik Rietdijk: python: behave: 1.2.5 -> 1.2.6
<NixOS_GitHub> [nixpkgs] FRidh pushed 18 new commits to staging: https://git.io/vAKtK
<NixOS_GitHub> nixpkgs/staging 319942a Frederik Rietdijk: python: aiohttp: 3.0.1 -> 3.0.3
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/staging 2d74d85 Frederik Rietdijk: python: aniso8601: 2.0.0 -> 2.0.1
<srhb> I guess it'll actually just be the DE's responsibility to set Xft.dpi. Strange.
pie_ has joined #nixos
patrl has joined #nixos
<tnks> ottidmes: also, in this context, I'm not using a full NixOS, just Nix, so not sure where requiredSignedBinaryCaches is set... maybe /etc/nix/nix.conf?
<ottidmes> tnks: I assumed you were using NixOS, in that case it should go in your /etc/nixos/configuration.nix, or wherever you have your NixOS config.
<ottidmes> tnks: Ah, in that case it should indeed go in /etc/nix/nix.conf
<tnks> but not camel-cased, right?
<ottidmes> tnks: I will check that for you
jmiven has quit [Quit: co'o]
jmiven has joined #nixos
spear2 has quit [Remote host closed the connection]
<ottidmes> tnks: Could you check the contents of /etc/nix/nix.conf, because thinking about it, it is about the removal of the option, so you probably just have to remove it, that is, if it even is the solution to your problem
digitus has joined #nixos
<genesis> is there some progress to reduce delay about open PR?
ryanartecona has joined #nixos
<lexcurious> https://en.wikipedia.org/wiki/Comparison_of_Linux_distributions#Package_management_and_installation Ubuntu have 73 000 of packages, Arch AUR 44 000, NixOS 13 000, still no tool that could take Arch's pkgbuild (or ubuntu deb build) and convert it to nix-expression package
<gchristensen> not sure where 13,000 comes from really
<lexcurious> https://nixos.org/nixos/packages.html# page says 13882 packages
<gchristensen> neat
<gchristensen> lexcurious: maybe you're the person to write the pkgbuild / deb -> nix converter
<lexcurious> I expected those propesal ;`3
<srhb> There's another 13k in haskellPackages
<LnL> :p
<gchristensen> if you count the number of packages we define via the various nodejs packages, we approach infinity
Slabity has joined #nixos
<ottidmes> lexcurious: I thought about that as well, why not reuse those, but that would probably only be possible if you had some specialized file system and you probably would need a lot of other magic, because it is like asking to convert Java or some other mutable language to Haskell
knupfer has quit [Remote host closed the connection]
<srhb> The funny thing is how it's hard to define just how many packages are in nixpkgs.
<srhb> Even without bringing parameterization into the game.
<srhb> In which case; bring it, Debian!
* srhb ducks
<gchristensen> srhb: 1 derivation = 1 package, 1 parameter = -1 package
* gchristensen jokes
<srhb> :-)
<lejonet> gchristensen: so you mean I can enlarge the space on disk by cloning the nixpkgs repo? :O
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg closed pull request #35624: e2fsprogs: 1.43.8 -> 1.43.9 (master...auto-update/e2fsprogs-1.43.8-to-1.43.9) https://git.io/vArPb
NixOS_GitHub has left #nixos [#nixos]
<gchristensen> yep!
<lejonet> :O!
<srhb> lejonet: For instance, you can map over every attribute in nixpkgs to override them to the hello package.
<srhb> It's *extremely* efficient.
<lejonet> Kindof how bad USB boards make you lose 87.5% of your disk space instead... :P
lambdamu has quit [Ping timeout: 268 seconds]
<lejonet> srhb: xD so THATs how samsung made that 30TB SSD...
<srhb> lejonet: Yeah, just don't inspect the bits ever.
kitemikaze has joined #nixos
<lejonet> srhb: don't need to, I run pifs, so all files ever created or going to be created exist already
patrl has quit [Quit: WeeChat 1.9.1]
<srhb> Brilliant!
neonfuz has quit [Quit: WeeChat 1.7.1]
prooftechnique_ is now known as prooftechnique
<lejonet> Time to create a procedurally generating algorithm that spams "(he|she|it) used this trick that the harddisk giants don't want you to know, click here for info" all over the internet and cash in?
<lexcurious> https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=mp-5 simple typical example of Arch PKGBUILD, what can nix coverter do : 1) use arch's default infrastructure (yaourt\pacman) to resolve dependency graph, 2) replace --prefix $pkgdir to $out 3) wrap it in to builder.sh ? make sense?
<tnks> ottidmes: wait... I probably have to restart nix-daemon.
Thra11 has joined #nixos
<pingveno> lexcurious: It would be super difficult to come up with a general solution for PKGBUILD's.
<srhb> lexcurious: I think you'd have to substitute dependencies from nixpkgs to get anything decent out of it. Which makes it hard to generalize
<gchristensen> LnL: what do you think about https://github.com/NixOS/ofborg/issues/66#issuecomment-368584411
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] etu opened pull request #35678: sequeler: 0.5.3 -> 0.5.4 (master...upgrade-sequeler) https://git.io/vAKYq
NixOS_GitHub has left #nixos [#nixos]
<srhb> lexcurious: In fact, the only salvagable thing is probably the build commands themselves, and then not always.
<pingveno> Because it's an executable format, there are plenty of things that are hard to figure out from the PKGBUILD alone.
<tnks> ottidmes: my /etc/nix/nix.conf only has a entries for build-users-group, build-max-jobs, build-use-sandbox = true, and build-extra-sandbox-paths
<tnks> so pretty spartan.
<thoughtpolice> The other trick is that PKGBUILDs will very likely have changes made to accompany changes *elsewhere*. E.g. patches will be added to a package to make it works well with some other slightly-changed package (fix a build path, for example)
<thoughtpolice> (Arch is generally very vanilla but almost every distro ends up in that situation, esp when you wait for an upstream fix for something, etc)
reinzelmann has joined #nixos
tommyangelo_ has quit [Ping timeout: 256 seconds]
coot has quit [Quit: coot]
<mfiano> clever: You should update your gist for environment.sessionVariables
civodul has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
robstr has joined #nixos
coot has joined #nixos
leat has quit [Ping timeout: 260 seconds]
<simpson> lexcurious: Is there some specific package that you want added to nixpkgs?
<tazjin> can `nix.binaryCaches` be set to binary caches served over SSH?
rindvieh has quit [Remote host closed the connection]
<clever> tazjin: with 2.0, maybe?
<tazjin> the examples all have HTTPS URLs, and it's unclear to me how to combine SSH-served binary caches and NixOps deployments
<tazjin> clever: hmm, the feature already exists in Nix<2.0, but I'm not sure if it's usable through any of the NixOS settings
<clever> tazjin: the implementation was massively changed in 2.0
<hyper_ch> why must hardware hate me?
<ottidmes> tnks: It could be that your daemon is still running 1.11, maybe then try adding: signed-binary-caches = *, worth a try
<tazjin> clever: of binary caches in particular? Interesting, I'll read up on that
<clever> tazjin: more about the ssh layer
<clever> tazjin: originally, it had its own option, and was more of a hack added on the side
<lexcurious> simpson Unity DE with HUD, https://www.rescuetime.com (they provide deb package)
rindvieh has joined #nixos
<clever> tazjin: now, its part of nix core, and i think it can just work as a binary cache, with the right format
mizu_no_oto has joined #nixos
viric has joined #nixos
<tazjin> clever: cool, thanks, I'll see if I can find some more info
betaboon has quit [Quit: WeeChat 1.9.1]
coot has quit [Quit: coot]
<goibhniu> lexcurious: AFAIK, it's possible to configure KDE/plasma to behave very similarly ... if that's any use
<pxc1> does anyone here happen to know if the plan for 18.03 is to continue to have a separate stable channel for Darwin or if the ZHF goals for the 18.03 release are just all gonna be on the same branch?
<xnaveira[m]> if i have added the nixos channel and the nixos unstable because i install some packages from unstable
<xnaveira[m]> what happens if i run an upgrade? will all the packages in configuration.nix be upgraded to unstable?
<pxc1> goibhniu: the Plasma's global menu doesn't work for some GTK+ apps without them being patched (Firefox is a notable case) :-(
<goibhniu> ah, good to know
mizu_no_oto has quit [Ping timeout: 240 seconds]
<simpson> lexcurious: Best of luck packaging unfree stuff, and folks will help you learn Nix and answer questions you may have.
<lexcurious> np, I uderstand
<tnks> ottidmes: for me, it seemed like trusted-users worked.
mizu_no_oto has joined #nixos
<tnks> maybe also binary-cache-public-keys.
sigmundv has quit [Ping timeout: 260 seconds]
rindvieh has quit [Ping timeout: 245 seconds]
propumpkin is now known as contrapumpkin
rindvieh has joined #nixos
<ottidmes> tnks: Good to hear that you solved your problem. I have root and @wheel in my trusted-users, but I did not know that that setting would solve your particular error message, otherwise I would have suggested it earlier
pxc1 has left #nixos ["WeeChat 1.9.1"]
<tnks> ottidmes: okay, I'll have to play around with whether only one of the settings is needed.
<ottidmes> Does anyone know how to setup the SSH keys for NixOps? I can SSH just fine in the machine I want to deploy to, but NixOps seems to want to use its own SSH key "> generating new SSH keypair... done", I looked at deployment.keys, but that seems to have nothing to do with the SSH connection
<LnL> gchristensen: replied, I agree with you and think 500 is probably not enough
<gchristensen> cool, thanks!
<ottidmes> To be clear, I am deploying to an existing NixOS machines that I already configured, but I want to see if I can use NixOps to configure my network of machines instead
<clever> ottidmes: i did that with my router lastnight
<LnL> gchristensen: vcunat should also give some feedback, since he's basically the staging gatekeeper :)
<clever> ottidmes: basically, i grabbed the exact nixpkgs the router used, and the same-ish configuration.nix, and added it to a deployment file
<gchristensen> LnL: as far as I'm concerned, staging is vcunat's branch ;)
<LnL> exactly!
<clever> ottidmes: then because i was paranoid, i used nix-diff to diff the derivations until they where nearly identical
<clever> ottidmes: and a nixops deploy did almost no changes to the router
aristid has quit [Quit: WeeChat 2.0]
<clever> ottidmes: i was then free to make more changes, and deploy them over nixops
<ottidmes> clever: But you did not do anything special to make the SSH connection work?
<clever> ottidmes: i already have a root key in my ssh agent
<clever> ottidmes: so nixops just uses that
<mfiano> Where is the correct place to add some extra xorg config lines? I need to add what nvidia-settings would write to it if I click save in the gui
<clever> mfiano: https://nixos.org/nixos/options.html#services.xserver.extra if it goes into a Display section
<ottidmes> clever: Since I basically did the same for the machine in question, rsynced my nixpkgs and nixcfg repo even, and it built fine, but when I now try to nixops deploy, it fails with permission denied (publickey), which is obvious since it apparantly generated a fresh one
rindvieh has quit []
digitus has quit [Quit: digitus]
<clever> ottidmes: i didnt even rsync, i used nix-copy-closure to copy the exact path nix-channel had previously setup
<mfiano> clever: No, it goes into a Screen section
fragamus has joined #nixos
<mfiano> Option "metamodes" "nvidia-auto-select +0+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}"
<clever> mfiano: then you want screenSection, check line 740
tmaekawa has joined #nixos
sigmundv has joined #nixos
aristid has joined #nixos
<ottidmes> clever: Hmm, I probably know what goes wrong, I do not have a root SSH key setup, I even have root access via SSH disabled... which nixops requires, yep, that is the problem right there :P
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mdorman opened pull request #35679: Semi-automated emacs package updates (master...semi-automated-emacs-updates) https://git.io/vAKGM
NixOS_GitHub has left #nixos [#nixos]
jb55 has joined #nixos
<ottidmes> clever: Thanks!
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/python-unstable c96c803 Frederik Rietdijk: python: nbstripout: 0.3.0 -> 0.3.1
<NixOS_GitHub> [nixpkgs] FRidh force-pushed python-unstable from b016097 to 925a734: https://git.io/v5aIf
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/python-unstable cd528dd Frederik Rietdijk: python: spyder: 3.2.6 -> 3.2.7
<NixOS_GitHub> nixpkgs/python-unstable 1fdb74a Frederik Rietdijk: python: aiohttp: 3.0.3 -> 3.0.4
fragamus has quit [Ping timeout: 245 seconds]
<ottidmes> clever: Buying my own router is still somewhere on my todo, the one given by my ISP is really basic (the most advanced thing it can do is port forwarding...)
tmaekawa has quit [Client Quit]
<clever> ottidmes: my router blocks wifi users from ever talking to wired users
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh opened pull request #35680: Python: last major updates package set (staging...python-unstable) https://git.io/vAKZI
NixOS_GitHub has left #nixos [#nixos]
<clever> ottidmes: and it lacks an off switch for that
<zimbatm> you know your technology is mainstream when the top comment is negative about it
<gchristensen> zimbatm: a classic HackerNews complisult: your technology is _SO INCREDIBLE_ it is bad
<infinisil> zimbatm: yeah lol
<ottidmes> clever: Yikes! I can complain all I want, but the basics at least works and it does not have features you could qualify as bugs
<infinisil> but the usability point is justified imo
coot has joined #nixos
<clever> ottidmes: oh, and the bugs, lol
<ToxicFrog> IT really is
<clever> ottidmes: the http ui renders the linux bandwidth counters (which are unsigned 32bit ints), as signed 32bit ints
<gchristensen> no doubt, they have valid points
digitus has joined #nixos
<clever> ottidmes: so when the traffic goes over 2gig, the counter just stops counting
<ottidmes> clever: I will check your config in more detail, but I already had all those options and a lot more related to it, it just had them explicitly set to disabled for security reasons
<clever> ottidmes: and once you go over 4gig, it wraps to 0, and resumes counting
<zimbatm> that's the best bit, take valid points to discredit 10+ years of hard work
digitalmentat has joined #nixos
<zimbatm> (but it doesn't do X)
<ottidmes> clever: wow...
<gchristensen> zimbatm: bin it, its garbage!
<digitalmentat> grahamc, do you have anything published for you NixOS + Terraform integration?
<clever> ottidmes: i also wrote a script to poll that ui and graph the results for the 50% of the time it was working, then discovered the router locking up every 29.5 days, like clockwork
<zimbatm> and then there is the guy who tries to plug his own solution
<gchristensen> zimbatm: link?
<infinisil> Also interested in that lol
<gchristensen> digitalmentat: may I PM?
<digitalmentat> gchristensen, yup
<ottidmes> zimbatm: That arch thing?
<clever> ottidmes: there is a memory leak somewhere in the http daemon, and polling it once a minute breaks it after an exact amount of time passes
robstr has quit [Remote host closed the connection]
<zimbatm> yeha
knupfer has joined #nixos
robstr_ has joined #nixos
<infinisil> Ohh yeah this almost counts as spam, he left like 6 comments about his Darch
<ottidmes> clever: My router (or ethernet controller of my desktop, not sure) are buggy as well, I can only have stable internet with networkmanager on my desktop (most people hate networkmanager for some reason, but I love it, since no matter what I try, it is the only thing that worked for me)
<clever> ottidmes: i recently hooked a monitor up to my router and dsicovered the console filled with various ethernet relayed soft-locks
amf has quit [Quit: WeeChat 2.0.1]
<clever> ottidmes: but the driver has been good enough to detect things and reset itself, so ive never noticed the issue
amf has joined #nixos
robstr_ has quit [Remote host closed the connection]
<zimbatm> I'm really hoping that nix 2.1's UX will become better though
robstr has joined #nixos
<zimbatm> most of the time I end-up adding `-f .` to my commands, maybe it should be the default
<ottidmes> clever: What helps unlock my internet again is to ping the router/gateway and then it works again, so network manager probably does something similar for me
<infinisil> zimbatm: by my commands you mean nix-env? or is there any other that doesn't use . as default?
detran` has joined #nixos
<zimbatm> eg: `nix-build -A foo` becomes `nix build -f . foo`
<amf> in nixpkgs, how does one start a daemon that needs root? sourcing the .nix-profile in root didn't work (as i expected)
<ottidmes> On that Darch hacker news thread: "Once I make a change to my recipes, ~20 minutes later, I can pull a fresh image and boot again.", I will never complain again if nixos-rebuild takes a minute longer than I would have liked :P
humanoyd has quit [Quit: WeeChat 2.0.1]
<mfiano> clever: Thanks but that is adding the option to the Screen section for each GPU, even non-nvidia ones
<clever> mfiano: you have several GPU's in the machine?
<ottidmes> amf: Couldn't you just use what your OS provides for this? For example systemd?
<srk> ottidmes: :D lol
<amf> ottidmes: my os'es docker version is too old, hence why i went the nix route
<mfiano> clever: I disable nvidia to test my code with integrated intel as well
chocopuff298 has joined #nixos
<infinisil> zimbatm: oh i see, i haven't played with nix build, seems weird that -f. is needed :/
<sphalerite_> chocopuff: this darch thing looks vaguely like what you were planning to do with gentoo
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl closed pull request #34784: smplayer: 17.9.0 -> 18.2.2 (master...smplayer-18.2) https://git.io/vALmt
NixOS_GitHub has left #nixos [#nixos]
<zimbatm> infinisil: yeah, I need to do a write-up of my thoughts on the CLI
<infinisil> ottidmes: heh yeah, my nixops deploy currently takes like 30 seconds
<ottidmes> amf: But wouldn't your distribution that you use Nix in, have some way to start some service as root properly?
JazzyEagle has joined #nixos
<clever> mfiano: ah, you could use an if statement to conditionalize setting the nvidia options
<JazzyEagle> Hello, all. I'm trying to install Snap, a web framework for Haskell. I keep getting some test failures when I'm trying to install it, so it never installs. Does anyone know what's going on with that and why I can't get it to install?
avn has quit [Ping timeout: 240 seconds]
* lexcurious smiled when spot lambda at ubuntu logo https://buy.ubuntu.com/collections/ubuntu-advantage-for-desktop
<srk> ottidmes: I have a similar setup generating a netboot server with bunch of images on that for container hosts, takes a couple of minutes to go from changes to rebooting a new image, most of that is mksquashfs and uploading the 200Mb image to netboot
<infinisil> lexcurious: Realized way too late that the nixos logo is made up of lambdas
avn has joined #nixos
chocopuff has quit [Ping timeout: 265 seconds]
<srk> :))
<ottidmes> infinisil: Thanks again for publishing your config online, it was trivial setting up home-manager and nixops having some example of someone using it to verify what I was doing was correct
<infinisil> ottidmes: I'm glad :D
<amf> ottidmes: i worked around it via `readlink -f $(which dockerd)` and running the full path as root
<lexcurious> infinisil omg, you right 0_0 I didn't saw this fact until you pointed
<sphalerite_> infinisil: personally I like it, it's pretty convenient most of the time, anything you use frequently enough that you don't want to use -f for it you can put in your NIX_PATH, and most of all it's versatile since you can pass a derivation path as well as an attribute path
<lexcurious> k, lol nix - ubuntu 1 - 0 :D
<ottidmes> JazzyEagle: Could you paste those failures somewhere, without more information, nobody will be able to help
<sphalerite_> err actually most of all that you can use the same syntax for all the different commands
<lejonet> Mic92: Now I have a testscript that runs through creating a basic cluster with 2 OSDs, creates a pool, manhandles it a bit, changes the crush map and changes the replica size of the pool and waits for the pool to settle, then tests that some changes that shouldn't be there anymore is indeed gone or not possible to do
<sphalerite_> lexcurious: the ubuntu one also isn't a lambda but a monitor AFAICT?
reinzelmann has quit [Quit: Leaving]
mizu_no_oto has quit [Quit: Computer has gone to sleep.]
<srk> lejonet: what kind of cluster?
<JazzyEagle> ottidmes: I'm not sure I can. I have NixOS in a VM w/ CLI only. Not sure how I can copy/paste that into a website to share.
<lejonet> srk: ceph cluster :)
<JazzyEagle> Are there any CLI programs that'll let me paste somewhere?
hellrazor has quit [Quit: WeeChat 2.0.1]
<goibhniu> Hi JazzyEagle, you can use: <command> | curl -F 'text=<-' http://nixpaste.lbr.uno
<srk> lejonet: hehe :) we were talking about that few days ago :) I want to play with drbd9 cluster
<JazzyEagle> Ok, hold on...
<sphalerite_> lexcurious: yes. That's a monitor on a stand, seen from the side :p
knupfer has quit [Ping timeout: 252 seconds]
<sphalerite_> lexcurious: or a really poorly executed lambda, but a monitor seems more likely to me
<prooftechnique> Is there an established way to get a GHC for cross-compilation set up with nixpkgs, as there is for Rust?
<lejonet> srk: well, soon you can easily create and conf a ceph cluster in nixos, is my hope :P (I'm writing a service module for it, hence the testcase)
azdle has quit [Remote host closed the connection]
<clever> prooftechnique: i think Sonarpulse or bgamari- has done x86->arm cross compiles with ghc
<Sonarpulse> clever, prooftechnique: yes, we both have
<Sonarpulse> but can't talk about it now, meeting about to start
<lexcurious> sphalerite_ oooooooohhhhhhhh....... you could be right, now I see
<prooftechnique> I'm looking to get from darwin to gnu, but I'd love to see what you've done when you have some time, just to see if I can adapt it
* lexcurious mindblowing
<mfiano> What do I do when rebuilding produces a lot of "collision between" lines?
<JazzyEagle> goibhniu: It finished, but I didn't get a url or anything.
vaninwagen has joined #nixos
<infinisil> mfiano: you mean nix-env?
leat has joined #nixos
<mfiano> infinisil: nixos-rebuild
<srk> lejonet: cool, gonna play with that as well :) we've managed to do some bird config generation recently https://github.com/vpsfreecz/vpsadminos/blob/master/os/modules/bird.nix
<goibhniu> JazzyEagle: hrm ... how about: <command> | curl -F 'sprunge=<-' http://sprunge.us
<prooftechnique> mfiano: It's not usually a big deal, but I think you can mess around with package priorities if you know what package you want to have precedence
<lejonet> srk: bird?
<JazzyEagle> Trying now
<srk> lejonet: routing daemon
<mfiano> prooftechnique: I don't know why it's causing collisions with all the fontconfig stuff
chaker has quit [Ping timeout: 248 seconds]
<mfiano> font-penultimate-conf/etc/fonts/conf.d/... I'm not even using penultimate
<lejonet> srk: ah, neat, easier to use than quagga?
<srk> lejonet: pretty easy but I don't know much about quagga
<JazzyEagle> goibhniu: Got an Error 500 on that one.
<prooftechnique> mfiano: Transitive dependencies, probably. Depends what you're trying to build
<goibhniu> what command are you using JazzyEagle?
<goibhniu> don't put the <> around it
<JazzyEagle> nix-install haskellPackages.snap | curl -F 'sprunge=<-' http://sprunge.us
<lejonet> srk: quagga is Ciscoified, its not that nice to handle
<mfiano> prooftechnique: I've had fontconfig.ultimate enabled for a few days, and all of a sudden the last few rebuilds are causing hundreds of conflicts with fontconfig-penultimate colliding with fontconfig-ultimate
<JazzyEagle> nix-install is a bash script I found online: nix-install(){ nix-env -f ~/.nixpkgs -iA $1; }
<goibhniu> oh ... does `nix-env -iA haskellPackages.snap` work?
<srk> lejonet: uh ;D we use bird for routing lxc containers, openvz ones before
<{^_^}> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/38d7371dddd (from 8 hours ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
<JazzyEagle> Let me try it.
<JazzyEagle> No: "error: attribute 'haskellPackages' in selection path 'haskellPackages.snap' not found."
<JazzyEagle> I could add in the -f again, if need be.
<lejonet> srk: ah, quagga is like, ospf, rip and those type of things :P
<goibhniu> JazzyEagle: yeah, try that
<JazzyEagle> That found it and is going through the install process. My guess, though is that it'll also fail its tests.
<goibhniu> JazzyEagle: so you have a clone of nixpkgs in ~/.nixpkgs ... right?
<JazzyEagle> Yep.
<srk> lejonet: yeah, bird does the same http://bird.network.cz/ (we use bgp so you can route public v4 addresses to containers)
<JazzyEagle> Come to think of it, it's probably like a month or two old now. I'm wondering if I need to pull an updated copy...
<goibhniu> JazzyEagle: did you check if this package is broken on a channel?
<JazzyEagle> Not sure how to check that.
<lejonet> srk: will have to check it out, thanks for tip :)
guibou has quit [Quit: leaving]
<goibhniu> JazzyEagle: well, you could check out the revision of a channel in ~/.nixpkgs
FRidh2 has quit [Quit: Konversation terminated!]
<JazzyEagle> How do I do that?
<goibhniu> you can see the channel commits here: http://howoldis.herokuapp.com/
<JazzyEagle> So, nixpkgs was apparently updated like 8 hours ago.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master f5858af Kosyrev Serge: ghc841 | hpack: SMP fix unmerged
<NixOS_GitHub> [nixpkgs] peti pushed 2 new commits to master: https://git.io/vAKlC
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 8c0a1c8 Peter Simons: Merge pull request #35661 from deepfire/ghc-8.4...
<JazzyEagle> Still don't know how to tell based on that whether o rnot the package is broken, but I can try to update and try again.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 3e48f1e Peter Simons: Merge pull request #35653 from mnacamura/r-juniperkernel-darwin...
<NixOS_GitHub> nixpkgs/master 671e3f5 Mitsuhiro Nakamura: rPackages.JuniperKernel: fix darwin build
<NixOS_GitHub> [nixpkgs] peti pushed 2 new commits to master: https://git.io/vAKlu
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master a06b81b Peter Simons: Merge pull request #35651 from mnacamura/r-xml2-darwin...
<NixOS_GitHub> [nixpkgs] peti pushed 2 new commits to master: https://git.io/vAKl6
<NixOS_GitHub> nixpkgs/master 4b1627d Mitsuhiro Nakamura: rPackages.xml2: fix darwin build
NixOS_GitHub has left #nixos [#nixos]
guibou has joined #nixos
<prooftechnique> Anyone seeing lots of CoreFoundation-related breakage on Darwin? Mainly trying to build Hoogle and some other tools
mahe2 has quit [Ping timeout: 240 seconds]
oahong has quit [Ping timeout: 252 seconds]
<gchristensen> maybe check out #nix
<gchristensen> #nix-darwin, prooftechnique
<prooftechnique> Shall do
oahong has joined #nixos
<JazzyEagle> Ok, it seems a lot of new packages are downloading for installing Snap, so this is at least different. Hopefully that'll fix whatever issue there was.
<mfiano> I think I'm at a point where I need to learn how to interpolate variables into arbitrary homedir files i made packages for.
<tnks> man... the new nix-env is just hanging on me.
<tnks> I do a "nix-env -i hello" and it hangs. I kill -9 it. And run the same command, and it completes.
aborsu has joined #nixos
Tobba has quit [Read error: Connection reset by peer]
<JazzyEagle> Dang... All of the new packages downloading, same error.
lpsmith has quit [Quit: ZNC 1.6.5 - http://znc.in]
lpsmith has joined #nixos
robstr has quit [Remote host closed the connection]
Thra11 has quit [Ping timeout: 240 seconds]
<sphalerite_> !-A
<{^_^}> You'll usually want to use nix-env -i with -A. It's faster and more precise. See https://nixos.wiki/wiki/FAQ/nix-env_-iA for details.
[0x4A6F] has joined #nixos
<sphalerite_> tnks: ^
<sphalerite_> tnks: it's probably just slow because it's evaluating all of nixpkgs to find hello.
<sphalerite_> tnks: did you try ctrl-C-ing it before SIGKILLing it?
<sphalerite_> goibhniu: FWIW sprunge.us has been broken for a while now (500 on submitting pastes), I've been using ix.io instead
<gchristensen> ix.io has been broken for me too :o
<lejonet> You guys brokeded the internetz!
<JazzyEagle> I'll have try ix.io next time. I need to pause my endeavors for a meeting. Boo work...
<tnks> sphalerite_: actually, it hangs even when I do a nix-env -i with the -A nixpkgs.hello.
<tnks> something is not right.
<sphalerite_> gchristensen: works for me
<sphalerite_> tnks: what does nix-env -q say?
<gchristensen> I get squid errors from it
<tnks> this is a migration of Nix-1.0+Debian to Nix-2.0+Debian.
<tnks> sphalerite_: let me do with with a --verbose
<lejonet> gchristensen: fishy errors?
i-am-the-slime has joined #nixos
<i-am-the-slime> Hello!
<i-am-the-slime> There is an application called dunstify. It looks like it is not packaged.
<i-am-the-slime> Now what?
<Izorkin> how to install packages with nix 2.0 ?
<lejonet> i-am-the-slime: best nick ever xD
<gchristensen> Izorkin: nix-env
<Mic92> lejonet: do you think, those test could break under load?
<i-am-the-slime> and another thing
<i-am-the-slime> all this xrandr arandr stuff is driving me nuts
<Yaniel> i-am-the-slime: the easy way is to find a package with a similar tech stack and start writing a nix expression from that
<lejonet> Mic92: they shouldn't
<i-am-the-slime> KDE is good at it. Why am I so bad at it?
<i-am-the-slime> Yaniel: There is dunst already.
<lejonet> Mic92: the cluster was afterall designed for quite large scale deployments and such, I'd be surprised if they break under load
<Yaniel> anyway, the basic procedure is fork nixpkgs, add package, open PR, wait
<Izorkin> gchristensen: through "nix install" - there is no such function?
<sphalerite_> i-am-the-slime: it looks like dunstify is sort of part of dunst?
<gchristensen> Izorkin: no, it is still nix-env
<sphalerite_> i-am-the-slime: so it should just be a matter of editing the dunst expression to make it build and install dunstify as well
<gchristensen> lejonet: why do several option examples contain just [ "0" "1" ]?
<i-am-the-slime> "just"
<sphalerite_> Izorkin: there will be eventually, it's just not done yet
<i-am-the-slime> Probably because it's declarative
<lejonet> Mic92: it creates a pool, with 100 placement groups and placement group for placement, called aio-test
<i-am-the-slime> But I don't see this doing anything like compiling or so.
robstr has joined #nixos
<lejonet> gchristensen: because I was told that examples should just contain the expected format of the value
<tnks> that's logs of the invocations of `nix-env -v -iA nixpkgs.hello`
<tnks> it's also annoying that the terminal goofs like that with the curl invocation.
<gchristensen> lejonet: they should, I'm just ... confused by the value
<gchristensen> but maybe if I were setting up ceph I'd know why it had those values
<i-am-the-slime> is it maybe already there, just hidden?
<lejonet> gchristensen: they could aswell be [ "a" "b" ], but what it means is the name of each of the daemon type to create for those in the daemons option
<sphalerite_> i-am-the-slime: https://github.com/dunst-project/dunst/blob/master/Makefile there doesn't seem to be an install rule for it
robstr has quit [Remote host closed the connection]
<lejonet> gchristensen: or the "id" in ceph speak, whereas the name is $daemonType.$id
<gchristensen> lejonet: ahh what about [ "name1" "name2" ], or indicate in the description that they're supposed to be names / ids
<lejonet> (i.e. osd.0, mgr.first etc etc)
elasticdog has quit [Ping timeout: 268 seconds]
robstr has joined #nixos
<lejonet> gchristensen: a fair point, should probably change both
elasticdog has joined #nixos
<sphalerite_> i-am-the-slime: lookgs to me like adding postBuild = "make $makeFlags dunstify"; postInstall = "install -Dm644 dunstify $out/bin/dunstify"; to the expression should do it
<Izorkin> if installed nix 2.0, nixos-rebuild - error message - warning: unknown setting 'signed-binary-caches' and error: cloning builder process: No space left on device How to fix?
ryanartecona has quit [Quit: ryanartecona]
<clever> Izorkin: nix-collect-garbage --max-freed 1G
<gchristensen> lejonet: this is very cool!
<sphalerite_> tnks: could you run nix-info and show us the output?
<lejonet> gchristensen: :D thank you ^^
<Izorkin> clever: free 261G
fuyuuri has joined #nixos
<i-am-the-slime> sphalerite_: How would I try that? I copy the entire expression and try to install it?
<sphalerite_> i-am-the-slime: do you have a checkout of nixpkgs?
<lejonet> gchristensen: A lot of credit should be given srhb and infinisil :P They put up with my constant pestering and facepalming events when trying to learn nix :P
<sphalerite_> Izorkin: maybe you're out of inodes
<gchristensen> haha, nice. they're both great!
<i-am-the-slime> sphalerite_: No, I don't think so
<i-am-the-slime> I thought I could put it in a local default.nix file to try it out.
thomassgn has left #nixos ["WeeChat 1.7.1"]
<sphalerite_> i-am-the-slime: yeah you can write a file like with import <nixpkgs> {}; dunst.overrideAttrs (o: {postBuild = "make $makeFlags dunstify"; postInstall = "install -Dm644 dunstify $out/bin/dunstify";})
<Izorkin> sphalerite: if you remove nix 2.0 - nixos-rebuild normal work
<sphalerite_> i-am-the-slime: then try nix-build filename.nix and see if result/bin/dunstify works
robstr has quit [Ping timeout: 276 seconds]
<lejonet> gchristensen: thank you for poking at this, it made me catch a bad copypaste fail I'd done with descriptions :D
<sphalerite_> if so, you could submit the change for inclusion to nixpkgs in case someone else finds it useful :)
<i-am-the-slime> sphalerite_: Do I need to uninstall the other dunst first?
<sphalerite_> i-am-the-slime: no, you can just build it and run it from the result path without touching your profile
<i-am-the-slime> ah yeah, that's cool
<sphalerite_> i-am-the-slime: if it works you can install it using nix-env -f filename.nix -i
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc created staginng from master (+0 new commits): https://git.io/vAK0n
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc deleted staginng at a06b81b: https://git.io/vAK0W
NixOS_GitHub has left #nixos [#nixos]
<sphalerite_> Izorkin: it sounds like you're mixing versions between the daemon and the client. Setting nix.package and making sure nix isn't installed in any user profiles should fix it hopefully
<sphalerite_> gchristensen: nice one :D
<gchristensen> sphalerite_: indeed... github: because a teeny tiny typo should definitely create branches :)
elasticdog has quit [Ping timeout: 276 seconds]
elasticdog has joined #nixos
<sphalerite_> tnks: same as Izorkin, it looks like you might be running an old nix-daemon with a new nix-env or vice versa
<infinisil> mfiano: The collisions happen when you have multiple packages in environment.systemPackages that have the same files
<sphalerite_> I'm not sure if it's normal for this to break, but it should be fixable by using the same version for each
<infinisil> mfiano: the output should tell you which ones
<mfiano> infinisil: but I don't have any font related packages in that list
<mfiano> they are in fonts.fonts
<infinisil> Ah yeah, that's similar to environment.systemPackages
yegortimoshenko has joined #nixos
<infinisil> (there's a bunch more options like this, but the most common one is environment.systemPackages)
<mfiano> and the ones in that list are pretty unrelated to fontconfig symlinks
<mfiano> .conf files
<lejonet> mfiano: "We heard you like fonts, so we put fonts in fonts.fonts, so you can fonts while you fonts.fonts" ;)
<infinisil> mfiano: what's the output say?
<yegortimoshenko> hi, is there some option to run some command after ~/.nix-profile change? (e.g. new installed package)
<lejonet> Yes, I should be shot for that pun, but whatcha gonna do?! ;)
<sphalerite_> mfiano: btw sorry I couldn't help you get your X stuff running again, did you get that figured out in the end?
<sphalerite_> yegortimoshenko: make a wrapper for nix-env? :p
<yegortimoshenko> s/new/newly/
<sphalerite_> yegortimoshenko: I don't think there is a way out of the box
<mfiano> infinisil: I don't have access to it at the moment, but basically every fontconfig-penultimate *.conf file is conflicting with every fontconfig-ultimate *.conf file
<yegortimoshenko> sphalerite_: i see :-(
<mfiano> sphalerite_: I forgot what the issue was. Maybe :)
<infinisil> yegortimoshenko: just write a small wrapper script
<i-am-the-slime> sphalerite_: Something happened. The file exists
<i-am-the-slime> but it says that I'm not allowed to execute the file dunstify
<sphalerite_> mfiano: you said X programs wouldn't start, we thought it was probably an Xauthority issue?
<yegortimoshenko> infinisil, sphalerite_: thanks!
<sphalerite_> i-am-the-slime: oh yes, change 0644 to 0755, my bad :)
<infinisil> mfiano: and what's your configuration.nix? whatcha got in fonts.fonts?
Thra11 has joined #nixos
<mfiano> sphalerite_: Oh right. Yes it was. Apparently nix checks for an explicit path rather than paying attention to Xauthority's env var for specifying its path
<sphalerite_> huh, but nix shouldn't really have anything to do with xauthority..?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dotlambda pushed 2 new commits to python-unstable: https://git.io/vAKEt
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/python-unstable a367095 Robert Schütz: pythonPackages.hyperlink: modernize expression
<NixOS_GitHub> nixpkgs/python-unstable d2124e3 Robert Schütz: pythonPackages.hyperlink: add idna dependency
<mfiano> sphalerite_: the display manager default.nix is checking explicitly for ~/.Xauthority
<i-am-the-slime> sphalerite_: It just works.
<lejonet> gchristensen: https://github.com/NixOS/nixpkgs/pull/35299/commits/9382e320af1136008359eacb491957af368f7ffe better? Hopefully even someone without much ceph experience can understand those descriptions and examples
<i-am-the-slime> Magic
<mfiano> sphalerite_: Whereas my shell is setting export XAUTHORITY="$XDG_CACHE_HOME/Xauthority"
<sphalerite_> i-am-the-slime: :)
<sphalerite_> mfiano: oh, that is silly
<mfiano> So X was sourcing from a location other than what nix was sourcing from
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/release-17.09 2ac349a Herwig Hochleitner: chromium: build mojo_platform_bindings before chrome...
<NixOS_GitHub> [nixpkgs] bendlas pushed 2 new commits to release-17.09: https://git.io/vAKE0
<NixOS_GitHub> nixpkgs/release-17.09 8821d6a Herwig Hochleitner: chromium: 64.0.3282.167 -> 64.0.3282.186...
NixOS_GitHub has left #nixos [#nixos]
<i-am-the-slime> But I guess I should not use that method.
<sphalerite_> i-am-the-slime: you can, although it's probably neater to put it in an overlay, or PR it upstream since others might find it useful too
<i-am-the-slime> I don't know what an overlay is. Maybe it would be nice if it were an option in the package.
[0x4A6F]1 has joined #nixos
<mfiano> sphalerite_: But yeah, I went through a lot of trouble to set a lot of env vars that individual applications look for to clean up my homedir, putting things in their proper XDG paths instead. This however doesn't work when Nix goes around applications' intended behavior
<sphalerite_> I don't think it's something that really needs an option, it can just be enabled in all cases
[0x4A6F] has quit [Ping timeout: 240 seconds]
[0x4A6F]1 is now known as [0x4A6F]
<infinisil> mfiano: Huh, so this font thing is weird, this might be a bug
<mfiano> infinisil: hmm
<infinisil> > config = mkIf (config.fonts.fontconfig.enable && cfg.enable)
<sphalerite_> mfiano: yeah, it shouldn't be doing that. <hairsplit>It's nixos though, not nix itself :)</hairsplit>
<infinisil> But cfg = config.fonts.fontconfig; on the very top of the file
<elvishjerricco> shlevy: Can `hail` be used to deploy the entire `NixOS`? Like, can I make a `configuration.nix` that specifies the entire system I want to deploy including the `hail` service, manually `nixos-rebuild` that onto the system once, then have that `hail` service automatically update it after that (therefore auto-updating the `hail` service as well)?
<sphalerite_> mfiano: which display manager are you using?
jtojnar has joined #nixos
<mfiano> sphalerite_: auto
<shlevy> elvishjerricco: Yep, just have your closure get copied down and have your "activation" script do: nix-env --set --profile /nix/var/nix/profiles/system $the_path && /nix/var/nix/profiles/system/bin/switch-to-configure switch
<infinisil> mfiano: I'd file an issue regarding the font thing
<mfiano> infinisil: I'm not sure what that means as I'm too new around here yet, but I heard bug, and seems a pretty harmless one, so I'll just carry on continuing to learn :)
<sphalerite_> mfiano: where are you setting XAUTHORITY? It may be that the setting is just happening after the point where the xauthority file actually gets created
<infinisil> mfiano: ah yeah that's fine too, it's not a grave thing
<elvishjerricco> shlevy: The `active` script generated from `nixos-rebuild build` wouldn't be the right one all on its own?
<infinisil> (But an issue would be nice)
<sphalerite_> mfiano: because I can't find any explicit references to ~/.Xauthority that would be relevant to this
<clever> elvishjerricco: thats the one you want
<clever> elvishjerricco: that would go into $the_path from shlevy's example
<shlevy> clever: no
<mfiano> sphalerite_: It was getting set in my .bashrc I believe, but I gave up and just moved some stuff that it is looking for elsewhere, removing the vars.
<clever> the main path that nixos-rebuild build outputs, not the file under it
<shlevy> elvishjerricco: that will make the profile live now but not persist across reboots, be available in rollback, etc.
<elvishjerricco> shlevy: Ah. Got it
<shlevy> $the_path would be '(import <nixpkgs/nixos> {}).system'
<shlevy> Except you'd pass in your config there
<shlevy> And hard-code your nixpkgs checkout :D
<clever> elvishjerricco: the nix-env half of the command gives you the option for rollbacks and keeps things from being garbage collected
<shlevy> Right
<clever> elvishjerricco: the bin/switch-to-configuration {switch/test/boot} half does the same as switch/test/boot with nixos-rebuild
<mfiano> sphalerite_: Actually I was wrong. It seems display-managers/default.nix is only hard-coding ~/.Xresources or ~/.Xdefaults
<mfiano> But it's not a big deal. I would rather nix handle everything for me anyway instead of having to maintain a bunch of env vars
<elvishjerricco> shlevy: So `hail` is basically just doing something akin to `nixos-rebuild test` in this case, right?
<sphalerite_> mfiano: right, yeah I think that takes effect too late. I think you could probably get it working possibly using environment.sessionVariables, but I'm not really sure particularly as far as setting it based on another variable is concerned
<mfiano> I am slowly adopting the NixOS way
<sphalerite_> :)
<mfiano> sphalerite_: Right now I only have 1 X bug, and I doubt anyone can help me
<sphalerite_> what's that one?
<mfiano> It is a well-known bug that the file chooser dialog windows in GTK3 applications are huge on some displays, not being able to see the butttttons on the bottom, etc. chromium is the only one affected for me. However if I start chromium from a shell window as: `GDK_SCALE=1 chromium`, then the dialog is of normal size. However, putting that in any of the environment.* variable sections has no effect on chromium.
coot has quit [Ping timeout: 245 seconds]
<sphalerite_> oh yeah I get that one too, with libreoffice I think
<clever> mfiano: oh, one min
jb55 has quit [Read error: Connection reset by peer]
<clever> mfiano: this generates a bash script, that will set LD_PRELOAD to "" to fix an old bug i had
<clever> mfiano: you would then install this bash script, instead of the real chromium, and just change the vars on line 10
<clever> mfiano: and now the var is only set when launching chrome, and nothing else has to care
<mfiano> clever: so i use packageOverrides or something to install that?
<clever> mfiano: yeah, you can use packageOverrides = pkgs: { chromeFix = pkgs.callPackage ./chrome-fix.nix {}; };
<clever> mfiano: then put chromeFix into systemPackages instead
<mfiano> great, I'll try that, thanks
<infinisil> or just a wrapper
<mfiano> It's slightly annoying how some applications are not honoring env vars
<mfiano> Well they are, just only on the shell command line
<mfiano> even though they are in the global `env`
<Izorkin> sphalerite: me changed - nix.package = pkgs.nixUnstable; Rebooted, nixos-rebuild not worked
<shlevy> elvishjerricco: yeah, if you don't do the nix-env bit and just run the activation script directly
<infinisil> clever: btw that's exactly the derivation runCommand could be used for
<clever> infinisil: yeah, this is left-over from a fix i wrote a year ago
<clever> infinisil: and this fix has been upstreamed now
<sphalerite_> Izorkin: what does `which nix-env` say?
<mfiano> Which option would I use to write custom Xresources lines, like Xcursor.size?
<Izorkin> sphalerite: /run/current-system/sw/bin/nix-env
<elvishjerricco> shlevy: Just to get my bearings straight... `nix-env --set` just points the profile at a new thing, which does nothing on its own I guess? Running `activate` will take down old services and spawn new ones. And running `switch-to-configuration` points the boot loader at the new profile?
<Izorkin> l /run/current-system/sw/bin/nix-env - /nix/store/r8zhwq9xylxw8a823kpvqy0kfqq4g52f-nix-2.0pre5968_a6c0b773/bin/nix-env
<catern> is there a way to have a default value for a <envvar> expression?
<shlevy> elvishjerricco: Yes
<elvishjerricco> shlevy: Why is there a difference between setting the profile and switching what the boot loader points at? Why doesn't the boot loader just always point at the newest generation of the profile by default?
<shlevy> elvishjerricco: the nix-env --set gives you your normal rollback and generation discoverability
<mfiano> I don't see anything searching various option names
<shlevy> elvishjerricco: You need to update the non-default bootloader options too
<shlevy> e.g. remove them when you clear an old generation
<shlevy> the bootloader update walks all the generations of the system profile.
<clever> mfiano: i think the only option is to set displayManager.sessionCommands to call xrdb -merge against a file nix has made
<elvishjerricco> shlevy: Got it. Thanks
<infinisil> catern: you mean like <nixpkgs>?
<clever> mfiano: displayManager.sessionCommands = "${xorg.xrdb}/bin/xrdb -merge ${writeText "resources" "Xcursor.size: 20"}";
[0x4A6F]1 has joined #nixos
<mfiano> Hmm ok
<elvishjerricco> shlevy: Last question: Why does `hail` use a profile? It's basically just running an arbitrary script; why does that script need to be pointed to by a profile?
<elvishjerricco> Rollbacks?
<shlevy> elvishjerricco: Rollbacks :)
<sphalerite_> Izorkin: hm weird. I'm not really sure then.
<clever> elvishjerricco: and to keep nix from deleting those rollbacks
<catern> infinisil: yes. I have my own thing on NIX_PATH and I want to provide a default value if it's not on NIX_PATH
<elvishjerricco> Cool. Good thinking :)
<infinisil> catern: tryEval is the only way i think
jensens has joined #nixos
[0x4A6F] has quit [Ping timeout: 248 seconds]
[0x4A6F]1 is now known as [0x4A6F]
<catern> really?! that's gross
<infinisil> catern: It's used sometimes througout nixpkgs
<clever> catern: oh, i think i have something like what you want
<clever> catern: each project has its own fetch-nixpkgs.nix, with the rev&hash, but they also have unique things like <cardano_pkgs>
<clever> catern: so if you set the right -I flag, you can override a nixpkgs 2 layers deep
<clever> without impacting other related projects in the same eval
rgc has quit [Quit: Lost terminal]
<infinisil> catern: ah and actually it's only used once in nixpkgs
<catern> hmm, my use case was just that I have my own overlay for nixpkgs, and I wanted to provide a default pinned value if someone doesn't have that overlay already on NIX_PATH
<mfiano> clever: undefined variable ‘xorg’
<Izorkin> sphalerite: full error - https://pastebin.com/ESAWCRc0
<clever> mfiano: pkgs.xorg
<catern> clever: that should work pretty well though
<catern> thanks
fuyuuri has quit [Ping timeout: 252 seconds]
yegortimoshenko has quit [Remote host closed the connection]
<mfiano> clever: It had no effect on cursor size, unlike my ~/.Xresources file
aborsu has quit [Remote host closed the connection]
aborsu has joined #nixos
jensens has quit [Ping timeout: 268 seconds]
<sphalerite_> Izorkin: oh right sorry I confused the issues… what does `df -i` say?
<clever> mfiano: double-check the generated xsession file in nix-store -qR /run/current-system | grep xsession
<clever> mfiano: and confirm whatits doing and the file it refers to
<mfiano> clever: My attempt is writing a literal ${writeText} into the file
<clever> mfiano: can you gist your configuration.nix?
chreekat has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] calvertvl opened pull request #35683: mp3blaster: Build with support for ogg vorbis (master...fix_mp3blaster_ogg) https://git.io/vAK29
NixOS_GitHub has left #nixos [#nixos]
<Izorkin> sphalerite: https://pastebin.com/V8CcPTxM
<clever> Izorkin: looks completely normal
<sphalerite_> Izorkin: oh, you're using zfs? it really shouldn't be a problem
<clever> mfiano: why does that say ''${ ?
vidbina has quit [Ping timeout: 260 seconds]
<Izorkin> spacefrogg: yes, zfs
<clever> mfiano: my example didnt have the ''
<mfiano> Because otherwise it complains
<clever> mfiano: complains about what?
<clever> mfiano: you disabled the key part that makes it work
<sphalerite_> mfiano: pkgs.writeText rather than writeText maybe
kelleyNif has quit [Quit: Leaving.]
<mfiano> clever: error: undefined variable ‘writeText’
<clever> mfiano: what sphalerite_ said
<mfiano> ok
<sphalerite_> mfiano: although in this case you don't even need to write it to a file, you could just put ${pkgs.xorg.xrdb}/bin/xrdb -merge <<< "Xcursor.size: 48"
<sphalerite_> Izorkin: in that case I really don't get why it's saying no space left on device
<sphalerite_> it's especially strange that it says that for "cloning builder process"
markus1189_ has quit [Ping timeout: 276 seconds]
<clever> Izorkin: can you run strace -ff -o logfiles -s 300 nixos-rebuild build && nix-env -iA nixos.gist && gist -p logfiles.* ?
<clever> Izorkin: and beware that the logs will contain every string in your configuration.nix, which might have passwords?
<mfiano> sphalerite_: Your way worked, other way didn't. Thanks
<clever> Izorkin: oh right, the && doesnt work right in this case, oops
<clever> Izorkin: now run nix-env -iA nixos.gist && gist -p logfiles.*
fragamus has joined #nixos
taktoa has joined #nixos
<Izorkin> clever: not work install package - https://pastebin.com/reQFYwVs
<sphalerite_> Izorkin: nix-shell -p gist --run 'gist logfiles.*'
<clever> Izorkin: you can also just manually upload all of the logfiles.* files to gist iwth a normal browser
<mfiano> clever: curious, do you make your nix config with import strategy public?
knupfer has joined #nixos
<clever> mfiano: i did recently publish my router config: https://github.com/cleverca22/nixos-configs/blob/master/router.nix#L14-L21
kelleyNif has joined #nixos
<infinisil> I'm personally not a fan of the "import strategy" anymore
<mfiano> clever: any configuration.nix?
<clever> mfiano: that router.nix is the configuration.nix
<mfiano> oh
<clever> but you could also just symlink it into /etc/nixos/configuration.nix to get the same effect
<mfiano> Thanks. I guess I should read about nixops
<clever> Izorkin: reading the logs...
<mfiano> My goal is to have nixos deployed to all ~10 of my machines eventually
<clever> mfiano: nixops helps with that kind of thing
<clever> mfiano: as an example, take router_deployment.nix, if i just copy&paste lines 7-14, give each a unique name (line 7) and unique ip (line 12), and run `nixops deploy`, it will upgrade all 10 machines to have the exact same config
<clever> Izorkin: with this, i can see that 3 processes are involved in the error: grep -r --color 'unable to start build process'
<clever> Izorkin: pid 10250 looks like the key
<TonyTheLion> how hard do you think it is to build nix for an arm platform?
<fragamus> I think that's some simple mistake I'm making ^^^^
<TonyTheLion> not nixos, just nix
<lejonet> TonyTheLion: iirc there is an arm image for nixos, so nix should be ported you'd think
<clever> Izorkin: ok, strange, all 3 hits are reading it from elsewhere, there is no "cause", digging more...
<elvishjerricco> Could anyone help me understand some of the hydra config on nixos-org-configurations?
<TonyTheLion> lejonet: but when i try to install nix on my arm cortexA15 machine, it says there's no binary
<clever> elvishjerricco: line 37 configures uploading everything to S3, rather then keeping it in /nix/store
<clever> elvishjerricco: 38, not sure exactly
<clever> elvishjerricco: 39 makes it download things from https://cache.nixos.org when it needs them
hamishmack has quit [Quit: hamishmack]
<elvishjerricco> clever: So line 39 allows it to get binaries from a cache without having `use-substituters` on?
<lejonet> TonyTheLion: I haven't fiddled, yet, with the combo of nix+arm so I dunno then
<clever> elvishjerricco: i think so
<mfiano> clever: nice
<lejonet> All I know is that there is an arm image, thus there should exist a nix for arm, somewhere
<elvishjerricco> clever: Odd. What do each of those parameters on line 37 do?
<mfiano> my machines are basically the same except xorg driver, IP, and purpose (packages)
<mfiano> so should be pretty simple then
<clever> Izorkin: ps aux | grep nix-daemon
<clever> elvishjerricco: it configures hydra to use the s3:// driver for the nix store, nix-cache is the bucket name, and the rest is config for the s3 driver
<clever> Izorkin: ls -l /proc/10203/exe
<Izorkin> clever: lrwxrwxrwx 1 root root 0 фев 26 23:44 /proc/10203/exe -> /nix/store/r8zhwq9xylxw8a823kpvqy0kfqq4g52f-nix-2.0pre5968_a6c0b773/bin/nix-daemon
<mfiano> clever: what is the purpose of networking.hostId? The docstring isn't very useful to me
<elvishjerricco> clever: Got it. Thanks
<clever> Izorkin: systemctl stop nix-daemon.socket ; systemctl stop nix-daemon.service, then try nixos-rebuild build
<clever> mfiano: some services expect a per-host unique id, zfs is one of them
<clever> mfiano: but if nothing demands you use it, you can just not set the option
<mfiano> Ah ok. I don't think I do
Slabity has quit [Remote host closed the connection]
sanscoeu_ has joined #nixos
<Izorkin> clever: nixos-rebuild boot --upgrade - normal work
<sanscoeu_> On OSX, is it possible to do a single-user install?
<clever> Izorkin: then the problem is somewhere inside nix-daemon
<gchristensen> sanscoeu_: what for?
<sanscoeu_> I don't want nix running sudo and I don't want it install in /.
<clever> Izorkin: rm logfiles.* to clean up the old logs, `strace -ff -o logfiles -s 3000 nix-daemon` to launch it with debug, then `nixos-rebuild build` to fail it again, and ctrl+c the strace&upload
sanscoeu_ is now known as sanscoeur
<clever> sanscoeu_: even with a single-user install, it has to be at /nix
<sphalerite_> sanscoeur: that's not currently possible on osx to my knowledge
<sanscoeur> I don't see why it _has_ to be at /nix, other than arbitrary reasons. okay. thanks.
<clever> sanscoeur: a large chunk of the scripts have /nix/store hard-coded into them
<clever> sanscoeur: and its baked into the binaries, so you have to recompile everything
<infinisil> asp_: where would you put it instead?
<infinisil> sanscoeur: ^^
<infinisil> ah yeah never mind
Itkovian has joined #nixos
<sphalerite_> sanscoeur: I think in principle you could use chroot on but I don't know of something like user namespaces on osx which would allow that without root access, which breaks your sudo requirement
<LnL> sanscoeur: you can use a single user install, but if you don't use /nix you'd have to build everything yourself, you don't want that
fuyuuri has joined #nixos
<sphalerite_> Does nix build have a way to do a build repetition to check, like nix-{build,store -r} --check?
<infinisil> LnL: Do you happen to know how long it takes to get like the minimal nixos config compiled yourself?
<clever> sanscoeur: there is a --option build-repeat i think
<clever> sphalerite_: which can also go into nix.conf
ryanartecona has joined #nixos
<clever> sphalerite_: then nix just rebuilds every derivation several times
Thra11 has quit [Ping timeout: 256 seconds]
<sphalerite_> clever: yeah that doesn't seem to work. The option is just called repeat now, but I've tried doing nix-store -r --repeat 5 <drvpath> and it only builds it once
Thra11 has joined #nixos
<clever> sphalerite_: what about with --option repeat 5?
<LnL> infinisil: the stdenv and a kernel is a pretty big builds so that depends a lot on the hardware
<sphalerite_> pretty sure that's just a longer version of the same thing that won't complain if the option doesn't exist, but I'll try it
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] aristidb pushed 1 new commit to master: https://git.io/vAK6E
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master b8f4df9 Aristid Breitkreuz: attempt to fix #30940 more robustly
tommyangelo_m has joined #nixos
<tommyangelo_m> anyone know why the livecd (on a usb stick) hangs on a Lenovo W530? I have it on debug mode and the last messages are about ACPI.
<Izorkin> clever: found error - if - extraUsers.test1.uid = 1000; - error: unable to start build proces
vidbina has joined #nixos
<clever> Izorkin: that makes little sense, weird
<tommyangelo_m> ctrl alt del and sysrq both have no effect
<sphalerite_> https://github.com/NixOS/nix/issues/1911 submitted an issue for it
<jtojnar> why would I get “error: stack overflow (possible infinite recursion)” if I try to build system from local clone of the repo but it works when downloaded from GitHub?
<jtojnar> nix-build -I flatpak=https://github.com/jtojnar/nixpkgs/archive/(git rev-parse HEAD).tar.gz -E 'with import <flatpak/nixos/release.nix> { }; tests.xdg-desktop-portal.x86_64-linux' -v
<jtojnar> vs nix-build -I flatpak=https://github.com/jtojnar/nixpkgs/archive/(git rev-parse HEAD).tar.gz -E 'with import <flatpak/nixos/release.nix> { }; tests.xdg-desktop-portal.x86_64-linux' -v
<jtojnar> nix-build -I flatpak=(pwd) -E 'with import <flatpak/nixos/release.nix> { }; tests.xdg-desktop-portal.x86_64-linux' -v
<clever> jtojnar: and `git diff` and `git diff --staged` both return no changes?
simukis has quit [Read error: Connection reset by peer]
simukis has joined #nixos
<jtojnar> clever: yes
kelleyNif has quit [Quit: Leaving.]
<Izorkin> clever: if commented all extraUsers.test1 - worked, if uncomment - extraUsers.test1 = { }; - error: unable to start build process
<clever> Izorkin: strange
vidbina has quit [Ping timeout: 240 seconds]
<makefu> for anyone who is interested, i've asked github-trending-repos for integrating Nix Lang: daily -> https://github.com/vitalets/github-trending-repos/issues/96 , weekly -> https://github.com/vitalets/github-trending-repos/issues/97
<clever> jtojnar: thats strange
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] volth opened pull request #35684: gnulib: 0.1-357-gffe6467 -> 20180226 (staging...patch-111) https://git.io/vAKix
NixOS_GitHub has left #nixos [#nixos]
hamishmack has joined #nixos
simukis has quit [Ping timeout: 245 seconds]
<sphalerite_> [4/338/666 built] :o
<jtojnar> clever: I have rebased the branch onto newer unstable and now it evaluates
<gchristensen> sphalerite_: yeah, April 338, 666... it was a good day.
<jtojnar> but it is very weird
<jtojnar> not first time it happened either
<sphalerite_> gchristensen: eww middle-endian dates :p
ebzzry_ has quit [Ping timeout: 240 seconds]
<clever> bbl
<Izorkin> clever: me usung - mutableUsers = false;
<gchristensen> well obviously you wouldn't have 666 days or 338 months... that'd be ridiculous
<Izorkin> clever: if commented - mutableUsers = false; - error: unable to start build process
i-am-the-slime has quit [Quit: Konversation terminated!]
shabius has quit [Remote host closed the connection]
shabius has joined #nixos
<Havvy> \o/ nix-env -iA nixpkgs.mdbook is working on latest unstable.
shabius has quit [Max SendQ exceeded]
shabius has joined #nixos
taktoa has quit [Remote host closed the connection]
vaninwagen has quit [Ping timeout: 252 seconds]
<sphalerite_> gchristensen: :D
shabius has quit [Max SendQ exceeded]
<Izorkin> clever: need create issue?
shabius has joined #nixos
[0x4A6F] has quit [Ping timeout: 245 seconds]
hiratara has quit [Ping timeout: 245 seconds]
<sphalerite_> AFAIU nix build foo.a.b should be equivalent to nix build -f '<foo>' a.b now?
hiratara has joined #nixos
xeji has quit [Quit: WeeChat 2.0]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #35671: python36Packages.aiohttp: 3.0.1 -> 3.0.3 (master...aiohttp) https://git.io/vAo0T
NixOS_GitHub has left #nixos [#nixos]
<ottidmes> JazzyEagle: If you are still online, my Haskell overlay might help you with your snap problem: https://pastebin.com/PFvWLpwu
michiel_l has quit [Read error: Connection reset by peer]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vAKM4
<NixOS_GitHub> nixpkgs/master f5ce8f8 Vladimír Čunát: Revert "Merge staging at '8d490ca9934d0' into master"...
NixOS_GitHub has left #nixos [#nixos]
aborsu has quit [Quit: aborsu]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/staging 6168c2e Vladimír Čunát: Merge master into staging...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] vcunat pushed 2 new commits to staging: https://git.io/vAKME
<NixOS_GitHub> nixpkgs/staging e2243a5 Vladimír Čunát: Revert "Revert "Merge staging at '8d490ca9934d0' into master""...
dan_b has joined #nixos
aborsu has joined #nixos
robstr has joined #nixos
dnovosel has quit [Remote host closed the connection]
jtojnar has quit [Ping timeout: 245 seconds]
<JazzyEagle> ottidmes: I am online still, thanks. I'll take a look at it.
robstr has quit [Ping timeout: 252 seconds]
jtojnar has joined #nixos
<tnks> sphalerite_: I'm back, and I caught your message. I don't think I'm on an old version of nix-daemon. It's definitely the same one coming in with the latest nixUnstable.
<tnks> it's just a very weird hang with curl.
<JazzyEagle> Ok, I was hoping I'd understand the overlay, but I don't. Not sure what to do with this.
<sphalerite_> tnks: this mangled output doesn't usually occur unless there's a version mismatch
<sphalerite_> tnks: `readlink -f $(which nix)` and `pgrep -a nix-daemon` report the same path?
szicari has quit [Quit: szicari]
jb55 has joined #nixos
tertle||eltret has joined #nixos
<ottidmes> JazzyEagle: I do not know if you are familiar with overlays? And to be clear, you can just add snap to libPkgs and it will be made available for you to import in your Haskell project, or if snap has executables (I am not familiar with snap), then you can add it to exePkgs as well, so it will be made available in your path if you add ghc802-env (in my overlay example) to environment.systemPackages or via
<ottidmes> nix-env
* JazzyEagle thinks he needs to go back and re-read the nixos manuals... Didn't understand any of that.
<chreekat> For some reason, the curl output from nix-build is horribly garbled today. Lots of lines are being "formatted" to be 1-character long. What happened? :/
<mfiano> clever: how does `with keys` resolve those hostnames in your core.nix?
roberth has quit [Ping timeout: 240 seconds]
aborsu has quit [Quit: aborsu]
aborsu has joined #nixos
kelleyNif has joined #nixos
jtojnar has quit [Ping timeout: 240 seconds]
jtojnar_ has joined #nixos
jtojnar_ is now known as jtojnar
Thra11 has quit [Ping timeout: 240 seconds]
kelleyNif has quit [Client Quit]
<ottidmes> JazzyEagle: Don't you understand my overlay or don't you understand my explanation, or both? Either way, reading the Nix, Nixpkgs, and NixOS manuals will help, the wiki and Nix pills will also help
jb55 has quit [Ping timeout: 256 seconds]
<ottidmes> JazzyEagle: If you just want GHC + Snap for now, you could also probably (untested) add this: environment.systemPackages = [ (pkgs.haskellPackages.ghcWithPackages (hsPkgs: with hsPkgs; [ snap ])) ];
Thra11 has joined #nixos
<ottidmes> mfiano: I could also explain that. With expressions are explained in the Nix manual here: https://nixos.org/nix/manual/#idm140737317930528 the keys value is defined in the let here: https://github.com/cleverca22/nixos-configs/blob/112b57620f1d42a3efa57ece250e35a40aaeb72e/core.nix#L5 which imports the keys files that defines an attrset of keys: https://github.com/cleverca22/nixos-configs/blob/master/keys.nix
<mfiano> that is excellent. thanks for the explanation
chocopuff298 has quit [Quit: WeeChat 2.0.1]
<sphalerite_> I'm getting some weirdness fetching the sources for strace. nix-build channel:nixos-unstable-small -A strace.src --substituters '' works fine, *unless* I use --store /tmp in which case the output hash is different. Could anyone else try and confirm this?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #35479: ceph: Modify ceph package so that it compiles and runs fine on nixos (master...ceph-patch-python-env) https://git.io/vAwTG
NixOS_GitHub has left #nixos [#nixos]
<sphalerite_> I'm not sure where the version referred to in the expression comes from, since all the strace-4.21.tar.xz I've been able to find online so far have the hash '0dsw6xcfrmygidp1dj2ch8cl8icrar7789snkb2r8gh78kdqhxjw'
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #35658: avro-c: init at 1.8.2 (master...avro-c) https://git.io/vArb6
NixOS_GitHub has left #nixos [#nixos]
pxc has joined #nixos
jtojnar has quit [Ping timeout: 248 seconds]
<sphalerite_> ok so it looks like the maintainers might have just changed the release after the fact… -_-
jtojnar_ has joined #nixos
dan_b has quit [Ping timeout: 240 seconds]
mkoenig has joined #nixos
jtojnar_ is now known as jtojnar
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dotlambda pushed 1 new commit to python-unstable: https://git.io/vAKHZ
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/python-unstable f760fcb Robert Schütz: pythonPackages.cached-property: fix tests...
asuryawanshi has quit [Ping timeout: 248 seconds]
<elvishjerricco> shlevy: Here's a crazy idea. Have Hydra build an `activate` script that runs `nixops` to do a deployment, and have Hail run it. Continuous deployment with Hydra and NixOps with relative ease.
michalrus has joined #nixos
cement has quit [Ping timeout: 240 seconds]
chreekat has quit [Quit: quitting]
<tnks> sphalerite_: need to go to the gym, but I'll try again later. thanks for the pointers.
michalrus has left #nixos ["WeeChat 1.9.1"]
lexcurious has quit [Ping timeout: 260 seconds]
orivej has quit [Ping timeout: 240 seconds]
jtojnar has quit [Ping timeout: 240 seconds]
mizu_no__ has joined #nixos
rardiol1 has quit [Remote host closed the connection]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] edef1c opened pull request #35685: ipxe: fix ISO build (master...ipxe-iso) https://git.io/vAKQP
NixOS_GitHub has left #nixos [#nixos]
pikajude has quit [Quit: ZNC 1.6.5 - http://znc.in]
gillmanash has joined #nixos
pikajude has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #35610: delve: 0.12.2 -> 1.0.0 (master...auto-update/delve-0.12.2-to-1.0.0) https://git.io/vArip
NixOS_GitHub has left #nixos [#nixos]
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] lheckemann opened pull request #35686: strace: fix source tarball (master...strace-source-fix) https://git.io/vAK7L
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dotlambda pushed 2 new commits to python-unstable: https://git.io/vAK7C
<NixOS_GitHub> nixpkgs/python-unstable 2830024 Robert Schütz: pythonPackages.mozterm: init at 0.1.0
<NixOS_GitHub> nixpkgs/python-unstable e459171 Robert Schütz: pythonPackages.mozlog: correct dependencies
NixOS_GitHub has left #nixos [#nixos]
lord| has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 pushed 2 new commits to staging: https://git.io/vAK75
<NixOS_GitHub> nixpkgs/staging b4cf3f7 Daiderd Jordan: Merge pull request #35349 from matthewbauer/qt5-darwin-pkgconfig...
<NixOS_GitHub> nixpkgs/staging a98a767 Matthew Bauer: qt5: install pkg_config files on darwin...
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 pushed 7 new commits to staging: https://git.io/vAK7d
<NixOS_GitHub> nixpkgs/staging f107421 Jan Malakhovski: cc-wrapper: allow building without documentation, propagate info pages
<NixOS_GitHub> nixpkgs/staging 0ab1067 Jan Malakhovski: bintools-wrapper: allow building without documentation
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/staging 5224373 Jan Malakhovski: stdenv: linux, darwin: don't build documentation for the the intermediate stages...
<mfiano> It saddens me that the application I use more than any other is not available in nixpkgs, forcing me to learn nix expressions and packaging early on before using my newly setup nixos system.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 3 new commits to master: https://git.io/vAK7A
<NixOS_GitHub> nixpkgs/master f76f4ec mingchuan: glm: fix gcc 7.3 support...
<NixOS_GitHub> nixpkgs/master fd6930f Vladimír Čunát: Revert "glm: "build" with gcc6 again"...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 8be317a Vladimír Čunát: Merge #35420: glm: fix gcc 7 support
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 1b2024f Johannes Frankenau: neomutt: fix smime_keys openssl path, closes #35654
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vAK5J
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master d8ef48e Jörg Thalheim: Merge pull request #35656 from jfrankenau/fix-neomutt...
aborsu has quit [Quit: aborsu]
<sphalerite_> mfiano: what is that application?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bendlas pushed 1 new commit to master: https://git.io/vAK5U
<NixOS_GitHub> nixpkgs/master c2339ed Herwig Hochleitner: chromium: replace ninja workaround with upstream patch...
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bendlas pushed 1 new commit to release-17.09: https://git.io/vAK5s
<NixOS_GitHub> nixpkgs/release-17.09 93bfd89 Herwig Hochleitner: chromium: replace ninja workaround with upstream patch...
NixOS_GitHub has left #nixos [#nixos]
Itkovian has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat closed pull request #35420: glm: fix gcc 7.3 support (master...fix/slop) https://git.io/vAabQ
NixOS_GitHub has left #nixos [#nixos]
smichel17 has quit [Ping timeout: 245 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] dezgeg opened pull request #1912: libexpr: Fix prim_replaceStrings() to work on an empty source string, take 2 (master...replacestrings-take-2) https://git.io/vAK5P
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vAK51
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master a9d7f03 Jörg Thalheim: pipework: 2015-07-30 -> 2017-08-22
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #35622: dhcpcd: 6.11.5 -> 7.0.1 (master...auto-update/dhcpcd-6.11.5-to-7.0.1) https://git.io/vArPS
NixOS_GitHub has left #nixos [#nixos]
Itkovian has quit [Client Quit]
alex`` has quit [Ping timeout: 256 seconds]
knupfer has quit [Ping timeout: 240 seconds]
kelleyNif has joined #nixos
Thra11 has quit [Quit: IRC for Sailfish 0.9]
humid has joined #nixos
<humid> Hello. I love nixos ! I have a question : why isn't the stack (haskell tool) version up to date ?
dhess has quit [Quit: ZNC - http://znc.in]
Itkovian has joined #nixos
<shlevy> elvishjerricco: :D nice
<shlevy> Would love to see it
nh2 has quit [Ping timeout: 240 seconds]
<sphalerite_> humid: are you on 17.09?
<humid> yes !
<sphalerite_> humid: if so, that's why. Stable doesn't get arbitrary version updates, if you want the latest everything you should use nixos-unstable
<sphalerite_> !which channel
kelleyNif has quit [Quit: Leaving.]
<humid> wooooh ! I didn't know about that; thanks a lot !
jtojnar has joined #nixos
elasticdog has quit [Ping timeout: 248 seconds]
tommyangelo_m has quit [Ping timeout: 256 seconds]
kelleyNif has joined #nixos
mizu_no__ has quit [Quit: Computer has gone to sleep.]
kelleyNif has quit [Client Quit]
coot has joined #nixos
<{^_^}> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/8821d6ab3bc (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
elasticdog has joined #nixos
kelleyNif has joined #nixos
<mfiano> sphalerite_: roswell
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 3851ab4 Ryan Mulligan: etcd: 3.1.6 -> 3.3.1...
<NixOS_GitHub> nixpkgs/master d86999e Jörg Thalheim: Merge pull request #35635 from ryantm/auto-update/etcd-3.1.6-to-3.3.1...
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vAKba
NixOS_GitHub has left #nixos [#nixos]
<sphalerite_> "Roswell is a Lisp implementation installer/manager, launcher, and much more!"?
<mfiano> Yes
<mfiano> It manages different Common Lisp impleemntations/interpreters, Common Lisp packages, provides a scripting framework, and more
<sphalerite_> not sure what the scripting framework bit means, but the first two parts are things that should be covered by nix.
<sphalerite_> Not sure how much CL support we have in nixpkgs though, I've never touched it
<sphalerite_> I think there are a few people here who might know about that though
<sphalerite_> I think MichaelRaskin does lisp stuff but he doesn't seem to be here right now
<mfiano> It's also used for CI testing, etc
<mfiano> Oh it just has conveniences for working with Common Lisp as shell scripts rather than the inherent long lasting process often associated with Common Lisp
<mfiano> It's basically a very convenient tool that a lot of my work depends on
<sphalerite_> right
<ottidmes> I just tried to update a machine with nixUnstable from channel/nixos-unstable but it crashed a few seconds in, I just tried it again with nix 1.11 and it worked fine
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] volth opened pull request #35687: libvirt: 3.10.0 -> 4.1.0-rc1 [staging] (staging...libvirt-4.1.0) https://git.io/vAKNe
NixOS_GitHub has left #nixos [#nixos]
kelleyNif has quit [Quit: Leaving.]
<mfiano> I'll have to figure out how to make a nixpkg and submit a PR sometime. I can't really live without that
<mfiano> I use it 12+ hours a day when I'm not configuring an OS :)
<sphalerite_> good luck! If you run into any issues wiht it feel free to ask over here, we try to be helpful as you've hopefully noticed :D
<sphalerite_> Also the nix pills are a good in-depth introduction to the nix language and nixpkgs
<mfiano> Yeah this community is great, thanks
<mfiano> Well to be honest, I didn't even really read the os or pkg manuals yet. I was curious which to start on, os, pkgs, or pills :)
kelleyNif has joined #nixos
<sphalerite_> I'd say pills
* mfiano wonders if that can be generated into an epub too
<mfiano> i uploaded the other 2 to my kindle
<ottidmes> mfiano: NixOS is even mentioned on their from source page: https://github.com/roswell/roswell/wiki/Installation#building-from-source