gchristensen changed the topic of #nixos to: NixCon 2018 CfP is now open! https://nixcon2018.org/ || 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://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon
<{^_^}> [nixpkgs] @urkud opened pull request #43158 → qsyncthingtray: fix compile with Qt 5.11 → https://git.io/fNvK3
<bpye> This is sort of a structure question. If I have a bunch of info such as email logins or ssh public keys that I need to use multiple times in my configuration.nix and I have split this config across multiple files, what is my best way to be able to reference these values? I would obviously like if my SMTP server was only specified in one location, f
<bpye> or example
<clever> bpye: you can just make your own nix file containing a set { smtp_server = "foo"; } and then import it
<{^_^}> [nixpkgs] @Ralith opened pull request #43159 → renderdoc: 0.91 -> 1.0 → https://git.io/fNvKR
<bpye> Doh, and I guess that'll act equivalently to the let xyz = abc; in {} structure?
<clever> pretty much
<clever> import ./foo.nix will be identical to just pasting the contents of foo.nix in at that location
<bpye> I guess I'll work it out
<{^_^}> [nixpkgs] @jtojnar opened pull request #43160 → pulseaudio: 11.1 → 12.0 → https://git.io/fNvK2
<worldofpeace> jtojnar: Anyone ideas on these errors --> https://gist.github.com/worldofpeace/c1932b9ef3c42d9068532c303ebb2b37
<Ralith> if /run/{booted,current}-system point to the same location, why does my /boot/kernels have three different kernels in it
<Ralith> and a couple of weird .tmp files
<clever> Ralith: from rebuilds prior to the last boot
<{^_^}> [nixpkgs] @volth opened pull request #43161 → config.skipAliases: also disable vim, git, xfce and gnome3 aliases → https://git.io/fNvKw
<Ralith> so a gc should nuke em?
<clever> Ralith: and /boot is only updated upon nixos-rebuild, even after a GC
<Ralith> well, nixos-rebuild can't update it because it's full
<clever> you have to GC some system generations, then nixos-rebuild
<clever> you can also manually delete some kernels
<Ralith> again
<clever> grub or systemd-boot?
<Ralith> grub
jgt has quit [Ping timeout: 256 seconds]
<clever> Ralith: by default, it will setup 100 generations in the grub menu, along with any kernels those 100 refer to
<Ralith> already set to 1
<Ralith> there are still three kernels in /boot/kernels, and nixos-rebuild still fails to do anything about it
<clever> you need to manually deleted 1 or 2 kernels before it can switch and delete old ones
<Ralith> that seems fraught
<jtojnar> worldofpeace: try NIX_LDFLAGS = "-L${icu}/lib";
<clever> if you delete the wrong one, it will just replace it when you nixos-rebuild
<Ralith> the really big things are the initrds and I have absolutely no idea which one is which
<Ralith> since they're just hash named
<clever> read the grub config file
<Ralith> timestamps I guess
tenten8401 has quit [Quit: Konversation terminated!]
<clever> it shows generation numbers, date/time stamps, and paths to the files it uses
logzet_ has quit [Ping timeout: 240 seconds]
tenten8401 has joined #nixos
<Ralith> right, thanks
logzet has joined #nixos
<Ralith> I wish it would do a gc pass for unreferenced stuff before copying new things in
<worldofpeace> jtojnar: building
<clever> Ralith: you need to copy in the current kernels before you can safely delete old ones
tenten8401 has quit [Client Quit]
<worldofpeace> jtojnar: that seems to have done it
<clever> Ralith: if you delete old kernels, plan to copy in new ones, but crash, it wont be able to boot
tenten8401 has joined #nixos
<Ralith> clever: you need to copy in the *new* kernel before you can safely delete the *current* one, but you can safely delete older ones first.
<Ralith> hence "unreferenced"
<clever> that order complicates the logic a lot more
<jtojnar> worldofpeace: we ought to report it upstream
<worldofpeace> jtojnar: ^
ajs124 has left #nixos ["Machine going to sleep"]
<bpye> It would be nice if NixOS had better support for running things in namespaces, I know there is the containers support but the NAT support seemed to blow up when combined with Wireguard :(
<clever> Ralith: i also use this on most of my machines: https://github.com/cleverca22/nixos-configs/blob/master/rescue_boot.nix
<clever> Ralith: it puts the entire nixos installer into /boot, at the cost of about 400mb
<clever> Ralith: so i always make my /boot pretty large, and i can also recover from almost any failure
<Ralith> I certainly don't have room for *that* :P
<Ralith> fun idea for the next system
<Ralith> yeah, I got a new hard drive to solve this problem but my laptop won't detect it :(
<Ralith> gotta harangue lenovo/samsung
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43162 → scantailor-advanced: 1.0.14 -> 1.0.15 → https://git.io/fNvKQ
AluisioASG has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Infinisil merged pull request #43143 → alacritty: install shell completions → https://git.io/fNv8Y
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fNv6f
<worldofpeace> jtojnar: Should I pr `libunity` seperately or just keep it in my `feature` branch?
<jtojnar> worldofpeace: I would just keep it in single PR, it will be easier to test
<worldofpeace> jtojnar: so just pr it now
NinjaTrappeur has quit [Ping timeout: 256 seconds]
<worldofpeace> jtojnar: oh you meant not to.
<jtojnar> worldofpeace: yep, just one pull request will be enough
NinjaTrappeur has joined #nixos
<worldofpeace> jtojnar: here is libunity if you want to lend any feedback or anyone https://github.com/worldofpeace/nixpkgs/commit/b1a78ce4b7c1bba430a2c98441578edaa0ecc584
wgas has quit [Quit: Leaving]
<samueldr> worldofpeace: couldn't you use autoreconfHook?
thc202 has quit [Ping timeout: 268 seconds]
<worldofpeace> samueldr: maybe, I tried with a similar lib but It didn't work. Looking :)
logzet has quit [Ping timeout: 260 seconds]
jperras has quit [Ping timeout: 256 seconds]
markus1199 has joined #nixos
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
<samueldr> I'm one megabyte short to be able to flash this in the boot.img partition :(
<infinisil> jtojnar: What are pkg-config's Requires?
<infinisil> worldofpeace: Propagated dependencies aren't for runtime dependencies
<infinisil> jtojnar: ^^
markus1189 has quit [Ping timeout: 256 seconds]
jperras has joined #nixos
<worldofpeace> infinisil: That section of the manual is like... so... not fun to read :)
<jtojnar> samueldr: I do not like autoreconfHook because it sometimes is not enough
<worldofpeace> ^ discovered that quickly
<samueldr> (I was also asking to get educated :))
<samueldr> why wouldn't it be enough though?
<samueldr> what kind of breakage could I expect?
<infinisil> Am confused, what are dee and libdbusmenu-glib for now? runtime? buildtime? what have you not?
<jtojnar> samueldr: autoreconfhook does not run intltoolize I think
<jtojnar> and sometimes other things
<samueldr> though, this could be a postAutoreconf hook, right?
<jtojnar> intltoolize needs to run before specific autoconf phase
<infinisil> worldofpeace: If it's runtime deps:
<infinisil> ,runtimeDeps
<{^_^}> In order of preference: Patch source OR ((if it uses PATH -> wrap with new $PATH) AND (if it uses dlopen, (patchelf --set-rpath in postFixup OR wrap with new LD_LIBRARY_PATH)))
<jtojnar> infinisil: pc files can contain Requires field to specify dependent libraries
<infinisil> Ah so it is actually propagated
<infinisil> Don't mind me then
<jtojnar> it is primarily used for obtaining Cflags from transitive dependencies
<worldofpeace> You've got me all curious now so I'm re-reading the source.
<jtojnar> but pkg-config will not let you get non-static cflags if it cannot find all the Requires packages
<jtojnar> there is an issue open about it in pkg-config issue tracker, IIRC
<clever> jtojnar: it might help if pkgconfig has a fixup hook, that scans the requires fields, and populates the propagated-inputs under $out/nix-support/
<worldofpeace> ^
<jtojnar> clever: mapping pkg-config names to packages would not be easy
<jtojnar> e.g. gio-unix-2.0 points to glib
<clever> jtojnar: those packages should already be in scope
<jtojnar> we would need to maintain a db
<clever> jtojnar: so if you just ask pkgconfig to find its .pc file
<jtojnar> clever: right, that should work
<jtojnar> why do we not have this, yet?
<clever> unknown
lnikkila has quit [Ping timeout: 264 seconds]
winem_ has quit [Ping timeout: 245 seconds]
init_6 has joined #nixos
<{^_^}> [nixpkgs] @volth opened pull request #43163 → watch: 0.2.0 -> procps-ng.version → https://git.io/fNv67
init_6 has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @volth opened pull request #43164 → libvirt: 4.4.0 -> 4.5.0 → https://git.io/fNv6b
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
NoOneRules has joined #nixos
<NoOneRules> Hi all, I am struggling a bit with packaging
<NoOneRules> I've modified the GNU hello derivation so that it builds triggerhappy daemon (hotkey tool)
<NoOneRules> Here is what I have so far: https://pastebin.com/yixvCu6t
<NoOneRules> It builds and installs fine but it seems like the binaries don't get added to my path
<NoOneRules> Instead of doing just thd -h, I have to do /nix/store/w5fii7yk82qadgh1ls5bqkrdr3p1qw7q-hello-2.10/usr/bin/thd -h
<NoOneRules> cd #nixos-dev
<samueldr> hi, you say "it builds and installs fine", how are you installing?
<samueldr> the "install" step (commonly make install) is not equal to making the package available either to your system or to your user
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
<NoOneRules> I followed the instructions from https://nixos.wiki/wiki/Nixpkgs/Create_and_debug_packages#How_to_install_from_the_local_repository and I am installing like so: nix-env -f $NIXPKGS -i hello
<NoOneRules> Before I modified the default.nix for hello, I ran that command and hello was in my path i.e. I can call `hello` in my terminal from anywhere
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
<{^_^}> [nixpkgs] @volth opened pull request #43165 → [staging] pcre: 8.41 -> 8.42 → https://git.io/fNviO
<samueldr> so you used `nix-env` with `-i` somewhere in it to make your triggerhappy available in your profile, right?
freeman42x]NixOS has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @eadwu opened pull request #43166 → vscode-extensions.ms-python.python: 0.8.0 -> 2018.6.0 → https://git.io/fNviG
<NoOneRules> Yes
<samueldr> is your package listed when you `nix-env -q` ?
<{^_^}> [nixpkgs] @eadwu opened pull request #43167 → vscode-extensions.ms-vscode.cpptools: 0.16.1 -> 0.17.6 → https://git.io/fNviZ
<NoOneRules> Yes. $ nix-env -q
<NoOneRules> hello-2.10
<clever> NoOneRules: did you re-run nix-env after editing it?
<NoOneRules> Yes
<clever> and what did it output?
<NoOneRules> Here is the output: https://pastebin.com/FSYNQhKC
palo has quit [Quit: ZNC 1.6.5 - http://znc.in]
<clever> NoOneRules: and if you ls -l ~/.nix-profile/ ?
<clever> NoOneRules: oh, i see your problem
<clever> install -D thd /nix/store/w5fii7yk82qadgh1ls5bqkrdr3p1qw7q-hello-2.10//usr//bin//thd
<clever> it has to install to $out/bin/thd, not $out/usr/bin/thd
<NoOneRules> Ohhh, I see. Opps
<NoOneRules> Thank you so much samueldr and clever
<NoOneRules> Is this documented somewhere in the documentation btw? Just curious where I missed it
jperras has quit [Ping timeout: 240 seconds]
palo has joined #nixos
palo has quit [Changing host]
palo has joined #nixos
<clever> not sure where it would be documented
<NoOneRules> This was my first package for NixOS btw. I used to do packaging for ArchLinux.
<NoOneRules> NixOS packaging seems a bit harder but that's probably because this is the first time learning a functional language and Nix's tools seem more powerful
<jtojnar> can you use git send-email? nix-locate points me to gitAndTools.gitFull, which I have installed but I am getting "git: 'send-email' is not a git command."
<samueldr> searched in the nix and nixpkgs manual, there is no specific mention of not user /usr/ for installing, but everything about /bin/ is always $out/bin/
<clever> nix does away with directories like /usr, /usr/local, and /sbin
<NoOneRules> Ah I see. Yeah that sounds more reasonable actually
andymandias has quit [Ping timeout: 248 seconds]
<infinisil> ,locate man git-send-email
<{^_^}> Found in packages: git
<samueldr> jtojnar: there is a man page
<samueldr> but no binary!
fragamus has joined #nixos
<jtojnar> I see a binary in libexec
<clever> git probably looks in its own libexec for utils like that
<infinisil> Hmm, I have git send-email available
<samueldr> (in git.out there's the manpage but no binary)
<clever> yeah
<clever> samueldr: try what infinisil said
<samueldr> nix-shell -p gitAndTools.gitFull and it works
<samueldr> clever: without gitFull it doesn't work (understandably)
<samueldr> git: 'send-email' is not a git command. See 'git --help'.
<infinisil> Yeah, needs gitFull
<samueldr> (I knew about libexec, missed it at first in the listing when I said there's no binary, thought it was another manpage)
qualiaqq has joined #nixos
andymandias has joined #nixos
<jtojnar> but I have gitFull in environment.systemPackages
<samueldr> jtojnar: another git installed? `nix-shell -p git -p gitAndTools.gitFull` makes it fail
<clever> jtojnar: `type git`
<jtojnar> right, I had git-minimal in user profile for some reason
<samueldr> (both store paths seem to be only named `*-git-version`)
<jtojnar> clever++
<{^_^}> clever's karma got increased to 17
<jtojnar> samueldr++
<{^_^}> samueldr's karma got increased to 2
<{^_^}> [nixpkgs] @volth opened pull request #43168 → [staging] pcre2: 10.23 -> 10.31 → https://git.io/fNviw
jperras has joined #nixos
<illegalprime[m]> clever++
<{^_^}> clever's karma got increased to 18
NoOneRules has quit [Quit: Page closed]
<{^_^}> [nixpkgs] @samueldr opened pull request #43169 → Fix/strip dirs → https://git.io/fNviA
<samueldr> aww, forgot to name it before sending
<samueldr> THIS got my boot.img from 17M to 9M
orivej has quit [Ping timeout: 240 seconds]
<waynr> okay so i figured out how to do the things nix does automatically when building stuff from within a nix-shell environment
<waynr> the problem that happens when i'm building libuv during a `nix-env -i` build doesn't reproduce when i attempt to run the same steps manually in nix-shell
goibhniu has quit [Ping timeout: 240 seconds]
<waynr> the major difference that i can note is that in the former case it is a remote build through the nix-daemon socket using my "nix-daemon" user
<waynr> i've also noticed that on a different machine where i still had my single-user install of nix that the same problem did not happen
<waynr> the specific failure when attempting to build remotely using my nix-daemon user is that the `checkPhase` of a libuv build fails when building using the nixpkgs master branch
lassulus_ has joined #nixos
<waynr> it just fails without explanation with exactly the same stdout as when it succeeds during a manual build in nix-shell
<waynr> does this problem sound familiar to anyone? should i report a bug on nixpkgs or on nix?
alex`` has quit [Ping timeout: 260 seconds]
<samueldr> is sandboxing enabled on the build machine?
lassulus has quit [Ping timeout: 240 seconds]
lassulus_ is now known as lassulus
<samueldr> off the top of my head, that's a thing that can change behaviour of things
<waynr> well it's no more or less enabled than it was with the single-user install
<waynr> (on the machien where i noted the single user build succeeding earlier today i've since blown away the single user nix and replaced it with multi user before i realized that might be the key difference between the two cases)
<waynr> also, what exactly is sandboxing? is that a nix specific feature/behavior or does it refer to something system-level?
<samueldr> a nix-specific feature
<waynr> oh nevermind i found the nix setting here: https://nixos.org/nix/manual/#name-11
<samueldr> on master, 784f543cb766ef9c8e7e31e107d7c79d0fc4bf64, nix-build -A libuv fetches from hydra cache
<samueldr> so for linux (nixos, x86_64) libuv must have built properly
<waynr> yeah like i said it seems to be some kind of problem with my multi-user setup
<waynr> i'm not surprised that it would build properly on hydra, especially if that is a single user nix
<samueldr> pretty sure hydra builders are multi-user, with sandboxing
<waynr> okay i'll try enabling it, thanks for the suggestion
<samueldr> my point with it being fetched from cache is that it's weird that yours didn't fetch from cache
<{^_^}> [nixpkgs] @volth closed pull request #43163 → watch: 0.2.0 -> procps-ng.version (now 3.3.15) → https://git.io/fNv67
justanotheruser has joined #nixos
<waynr> oh i purposely turned that off, otherwise why do i have these beefy personal machines
<samueldr> hm, sandboxing generally breaks builds, so while enabling sandboxing is good (safer, more strict) it wouldn't change anything in your case I presume
<samueldr> ah, so you're running without cache
dan_ has joined #nixos
<waynr> yeah i've set `substitue = False`
<waynr> or was it `substitute: False`
dan_ is now known as Guest62057
<samueldr> I really can't help more :/ if it builds on hydra, I'd assume it's reproducible enough to build on most linux x86_64 machines
<waynr> oh looks like you're right about sandboxing not working with my setup: 'The use of a sandbox requires that Nix is run as root'
<waynr> maybe i could run multiuser nix daemon as a docker container
<waynr> s/as a/in a/
<waynr> although i had kind of envisioned my use of nix as preceeding docker installation
Guest62057 has quit [Ping timeout: 268 seconds]
<waynr> anyway, thanks again for the advice/help
<fragamus> I recently submitted a package called bliss and another package depends on it, but in order to detect it it needs an environment variable to be set to $out How is this done
<fragamus> something like blah.variables.BLISS_DIR = $out;
blym has joined #nixos
init_6 has joined #nixos
bumbleblym has joined #nixos
justanotheruser is now known as swampmonster
Oogieboogie has quit [Remote host closed the connection]
blym has quit [Ping timeout: 260 seconds]
blymberry has joined #nixos
<waynr> oh shoot i just found the problem
<samueldr> now this makes me curious
<samueldr> fragamus: during runtime or during the build?
<fragamus> build
drakonis_ has joined #nixos
stepcut has quit [Remote host closed the connection]
<waynr> using `nix-build $PWD -A libuv` I got a less chatty stdout from nix and see one of the early tests failed...i see one of the failures was caused by the nix-daemon user not having a password; the libuv tests assume the running user has a password
stepcut has joined #nixos
<samueldr> fragamus: if it's an environment variable, just settnig it in the attrSet of mkDerivation should work
<fragamus> but $out is not defined yet
stepcut has quit [Remote host closed the connection]
<samueldr> e.g. {stdenv, bliss}: stdenv.mkDerivation { BLISS_DIR = bliss; }
<fragamus> or am I wrong
<samueldr> depends, maybe I misunderstood the issue
<samueldr> another package depends on bliss, right? and it needs the path to bliss, right?
<fragamus> yeah
bumbleblym has quit [Ping timeout: 260 seconds]
<waynr> "path to bliss"
<fragamus> lol
<samueldr> I think my small example should work, it should set BLISS_DIR during the build to the path equivalent to bliss' $out
<waynr> let me know when you find it ;)
<fragamus> OK so that's not done in bliss it is done in the dependent package right
<samueldr> yes
<samueldr> it doesn't really make sense (I believe) for bliss to know about anything that may or may not require it at build time
<fragamus> i agree
<samueldr> fragamus: if you need the path to e.g. the lib folder inside the package, you can use string interpolation e.g.: "${bliss}/lib/"
<fragamus> no I need bliss
<samueldr> don't we all?
init_6 has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @fragamus opened pull request #43170 → Bliss detect → https://git.io/fNvXT
<fragamus> XD
graphene has quit [Remote host closed the connection]
sam has joined #nixos
sam is now known as Guest1948
graphene has joined #nixos
Guest1948 has quit [Quit: Guest1948]
<Myrl-saki> Is there a way to add a backup to Nixops from an existing snapshot?
<{^_^}> [nixpkgs] @volth opened pull request #43171 → [staging] pango: 1.40.14 -> 1.42.1 → https://git.io/fNvXC
justbeingglad has joined #nixos
blonkhart has quit [Ping timeout: 256 seconds]
blonkhart has joined #nixos
Guest1948 has joined #nixos
blu3r4d0n has joined #nixos
<blu3r4d0n> Hey guys
igo95862 has joined #nixos
<blu3r4d0n> I can't seem to get sshd working
<blu3r4d0n> I've tried enabling it in configuration.nix
<blu3r4d0n> I rebooted and still not ssh
<blu3r4d0n> *no
<clever> blu3r4d0n: is it running?
<blu3r4d0n> I don't think so
<clever> ps aux | grep ssh
<blu3r4d0n> I tried with systemctl start sshd and it can't find a file to start
<clever> did you nixos-rebuild?
<blu3r4d0n> Oh okay, sorry I'm pretty new
<blu3r4d0n> I didn't do that
<blu3r4d0n> This is my first install
<blu3r4d0n> That worked clever thanks so much
<blu3r4d0n> I am just having to get used to how this works
justbeingglad has left #nixos [#nixos]
sbdchd has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43172 → mopidy-soundcloud: 2.0.2 -> 2.1.0 → https://git.io/fNvXH
sbdchd has joined #nixos
jperras has quit [Ping timeout: 244 seconds]
slack1256 has joined #nixos
sbdchd has quit [Remote host closed the connection]
boothead has quit [Ping timeout: 252 seconds]
endformationage has quit [Quit: WeeChat 1.9.1]
blonkhart has quit [Quit: WeeChat 1.9.1]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43173 → mate.mate-user-guide: 1.20.1 -> 1.21.0 → https://git.io/fNvX5
qualiaqq has quit [Quit: restart]
<kalbasit> anyone here manages their dotfiles with Nix? How do you manage files containing secrets? When I was using git to manage my dotfiles, if I have a `.dotfiles/.private` then all those files are also symlinked and I'd like to have something similar but not sure how to do that. https://github.com/kalbasit/dotfiles/blob/14109dfb1f46de0ad75cc92bb9a7230f65f54914/Rakefile#L155-L156
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43174 → mate.mate-calc: 1.20.2 -> 1.21.0 → https://git.io/fNvXx
<adisbladis[m]> What's a clean way to deal with packages that has multiple source tarballs?
<adisbladis[m]> Use case: npm packages can have circular dependencies and I'm breaking these cycles in https://github.com/adisbladis/pnpm2nix/ and merging a cycle into a single package to stop nix from recursing infinitely
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43175 → mate.marco: 1.20.2 -> 1.21.0 → https://git.io/fNv1e
Rusty1_ has quit [Quit: Konversation terminated!]
<adisbladis[m]> kalbasit: What kind of secrets?
<adisbladis[m]> I mostly use `pass` to get the secrets at runtime
<adisbladis[m]> My mail client shells out to get the password for example
<adisbladis[m]> But that's not really applicable to most clients
dan_ has joined #nixos
dan_ is now known as Guest41815
robstr has joined #nixos
palo has quit [Ping timeout: 244 seconds]
<kalbasit> adisbladis[m]: I usually keep my SSH/GnuPG and any other file containing secrets (such as `.aws/credentials`) in an encrypted git repo
<kalbasit> so all I need is a copy of my master gnupg key stored on an IronKey to unlock the rest of my runtime secrets
Guanin has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43176 → mate.mate-applets: 1.20.2 -> 1.21.0 → https://git.io/fNv1I
Guest41815 has quit [Ping timeout: 260 seconds]
rcshm has quit [Ping timeout: 245 seconds]
slack1256 has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43177 → mate.mate-settings-daemon: 1.20.3 -> 1.21.0 → https://git.io/fNv1s
init_6 has joined #nixos
<{^_^}> [nixpkgs] @adisbladis opened pull request #43178 → nodejs-9_x: Package is EOL → https://git.io/fNv1Z
Guanin has joined #nixos
<{^_^}> [nixpkgs] @volth opened pull request #43179 → [staging] cpan2nix updates → https://git.io/fNv1C
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43180 → mate.mate-terminal: 1.20.1 -> 1.21.0 → https://git.io/fNv1l
slack1256 has joined #nixos
neeasade has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @jansol closed pull request #36761 → renderdoc: 0.91 -> 1.0 → https://git.io/vAjuD
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43181 → lynis: 2.6.5 -> 2.6.6 → https://git.io/fNv1E
seafood has joined #nixos
<seafood> Anyone here configured nginx with nixos?
<seafood> Is there any way to set the error_log to something other than stderr?
<seafood> How do I do that?
neeasade has joined #nixos
iyzsong has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43182 → mate.mate-power-manager: 1.20.2 -> 1.21.0 → https://git.io/fNv1w
<buhman> seafood: why would you not want stderr?
<seafood> How can I see it?
<buhman> journalctl?
<seafood> Okay...
<seafood> Could you give me the exact command?
<buhman> `journalctl`
<kalbasit> seafood: `journalctl -u nginx`
<seafood> Thanks!
slack1256 has quit [Ping timeout: 248 seconds]
drakonis_ has quit [Remote host closed the connection]
drakonis has quit [Read error: Connection reset by peer]
<buhman> seafood: IMO "my application is a special snowflake that logs in its own unique way" is universally undesireable
<buhman> stderr capture by systemd is a better idiom
<seafood> buhman: I see. Yes, that seems reasonable.
<seafood> I haven’t really used systemd before.
<seafood> but looking forward to learning more.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43183 → mate.mate-menus: 1.20.1 -> 1.21.0 → https://git.io/fNv1M
MarcWeber has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43184 → mkdocs: 0.17.4 -> 0.17.5 → https://git.io/fNv1S
<cocreature> Hey, when I install firefox-devedition-bin using "nix-env -iA nixos.firefox-devedition-bin", I get the "firefox-devedition" binary in my PATH as I expect to but I also get the unwrapped "firefox" binary symlinked to ~/.nix-profile/bin. Is there a way to avoid this?
<cocreature> also why does this even happen? I don’t think dependencies of a package that I install are in generall also symlinked into the environment or are they?
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
<seafood> Anyone here configure nginx with nixos?
<seafood> I think I’ve set it up correclty but I can’t see to receive incoming requests on port 80
Guest1948 has quit [Quit: Guest1948]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43185 → mate.mate-sensors-applet: 1.20.2 -> 1.21.0 → https://git.io/fNvMf
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43186 → miniupnpd: 2.1 -> 2.1.20180706 → https://git.io/fNvMk
qualiaqq has joined #nixos
<qualiaqq> Has anyone used the launcher Albert before? I'm trying to figure out how to get it to auto-start on login using systemd.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43187 → mate.mate-system-monitor: 1.20.1 -> 1.21.0 → https://git.io/fNvMO
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43188 → libdwarf: 20180129 -> 20180527 → https://git.io/fNvM3
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43189 → jgmenu: 1.0 -> 1.1 → https://git.io/fNvMz
igo95862 has quit [Quit: igo95862]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43190 → libyaml: 0.1.7 -> 0.2.1 → https://git.io/fNvMo
jophish has joined #nixos
<jophish> angerman: I'm cross compiling some Haskell for the RPi, is there a binary cache for cross compiling haskell anywhere at the moment?
<jophish> CC Dezgeg
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43191 → mate.libmateweather: 1.20.1 -> 1.21.0 → https://git.io/fNvMQ
qualiaqq has quit [Quit: reboot]
igo95862 has joined #nixos
qualiaqq has joined #nixos
andymandias has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43192 → mate.libmatemixer: 1.20.1 -> 1.21.0 → https://git.io/fNvMp
agander has joined #nixos
ng0 has joined #nixos
igo95862 has quit [Quit: igo95862]
andymandias has joined #nixos
qualiaqq has quit [Remote host closed the connection]
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
qualiaqq has joined #nixos
<kalbasit> has anyone tried to use `keybase://` aka the keybase git protocol to build a derivation, specifically with fetchgit?
Jason_Grossman has joined #nixos
graphene has quit [Remote host closed the connection]
ericsagnes has quit [Ping timeout: 240 seconds]
blankhart has joined #nixos
graphene has joined #nixos
simukis has joined #nixos
<kalbasit> How to provide executables in PATH to the git command nix uses in fetchgit?
joepie91_to_go has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43193 → mate.libmatekbd: 1.20.2 -> 1.21.0 → https://git.io/fNvDP
ericsagnes has joined #nixos
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to master: https://git.io/fNvD1
qualiaqq has quit [Remote host closed the connection]
joepie91_to_go has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43194 → http-prompt: 0.11.1 -> 0.11.2 → https://git.io/fNvD7
wgas has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to release-18.03: https://git.io/fNvDj
alex`` has joined #nixos
qualiaqq has joined #nixos
phdoerfler has joined #nixos
phdoerfler has quit [Client Quit]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43195 → hwdata: 0.312 -> 0.313 → https://git.io/fNvym
agander has quit [Ping timeout: 248 seconds]
<kalbasit> I opened an issue regarding the `keybase://` protocol: https://github.com/NixOS/nixpkgs/issues/43196
<{^_^}> #43196 (by kalbasit, open): fetchgit: add support for `keybase://` protocol
myshoe has joined #nixos
<mpickering> How am I meant to package a rust application?
<mpickering> Carnix? buildRustPackage? buildRustCrate?
<{^_^}> [nixpkgs] @nlewo opened pull request #43197 → buildah: 0.12 -> 1.1 → https://git.io/fNvy8
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43198 → hdf4: 4.2.13 -> 4.2.14 → https://git.io/fNvyz
<Ashy> hmm, nixos-unstable seems to have a relatively old kernel
juhe has joined #nixos
<Ashy> 4.14 vs 4.17 on fedora currently
<arahael> That's only 3 minor versions out.
<Ashy> yeah i guess so, i'm used to archlinux
qualiaqq has quit [Remote host closed the connection]
<Ashy> found the relevant wiki page
wgas has left #nixos ["Leaving"]
testuser has joined #nixos
agander has joined #nixos
mariatsji has joined #nixos
<srhb> Ashy: You can select a newer kernel. We're on the LTS version.
<srhb> (For now, at least...)
<srhb> Ashy: And technically, 4.14.53 is five days old. :-)
mariatsji has quit [Ping timeout: 240 seconds]
mariatsji has joined #nixos
<tilpner> Ashy - nixos-unstable.linux_latest.version is 4.17.4
<Ashy> ah yeap, makes sense really
b has quit [Quit: Lost terminal]
<tilpner> ~ > niv nixos-unstable.linux_testing.version
<tilpner> "4.18-rc3"
<tilpner> Not everyone wants the latest (most volatile) thing
<buhman> I need 4.18
<buhman> it introduced VEGAM support
<Ashy> yeap, completely agree, i expected unstable to have the latest kernel i guess but no worries
<srhb> Ashy: The "explanation" is that the stable branches are actually cut from master (~unstable) twice a year. :)
<tilpner> Ashy - And it does, but it's not the default
coot has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43199 → focuswriter: 1.6.13 -> 1.6.14 → https://git.io/fNvSC
xy3_ has joined #nixos
mariatsji has quit [Remote host closed the connection]
Guest29 has joined #nixos
Guest29 has quit [Client Quit]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43200 → flyway: 5.1.3 -> 5.1.4 → https://git.io/fNvSK
tzemanovic has joined #nixos
agander has quit [Read error: Connection reset by peer]
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
jgt has joined #nixos
graphene has quit [Remote host closed the connection]
<angerman> jophish: no binary cache that I know of.
graphene has joined #nixos
<jophish> angerman: do you happen to have a nix expression handy for cross compiling? I'm running into some problems regarding python at the moment
<{^_^}> [nixpkgs] @dotlambda opened pull request #43201 → python.pkgs.vobject: 0.9.5 -> 0.9.6 → https://git.io/fNvSp
andymandias has quit [Ping timeout: 268 seconds]
xy3_ has quit [Quit: WeeChat 2.0]
<angerman> jophish: only the binaries at hackage.mibilehaskell.org
<angerman> The linked used guide also details the docker image that tritlo built.
<angerman> For a nix style binary cache, I don’t see a clean solution without provisioning your RPi with nix as well, so that you
<angerman> can provide a consistent state for the RPi sdk.
<jophish> yeah, nix is already on there :)
<jophish> what else
<jophish> :)
<{^_^}> [nixpkgs] @dotlambda merged pull request #43199 → focuswriter: 1.6.13 -> 1.6.14 → https://git.io/fNvSC
<{^_^}> [nixpkgs] @dotlambda pushed commit from @r-ryantm to master « focuswriter: 1.6.13 -> 1.6.14 (#43199) »: https://git.io/fNv9L
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43202 → fcitx-engines.cloudpinyin: 0.3.4 -> 0.3.6 → https://git.io/fNv9t
<jophish> I'll take a look there, thanks :)
andymandias has joined #nixos
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
Guest29 has joined #nixos
omni-canada has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43203 → fcitx-configtool: 0.4.9 -> 0.4.10 → https://git.io/fNv9W
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43204 → fcitx-engines.hangul: 0.3.0 -> 0.3.1 → https://git.io/fNv9B
nD5Xjz has quit [Ping timeout: 240 seconds]
<omni-canada> Hey, I'm really liking nixos and trying to get it set up for use on my laptop. I'm having trouble with pulseaudio. There is a config hack I've used on archlinux for my laptop (https://wiki.archlinux.org/index.php/ASUS_Zenbook_UX390) but I don't understand/can't figure out how to apply this in the nixos store. I see I can specify some other pulseaudio configs (asound.conf, client.conf) but the file I'm trying to change doesn't have a
<omni-canada> specific hook. How can I add one?
<angerman> jophish: the custom GHCs are built from https://github.com/ghc/ghc/tree/wip/angerman/llvmng
Guest29 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<infinisil> > options "hardware.pulseaudio"
<{^_^}> [ "hardware.pulseaudio.configFile" "hardware.pulseaudio.daemon.config" "hardware.pulseaudio.daemon.logLevel" "hardware.pulseaudio.enable" "hardware.pulseaudio.extraClientConf" "hardware.pulseaudio.ext...
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/de7ca40ac3b (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
<infinisil> > options "hardware.pulseaudio.extraClientConf"
<{^_^}> "Extra configuration appended to pulse/client.conf file.\n"
<infinisil> omni-canada: ^^
<omni-canada> Thanks
<infinisil> > options "hardware.pulseaudio.extraConfig"
<{^_^}> "Literal string to append to <literal>configFile</literal>\nand the config file generated by the pulseaudio module.\n"
<infinisil> omni-canada: or this one, which seems to be for the daemon config
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43205 → mate.engrampa: 1.20.1 -> 1.21.0 → https://git.io/fNv9o
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43206 → fcitx-engines.m17n: 0.2.3 -> 0.2.4 → https://git.io/fNv9i
phdoerfler has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43207 → ephemeralpg: 2.2 -> 2.5 → https://git.io/fNv9M
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/784f543cb76 (from 9 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
Jason_Grossman has quit [Ping timeout: 264 seconds]
Guest29 has joined #nixos
orivej has joined #nixos
<omni-canada> I'm looking in the modules/config/pulseaudio.nix file. Maybe an issue that I don't understand how the nix expression becomes the pa package. I can add/change a few config with the options here, but the file I intend to edit is output to the /share folder in the pa package in nix store and isn't related to the config files there are options for (afaik, I'm not a pa expert either)
Guest29 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bumbleblym has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43208 → fcitx-engines.anthy: 0.2.2 -> 0.2.3 → https://git.io/fNv9A
jensens has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43209 → fcitx-engines.chewing: 0.2.2 -> 0.2.3 → https://git.io/fNv9j
nD5Xjz has joined #nixos
blymberry has quit [Ping timeout: 276 seconds]
booglewoogle has joined #nixos
<infinisil> omni-canada: what is it that you need to modify?
<omni-canada> The alsa Elements in alsa-mixer/paths/analog-output.conf
<booglewoogle> did any of you have a problem with a bash update preventing it to build due to an 'Exec format error'?
Xiro` has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
<booglewoogle> i've got https://pastebin.com/WYLpHaHN after a 'nixos-rebuild --upgrade switch', nothing changed about my very conservative configuration.nix which worked with many nixos-rebuilds before
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43210 → cherrytree: 0.38.4 -> 0.38.5 → https://git.io/fNvH3
winem_ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43211 → baresip: 0.5.9 -> 0.5.10 → https://git.io/fNvHB
Mateon3 has joined #nixos
Mateon1 has quit [Ping timeout: 256 seconds]
Mateon3 is now known as Mateon1
Guest29 has joined #nixos
Guest29 has quit [Client Quit]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/c4a63193226 (from 62 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
palo has joined #nixos
palo has quit [Changing host]
palo has joined #nixos
Guest29 has joined #nixos
thc202 has joined #nixos
<infinisil> omni-canada: Is it not possible to have some include statement in the config to include other files?
<infinisil> There is a way to modify the contents of any package, but it should be avoided if possible
jensens has quit [Ping timeout: 245 seconds]
<omni-canada> infinisil: I'm not aware of a way, but there may be one. The configurable config files don't even share syntax with the file I planned to edit.
<{^_^}> [nixpkgs] @teh opened pull request #43212 → pyre: init at 0.0.8 → https://git.io/fNvHA
<{^_^}> Channel nixos-18.03 advanced to https://github.com/NixOS/nixpkgs/commit/298e170b36b (from 25 hours ago, history: https://channels.nix.gsc.io/nixos-18.03)
<infinisil> omni-canada: Hmm well, to override files in a package, there's multiple ways, but this one might be the best:
rprije has joined #nixos
<infinisil> You first write a package that has the file where you need it
<infinisil> pkgs.runCommand "paconfigchange" {} "echo myconfig > $out/share/also-mixer/paths/analog-output.conf"
<infinisil> Then you combine that with the original pulseaudio package:
<infinisil> mypackage = pkgs.symlinkJoin { name = "pulseaudio-changed"; paths = [ pkgs.pulseaudio paconfigchange ]; }
<infinisil> Then you set hardware.pulseaudio.package = mypackage;
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43213 → mate.caja: 1.21.1 -> 1.21.2 → https://git.io/fNvQY
<omni-canada> infinisil: Thank you! A very clear explaination. I'll also look to see if it is possible in one of the other configs. Thanks for your time.
<infinisil> :)
aarvar has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43214 → babeltrace: 1.5.5 -> 1.5.6 → https://git.io/fNvQs
<jophish> grahamc: the aarch64 box seems to be a bit ill, can't connect the the store DB
vcunat has joined #nixos
blankhart has quit [Ping timeout: 240 seconds]
blymberry has joined #nixos
bumbleblym has quit [Ping timeout: 265 seconds]
joko has quit [Ping timeout: 245 seconds]
joko has joined #nixos
logzet has joined #nixos
booglewoogle has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @orivej-nixos merged pull request #43168 → [staging] pcre2: 10.23 -> 10.31 → https://git.io/fNviw
<{^_^}> [nixpkgs] @orivej-nixos pushed commit from @volth to staging « pcre2: 10.23 -> 10.31 (#43168) »: https://git.io/fNvQS
graphene has quit [Read error: Connection reset by peer]
graphene has joined #nixos
rprije has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43215 → cfr: 0.130 -> 0.132 → https://git.io/fNv7J
Ariakenom has joined #nixos
<{^_^}> [nixpkgs] @Infinisil merged pull request #43148 → wrapFirefox: select correct browserpass output → https://git.io/fNvzW
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fNv7k
graphene has quit [Remote host closed the connection]
<gchristensen> jophish: yikes
graphene has joined #nixos
<manveru> does anyone have some examples of more complex nix configs done with dhall?
<mpickering> nix run doesn't change the colour of my command prompt like nix-shell used to, feature or bug?
<jophish> gchristensen: I was building some sd images for a raspberry pi, kept getting out of space errors
<jophish> bgamari: hey, are you about? Wondering if you can share your cross compiling wisdom
<gchristensen> heh, its disk is full
<gchristensen> jophish: rebooting, hopefully it'll come up ok and have an empty disk :)
ajs124 has joined #nixos
<jophish> thanks
<Guest29> Hi there, hoping y'all can help me grok something.. I've mad a nix expression to install solr5. I want to organise things such that nix-env and other expressions can 'find it' when asked. instantiating and building have it show up in the store, but AFAICT.. some voodoo is needed to get it to appear in <nixpkgs> or making your own http channel.. im sure there' must be an approach a little less 'heavy' than that?
<gchristensen> you can nix-build it, the nix-env -i ./result
<Guest29> right, but i have to be in that directory to do that. I guess what i'd really like is to be able to have it as a buildInput for other expressions
stepcut has joined #nixos
<{^_^}> [nixpkgs] @orivej-nixos closed pull request #43158 → qsyncthingtray: fix compile with Qt 5.11 → https://git.io/fNvK3
<gchristensen> ah! you probably want anoverlay
<gchristensen> https://nixos.wiki/wiki/Overlays Guest29
<Guest29> ah ok.. i was about to read the 'overlay stategy pill' when i gave up :)
agander has joined #nixos
<gchristensen> what is that?
<worldofpeace> Warning 'nix pills dosage may vary' :P Don't take too many per day
__monty__ has joined #nixos
<Guest29> oh, im wrong sorry, it was the override design pattern.. my bad
<gchristensen> it is ok :)
<Guest29> worldofpeace, aint it true
<Guest29> so, overlays might give me the means to use the existing solr expression but with updated and darwin happy behaviour
<Guest29> (though i guess its moot, i have a working one anyway)
<Myrl-saki> How do I access nixos's nixpkgs?
<Myrl-saki> nixos.pkgs?
<Myrl-saki> (The answer is yes for those who are curious.)
<worldofpeace> Guest29: You'd want to also look at 'overrideAttrs' for that
<{^_^}> [nixpkgs] @vbgl opened pull request #43216 → coqPackages.equations: enable for Coq 8.8 → https://git.io/fNv77
winem_ has quit [Ping timeout: 255 seconds]
Tobba has quit [Remote host closed the connection]
Tobba has joined #nixos
shabius has quit [Quit: Leaving]
raynold has quit [Quit: Connection closed for inactivity]
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
omni-canada has quit [Ping timeout: 244 seconds]
markus_ has joined #nixos
<markus_> hi, i installed SDL2 (nix-env -iA nixos.SDL2), but my program cannot find a libSDL2.so. Any ideas?
andymandias has quit [Ping timeout: 264 seconds]
<epta> I'm trying to update the haskell environment from ghc842 to ghc843. For some reason I have an error saying that attribute "ghc843" could not be found https://lpaste.net/1577443764429914112 . This version of derivation 'c29d2fde74d' is kinda old. It's strange, because I just got updated nixpkgs-unstable channel. What am I doing wrong?
<gchristensen> jophish: should be good by now?
hiratara has joined #nixos
knupfer has joined #nixos
andymandias has joined #nixos
<{^_^}> [nixpkgs] @dotlambda merged pull request #43201 → python.pkgs.vobject: 0.9.5 -> 0.9.6 → https://git.io/fNvSp
<{^_^}> [nixpkgs] @dotlambda pushed 7 commits to master: https://git.io/fNv5W
<{^_^}> [nixpkgs] @mpickering opened pull request #43218 → whitebox-tools: init at 0.9.0 → https://git.io/fNv5l
<infinisil> ,locate libSDL2.so
<{^_^}> Found in packages: SDL2
<infinisil> ,library markus_
<{^_^}> markus_: Don't install libraries through nix-env or systemPackages. See https://nixos.wiki/wiki/FAQ/Libraries for details.
<mpickering> epta: Might not be in the unstable channel yet
<mpickering> if ghc842 exists then your commit is too old
<markus_> {^_^}: thx, thats i hint i can look into :)
<epta> mpickering: how 'nix-channel --update' should correlate with '/nix/store/aa71drs3l7smj3afvf46613yqwmfbngc-nixpkgs-18.09pre140731.c29d2fde74d/nixpkgs/pkgs/top-level/haskell-packages.nix:120:3'?
<epta> I mean, why such an old version of this file is used?
<epta> well, that's right, c29d2fde74d have 842 and doesn't have 843. How to bump it to the latest one?
<mpickering> unstable should be be1461fc0ab
<epta> then it's something wrong with the way how channels are being updated in my env
<epta> what should I check first?
<mpickering> nix-channel --list?
<epta> nothing suspicious: 'nixpkgs-unstable https://nixos.org/channels/nixpkgs-unstable'
b has joined #nixos
<mpickering> Then what does `nix-channel --update nixpkgs-unstable` say?
<epta> unpacking channels..., zero exit code
silver has joined #nixos
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/de7ca40ac3b (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<mpickering> What is your `NIX_PATH` set to?
<epta> mpickering: /nix/var/nix/profiles/per-user/root/channels
<epta> for some reason I do have channels for both root and user, and since it's osx env it might be an issue (reading https://github.com/NixOS/nix/issues/1548)
<{^_^}> #1548 (by LnL7, open): nix-channel doesn't work as expected with sudo
sigmundv has joined #nixos
<{^_^}> [nixpkgs] @7c6f434c merged pull request #43211 → baresip: 0.5.9 -> 0.5.10 → https://git.io/fNvHB
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fNv5y
<epta> mpickering: 'sudo -i nix-channel --update' did the trick, 'sudo nix-channel --update' wasn't working
<mpickering> ah right
<mpickering> Don't think I could have suggested that :P
<epta> I should probably remove channels from user level, it's extremely confusing on osx
ng0 has quit [Quit: Alexa, when is the end of world?]
agander has quit [Remote host closed the connection]
lnikkila has joined #nixos
<{^_^}> [nixpkgs] @leenaars opened pull request #43219 → (pythonPackages.)dkimpy: 0.6.2 -> 0.8.1 → https://git.io/fNvdm
markus_ has quit [Quit: Konversation terminated!]
literon has joined #nixos
sam has joined #nixos
philippD has joined #nixos
sam is now known as Guest93021
fragamus has joined #nixos
bumbleblym has joined #nixos
Guest93021 has quit [Ping timeout: 244 seconds]
<worldofpeace> jtojnar: libpulseaudio needs to be compiled with vala bindings. That should be optional and match to false?
blymberry has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @peterhoeg opened pull request #43220 → qtox: 1.15.0 -> 1.16.1 → https://git.io/fNvd2
<jtojnar> worldofpeace: I would just always build with the bindings. They are just few kilobytes and can be moved to dev output
timon37 has joined #nixos
<worldofpeace> jtojnar: how long would it take to compile pulseaudio?
<jtojnar> worldofpeace: ~5–10 minutes
<jtojnar> it was not very fast but it was not slow either
<jtojnar> (it is just a very rough estimate, I did not time it)
<worldofpeace> That's not to bad.
<worldofpeace> jtojnar: wingpanel has a header 'wingpanel.h' that needs to be made available to the indicators at build time. Any idea on that?
jperras has joined #nixos
<jtojnar> worldofpeace: circular dependency?
pie__ has quit [Ping timeout: 240 seconds]
<worldofpeace> jtojnar: wait nvm it's fine :)
seafood has quit [Quit: seafood]
jtojnar has quit [Remote host closed the connection]
jtojnar has joined #nixos
jperras has quit [Ping timeout: 244 seconds]
jmeredith has joined #nixos
pie__ has joined #nixos
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
jgt has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @dotlambda closed pull request #34980 → pythonPackages.dkimpy: 0.6.2 -> 0.7.1 → https://git.io/vAZkc
Xiro` has joined #nixos
lnikkila has quit [Ping timeout: 244 seconds]
<Orbstheorem> Is there any solution to declaratively provide data storage (ie. Filesystems, databases, caches) to nixos (or any Linux) vms?
lnikkila has joined #nixos
shabius has joined #nixos
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
graphene has quit [Remote host closed the connection]
<jophish> gchristensen: looks good, thanks1
<jophish> angerman: did you ever get fexternal-interpreter working with nix?
graphene has joined #nixos
<angerman> jophish: with nix and wine for win32z
<angerman> jophish: for RPi you would need network access.
<jophish> I'm not doing sandboxed builds at the moment anyway
<angerman> Don’t see why it wouldn’t work then.
<jophish> I'll give it a go
<angerman> Would just need the slave to run on the RPi, and provide ghc with the IP/Port
jperras has joined #nixos
<jophish> oh wait, I don't have ghc running on the pi
<angerman> You don’t
<jophish> which is the whole reason I'm cross compilung
<angerman> You only build the runner.
<jophish> oh right
<angerman> Let me pull up an example.
<jophish> of course
<angerman> Also file/proc IO probably won’t work.
<angerman> There are some patches missing in GHc.
<jophish> I don't think I'm using that anyway
<jophish> this is for th-lift-instances and wai-static-app
<angerman> jophish: so `lens` and similar AST expansion will work, `file-embed` and `git-revision` and stuff will not.
<angerman> that *does* use wine, and by using the same build/host it can do file and proc io; similar to how ghcjs can do that.
<angerman> jophish: for proc/file io you need https://phabricator.haskell.org/D3608 and a little wiggling in the iserv-remote logic.
jperras has quit [Ping timeout: 240 seconds]
<jophish> is iserv-proxy in nixpkgs anywhere, I can't see it
<angerman> no, it's a regular haskell package.
<angerman> comes with ghc8.6
<angerman> for ghc8.4 you need to split it out.
<jophish> ah, I'm using 8.2.2
<angerman> yea... 8.2.2 is probably not going to be what you want.
<jophish> rats, another wait
<angerman> for any cross stuff with iserv-remote, you really want 8.4+
blymberry has joined #nixos
<jophish> I'll give 8.6 a try then
<jophish> angerman: when you say it comes with 8.6, what do you mean?
<angerman> 8.6 has the iserv split (the patch I linked above)
<angerman> where iserv, is libiserv, iserv-remote and iserv.
bumbleblym has quit [Ping timeout: 276 seconds]
<jophish> hmm, I can't see the split output specified in nixpkgs master
<jophish> just out and doc
<angerman> right... it's not very well integrated into nix so far.
<jophish> ah
<angerman> jophish: you can in principle grab them like any cabal package from hackage candidates though: https://github.com/angerman/cardano-sl/blob/ghc-8.4/default-lts-2018-05-02.nix#L164
<jophish> it's not the end of the world to just transfer the x86->arch64 cross ghc closure over and use the iserv binary in that I guess
<jophish> ah, that sounds easiest
<angerman> jophish: it's just a `package` in the GHC tree :-)
<angerman> for my local build, I've basically just `cabal-unpacked` them, and used them as source pkgs in nix: # hack libiserv in...
<angerman> libiserv = ./libiserv-8.5;
<angerman> remote-iserv = ./remote-iserv-8.5;
<angerman> iserv-proxy = ./iserv-proxy-8.5;
<jophish> gotcha, I'll start a ghc8.4 and 8.6 build and kick back for a couple of hours
<angerman> yea. I'll get some sleep :-)
<jophish> do you happen to know offhand if my cross ghc8.6 build will work from nixpkgs master?
<angerman> Never tried ghc8.6 in nixpkgs master yet
<angerman> Basically stuck with making my ghc8.4 work. And making our project 8.4 compatible.
<jophish> Thanks for all the hard work you've done on this!
alexteves has joined #nixos
<angerman> Ha, thanks. I wish i was more productive though ;-)
toby1851 has joined #nixos
neeasade has quit [Quit: Using Circe, the loveliest of all IRC clients]
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
Guest29 has quit [Ping timeout: 256 seconds]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
endformationage has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
graphene has quit [Remote host closed the connection]
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
graphene has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
<{^_^}> [nixpkgs] @dotlambda pushed to master « salt: 2018.3.0 -> 2018.3.2 »: https://git.io/fNvAk
tzemanovic has quit [Remote host closed the connection]
fuzzy_id has joined #nixos
tzemanovic has joined #nixos
<fuzzy_id> is anyone running samba on aarch64?
<{^_^}> [nixpkgs] @zimbatm opened pull request #43221 → WIP: guix: init at 0.15.0 → https://git.io/fNvAL
tzemanovic has quit [Remote host closed the connection]
<fuzzy_id> i cannot seem to get authentication running – I always get NT_STATUS_CONNECTION_DISCONNECTED
nlytend has joined #nixos
<fuzzy_id> I guess it has to do with the platform (aarch64) as i get it running properly on x64
<waynr> can anyone tell me how to find out more about the different build inputs listed in a default.nix file? like stdenv, fetchFromGithub, Security, etc
<{^_^}> [nixpkgs] @jtojnar opened pull request #43222 → nixos/udisks2: use upstream unit → https://git.io/fNvAs
sbdchd has joined #nixos
jgt has joined #nixos
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
kyren has quit [Read error: Connection reset by peer]
kyren_ has joined #nixos
<jophish> hmm, getting a lot of "You are using an unsupported version of LLVM!" building ghc, fingers crossed
kyren_ has quit [Remote host closed the connection]
kyren has joined #nixos
palo_ has joined #nixos
palo_ has quit [Changing host]
palo_ has joined #nixos
palo has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @leenaars opened pull request #43223 → botan: 2.6.0 -> 2.7.0 → https://git.io/fNvAD
logzet has quit [Ping timeout: 260 seconds]
logzet_ has joined #nixos
tzemanovic has joined #nixos
iyzsong has quit [Ping timeout: 240 seconds]
logzet_ is now known as logzet
logzet is now known as logzet_
tzemanovic has quit [Ping timeout: 244 seconds]
logzet_ is now known as logzet
ajs124 has left #nixos ["Machine going to sleep"]
andymandias has quit [Ping timeout: 240 seconds]
<viric> Hello - when using acme (let's encrypt) with apache, shouldn't httpd be told to reread the certs?
andymandias has joined #nixos
<waynr> nevermind, i figured it out...i think...it seems like the build inputs are each different nix packages themselvs
<waynr> viric: doesn't restarting the service do the trick?
<viric> waynr: what service?
<waynr> httpd
<viric> I mean when the cert is renewed
<viric> after a certain time, automatically. Will httpd be restarted then?
<waynr> hmm i'm not familiar with acme...i use certbot and i think it can be told to kick the http service after renewal
<jtojnar> worldofpeace: I see vapi in pulseaudio package without any modifications
<viric> acme is not certbot?
<waynr> :shrug:
<viric> damn it I have no idea of let'sencrypt in nixos
<viric> "use the Certbot ACME client" says the page
<viric> what is security.acme ?
<jtojnar> ,locate vapi/libpulse
<{^_^}> Found in packages: pulseaudioFull
<waynr> oh right, acme is the protocol and certbot is the client
literon has quit [Ping timeout: 252 seconds]
<jtojnar> worldofpeace: oh, right libpulseaudio is stripped down so it does not have the vapi
<waynr> viric: check out the documentation for certbot here: https://certbot.eff.org/docs/using.html#renewing-certificates
coot has quit [Quit: coot]
<waynr> looks like you can specify a --post-hook option to certbot that can be used to restart httpd on renewal
<viric> well I talk about nixos
<waynr> ah, well i can't help you there...i only run nix on top of debian systems
<viric> ok
hiratara has quit [Quit: ZNC - http://znc.in]
<jtojnar> worldofpeace: actually, the vapi files are distributed within the tarball, we are just removing them in libpulseaudio package: https://github.com/NixOS/nixpkgs/blob/4bbaf453b4c94f126470c543c71867e6357b2996/pkgs/servers/pulseaudio/default.nix#L125-L126
<{^_^}> [nixpkgs] @adisbladis merged pull request #43178 → nodejs-9_x: Package is EOL → https://git.io/fNv1Z
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/fNvpN
<{^_^}> [nixpkgs] @dotlambda merged pull request #43219 → pythonPackages.dkimpy: 0.6.2 -> 0.8.1 → https://git.io/fNvdm
<{^_^}> [nixpkgs] @dotlambda pushed 3 commits to master: https://git.io/fNvpp
jtojnar has quit [Quit: jtojnar]
jtojnar has joined #nixos
init_6 has quit []
<manveru> zimbatm: i think we had a working guile packages derivation for nix-installer, see https://github.com/manveru/nixos-installer/blob/0e168fc87ebca85cdd2b41dc17232339401d30e5/default.nix#L11
<manveru> not sure if it helps at all though...
<zimbatm> thanks I'll take a look
<zimbatm> building the libraries work okay, it's just guix itself that seems difficult for some reason
<manveru> yeah, it seems pretty tricky :|
<zimbatm> also, I didn't know about that project so it's a good excuse to discover what it does :)
<manveru> :)
jperras has joined #nixos
<zimbatm> manveru: what problem does the project solve?
<manveru> which one?
<__monty__> The non-gnuness of nix?
bennofs has joined #nixos
<manveru> well, they just want their whole OS to be configured/built/run with guile
<manveru> and guix folks put a lot of effort into bootstrapping everything they build from source instead of relying on binaries anywhere
<zimbatm> I mean the nixos-installer project, is it's goal to replace the nixos-install script from the distribution at some point?
mroutis has joined #nixos
<manveru> ah, that was our project at nixcon, haven't worked on it in a long time
<zimbatm> ^^ bootstapping would be nice
jperras has quit [Ping timeout: 268 seconds]
<manveru> but basically it's meant to be a graphical installer for nixos
<manveru> if i can find someone who knows C++/Python i could continue on it using calamares :)
<zimbatm> what does squids has to do with an installed? :)
<zimbatm> *installer
tzemanovic has joined #nixos
<manveru> and for bootstrapping see http://bootstrappable.org/
<zimbatm> one of my trolling friends keeps asking why he has to do the formatting by hand as nixos is supposed to be declarative
<manveru> yeah :)
<__monty__> What formatting?
<manveru> disk formatting
<zimbatm> when installing nixos with the ISO the first step is to partition and format the disk manually
<zimbatm> obviously that wouldn't work very well with rollback
<manveru> that's pretty much the only "hard" thing about installing, since many people just don't give a damn about partitioning or filesystems
<zimbatm> my friend likes to complain
timon37 has quit [Remote host closed the connection]
<zimbatm> still, it's an interesting idea
<manveru> calamares uses the kde partitioning tool as a library, which, while it's not declarative, would at least make it easy
tzemanovic has quit [Ping timeout: 256 seconds]
<infinisil> zimbatm: check out nixpart
<__monty__> Hmm, isn't partitioning already declarative? You specify a partition table and the tool changes the device to match?
<{^_^}> [nixpkgs] @volth opened pull request #43224 → substitute(): --subst-var was silently coercing to "" if the variable does not exist. → https://git.io/fNvj6
jb55 has joined #nixos
<manveru> __monty__: only with hetzner and nixops, afaik
<zimbatm> and swap
<zimbatm> infinisil: thanks
<__monty__> manveru: I'm talking about f/gdisk.
<manveru> __monty__: oh, yeah... if you call it that :)
<{^_^}> [nixpkgs] @peterhoeg opened pull request #43225 → anydesk: fix application shortcut → https://git.io/fNvjS
<zimbatm> it looks like calamares is already part of nixpkgs
<manveru> yeah, i packaged it
<manveru> but the actual installer config requires modifying some of their C++ modules to just store their selected options instead of actually doing the thing
<manveru> and i really don't feel like spending time learning that :P
<zimbatm> fair enough :p
alexteves_ has joined #nixos
<manveru> the other option would be https://github.com/elementary/installer
<manveru> it's also used by https://github.com/pop-os/installer
<zimbatm> I think the installer should be in two parts: system.nix that setups the partitioning and bootloader. Then configuration.nix to setup the distribution.
freeman42x]NixOS has joined #nixos
<manveru> exactly
<zimbatm> that would also solve the bootloader issue where old generations are kept around after GC
alexteves has quit [Ping timeout: 244 seconds]
<zimbatm> with some kexec magic or something
<zimbatm> wouldn't it be enough to open a pane with `$EDITOR system.nix` and another with the configuration?
<zimbatm> most of the installers are focused on the imperative approach
<zimbatm> splitting the bootloader out would also help for container-type setups
alex`` has quit [Quit: WeeChat 2.1]
alex`` has joined #nixos
<fuzzy_id> viric: if you haven't solved this – i'd add a restart trigger via systemd
blankhart has joined #nixos
hotfuzz_ has quit [Read error: Connection reset by peer]
hotfuzz_ has joined #nixos
<{^_^}> [nixpkgs] @IvanMalison opened pull request #43226 → notify-osd-customizable: init at 0.9.35+16.04.20160415 → https://git.io/fNfvW
owickstrom has joined #nixos
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/784f543cb76 (from 16 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
b has quit [Quit: Lost terminal]
<{^_^}> [nixpkgs] @copumpkin pushed to master « monosat: init at 1nx3wh34 »: https://git.io/fNfvA
<{^_^}> [nixpkgs] @waynr opened pull request #43227 → Add dnscrypt-proxy2 package. → https://git.io/fNffJ
lnikkila has quit [Ping timeout: 264 seconds]
<jb55> I'm trying to get the xorg.libX11 man pages, nix-shell -p xorg.libX11.man --run 'man 3 XSetWMNormalHints' doesn't seem to work? man -w doesn't seem to pick up on the path. what's the best way to do this?
<tenten8401> Anyone know if there's a reason why a crontab wouldn't be running?
<worldofpeace> jtojnar: ahh ok. easy
<tenten8401> If I execute the command in the crontab file it runs as expected
<tenten8401> but I've been waiting hours and this task doesn't run at all
<jtojnar> worldofpeace: I suggest using pulseaudio instead of libpulseaudio
<jtojnar> it will be in closure anyway
<tenten8401> does sudo work in a crontab? is there a way to force it to run as a user if not?
<jtojnar> worldofpeace: and once https://github.com/NixOS/nixpkgs/pull/38494 is merged, you will benefit from the smaller closure
<{^_^}> #38494 (by avnik, open): [WIP] Refactor libprefixed packages to multioutput
fragamus has joined #nixos
<worldofpeace> my notes are getting bigger by the second :)
b has joined #nixos
stanibanani has joined #nixos
toby1851 has quit [Remote host closed the connection]
toby1851 has joined #nixos
<worldofpeace> manveru: this https://github.com/elementary/installer is just a frontend to the backend written in rust --> https://github.com/pop-os/distinst . Also seems other people are interested https://github.com/pop-os/distinst/issues/108
<{^_^}> #108 (by AdrianVovk, open): Custom installation phases
stanibanani has quit [Ping timeout: 268 seconds]
lnikkila has joined #nixos
anon777 has joined #nixos
<anon777> quick question: why does nix use hashes in package names instead of e.g. version numbers?
logzet_ has joined #nixos
<cocreature> Hey, when I install firefox-devedition-bin using "nix-env -iA nixos.firefox-devedition-bin", I get the "firefox-devedition" binary in my PATH as I expect to but I also get the unwrapped "firefox" binary symlinked to ~/.nix-profile/bin. Is there a way to avoid this?
logzet has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @Mic92 pushed to master « python.pkgs.pycodestyle: 2.3.1 -> 2.4.0 »: https://git.io/fNfJ3
freeman42x]NixOS has quit [Ping timeout: 240 seconds]
<foldingcookie> anon777: version numbers can't be automatically verified by inspecting contents the way hashes can
<{^_^}> [nixpkgs] @Mic92 pushed to master « Revert "python.pkgs.pycodestyle: 2.3.1 -> 2.4.0" »: https://git.io/fNfJu
kyren_ has joined #nixos
<anon777> but dont version numbers denote the soce at an *exact* point in time
kyren has quit [Read error: Connection reset by peer]
<worldofpeace> jtojnar: these would be `mutter clutter cogl pango` in nixpkgs? --> https://github.com/elementary/gala/blob/8e142b9ef967d857c4cf311eaa986b4768432169/meson.build#L211
<cocreature> anon777: what prevents someone from updating the source code without updating the version number?
<foldingcookie> no, it's easy for sloppiness or complexity (e.g. distro or backported patches) to cause different actual source archives to claim the same version numebr
<foldingcookie> number*
<anon777> ok
<anon777> i get it now, thx
anon777 has left #nixos [#nixos]
kyren has joined #nixos
kyren_ has quit [Ping timeout: 240 seconds]
fuzzy_id has quit [Ping timeout: 255 seconds]
kyren has quit [Read error: Connection reset by peer]
kyren_ has joined #nixos
igo95862 has joined #nixos
kyren has joined #nixos
kyren_ has quit [Ping timeout: 268 seconds]
yurb is now known as yurb_afk
<jtojnar> worldofpeace: that is all from mutter only
jgt has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @Mic92 closed pull request #42321 → libdigidoc: 3.10.1.1212 -> 3.10.4, libdigidocpp: 3.13.3.1365 -> 3.13.6, remove qdigidoc → https://git.io/fWbWg
palo_ is now known as palo
<worldofpeace> jtojnar: *smacks head- obviously
<jtojnar> > with import <nixpkgs> {}; builtins.readDir "${stdenv.lib.getDev gnome3.mutter}/lib/pkgconfig"
<{^_^}> cannot read '/nix/store/5snrbhyqh6ncl056f4bwg61ibizsydjh-mutter-3.28.2/lib/pkgconfig', since path '/nix/store/ji3zr0arybxajq2n25sp9d26rqdgpizp-mutter-3.28.2.drv' is not valid, at (string):153:27
kyren_ has joined #nixos
kyren has quit [Read error: Connection reset by peer]
<worldofpeace> libmutter-2?
<{^_^}> [nixpkgs] @janpath opened pull request #43228 → Fix invalid sentence in doc → https://git.io/fNfUz
andymandias has quit [Ping timeout: 240 seconds]
andymandias has joined #nixos
kyren_ has quit [Remote host closed the connection]
<mroutis> mhm, hi, after trying to install nixos (following the nixos-help), it loads grub but displays an error "unknow filesystem"
<mroutis> where should I look up?
kyren has joined #nixos
<worldofpeace> jtojnar: it fails without clutter I guess
<jtojnar> worldofpeace: clutter probably needs to be in propagatedBuildInputs of mutter, as we discussed yesterday
jperras has joined #nixos
<jtojnar> though if a project wants to use mutter-clutter, they will need symbols from clutter as well, so maybe adding it to propagatedBuildInputs would be superfluous
<mroutis> ohh, I changed the partition table and forgot to reformat the partition
<{^_^}> Channel nixos-18.03 advanced to https://github.com/NixOS/nixpkgs/commit/de7ca40ac3b (from 11 hours ago, history: https://channels.nix.gsc.io/nixos-18.03)
nlytend has quit [Quit: disconnected.]
jperras has quit [Ping timeout: 240 seconds]
<mroutis> noup, I used the correct filesystem and it still shows the message
<mroutis> I guess I'll start from scratch
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/84d8eeae047 (from 44 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @jwiegley merged pull request #43216 → coqPackages.equations: enable for Coq 8.8 → https://git.io/fNv77
<{^_^}> [nixpkgs] @jwiegley pushed 2 commits to master: https://git.io/fNfTB
blymberry has quit [Read error: Connection reset by peer]
nlytend has joined #nixos
fresheyeball has joined #nixos
<fresheyeball> does anyone know how to tell which base versions match which ghc versions?
<cocreature> fresheyeball: that’s probably more appropriate for #haskell than for #nixos but here you go https://ghc.haskell.org/trac/ghc/wiki/Commentary/Libraries/VersionHistory
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nlytend has quit [Ping timeout: 244 seconds]
<fresheyeball> cocreature: thanks
yonk23_ has joined #nixos
<fresheyeball> cocreature: now I its nixy though, because I need to force a depencie to use slightly newer base (which should work out I think)
<cocreature> afaik you need to at least recompile GHC to use a different version of base
<cocreature> and at that point, upgrading GHC is usually the easier option
<yonk23_> hey all, I'm currently packaging whipper (https://github.com/JoeLametta/whipper) for NixOS, but the build is a tad unusual because you first build a custom version of accurip with make and then install whipper itself via python setup.py. What would be the best way to package this? I currently have this (https://pastebin.com/rn9z5tFq), which works, but I'm unsure if this is the most elegant way. Any input
<fresheyeball> I can't override the dependency to relax its version bound?
<yonk23_> would be much appreciated.
pie__ has quit [Ping timeout: 260 seconds]
<cocreature> fresheyeball: oh if that’s what you want to do, you can use doJailbreak
<fresheyeball> cocreature: where is that thing?
<fresheyeball> its not on haskellPackages
<fresheyeball> actually sec
<infinisil> > haskell.lib
<{^_^}> { addBuildDepend = <CODE>; addBuildDepends = <CODE>; addBuildTool = <CODE>; addBuildTools = <CODE>; addExtraLibraries = <CODE>; addExtraLibrary = <CODE>; addPkgconfigDepend = <CODE>; addPkgconfigDepen...
<infinisil> > haskell.lib.doJailbreak
<{^_^}> <LAMBDA>
<cocreature> protip: grepping in nixpkgs works pretty well :)
d3rNarr[m] has joined #nixos
<fresheyeball> that is one thing I would love
<fresheyeball> if the <LAMBDA> message could be descriptive
<fresheyeball> cocreature: so doJailbreak did not work to relax the version bounds of the tarkget package
<cocreature> which package are we talking about?
<fresheyeball> I am trying to make beam-core work with base 4.11
<cocreature> doJailbreak can fail if you have conditionals in your package iirc
<fresheyeball> hmm
<cocreature> huh? the latest version of beam-core on hackage doesn’t have a bound that prevents 4.11
<fresheyeball> cocreature: hmmm you might be right, Its a dependnecy of beam that is doingit
igo95862 has quit [Quit: igo95862]
<cocreature> looks like you need to jailbreak vector-sized
fuzzy_id has joined #nixos
<fresheyeball> on it
<cocreature> but a better option would probably be to just use the latest version of vector-sized which doesn’t have this limiting bound
<worldofpeace> jtojnar: Looked through the logs and couldn't find that. Making note of it regardless.
<fresheyeball> cocreature: my project doesnt need it though
<fresheyeball> how would I do that?
<fresheyeball> oh nos, it does not compile with doJailbreak
<cocreature> vector-sized = super.callHackage "vector-sized" "1.0.3.0" {};
<fresheyeball> cocreature: nice I did not know about callHackage
<cocreature> your nixpkgs probably doesn’t have an all-cabal-hashes repo that’s sufficiently new to contain that version
freeman42x]NixOS has joined #nixos
<cocreature> either choose a slightly older version or use a newer version of all-cabal-hashes
slack1256 has joined #nixos
<fresheyeball> cocreature: I don't know how to go about that, as I did not know about callHackage until 5 minutes ago
<fresheyeball> how can I get a different hash set?
<fresheyeball> I am going to upgrade my nixpkgs
<fresheyeball> see how it goes
<cocreature> in addition to the "overrides" attribute that you pass to "override", you can also add something like "all-cabal-hashes = builtins.fetchurl { url = "https://github.com/commercialhaskell/all-cabal-hashes/archive/${rev}.tar.gz"; sha256 = "${hash}"; };"
<fresheyeball> weird ok
lord| has quit [Read error: Connection reset by peer]
betaboon has joined #nixos
<betaboon> hello, has anyone attempted to write a boot module for refind ?
justbeingglad has joined #nixos
lord| has joined #nixos
justbeingglad has left #nixos [#nixos]
<samueldr> betaboon: not yet
pie_ has joined #nixos
<betaboon> hm. maybe i
<betaboon> 'll try then :/
<waynr> does anyone here know if the github pull request labels are documented anywhere? I'm not sure what the "rebuild" labels on my PR mean: https://github.com/NixOS/nixpkgs/pull/43227
<{^_^}> #43227 (by waynr, open): Add dnscrypt-proxy2 package.
Olgierd has joined #nixos
Olgierd has quit [Changing host]
Olgierd has joined #nixos
b has quit [Ping timeout: 244 seconds]
<waynr> also, does anyone know if there is a way to get a list of all the installed packages in a given nix-env profile?
<clever> waynr: that just means hydra is going to have to (re)build dnscrypt-proxy2 on linux and darwin
<clever> waynr: nix-env -q
NinjaTrappeur has quit [Quit: WeeChat 2.1]
fuzzy_id has quit [Ping timeout: 276 seconds]
sigmundv has quit [Ping timeout: 240 seconds]
mariatsji has joined #nixos
<waynr> thanks clever!
mariatsji has quit [Remote host closed the connection]
<fresheyeball> cocreature: building, you are the best
kyren has quit [Remote host closed the connection]
spinus has joined #nixos
kyren has joined #nixos
<spinus> hello, I'm changing localectl set-x11-keymap en but it says "Failed to set keymap: Changing system settings via systemd is not supported on NixOS". For setxkbmap is says "Error loading new keyboard description". Few days ago I had no problems having proper keyboard layout, now any method (xfce keyboard layout as well) does not work (unstable channel), anybody has similar issue?
<infinisil> spinus: setxkbmap -layout us?
nlytend has joined #nixos
<cocreature> fresheyeball: nice! :)
<fresheyeball> it really is the people in the community and in irc, that are making me a nix developer
<fresheyeball> you all are the amazing
<spinus> infinisil: us seem to not throw an error, but any other does
<infinisil> spinus: Well then those are involid
<infinisil> invalid
<spinus> Yeah, just wondering why and how I can get my layouts back
<spinus> yup, I have those vars set
<infinisil> And..?
<{^_^}> [nixpkgs] @pSub merged pull request #43214 → babeltrace: 1.5.5 -> 1.5.6 → https://git.io/fNvQs
<{^_^}> [nixpkgs] @pSub pushed 2 commits to master: https://git.io/fNfIR
<worldofpeace> cocreature: that's the secret agenda behind the irc :P
<spinus> and does not work :-)
igo95862 has joined #nixos
<spinus> xkb-switch shows only us layout, looks like all other layouts were removed or what
juhe has quit [Quit: Leaving.]
winem_ has joined #nixos
<{^_^}> [nixpkgs] @pSub pushed to master « klaus: 1.2.2 -> 1.3.0 »: https://git.io/fNfIi
<{^_^}> [nixpkgs] @NeQuissimus pushed 2 commits to master: https://git.io/fNfID
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.03 « linux: 4.14.53 -> 4.14.54 »: https://git.io/fNfI9
clefru has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « linux: Remove 4.16 leftovers »: https://git.io/fNfI7
aarvar has joined #nixos
spinus has quit [Remote host closed the connection]
mariatsji has joined #nixos
jmeredith has quit [Quit: Connection closed for inactivity]
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
mariatsji has quit [Remote host closed the connection]
<clefru> Is there anything speaking against boot.kernelPackages = ((import <nixos-unstable>) {}).linux_4_17; in a release-18.03 system?
<clefru> I just got hit by the 4.16 kernel removal in the release-18.03 tree and I got tired of down-grading to 4.14 again
<clever> clefru: that looks like it should be safe
spinus has joined #nixos
<{^_^}> [nixpkgs] @pSub pushed to master « klaus: fix hash »: https://git.io/fNfL7
<elvishjerricco> clefru: Wait 4.16 got removed from 18.03? That can't be right...
<spinus> hmm, looks like there is an error in symbols file and xkbcomp cannot load it :/
<spinus> will make a patch
<elvishjerricco> Aw...
<elvishjerricco> I was using that :P
<clefru> same here :)
tv has quit [Ping timeout: 245 seconds]
<Dezgeg> you can use linux_latest to get the latest one
<elvishjerricco> Dezgeg: I specifically need >= 4.16 though
goibhniu has joined #nixos
<samueldr> latest is 4.14 in 18.03
<Dezgeg> doesn't linux_latest satisfy that
<elvishjerricco> "need" is a strong word... :P 4.16 brought support for temp monitoring of my CPU
<clefru> elvishjerricco: ryzen? :D
<elvishjerricco> Yup :P
<Dezgeg> probably linux_latest should be fixed on 18.03 then
<elvishjerricco> Dezgeg: Yea I'm surprised that this is considered a stable change
<Dezgeg> well, it's either that or not having anything newer than 4.14
graphene has quit [Remote host closed the connection]
<clefru> elvishjerricco: here is a snippet to do on the fly patching.. not properly edited but you get the idea: https://pastebin.com/TPPFz90i
<clefru> elvishjerricco: I specially had to patch 4.14 for the ryzen stuff..
<samueldr> it's a hard proposition, though I must assume that backporting changes so 4.17 compiles would be right?
<elvishjerricco> clefru: Yea I've got something equivalent in my dotfiles git history somewhere...
<elvishjerricco> But I was glad that it was gone :P
graphene has joined #nixos
pie_ has quit [Ping timeout: 265 seconds]
coot has joined #nixos
igo95862 has quit [Remote host closed the connection]
<hyper_ch> hmmmm, who are the python maintainers here?
jperras has joined #nixos
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/2a8a5533d18 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
jperras has quit [Ping timeout: 244 seconds]
winem__ has joined #nixos
winem_ has quit [Ping timeout: 265 seconds]
ixxie has joined #nixos
tzemanovic has joined #nixos
<mkaito> how would I go about trying the testing kernel?
clefru has quit [Quit: Leaving]
mroutis has quit [Ping timeout: 268 seconds]
pie_ has joined #nixos
tzemanovic has quit [Ping timeout: 244 seconds]
ixxie has quit [Ping timeout: 248 seconds]
slack1256 has quit [Ping timeout: 256 seconds]
robstr has quit [Quit: WeeChat 1.9.1]
knupfer has quit [Remote host closed the connection]
clefru has joined #nixos
telent has joined #nixos
wgas has joined #nixos
<clefru> elvishjerricco: FYI, "boot.kernelPackages = ((import <nixos-unstable>) {}).linux_4_17;" works fine
<elvishjerricco> clefru: Cool
<elvishjerricco> Ugh. `Connection Failed: DBusFailedError: Protocol not available...` when trying to connect to my headphones. This happens every now and then and I have to reboot to fix it
<elvishjerricco> Anyone know what's up with that?
<elvishjerricco> `systemctl restart bluetooth.service` doesn't help
<samueldr> nope, and if you find out, elvishjerricco, please tell :(
<samueldr> doesn't happen often, but when it happens, it's irritating
<Dezgeg> well that one will break when linux_4_17 goes away from unstable
<samueldr> Dezgeg: while it can be seen as a con, it's also a pro, you'll have to act on it instead of silently have it up/downgraded
jgt has joined #nixos
<samueldr> (I generally select a 4_x package to at least keep the major kernel revision changes under my control)
<Dezgeg> there's nothing different between 3.x and 4.x really
<samueldr> let's revise for "minor"
<samueldr> I'm acting as if X.Y is major for the kernel
<samueldr> because as you said: nothing different really :)
<{^_^}> [nixpkgs] @anjefu opened pull request #43229 → Add license to cpdf → https://git.io/fNfqu
<spinus> I'm trying to override in configuration.nix, using nixpkgs.config.packageOverrides, but I want to override nested pacakge pkgs.xorg.keyboard-config, how I do that?
<spinus> when I do xorg.keyboard-config = pkgs.xorg.keyboard-config.overrideAttrs it throws the error, I didn't find any examples how to do that, any idea?
nallar has joined #nixos
Ross has quit [Ping timeout: 264 seconds]
nallar is now known as Ross
vcunat has quit [Quit: Leaving.]
<infinisil> Why not just write an xkb file?
<spinus> infinisil: you mean the file that is consumed by xkbcomp?
<spinus> sorry, I'm not very familiar with all keyboard config files
betaboon has quit [Ping timeout: 256 seconds]
nlytend has quit [Quit: disconnected.]
<infinisil> spinus: What kind of keylayout mods do you need?
<spinus> no mods, just basic
Lears has quit [Remote host closed the connection]
<infinisil> Define "basic"
<infinisil> You keep talking about wanting to set your layout but you never said what layout that is
<spinus> currently I found issue in line 500 of layout "pl"
<spinus> there is "--------------------" and I guess that should be a comment
<spinus> and any pl variant cannot be loaded
<infinisil> spinus: Whoa you're right :O
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/e930c685d51 (from 89 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
<spinus> I'll check original file and probably write to author, but in the meantime would be great to override this
phdoerfler has quit [Quit: Leaving.]
wgas has left #nixos ["Leaving"]
<infinisil> spinus: Yeah hold on
<spinus> ok, I found a way :)
<spinus> xorg = pkgs.xorg // { here my package }
<spinus> I see 2.24 is fixed on xorg server
<spinus> so maybe simpler to bump it
<tenten8401> Would anyone happen to know why I can't run the Minecraft game without using the package? Seems to be missing xorg.libXxf86vm system-wide, but installing it doesn't let the game launch
<tenten8401> do I have to restart the computer to load the new xorg lib?
<tenten8401> or restart xorg at least
<clever> tenten8401: installing libraries wont help on nix
<clever> ,library
<{^_^}> Don't install libraries through nix-env or systemPackages. See https://nixos.wiki/wiki/FAQ/Libraries for details.
<tenten8401> so I'd have to use nix-shell to launch my game?
<tenten8401> (or make a package)
<clever> you have to patch the package to setup LD_LIBRARY_PATH when running it
<clever> minecraft is also already packaged
<tenten8401> Trying to run an unofficial launcher for minecraft
<tenten8401> makes it much easier to run modpacks
<{^_^}> [nixpkgs] @timokau opened pull request #43230 → gf2x: 1.1 -> 1.2 → https://git.io/fNfmn
<the-kenny-w> t
<tenten8401> I'll see what I can do with that, trying to run ATLauncher
<clever> tenten8401: should be as simple as swapping out the jar and renaming it
<spinus> infinisil: tell me please, why is it better then patching xkeyboard-config or setxkbmap packages, is xkbDir propagated to those?
<tenten8401> I'll give it a shot
<infinisil> spinus: It is not, but that may be desirable because otherwise a bunch of stuff that depends on it might need to be rebuilt
<tenten8401> ohh I'm starting to remember why I gave up on packaging ATLauncher earlier
b has joined #nixos
<infinisil> spinus: My gist does the minimal amount of rebuilding to get what you need
<tenten8401> there was some screwy escape sequence that I couldn't figure out
Thra11 has joined #nixos
<spinus> infinisil: I see, thank you
<infinisil> spinus: Is there an issue somewhere regarding this ------ line?
<spinus> you mean the ticket opened?
<infinisil> Is there one I mean?
<spinus> I'm not aware of
<spinus> ok, quick restart X for testing
spinus has quit [Remote host closed the connection]
Ariakenom_ has joined #nixos
Ariakenom has quit [Ping timeout: 244 seconds]
Izorkin_ has joined #nixos
Izorkin has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @Mic92 merged pull request #43229 → Add license to cpdf → https://git.io/fNfqu
<{^_^}> [nixpkgs] @Mic92 pushed commit from @anjefu to master « cpdf: add license (#43229) »: https://git.io/fNfmM
pie__ has joined #nixos
pie_ has quit [Read error: Connection reset by peer]
Supersonic has quit [Ping timeout: 256 seconds]
Supersonic has joined #nixos
<tenten8401> Is there a list somewhere of characters I'd need to escape to get something to be purely evaluated as a string?
Lears has joined #nixos
spinus has joined #nixos
<clever> tenten8401: depends on if its a " or '' string
clefru has left #nixos ["Leaving"]
<tenten8401> it's a double single-quote
<spinus> infinisil: does not work, seem that symlinkJoin cause the issue (even if I leave postBuild blank, display-manager does not start)
<clever> > '' ''${ to escape a $ and {, then ''' to escape double single''
<{^_^}> "${ to escape a $ and {, then '' to escape double single"
<samueldr> ,escape'' tenten8401
<{^_^}> tenten8401: '' two single quotes: ''' bash curly bois: ''${} newline: ''\n tab: ''\t any character x: ''\x ''
<tenten8401> just tried to save my file and atom crashed, nice
<samueldr> though, for hard to understand sequences, I like using '' var=${"''hard!''"} ''
<infinisil> spinus: Set services.xserver.exportConfiguration = true;, then rebuild, and then check if /etc/X11/xkb/symbols/pl still has the '-----'
<spinus> infinisil: it does not, sed works, there is another issue somewhere, but checking what you wrote
<tenten8401> Anyone know if there's Nix syntax highlighting for Kate? really fed up with Atom
<{^_^}> [nixpkgs] @Infinisil opened pull request #43232 → xorg.xkeyboardconfig: 2.23.1 -> 2.24, Fixes issue with polish symbols syntax → https://git.io/fNfYZ
jgt has quit [Ping timeout: 256 seconds]
<infinisil> spinus: Apparently it's fixed in the latest version, see this PR ^^
<{^_^}> [nixpkgs] @xeji opened pull request #43233 → buildSupport: add helpers for verifying code signatures → https://git.io/fNfY8
<spinus> infinisil: yeah, I wrote 24 looks good. Thanks for PR!
<{^_^}> [nixpkgs] @Infinisil merged pull request #42861 → Idris packages clean ups and updates → https://git.io/fPJl4
<{^_^}> [nixpkgs] @Infinisil pushed 13 commits to master: https://git.io/fNfY4
<infinisil> spinus: (you wrote 24? Whatcha mean?)
<spinus> no :)
<spinus> was already there
<{^_^}> [nixpkgs] @xeji closed pull request #42580 → [WIP] 1password: check binary code signature during build → https://git.io/f4Hzf
<infinisil> spinus: You seriously gotta work on your wording, I still have no idea what you're talking about, has been happening a lot in our conversation
<spinus> sorry man :-) I'll try to be more explicit
<spinus> thank you for help
<infinisil> spinus: Np, so it still doesn't work, or do you have everything figured out?
<spinus> I've applied your patch to upgrade to 24 and waiting for massive rebuild, I guess it should do the job
<infinisil> Well the simple patch i sent earlier should fix the problem too
<infinisil> the one with the buggy line
<infinisil> Did you set exportConfiguration = true; and look at /etc/X11/xkb/symbols/pl to see if the symlinkJoin correctly removes the ----?
<{^_^}> [nixpkgs] @xeji merged pull request #43028 → mate.eom: 1.20.1 -> 1.21.0 → https://git.io/fbpGp
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « mate.eom: 1.20.1 -> 1.21.0 (#43028) »: https://git.io/fNfYH
bennofs has quit [Ping timeout: 255 seconds]
<tenten8401> I mean, I think I got the escaping sorted out, but I'm getting an unexpected $undefined error, which doesn't seem to be related to the contents on the line it's pointing at
alex`` has quit [Quit: WeeChat 2.1]
<{^_^}> [nixpkgs] @xeji merged pull request #42935 → xawtv: 3.104 -> 3.105 → https://git.io/f5upX
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « xawtv: 3.104 -> 3.105 (#42935) »: https://git.io/fNfY5
simukis has quit [Ping timeout: 256 seconds]
<tenten8401> actually, I was editing the wrong file, I'm dumb
<tenten8401> escaping doesn't seem to be working though, at least from what I can tell
<{^_^}> [nixpkgs] @xeji merged pull request #42981 → mate.mate-user-share: 1.20.0 -> 1.20.1 → https://git.io/fbx8X
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « mate.mate-user-share: 1.20.0 -> 1.20.1 (#42981) »: https://git.io/fNfYA
graphene has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @xeji merged pull request #42982 → mate.mate-netbook: 1.20.0 -> 1.20.1 → https://git.io/fbx8H
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « mate.mate-netbook: 1.20.0 -> 1.20.1 (#42982) »: https://git.io/fNfYp
<infinisil> tenten8401: gist?
<tenten8401> 1s
graphene has joined #nixos
<tenten8401> trying to escape the text in --working-dir so it doesn't get sent to the /homeless-shelter/ directory
<infinisil> Ah
<infinisil> > '' "''${XDG}" '' # current
<{^_^}> "\"${XDG}\" "
<infinisil> > '' "\''${XDG}" '' # maybe this should work
<{^_^}> "\"\\${XDG}\" "
<{^_^}> [nixpkgs] @xeji merged pull request #42963 → lxqt.qterminal: 0.8.0 -> 0.9.0 → https://git.io/fbOkA
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « lxqt.qterminal: 0.8.0 -> 0.9.0 (#42963) »: https://git.io/fNfOf
<infinisil> Yeah, to escape the $ for it to not get expanded by bash
jgt has joined #nixos
<infinisil> I'm not a fan of those cat > $out/bin/foo << EOF things
<infinisil> As you see they take escaping to the next level
<tenten8401> is there a better way to do it? I just copied it from the minecraft package in nixpkgs
<LnL> use cat > $out/bin/foo <<-'EOF'
<infinisil> LnL: $out in the script should still get expanded though
<LnL> well, it's one or the other
<infinisil> tenten8401: I'd use `let wrapper = pkgs.writeScript "wrapper" ''...@out@...''`, then `installPhase = "substitute ${wrapper} $out/bin/foo --subst-var out"`
<LnL> this would be easier with makeWrapper tho
<LnL> or that
<{^_^}> [nixpkgs] @xeji merged pull request #43228 → Fix invalid sentence in doc → https://git.io/fNfUz
<{^_^}> [nixpkgs] @xeji pushed commit from @janpath to master « Fix invalid sentence in doc (#43228) »: https://git.io/fNfOs
seafood has joined #nixos
jb55 has quit [Quit: WeeChat 2.1]
<infinisil> Ohh yeah makeWrapper
<tenten8401> would I use makeWrapper in the same way or?
<{^_^}> [nixpkgs] @xeji merged pull request #42979 → nomacs: 3.8.1 -> 3.10.0 → https://git.io/fbx8z
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « nomacs: 3.8.1 -> 3.10.0 (#42979) »: https://git.io/fNfOc
joepie91_to_go has joined #nixos
<infinisil> tenten8401: You'd use something like `makeWrapper ${jre}/bin/java --add-flags "-jar $out/ATLauncher..." --suffix LD_LIBRARY_PATH : ${makeLibraryPath ...
<infinisil> tenten8401: Whoops forgot the second argument: makeWrapper ${jre}/bin/java $out/bin/atlauncher --add-flags ...
<{^_^}> [nixpkgs] @xeji merged pull request #42989 → lxqt.lximage-qt: 0.6.0 -> 0.7.0 → https://git.io/fbxBk
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « lxqt.lximage-qt: 0.6.0 -> 0.7.0 (#42989) »: https://git.io/fNfO8
<tenten8401> Are there any packages that you know of that use it that I could look at?
<{^_^}> [nixpkgs] @xeji merged pull request #42978 → musescore: 2.2.1 -> 2.3 → https://git.io/fbx8Z
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « musescore: 2.2.1 -> 2.3 (#42978) »: https://git.io/fNfOu
jperras has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #42992 → mate.mate-indicator-applet: 1.20.0 -> 1.20.1 → https://git.io/fbxBV
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « mate.mate-indicator-applet: 1.20.0 -> 1.20.1 (#42992) »: https://git.io/fNfOa
<tenten8401> found one
winem__ has quit [Ping timeout: 255 seconds]
myshoe has quit [Remote host closed the connection]
jperras has quit [Ping timeout: 244 seconds]
Thra11 has quit [Ping timeout: 248 seconds]
seafood has quit [Quit: seafood]
<jgt> if I have a line like `riskbook = pkgs.haskell.lib.justStaticExecutables (import ./haskell-packages-dev.nix { inherit pkgs; }).riskbook;`, how would I set `doCheck = false` on the riskbook package?
<jgt> do I need to use callPackage?
<{^_^}> [nixpkgs] @xeji merged pull request #42995 → mate.mate-icon-theme: 1.20.1 -> 1.21.0 → https://git.io/fbxRY
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « mate.mate-icon-theme: 1.20.1 -> 1.21.0 (#42995) »: https://git.io/fNfO1
<{^_^}> [nixpkgs] @xeji merged pull request #42997 → libskk: 1.0.3 -> 1.0.4 → https://git.io/fbxR6
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « libskk: 1.0.3 -> 1.0.4 (#42997) »: https://git.io/fNfOD
<jgt> oh, I don't even have callPackage
<{^_^}> [nixpkgs] @xeji merged pull request #42999 → jackett: 0.8.1138 -> 0.8.1209 → https://git.io/fbx0v
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « jackett: 0.8.1138 -> 0.8.1209 (#42999) »: https://git.io/fNfOQ
joepie91_to_go has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #42993 → libtomcrypt: 1.18.1 -> 1.18.2 → https://git.io/fbxB9
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « libtomcrypt: 1.18.1 -> 1.18.2 (#42993) »: https://git.io/fNfOb
__monty__ has quit [Quit: leaving]
<{^_^}> [nixpkgs] @timokau opened pull request #43234 → openblas: backport fix → https://git.io/fNfON
mahalel_ has joined #nixos
w17t has joined #nixos
<{^_^}> [nixpkgs] @samueldr opened pull request #43235 → linux: Backports linux kernel 4.17 to 18.03 → https://git.io/fNfOh
ajs124 has joined #nixos
tzemanovic has joined #nixos
<clever> jgt: overrideCabal
<clever> jgt: or
<clever> jgt: haskell.lib.dontCheck
<{^_^}> [nixpkgs] @xeji merged pull request #42984 → lxqt.lxqt-qtplugin: 0.12.0 -> 0.13.0 → https://git.io/fbx4L
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « lxqt.lxqt-qtplugin: 0.12.0 -> 0.13.0 (#42984) »: https://git.io/fNf3v
<clever> jgt: its applied the same as justStaticExecutables
goibhniu has quit [Ping timeout: 244 seconds]
<tenten8401> uhg, this is so stupid, I can't seem to escape this no matter what I try
<tenten8401> and the lack of syntax highlighting in kate doesn't help with that
<clever> tenten8401: can you gist what your wanting to do?
<tenten8401> I'm trying to escape the text in --working-dir so that it doesn't get sent to /homeless-shelter/ when building
<clever> \$HOME
<jgt> clever: I tried this, but it didn't work: riskbook = pkgs.haskell.lib.justStaticExecutables (pkgs.haskell.lib.dontCheck (import ./haskell-packages-dev.nix { inherit pkgs; }).riskbook);
<clever> jgt: how did it not work?
<jgt> wasn't sure if I could use them like functions
<tenten8401> I'm getting an unexpected ":", even after escaping that with a backslash
Inconspicuous[m] is now known as incospicuous[m]
<jgt> clever: it tried to start downloading the test dependencies
<clever> tenten8401: i think the \' escaped the ' and then the '${ wasnt an escape
<clever> tenten8401: try \\ for that one
<jgt> hmm… Maybe it'll still download the dependencies but not run the test. I'll try actually running it.
<tenten8401> Would I do \\ for the } as well?
<clever> nope
<clever> ''${ is the nix level escape to make a ${
<clever> and then \\ is the nix level escape for \
<clever> which results in \${ at the bash level
<clever> which escapes it so that bash doesnt eval it
<clever> so now ${XDG_DATA_HOME:-$HOME} will appear in the bash script its generating
tzemanovic has quit [Ping timeout: 244 seconds]
<clever> and you dont nsee the }\''/atlauncher escape
Ariakenom_ has quit [Quit: Leaving]
<tenten8401> I've got --working-dir "\\''${XDG_DATA_HOME:-\$HOME/.local/share}\''/atlauncher" now, and I'm still getting the unexpected :
<clever> > '' --working-dir "\\''${XDG_DATA_HOME:-\$HOME/.local/share}/atlauncher" ''
<{^_^}> "--working-dir \"\\\\${XDG_DATA_HOME:-\\$HOME/.local/share}/atlauncher\" "
<clever> tenten8401: thats because you have an extra '' at the end
<clever> tenten8401: which ends the string
<clever> > '' --working-dir "\''${XDG_DATA_HOME:-\$HOME/.local/share}/atlauncher" ''
<samueldr> tenten8401: --working-dir is for "--add-flags", right?
<{^_^}> "--working-dir \"\\${XDG_DATA_HOME:-\\$HOME/.local/share}/atlauncher\" "
<clever> tenten8401: i think you want what i just typed
<tenten8401> --working-dir is being put inside of --add-flags, yeah
<{^_^}> [nixpkgs] @xeji merged pull request #42983 → libsmbios: 2.4.1 -> 2.4.2 → https://git.io/fbx8p
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « libsmbios: 2.4.1 -> 2.4.2 (#42983) »: https://git.io/fNf3m
<samueldr> I think there was also an unbalanced quote
<samueldr> you'll also need `buildInputs = [ makeWrapper ];` and `, makeWrapper` in the function parameters
<tenten8401> I was just about to add that after realizing
<samueldr> :)
yurb_afk is now known as yurb
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
tzemanovic has joined #nixos
freeman42x[nix] has joined #nixos
<tenten8401> samueldr: the fix you made did work I think, but $HOME isn't being escaped and getting set to /homeless-shelter/
<tenten8401> double backslashing $HOME doesn't seem to make a difference either
<tenten8401> it ends up as "${XDG_DATA_HOME:-\/homeless-shelter/.local/share}/atlauncher"
<samueldr> didn't touch that, but yeah, you're right
<clever> tenten8401: you may need \$HOME
<tenten8401> was just about to try that instead
igo95862 has joined #nixos
<tenten8401> heyy, it evaluates correctly, and the program still crashes for some weird reason
<tenten8401> 1s
aarvar has quit [Ping timeout: 265 seconds]
<clever> i think you need to adjust the double quotes
lnikkila has quit [Ping timeout: 244 seconds]
<clever> your passing a single arg to makeWrapper
<clever> not several
<{^_^}> [nixpkgs] @xeji merged pull request #43165 → [staging] pcre: 8.41 -> 8.42 → https://git.io/fNviO
<{^_^}> [nixpkgs] @xeji pushed commit from @volth to staging « [staging] pcre: 8.41 -> 8.42 (#43165) »: https://git.io/fNf3g
<samueldr> --suffix isn't use right I think
<samueldr> » --prefix ENV SEP VAL : suffix/prefix ENV with VAL, separated by SEP
<clever> that suffix is inside the double-quotes of something else
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « libsForQt5.libopenshot-audio: 0.1.5 -> 0.1.6 (#42985) »: https://git.io/fNf3a
<{^_^}> [nixpkgs] @xeji merged pull request #42985 → libsForQt5.libopenshot-audio: 0.1.5 -> 0.1.6 → https://git.io/fbx4Z
<tenten8401> ah yeah, LD_LIBRARY_PATH isn't getting set correctly at all, but I have a sneaking suspicion it may be the program's fault that it's crashing
<samueldr> depends, on my revision clever the --suffix is given to makeWrapper
<samueldr> tenten8401: not quite, fixed it here
<samueldr> (updated my comment)
<samueldr> still java.lang.ArrayIndexOutOfBoundsException, but LD_LIBRARY_PATH is there
goibhniu has joined #nixos
<samueldr> oh, though looking at it it's been mangled
<tenten8401> yeah, the java.lang.arrayindexoutofboundsexception is what I was looking at, let me ask in the ATLauncher discord
<tenten8401> as it seems that even running it straight from my shell throws that error when using --working-dir on a manualy typed path
<clever> tenten8401: you also dont need to copy $src to $out
<clever> you can just -jar $src directly
<tenten8401> how does that work? does it download it every time or something?
<tenten8401> or does it reference it directly from the nix store?
<clever> it references the copy in the store
<clever> $src will always point to the result fetchurl made
<clever> and if your output refers to that path, it becomes a runtime dependency
<tenten8401> good to know
logzet_ has quit [Remote host closed the connection]
rschm has joined #nixos
thc202 has quit [Ping timeout: 245 seconds]
<tenten8401> ATLauncher still seems to be crashing, I'll ask one of the devs about it
<samueldr> ah I thought LD_LIBRARY_PATH was mangled, nah, just unusual construct (to me)
<samueldr> `LD_LIBRARY_PATH=$LD_LIBRARY_PATH${LD_LIBRARY_PATH:+':'}'...'` ensures there will be no prefixed lone ":" if there is no LD_LIBRARY_PATH set
owickstrom has quit [Ping timeout: 264 seconds]
<tenten8401> ahh, yeah I was wondering about that
owickstrom has joined #nixos
jperras has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #42991 → libivykis: 0.42.1 -> 0.42.2 → https://git.io/fbxBg
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « libivykis: 0.42.1 -> 0.42.2 (#42991) »: https://git.io/fNfsB
<tenten8401> Alright, so I figured out the issue with ATLauncher
<tenten8401> turns out you have to use --working-dir=/test/dir
<tenten8401> instead of a space
<samueldr> ah, then trivial to fix :)
<tenten8401> yeah, was looking through his code on github and noticed it was splitting by equal and not space
graphene has quit [Remote host closed the connection]
<tenten8401> aay it launches now
<samueldr> :) then it's only a matter of cleaning up and PRing :)
* samueldr should lay down on the emoticons
pie__ has quit [Ping timeout: 240 seconds]
<tenten8401> hopefully yeah
graphene has joined #nixos
lnikkila has joined #nixos
betaboon has joined #nixos
<betaboon> so i got refind as an efi-bootloader vial boot.loader.refind as a nixos-module now, if anyone is interested: shoot
pie__ has joined #nixos
<samueldr> betaboon: with full nixos generations support?
<samueldr> definitely, something I wanted to look into someday
fragamus has joined #nixos
<betaboon> samueldr: yes. it's pretty hacky at some parts tho, and alot of stolen code from systemd-boot
<samueldr> borrowed!
<betaboon> i've just been on a spree generating wallpaper, slim-theme and plymouth theme from within nix (using imagemagick) and now i just had to finaly get back to using refind :D
w17t has quit [Quit: Leaving]
ggVGc has joined #nixos
<tenten8401> thank you so much for the help on that package samueldr and clever! Pretty sure I've got it working flawlessly now.
<tenten8401> shows up in the menu with the proper icon & everything, and I'm now using $src to reference the jar instead of copying it to $out
<tenten8401> launches and uses the $HOME/.local/atlauncher folder now too as far as I can tell
slack1256 has joined #nixos
<samueldr> great!
<tenten8401> hopefully I'll have my first PR in soon
<samueldr> hope nixos won't make you too busy contributing, you still have craft to mine ;)
owickstrom has quit [Ping timeout: 244 seconds]
betaboon has quit [Quit: WeeChat 2.0]
<tenten8401> It already has most of what I need, with a few exceptions
<tenten8401> I think one other thing I needed was the openconnect server, which some guy opened a PR for (but it needs some minor tweaks)
<tenten8401> speaking of tweaks, has anyone else been having issues rendering with kdenlive on unstable? is that something I should make an issue for?
jb55 has joined #nixos
rschm has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @jtojnar opened pull request #43236 → pulseeffects: init at 4.1.3 → https://git.io/fNfGY
<colemickens> It's common for Kubernetes CNI plugins and FlexVolume drivers to be installed at "runtime".
<colemickens> They get installed on the host machine, though, which I know will cause problems with NixOS.
<colemickens> Does it make sense to run `kubelet` in a userFHSEnv so that it can use these plugins normally?
<colemickens> cc: @offlinehacker[m]
sam has joined #nixos
sam is now known as Guest23226
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/e930c685d51 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
jperras has quit [Ping timeout: 260 seconds]
ajs124 has left #nixos ["Machine going to sleep"]
jackdk has joined #nixos
drakonis has joined #nixos
telent has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @samueldr opened pull request #43237 → virtualbox: 5.2.8 -> 5.2.12 (18.03) → https://git.io/fNfGA
qualiaqq has joined #nixos
<qualiaqq> Does anyone have a public configuration.nix file to share that has examples of setting up a program to auto-start on login? I'm guessing the best way to do it is with systemd.
rschm has joined #nixos
dan_ has joined #nixos
dan_ is now known as Guest12049