gchristensen changed the topic of #nixos to: NixOS 18.09 released https://discourse.nixos.org/t/1076 || 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 ... nixcon videos: https://tinyurl.com/nixcon2018
<drakonis> i ran exec
<drakonis> and it died
<clever> drakonis: ah, dont use exec
<clever> exec makes passwd the new pid 1
<drakonis> i should have run passwd
<clever> and when passwd finishes, it panics
<drakonis> oh i see
<clever> exec is how you replace the current process with a new one, while retaining the same pid
<drakonis> should've seen that coming
<drakonis> well it's going to work now
<drakonis> new things learned tho
<clever> appleclusters: ive got over 1000 things on gist.github.com and its a bit slow to search...
<steveeJ> vdemeester: hey thanks for packaging podman! did you get a pod running with it? I'm currently stuck on with broken CNI config
erictape1 has joined #nixos
<clever> appleclusters: line 12 is the new way i recomended above, when you `nix-env -iA nixos.newstuff`, it will install each thing in the set as a seperate entry, so you can still uninstall or upgrade a single item
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54645 → wpgtk: 5.8.6 -> 5.8.7 → https://git.io/fh6O2
<clever> appleclusters: line 34 is the old way, which will merge them all into a single package, so you can only ever upgrade the entire set at once
<clever> appleclusters: line 27 installs some c based man pages, so you can lookup libc functions
<clever> 42 gives readelf and strings, without giving ld
<clever> because i really dont want to install compiler tools :P
erictapen has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54646 → xlog: 2.0.15 -> 2.0.17 → https://git.io/fh6Ow
<drakonis> hmm i need to fix lock ownership again
nek0 has joined #nixos
<Laalf> so when i define an overlay in home-manager via nixpkgs.overlays its not available in home.packages. does that mean that my overlay is wrong or is there something i am forgetting?
<nek0> hi folks. is this the right hanel to ask questions about nixops?
acarrico has quit [Ping timeout: 268 seconds]
<simpson> nek0: Yeah.
fresheyeball has quit [Quit: WeeChat 2.2]
<Laalf> here is my config http://paste.debian.net/1062675/
<nek0> simpson: cool. I need help setting up a server with NixOps. I want to have encrypted hard drives and decryot them using dropbear ssh, but when I deploy the configuration, The server gets unresponsive.
<infinisil> Laalf: overlays you set for the home-manager config only apply to home-managers' pkgs. If you want to use NixOS' pkgs, you need to set the overlays in nixpkgs config
<Laalf> infinisil: have a look at the config. the overlay is defined in the home-manager config and the package is in the home-manager.home.packages
dermetfan has quit [Ping timeout: 245 seconds]
<infinisil> Laalf: Yeah, but what matters is where pkgs comes from
<infinisil> That's coming from NixOS, not home-manager
<Laalf> so the overlay must be outside of home-manager?
<infinisil> Laalf: Yeah, that's the preferred way to do it
<nek0> simpson: here is my boot config block for reference: https://privatebin.net/?deef3dfdf6350054#hrvBTD8DAropGP8T4a1oL8XT9B3d1FUA98DgUPJvA94=
<Laalf> infinisil: i should just be able to move the nixpkgs.overlays outside of home-manager, right?
<infinisil> Laalf: Yea
maximiliantagher has joined #nixos
<{^_^}> [nixpkgs] @Infinisil merged pull request #54224 → asciiquarium: init at 1.1 → https://git.io/fh4y3
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fh6Ox
<Laalf> infinisil: alright, it seems to build. thanks
<Laalf> that package doesnt build
<Laalf> well fine
<Laalf> yep its broken
<appleclusters> clever: thanks so much!!
<aleph-> Hey so how do I get TESMP3 to see my esm files?
drakonis1 has joined #nixos
Makaveli7 has quit [Ping timeout: 250 seconds]
<bgamari> is it not possible to chroot from within a derivation builder?
<drakonis1> error: opening lock file '/nix/var/nix/profiles/per-user/drakonis/channels.lock': Permission denied
<clever> drakonis: your user must own everything in the directory your named after
<clever> drakonis: sudo chown -R $USER /nix/var/nix/profiles/per-user/$USER/
<drakonis1> noice alright
<drakonis1> nix-store still doesn't verify permissions right?
<drakonis1> and be back in a minute
<drakonis1> gotta fix up home manager
drakonis1 has quit [Client Quit]
drakonis1 has joined #nixos
<drakonis1> and done
<clever> drakonis: i think you ran something with su the wrong way, and it had the wrong $HOME
praetorg has joined #nixos
<clever> drakonis: so root was the last to touch (or first?) your profile
<clever> and then root owned it
<drakonis1> its a problem with lustrate
<clever> lustrate should ignore /nix/
<drakonis1> i shouldn't let root own everything because linux installs default to multiuser
<drakonis1> its a flaw with the lustrate install guide
cnidario has quit [Remote host closed the connection]
<drakonis1> it doesn't really tell you to check whether you actually have to run chown on /nix
<clever> ah
<drakonis1> so i blindly ran it and got into this speedbump
maximiliantagher has quit [Remote host closed the connection]
maximiliantagher has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54648 → yoshimi: 1.5.10 -> 1.5.10.1 → https://git.io/fh63z
maximiliantagher has quit [Remote host closed the connection]
<clever> drakonis: just remember, i'm the nut-job that tried to convert a gentoo machine to nixos, without using any install media or formatting anything :P
<clever> drakonis: and the lustrate stuff in the initrd is based on the tales of how i fixed it :P
<drakonis1> hahaha
tom39291 has joined #nixos
<drakonis1> it can always get polished
<drakonis1> turn lustrate into a sanity check tool
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54649 → you-get: 0.4.1193 -> 0.4.1205 → https://git.io/fh63a
<drakonis1> we're all nutjobs here
<clever> drakonis: gchristensen has setup his zfs system to do a rollback of the / dataset, on every boot
<clever> drakonis: so its essentially doing a full lustrate on bootup, always
<drakonis1> exciting
<clever> his most recent surprise is that mutable users cease to be mutable, and there was no default pw
<qyliss> Oh that’s a nice idea
<qyliss> I might steal that
<qyliss> Not the not being able to log in part
<clever> qyliss: you can just disable mutable users, and set the password hash under users.users
<qyliss> First thing I do on any NixOS system :P
<qyliss> I highly dislike mutable users
<gchristensen> note this makes it more complicated to do the initial install
<drakonis1> ah this is chill
<drakonis1> arch has some really stupid defaults regarding fonts that drive me nuts
<gchristensen> also, it'd be interesting to keep two snapshots, one which is blank, and one which was the dataset of the previous boot
<drakonis1> rather, the lack of defaults drives me nuts because it breaks my keyboard and glyphs
<{^_^}> [nixpkgs] @7c6f434c pushed to master « leo3: init at 1.2 »: https://git.io/fh63X
hamishmack has quit [Quit: Textual IRC Client: www.textualapp.com]
<clever> gchristensen: when you do a rollback, all snapshots after the target are deleted
<clever> gchristensen: zfs cant handle redo or undo trees
<gchristensen> welp
<clever> gchristensen: welp is what i said when i used a ~48 hour rollback to fix chrome, then realized i had un-pushed changes in git
<gchristensen> ooof
<qyliss> Aww that’s disappointing
<clever> from what i remember, every change to the dataset has a sequence# on it
<clever> a zfs snapshot and/or bookmark, is just the sequence#
<tom39291> Is something concatenating these?
<clever> and when doing something like recursively traversing directories, zfs can compare the seq# to see if a change is older or newer then a given snapshot
<gchristensen> nixos modules merge together based on how their type defines merging behavior.
<clever> and thats how it knows what to do
<gchristensen> lists merge by concatenating together
<tom39291> gchristensen: Ah, okay. Is that a nixos module thing, or something in Nix language spec?
<clever> if the type is bool, then true will merge with true, false merges with false, and true+false == error
<clever> if the type is un-specified, true+false == true, silently
thc202 has quit [Ping timeout: 268 seconds]
<{^_^}> #54387 (by lopsided98, 6 days ago, open): ALSA restore udev rule not working
<tom39291> gchristensen, clever: Thanks for your help. Found the docs now I know what to search for :) https://nixos.org/nixos/manual/#sec-modularity
<gchristensen> great!
<tom39291> For context, my motivation is to do a similar thing for backed up directories. I want each service (which typically lives in its file) to define which directories ought to be backed up. And then a separate part of my NixOS setup deals with the "how do I backup a directory".
<gchristensen> sounds great!
<bgamari> If I have an executable which really expects to find, e.g., rm in /bin/rm, what are my options for running it?
<bgamari> I have already tried buildFHSUserEnv but unfortunately I quickly run into https://github.com/NixOS/nixpkgs/issues/54647
<{^_^}> #54647 (by bgamari, 35 minutes ago, open): buildFHSUserEnv can't run installer
<bgamari> I was thinking perhaps fakechroot might do
maximiliantagher has joined #nixos
<bgamari> but then I need to build the FHS environment myself
<praetorg> what kind of executable is this
<bgamari> frankly it's a bit unclear where the path is
<bgamari> it occurs while running an installer written in java
<bgamari> but I've grepped the tree for /bin/rm and found no references
<bgamari> but then again, there is 15 GB of xz'd data as well
<bgamari> which I've not tried looking at
<praetorg> nothing except sh reside in bin
<drakonis1> hmm
<bgamari> tell that to xilinx :)
<drakonis1> is lutris still absolutely broken?
<drakonis1> oh xilinx
<drakonis1> i solved that by running it inside a container
<bgamari> hmm]
Ariakenom has quit [Read error: Connection reset by peer]
<drakonis1> provide all libraries it needs without much effort
<bgamari> drakonis1, with runInLinuxVm?
<drakonis1> with nspawn
<drakonis1> not particularly the best way to handle it, but it was what i had on hand
<bgamari> drakonis1, did you do this within nix?
<drakonis1> i wanna experiment with lxd now
<drakonis1> yeah it was
<bgamari> I would have thought that nspawn would require root
dsiypl4 has quit [Ping timeout: 245 seconds]
<bgamari> drakonis1, were you on nixos?
<drakonis1> yes
shibboleth has quit [Quit: shibboleth]
<bgamari> drakonis1, do you have an example? I'm intrigued
gagbo has quit [Ping timeout: 268 seconds]
<drakonis1> i ran a debian container inside
<drakonis1> used xhost to allow the binary to reach my x server
<drakonis1> worked decently well there
<bgamari> drakonis1, right, but the question is how you actually created the container
<drakonis1> nspawn can be made to not require root
<bgamari> I see
<drakonis1> in this particular case i did use root
<drakonis1> systemd-nspawn i guess
<bgamari> you used root from within a nix builder?
<drakonis1> nooo
<drakonis1> i used systemd-nspawn to create a container, from which, i ran the binaries i needed
<drakonis1> it wasn't for package building, sadly.
maximiliantagher has quit [Remote host closed the connection]
<drakonis1> it was to avoid running patchelf just for this
maximiliantagher has joined #nixos
zukaboo has joined #nixos
<bgamari> libredirect looks like it may help here
acarrico has joined #nixos
simukis has quit [Quit: simukis]
<maximiliantagher> I'm trying to figure out which channel to use for Haskell packages for an application. Is it correct that nixpkgs-unstable might have broken Haskell builds, since only the critical packages (constituents) are required for a passing build? Do I need to use 18.09 to get guaranteed building Haskell packages?
<clever> maximiliantagher: i would just start on unstable, and if it works, keep using it, and probably pin it to the current rev
<infinisil> maximiliantagher: There's gonna be broken packages in all channels, there's no way every build could succeed
<zukaboo> How can a VST plugin ignore LD_LIBRARY_PATH?
<infinisil> We have all hackage packages after all
<{^_^}> falkTX/Carla#813 (by suhr, 1 week ago, open): Carla in NixOS
<maximiliantagher> Ok makes sense; I tried a recent unstable and got build failures and thought I might be doing something wrong
<maximiliantagher> Thanks y'all
<infinisil> maximiliantagher: It's easy to fix those in 99.9% of cases
<infinisil> We have a bunch of functions to do that
<infinisil> For my own projects I just fix them quickly myself (locally)
doyougnu has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fh6sS
drakonis has quit [Quit: drakonis]
drakonis1 is now known as drakonis
x___ has joined #nixos
morgan has joined #nixos
<morgan> Hi. How do I get the nix-cache-info from nix-serve to say 'WantMassQuery: 1'?
x___ has quit [Client Quit]
morgan is now known as Guest26325
Guest26325 is now known as morgan_
<clever> morgan_: its hard-coded to always be 1, https://github.com/edolstra/nix-serve/blob/master/nix-serve.psgi#L21
<morgan_> Why is it 0 then?
<aleph-> Ugh Tes3MP is a pos
<clever> morgan_: how are you quering it?
<aleph-> 0.6 fails to connect to a server and 0.7/master has graphics issues
<morgan_> It's proxied through nginx...
<clever> morgan_: what does `netstat -anp | grep LIST | grep 80` return?, nginx?
jluttine has quit [Ping timeout: 240 seconds]
<clever> morgan_: and what is the redirect in nginx setup as?
<`_> Give me a second clever and I'll find out
<{^_^}> [nixpkgs] @matthewbauer pushed to staging « Revert "Merge pull request #36948 from dtzWill/fix/glibc-libgcc_s" »: https://git.io/fh6Ge
nefix has quit [Ping timeout: 256 seconds]
<`_> clever: the first command yields nginx
<clever> `_: and the nginx is configured to what?
<`_> clever: proxy-pass to nix-serve's port
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54650 → wabt: 1.0.6 -> 1.0.8 → https://git.io/fh6Gv
<clever> `_: and `netstat -anp | grep thatport` returns what?
<`_> please hold
<`_> clever: nil
<clever> `_: and you put the right port in that msg?
<`_> I do believe, it's port 5000
<clever> `_: can you pastebin the nginx config?
<`_> clever: please hold
<aleph-> Hmm, opengl error awesome.
doyougnu has quit [Ping timeout: 268 seconds]
<clever> `_: is it forwarding to localhost or another machine?
<`_> clever: localhost
<clever> `_: netstat -anp | grep 5000
<aleph-> Failed to create SDL Window: Couldn't find GLX Visual. Is the error I'm getting when trying to run tes3mp
<clever> aleph-: is $DISPLAY set?
<aleph-> Set to :0
<`_> clever: nothing
<clever> `_: then nix-serve isnt running, and the proxy-pass should be failing.... :S
jluttine has joined #nixos
<aleph-> That wasn't to me aye?
<`_> clever: that's odd because querying it works
<`_> Give me a second to do a bit of investigation
<`_> clever: I'm willing to bet that this is hydra giving us this information, and not nix-serve
<clever> `_: hydra does have its own nix-serve implementation
<clever> `_: so you dont even need nix-serve when using hydra
<`_> I do believe that's the case here
<clever> `_: oh, journalctl -f -u nix-serve.service
<`_> clever: thanks for your help
<`_> clever: yep nothing
justanotheruser has quit [Ping timeout: 240 seconds]
<clever> `_: then nix-serve.enable isnt enabled
<`_> clever: you're correct.
morgan_ has quit [Quit: Page closed]
<`_> We're also at a revision in which nix-serve was broken, which is why I was confused earlier today as to how morgan_ managed to get it working
hedning has joined #nixos
<clever> `_: there is also a minor security issue with both hydra and nix-serve, if you posted `ls -l /run/current-system`, and i enabled your cache on my machine, i could `nix-store -r /nix/store/foo` to download your entire nixos build (the hydra install)
<clever> `_: that would include any defaults fed to passwd, and the secrets in hydra.conf
<`_> Um
<`_> clever: thank you for that info
<drakonis> ah geoclue isn't working with redshift :(
<clever> just be careful when posting storepaths that depend on secrets
<`_> Will do. Appreciate it
<clever> `_: using the S3 bucket in hydra can solve that issue entirely
<`_> clever: can you explain?
<iqubic> Can people really reverse engineer secrets from store paths?
<{^_^}> input-output-hk/iohk-ops#352 (by cleverca22, 33 weeks ago, merged): [DEVOPS-836] configure hydra to upload everything to S3
<`_> clever: thanks
<clever> iqubic: they cant reverse engineer the secrets directly, but if nix-serve is running on the box with secrets, you can just download the whole storepath
<clever> nix-serve doesnt provide list, but if you know the path, you can download
<iqubic> Doesn't that require the owner of the machine to give you permission to download stuff?
<clever> iqubic: nix-serve doesnt have any password protection
maximiliantagher has quit [Read error: Connection reset by peer]
<clever> iqubic: so its entirely up to your firewall, but in cases like `_ , your opening that on purpose, to let people download things
<iqubic> But don't you need their IP or something so that you know which machine to download from?
<clever> iqubic: yeah
<`_> iqubic: clever can easily figure that out
<clever> `_: both you and morgan lack IP masking on freenode, so your local machines are clearly visible
<clever> iqubic: you as well
doyougnu has joined #nixos
<gchristensen> hopefully their machines aren't running nix-serve publicly
<clever> gchristensen: iqubic's firewall appears to block all ports
justanotheruser has joined #nixos
<iqubic> I'm running on a laptop, and I don't even know what nix-serve is.
<iqubic> I think I'm fine.
<`_> clever: for the time being we're disabling nix-serve and hydra
maximiliantagher has joined #nixos
ng0_ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54651 → tortoisehg: 4.8.1 -> 4.8.2 → https://git.io/fh6GK
ng0 has quit [Ping timeout: 256 seconds]
init_6 has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer opened pull request #54652 → setup.sh: put SHELL in flagsArray → https://git.io/fh6GP
Supersonic has quit [Ping timeout: 240 seconds]
erictape1 has quit [Ping timeout: 268 seconds]
aleph- has quit [Ping timeout: 250 seconds]
maximiliantagher has quit [Remote host closed the connection]
appleclusters has quit [Quit: Connection closed for inactivity]
n0qqe has joined #nixos
rcshm has quit []
maximiliantagher has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54653 → urh: 2.5.4 -> 2.5.5 → https://git.io/fh6Gd
<infinisil> Oh boy, r-ryantm is on the run, stacking up those PR's
Supersonic has joined #nixos
noqqe has quit [Ping timeout: 246 seconds]
n0qqe is now known as noqqe
doyougnu has quit [Ping timeout: 245 seconds]
endformationage has joined #nixos
<iqubic> I'm sure that's a good thing.
maximiliantagher has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54654 → wireguard-tools: 0.0.20181218 -> 0.0.20190123 → https://git.io/fh6Zv
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54655 → urlscan: 0.9.1 -> 0.9.2 → https://git.io/fh6ZI
maximiliantagher has joined #nixos
<{^_^}> [nixpkgs] @mfossen opened pull request #54656 → Update nomad v0.8.6 -> v0.8.7 → https://git.io/fh6Zs
Dagger2 has quit [Excess Flood]
Dagger2 has joined #nixos
maximiliantagher has quit [Ping timeout: 240 seconds]
<bgamari> is vmTools.diskImageFuns.debian9x86_64 broken?
<bgamari> I'm seeing " error: cannot download base-files_9.9+deb9u5_amd64.deb from any mirror"
<apajx> What's the right way to have applications persistent across boots (in terms of there options) and opened on boot? (specifically things like latte-dock and qsyncthingtray)
<{^_^}> [nixpkgs] @allowthere opened pull request #54657 → Update to Go 1.11.5 → https://git.io/fh6Z8
<{^_^}> [nixpkgs] @allowthere opened pull request #54658 → go: 1.11.4 -> 1.11.5 → https://git.io/fh6Zg
zukaboo has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
<ivan> apajx: if it's tied to a Xorg that sounds like something for ~/.config/autostart however your DE manages that
<clever> ivan: the session manager in the DE can also track what you last had open, and re-open things at login
<apajx> ah weird, i tried adding them to autostart KDE first but it seemed like they were removed on a reboot
<apajx> maybe I just messed it up the first time around
<apajx> thanks i'll try harder
zphreaker has quit [Quit: Leaving]
orivej has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « conky: journal support »: https://git.io/fh6Zy
ng0_ has quit [Quit: Alexa, when is the end of world?]
maximiliantagher has joined #nixos
Church- has quit [Quit: WeeChat 1.6]
maximiliantagher has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @matthewbauer opened pull request #54659 → Nixpkgs documentation fixes for 19.03 → https://git.io/fh6nU
kvda has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54660 → tiled: 1.2.1 -> 1.2.2 → https://git.io/fh6nq
alex_giusi_tiri has quit [Quit: Leaving.]
hellrazo1 has quit [Ping timeout: 244 seconds]
justanotheruser has quit [Ping timeout: 240 seconds]
justan0theruser has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54661 → visidata: 1.5.1 -> 1.5.2 → https://git.io/fh6nC
justan0theruser is now known as justanotheruser
<{^_^}> [nixpkgs] @domenkozar merged pull request #54478 → datadog-agent: 6.8.3 -> 6.9.0 → https://git.io/fh2XR
<{^_^}> [nixpkgs] @domenkozar pushed 2 commits to master: https://git.io/fh6nW
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aleph- has joined #nixos
<{^_^}> [nixpkgs] @allowthere opened pull request #54662 → caddy: 0.11.1 -> 0.11.2 → https://git.io/fh6n4
justanotheruser has quit [Ping timeout: 244 seconds]
justanotheruser has joined #nixos
maximiliantagher has joined #nixos
maximiliantagher has quit [Ping timeout: 245 seconds]
kvda has joined #nixos
acarrico has quit [Ping timeout: 240 seconds]
kvda has quit [Client Quit]
nikola_i has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54663 → twa: 1.7.0 -> 1.7.1 → https://git.io/fh6nX
redj_ has joined #nixos
Supersonic has quit [Ping timeout: 250 seconds]
Supersonic has joined #nixos
pie__ has joined #nixos
redj has quit [Ping timeout: 268 seconds]
lassulus_ has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
pie_ has quit [Ping timeout: 246 seconds]
lassulus has quit [Ping timeout: 250 seconds]
lassulus_ is now known as lassulus
redj_ is now known as redj
counting1ort has joined #nixos
o1lo01ol1o has joined #nixos
countingsort has quit [Ping timeout: 246 seconds]
o1lo01ol1o has quit [Ping timeout: 244 seconds]
abathur has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54664 → gnome3.totem-pl-parser: 3.26.1 -> 3.26.2 → https://git.io/fh6nN
<aleph-> Hey stupid question, do we have a way of extending polybar? Seems it wasn't compiled with certain modules like mpd
<aleph-> Ah nevermind I see how now.
<wedens> pkgs.polybar.override { mpdSupport = true; }
<aleph-> Yep just saw that a second okay
<{^_^}> [nixpkgs] @danbst pushed commit from @r-ryantm to master « tortoisehg: 4.8.1 -> 4.8.2 (#54651) »: https://git.io/fh6nj
<{^_^}> [nixpkgs] @danbst merged pull request #54651 → tortoisehg: 4.8.1 -> 4.8.2 → https://git.io/fh6GK
jasongrossman has quit [Remote host closed the connection]
<wedens> is there something like `exitShellHook`?
<q6AA4FD> wedens: do you mean for nix-shell? no idea unfortunately
<wedens> q6AA4FD: yep
<samueldr> wedens: most problematic is that the shell could disappear
<samueldr> in your shell, `exec hello` and then you cannot act on it
<q6AA4FD> wedens: you could probably write a trap or something that gets run by shellHook
<samueldr> though ^ is what I was going to suggest
<q6AA4FD> but samueldr is right, it's pretty skethy
maximiliantagher has joined #nixos
cryptomonad has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54665 → seafile-shared: 6.2.10 -> 6.2.11 → https://git.io/fh6cv
<wedens> yeah, I understand that it may not be reliable
<q6AA4FD> wedens: do you want to clean a work directory or something?
<samueldr> ooh, TIL
<wedens> I have a process that is started in `shellHook` and I want to terminate it when I exit the shell
mounty has quit [Read error: Connection reset by peer]
maximiliantagher has quit [Ping timeout: 268 seconds]
<q6AA4FD> wedens: what process?
mounty has joined #nixos
<wedens> postgresql :D I'm toying with idea of local postgresql isntances
<clever> wedens: you should be able to just set a normal bash exit hook
<q6AA4FD> are you using nix-shell for the shebang with -I ? because you might do better to implement some of this in the program itself
<samueldr> clever: since there is apparently a exitHook, setting your own trap would mess with the one from stdenv
<clever> samueldr: possibly, but i think the stdenv one might only be used for nix-build, and the special hydra flag to "suceed" even on failure
<wedens> q6AA4FD: no, I don't use it for shebang
<samueldr> wedens: as for me, I settled on running it through something else, with the development server, not sure how it fits in your idea https://github.com/samueldr/hydra-in-a-bag/
<samueldr> how I envision it for the developer is that they only one command to start the server processes, and runs another shell (tab, tmux pane, etc) for entering the shell if needed
<samueldr> makes it less likely to leave proceesses around I hope
<samueldr> though I'd like to compare notes about the postgresql instance
aleph- has quit [Ping timeout: 240 seconds]
<samueldr> my script to start a postgreSQL instance is a battlescarred script that fought maybe too many battles :)
<samueldr> (without a fresh look at)
<q6AA4FD> i see, for debugging?
<wedens> samueldr: does it stop hydra instance when you exit shell? I see that there is a trap to kill postgres, is it enough to stop hydra?
<samueldr> ah, uh, the scirpt itself only manages postgresql
<wedens> ah
<samueldr> foreman is used to start the other things
<{^_^}> [nixpkgs] @matthewbauer pushed 310 commits to staging: https://git.io/fh6cC
<samueldr> hmm, not even sure the trap is required anymore
<samueldr> (I maybe should have taken a deeper look at that script before publishing)
<samueldr> (but at the same time, without publishing it I wouldn't have really realised it)
<wedens> samueldr: I might be able to steal some ideas from your script. thanks
<wedens> my use case is 1) some applications require different postgresql versions; 2) to be able to test application with different pg versions
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54666 → safeeyes: 2.0.6 -> 2.0.8 → https://git.io/fh6c8
drakonis has quit [Quit: WeeChat 2.3]
<samueldr> that script uses whatever is in the environment, so hopefully it should be able to switch between postgresql releases without a fuss
<q6AA4FD> what's the procedure for writing an overlay for a haskell package in ~/.config/nixpkgs/overlays?
<q6AA4FD> i know you can make a new package in the nixpkgs namespace, but it seems like an ugly solution
<clever> q6AA4FD: haskellPackages = pkgsSuper.haskellPackages.extend (self: super: { ... }); is one way
<clever> q6AA4FD: that then applies an overlay to the haskellPackages set
<wedens> clever: does it work as expected when you have this expression in multiple overlays?
<clever> wedens: thats why i used extend rather then override
<clever> wedens: multiple calls to extend stack the way you want
<clever> but .override { overrides=..; }; dont
<q6AA4FD> clever: i'll look into it, thank you very much
<ottidmes> clever: they do if you add a bit
<clever> ottidmes: thats more complex
<wedens> nice. I'll have to read about `extend`. I've never used it
<ottidmes> clever: it is, but I had other code, that expected it still could, i.e. from someones package shell.nix
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54667 → syncplay: 1.6.1 -> 1.6.2 → https://git.io/fh6cz
<clever> wedens: `let packages = self: { ... }; in in pkgs.lib.makeScope pkgs.newScope packages
<clever> wedens: this will create a new package set, where you can use self to refer to your own output, but it also has both a callPackage and extend function
<clever> wedens: callPackage will first search the result of packages, then search pkgs
<clever> wedens: and extend can insert an overlay between the result of packages and self
<clever> so you can now apply overlays to any custom set of things
<clever> wedens: in this case, the custom set of things, is a pair of derivations for testing something
<clever> along with some config (lines 4-7)
<clever> i can then use overrideScope to insert an overlay, and mutate the config before the function was ran
<clever> which lets me create variants of the same set
* wedens stares at `makeScope` definition
maximiliantagher has joined #nixos
nikola_i has quit [Ping timeout: 250 seconds]
fusion809 has quit [Remote host closed the connection]
<wedens> are overlays themselves implemented with extend?
maximiliantagher has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54668 → snapper: 0.8.1 -> 0.8.2 → https://git.io/fh6c1
<clever> > pkgs.extend
<{^_^}> <LAMBDA>
<{^_^}> [nixpkgs] @danbst opened pull request #54669 → postgresql: fixup, remove duplicate plugin attribute → https://git.io/fh6cD
<clever> wedens: i think so, and the pkgs set itself has extend, so you can use pkgs.extend to dynamically apply more overlays
abathur has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @danbst pushed to master « postgresql: fixup, remove duplicate plugin attribute (#54669) »: https://git.io/fh6cH
<{^_^}> [nixpkgs] @danbst merged pull request #54669 → postgresql: fixup, remove duplicate plugin attribute → https://git.io/fh6cD
<wedens> clever: so, with `extend` it's possible to make a tree (or forest?) of overlays in composable manner?
<clever> probably
<clever> the tricky part, is replacing the pkgs something else wanted
maximiliantagher has joined #nixos
maximiliantagher has quit [Remote host closed the connection]
maximiliantagher has joined #nixos
<wedens> I can't find definition of `extend` :/
hellrazo1 has joined #nixos
<clever> > builtins.unsafeGetAttrPos "extend" pkgs
<{^_^}> { column = 5; file = "/var/lib/nixbot/nixpkgs/master/repo/pkgs/top-level/stage.nix"; line = 175; }
<wedens> > makeExtensible (self: { })
<{^_^}> { __unfix__ = <LAMBDA>; extend = <CODE>; }
<clever> > builtins.unsafeGetAttrPos "extend" haskellPackages
<{^_^}> { column = 7; file = "/var/lib/nixbot/nixpkgs/master/repo/lib/fixed-points.nix"; line = 99; }
<wedens> yeah. I've just found that it's added by `makeExtensible = makeExtensibleWithCustomName "extend";`
<clever> which is why my justdoit example is called overrideScope
<clever> it can be called anything
<clever> pkgs.extend is a different one
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54670 → seafile-client: 6.2.10 -> 6.2.11 → https://git.io/fh6CT
xkapastel has quit [Quit: Connection closed for inactivity]
<tA-> im getting a "cannot import since path is not valid " error when i try to nix-env -qa package
hedning has quit [Quit: hedning]
<wedens> clever: hm. this issue https://github.com/NixOS/nixpkgs/issues/26561 suggests using `override` and not `extend`. `override` seems to handle more cases
<{^_^}> #26561 (by ElvishJerricco, 1 year ago, open): "haskellPackages.extend" and "haskellPackages.override" are incompatible
<clever> wedens: already had this convo yesterday, override's example is more complex, but also allows ghc and all-cabal-hashes to be changed
hamishmack has joined #nixos
<clever> wedens: you can also stack override and extend, but only if override goes first
endformationage has quit [Quit: WeeChat 2.3]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54671 → securefs: 0.8.2 -> 0.8.3 → https://git.io/fh6Cb
ixxie has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54672 → SDL2_ttf: 2.0.14 -> 2.0.15 → https://git.io/fh6Cx
<clever> wedens: extend will remove override, so you cant do it in the wrong ordder
<wedens> clever: that's good
palo1 has joined #nixos
<clever> override is added as a side-effect of callPackage
<clever> and override works by re-calling the package with different args
<clever> extend is part of the packages return value, and doesnt have access to the override function, so it cant preserve override
<clever> (but it could add its own duplicate override, that is only exposed when you use extend)
palo has quit [Ping timeout: 244 seconds]
palo1 is now known as palo
<wedens> can there be some more declarative interface (function) that uses extend/override underneath when you don't need to do anything fancy? it seems to be pretty common issue
<elvishjerricco> wedens: My preference would be to fix extend to operate friendly with override
<elvishjerricco> But a convenience function for using override properly would be nice too
<wedens> maybe `developPackage` is closest thing to such convenience function
smolboye has quit [Quit: WeeChat 2.2]
maximiliantagher has quit [Remote host closed the connection]
smolboye has joined #nixos
tdbgamer has joined #nixos
rauno has quit [Remote host closed the connection]
rprije has quit [Remote host closed the connection]
rprije has joined #nixos
smolboye has quit [Client Quit]
smolboye has joined #nixos
ottidmes has quit [Ping timeout: 250 seconds]
smolboye has quit [Client Quit]
<{^_^}> [nixpkgs] @Ekleog pushed 2 commits to master: https://git.io/fh6Wz
smolboye has joined #nixos
<{^_^}> [nixpkgs] @Ekleog merged pull request #54650 → wabt: 1.0.6 -> 1.0.8 → https://git.io/fh6Gv
<ixxie> I need a certain font, and would like to try and make a derivation for it but test it on my own NixOS configuration (since I actually need it in inkscape today)
<ixxie> and I want to import it into my configuration.nix
<ixxie> how would I go about that with minimal alterations?
<ixxie> the hope being I can test drive my new derivation on my NixOS and have it in good shape to submit to nixpkgs
<wedens> save the .nix file and do `callPackage ./foo.nix { };` which you can add directly to `systemPackages`/overlay/whatever
<wedens> or fonts.fonts
<Mic92> ixxie: ixxie you can also build the package with nix-build -I nixpkgs=./your-fork and then use nix-env -i on the result symlink
<Mic92> if you just want to test
<ixxie> thanks, both approaches sound handy
rprije has quit [Remote host closed the connection]
<ixxie> I guess the nice thing about the second is that you are already working on it in nixpkgs so its ready for PR
rprije has joined #nixos
jasongrossman has joined #nixos
jasongrossman has quit [Read error: Connection reset by peer]
<ixxie> but the first is better if I don't know if I will submit a PR for a while
<wedens> Mic92: I'm not sure it'll work correctly with fonts as they're usually added to fonts.fonts
<Mic92> wedens: if the appears in ~/.nix-profile/share/fonts that should be fine.
jasongrossman has joined #nixos
<Mic92> *the font appears
<wedens> you'll have to trigger fc-cache manually, I think
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54673 → remmina: 1.2.32.1 -> 1.3.0 → https://git.io/fh6Ww
apajx has quit [Ping timeout: 268 seconds]
apajx has joined #nixos
tdbgamer has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<{^_^}> [nixpkgs] @Mic92 merged pull request #54667 → syncplay: 1.6.1 -> 1.6.2 → https://git.io/fh6cz
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fh6W6
nimblepoultry has joined #nixos
<ixxie> oh... good to know
<elvishjerricco> wedens: I really dislike developPackage. The resulting derivation can’t be used as a dep of any other project that intends to use nix-shell
<nimblepoultry> hi I'm booting from nixos-graphical-18.09.1985.749a3a0d00b-x86_64-linux.iso and systemctl start display-manager flicks 3 times and fails, journalctl seems to say No screens found, I found a similar problem here https://github.com/NixOS/nixpkgs/issues/10381 , i then checked grub to see if nomodeset was a param (and it wasn't) I also tried the other boot entry that provides it
<{^_^}> #10381 (by cstrahan, 3 years ago, closed): Can't start display-manager.service on LiveCD
<nimblepoultry> any ideas?
<wedens> elvishjerricco: I haven't tried using it as a dep, so I don't know the issues. but at least its easy to use for beginners and those who don't want to dig into override/extend and other non-trivial stuff
<wedens> `developPackage` is what nix is good at. it's declarative
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54674 → stubby: 0.2.4 -> 0.2.5 → https://git.io/fh6WH
rcy has left #nixos ["Killed buffer"]
<ixxie> hmm, this font is distributed with a docker-based pythonic build environment, and I am not exactly sure how to package it: https://github.com/rsms/inter
<wedens> isn't there built version?
<ixxie> aha good point!
<ixxie> cheers wedens
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54675 → sile: 0.9.5 -> 0.9.5.1 → https://git.io/fh6Wh
Goldsum has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54676 → sundials: 4.0.1 -> 4.0.2 → https://git.io/fh6lJ
sakalli_ has joined #nixos
<ixxie> is there any documentation on font packaging?
<ixxie> This release comes with several font types for the same font and I am wondering whether I should install all of them
smolboye has quit [Ping timeout: 240 seconds]
<wedens> are they mutually exclusive?
<ixxie> not sure... there is OTF, TTF and Web, in hinted and unhinted flavors
<wedens> if you really want to make it customizable, you can add arguments to derivation (see iosevka for example; but iosevka requires building)
sakalli_ has quit [Quit: Mutter: www.mutterirc.com]
<ixxie> but I guess the intuitive thing for this package if I don't add those options is to install everything
<wedens> if you don't want to bother with customization, I'd just install hinted ttf
jtojnar has joined #nixos
<wedens> if they're not exclusive (font name is different), you can install all variants. but I would not bother with anything other than ttf
<ixxie> this font is designed for UIs
<ixxie> the web variant may be desirable
<ixxie> but I guess for now I will install one an when submitting to nixpkgs I will add options
infinee_ has joined #nixos
orivej has joined #nixos
rprije has quit [Remote host closed the connection]
rprije has joined #nixos
<Mic92> ixxie: does it really make sense to have an option for that? If there is one variant where most people are be happy with then we don't need an option for that.
sakalli_ has joined #nixos
sakalli_ has quit [Client Quit]
dermetfan has joined #nixos
maximiliantagher has joined #nixos
_kwstas has joined #nixos
<ixxie> Mic92: well I don't know, as I said in this case its specifically a font designed for UIs. So if you do an inkscape mockup (like I am doing now) maybe TTF makes sense, but if you are actually making a UI you want the web font...
<wedens> I don't think you'll use the same packaging for web font
maximiliantagher has quit [Ping timeout: 250 seconds]
init_6 has quit [Ping timeout: 240 seconds]
kvda has joined #nixos
_kwstas has quit [Quit: _kwstas]
iyzsong has joined #nixos
<ixxie> hmm cp ./Inter\ UI\ \(TTF\ hinted\)/*.ttf $out/share/fonts/truetype
<ixxie> yields cp: missing destination file operand after '/nix/store/7pip6lw7briqslp5vxhjkkkk54wgcfpb-interUI-3.2/share/fonts/truetype/'
<ixxie> (also, who the hell makes a release with such a horrid directory name?)
<ixxie> any ideas?
jomik has joined #nixos
jomik has quit [Client Quit]
jomik has joined #nixos
<wedens> mkdir -p $out/share/fonts/truetype
<wedens> also it's better to quote such directory name
<ixxie> wedens: will the * work inside the quote?
<ixxie> also: doh!
<ixxie> hmm wait a minute I have mkdir -p $out/share/fonts/truetype
<ixxie> so thats not it
elgoosy has joined #nixos
<wedens> "dir"/*.ttf
simukis has joined #nixos
jomik has quit [Quit: WeeChat 2.2]
<ixxie> thanks wedens
<ixxie> still got the missing operand issue though
<clever> ixxie: nix enables nullglob for the stdenv
<clever> ixxie: so if *.ttf doesnt match anything, it turns into 0 arguments
<clever> the default in normal shells, is that it turns into the literal string '*.ttf' and then cp complains that '*.tty' doesnt exist
jomik has joined #nixos
<ixxie> but why would the error refer to the *destination* file operand in that case?
<clever> if the source arg didnt match anything, it just deletes that arg entirely
<clever> so `cp *.ttf dest` turns into `cp dest` when nothing matches
<ixxie> right
<clever> try `ls *.tty` in the same area of the derivation
<clever> (with the real pattern you used)
gagbo has joined #nixos
smolboye has joined #nixos
<ixxie> thanks clever
infinee_ has quit [Ping timeout: 250 seconds]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ixxie> hmm clever - looks like the whole tarball doesn't even get opened or something
<clever> ixxie: you messed with sourceRoot, so its not cd'ing into the dir the tar made
<clever> ixxie: cu12-1.9 is what was made when the tar was unpacked
<clever> if you remove sourceRoot=, then it will work better
<clever> i would also recomend `nixos-rebuild build` (likely doesnt need root) for testing
<clever> it wont spam up your nixos generations
<ixxie> right
<ixxie> thanks
<ixxie> I added it for debugging since I found it in some font derivation
<clever> its only for tar's that have no root dir
<clever> when the tar just barfs all over your working dir when you unpack it
<clever> those are the worst, then you have to sift all the garbage out from your downloads folder!
<ixxie> (incidently, having 'paradigmic' examples of particular package types could help)
<clever> ixxie: you may also want to switch this over to runCommand
<clever> let src = ...; in runCommand "name" {} ''unpackFile ${src} ; cd $sourceRoot ; ls''
<clever> that will do the same basic thing
<clever> meta can still be added to it, runCommand "name" { meta = ...; } ...
<ixxie> why would I do that though?
<clever> runCommand doesnt bother with all the phases
<clever> so you can skip the dontBuild part
<clever> and it wont try to patch it either (via $patches) and other things
<clever> but its mostly personal preference as well
<ixxie> but it seems most fonts in nixpkgs don't use runCommand
<clever> i just prefer using runCommand if its not actually building something
<clever> oh, another major difference
<clever> stdenv.mkDerivation gives you a copy of gcc
<clever> but fonts dont need gcc!
<ixxie> right
<clever> if you use runCommand, then hydra can potentially build it faster
<ixxie> makes sense
<clever> since runCommand omits gcc and other things
<clever> another trick i saw fonts doing, but its optional, make it a fixed-output derivation
<ixxie> I guess there is room for making some kind of font infrastructure
<{^_^}> [nixpkgs] @dywedir merged pull request #54660 → tiled: 1.2.1 -> 1.2.2 → https://git.io/fh6nq
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/fh685
<ixxie> clever: something really weird is going on... the ls shows a completely different tarball
<clever> is the sha256 correct?
<clever> or did you reuse an old one?
<ixxie> I reused one
<ixxie> but I thought it would give the error as usual
<ixxie> so I could copy over the right one
<clever> if the $out for a given hash exists, it uses it
<clever> and it wont try to download
<ixxie> lol
<ixxie> I see
<ixxie> that explains it
<clever> and if it never tries to download, it wont notice the hash is wrong
<clever> i set vim to replace mode, and 0 out a few digits of the hash
<clever> then it will fail
<clever> related,
<clever> outputHashMode = "recursive"; outputHashAlgo = "sha256"; outputHash = "HASH HERE";
<clever> if you set those 3 attributes, then you are giving nix a promise, that the hash of your $out will be the one you gave
<clever> then, your $out depends only on the name&hash
<clever> this gives 2 critical advantages
<clever> 1: darwin&linux can share the product, so hydra only has to build it once
<clever> 2: it can reuse the product between stdenv changes that normally trigger a mass-rebuild
<clever> it doesnt matter what version of tar and cp you use, the fonts should be identical
<clever> the only downside, is that you must update 2 hashes on every update
<clever> and you need to confirm it produces the same result on both linux and darwin
<ixxie> issue is this font comes with four different flavors and it seems others have argued that I shouldn't install all of them
<ixxie> so the hash wouldn't be the same
jomik has quit [Quit: WeeChat 2.2]
<clever> you could make 4 derivations, that each install a certain subset, and each has its own hash
<clever> but now you have 5 hashes to maintain
<ixxie> lol
<clever> at the benefit that when the font isnt changing, hydra doesnt uselessly rebuild it
<ixxie> I also thought using options might make sense
<clever> when outputHashMode = "recursive";, $out can be a file, dir, or symlink
<ixxie> but all of this makes it sound like make some kind of makeFontPackage infra would be nice
<clever> when outputHashMode = "flat" $out must be a single file
<clever> with flat hashing, outputHash is the raw hash of that file
<clever> with recursive hashing, its the hash over `nix-store --dump $out` (which produces a binary file, think of it like tar -c $out`
<clever> ixxie: oh, another crazy idea
jomik has joined #nixos
<{^_^}> [nixpkgs] @etu merged pull request #54663 → twa: 1.7.0 -> 1.7.1 → https://git.io/fh6nX
<{^_^}> [nixpkgs] @etu pushed 2 commits to master: https://git.io/fh64m
<clever> ixxie: the confusingly named fetchzip, is just a variant of fetchurl that unpacks to $out, rather then making $out a tar (or zip)
<clever> ixxie: and fetchzip accepts a extraPostFetch
<clever> so, you could do 100% of this in fetchzip, without the runCommand
<{^_^}> [nixpkgs] @peti pushed 5 commits to haskell-updates: https://git.io/fh64O
<clever> fetchzip { url = "..."; sha256 = "..."; extraPostFetch = "cd $out ; rm things"; }
<clever> ixxie: the above will download a given url, unpack it to $out, then delete something, the sha256 is over whatever remains after deletion
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fh64Z
<{^_^}> [nixpkgs] @peti pushed 4 commits to master: https://git.io/fh64n
<clever> the cons (relative to fetchurl+runcommand) is that it has to re-download each time you change the blacklist, or if you want to build a different subset on the same machine
<clever> the pros, is that it wont leave a copy of the full tar in /nix/store (until the next gc), causing you to spend $tar_size + $fontsize to build it
<clever> (different sides of the same coin)
pointfourone has joined #nixos
_kwstas has joined #nixos
_kwstas has quit [Remote host closed the connection]
agander has joined #nixos
jomik has quit [Quit: WeeChat 2.2]
<{^_^}> [nixpkgs] @etu merged pull request #54649 → you-get: 0.4.1193 -> 0.4.1205 → https://git.io/fh63a
<{^_^}> [nixpkgs] @etu pushed 2 commits to master: https://git.io/fh640
FRidh[m] has joined #nixos
pointfourone has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @peti pushed commit from @pbogdan to haskell-updates « ghc-6.8.x: bootstrap with binary build »: https://git.io/fh64r
<{^_^}> [nixpkgs] @jtojnar opened pull request #54677 → mypaint: 1.2.1 → 2.0.0-alpha.0 → https://git.io/fh64F
<{^_^}> [nixpkgs] @vcunat pushed to master « adoptopenjdk-bin: fail in a good way when unsupported »: https://git.io/fh64h
maximiliantagher has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54678 → python37Packages.portpicker: 1.2.0 -> 1.3.0 → https://git.io/fh6BU
smolboye has quit [Quit: WeeChat 2.2]
smolboye has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54679 → python37Packages.txtorcon: 18.3.0 -> 19.0.0 → https://git.io/fh6BI
<ixxie> interesting clever
tboston has quit [Ping timeout: 250 seconds]
jomik has joined #nixos
wigust has joined #nixos
<jomik> Anyone have any idea why my taffybar service does not work, when me executing it manually in a terminal does? I.e. I run `/nix/store/2h6awcmybhsrlcxqvch5fg3zqx1n9gal-taffybar-with-packages-8.4.4/bin/taffybar` in ExecStart, it does not work, but in my terminal, it does.
<jomik> It complains about missing Gtk icons.
<jomik> But only when run as a systemd service
tboston has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54680 → python37Packages.Pyro4: 4.74 -> 4.75 → https://git.io/fh6B4
jomik has quit [Quit: WeeChat 2.2]
jomik has joined #nixos
<symphorien> jomik: the environment of systemd services is nearly empty
<{^_^}> [nixpkgs] @Ma27 opened pull request #54681 → nixos/wpa_supplicant: escape interface names to listen on → https://git.io/fh6BA
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54682 → python37Packages.smart_open: 1.7.1 -> 1.8.0 → https://git.io/fh6Bj
<jomik> symphorien: But I would expect that the packages that taffybar needs is part of the path that the executable has. That is. I don't have hicolor and adwaita explictly installed - which is what it complains about.
<jomik> Any idea how to solve this tho?
<jomik> I'd prefer running it as a service - a bit easier to restart it that way I'd think :P
Melkor333 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54683 → python37Packages.twilio: 6.23.0 -> 6.23.1 → https://git.io/fh6RI
<jomik> I should mention that it is a user service
<wedens> you probably need GTK_DATA_PREFIX
<jomik> Oh, my shell doesn't have that though.
<jomik> I seemingly only have GTK_PATH, dunno why tho
<wedens> or XDG_DATA_DIRS
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54684 → python37Packages.python-jsonrpc-server: 0.0.2 -> 0.1.2 → https://git.io/fh6RW
<wedens> in home-manager you can do `xsession.profileExtra = ''systemctl --user import-environment XDG_DATA_DIRS";` or set it to specific value in polybar service
<jomik> I can try that - but why :O
<jomik> brb
jomik has quit [Quit: WeeChat 2.2]
maximiliantagher has quit [Ping timeout: 240 seconds]
jomik has joined #nixos
<jomik> wedens: I tried adding that line to my xsession.profileExtra, but no luck.
<jomik> I can't really see why that'd help tho, afaik I have nothing in my xdg_data_dirs? From what I could see, gtk3 is given to the taffybar package
<jomik> OH... I don't use home-manager to start my xsession though.
<srhb> jomik: Taffybar truly is getting weirder and weirder with implicit deps everywhere these days..
<wedens> yeah. I prefer polybar for many reasons
<srhb> But I do have mine working (with home-manager) with services.taffybar.
<srhb> The old taffybar 1 really wasn't very objectionable, but the rewrite is completely chaotic.
<wedens> jomik: have you tried explicilty adding adwaita and hicolor to packages?
<srhb> And buggy on top of everything..
<jomik> wedens: Yeah - I also had it somewhat working when it was in my path and started by xmonad
<jomik> I just had to press mod+q to actually get it running, lol.
<jomik> srhb: Do you have a gist or dotfiles dir thing?
<wedens> you can also try passing `packages` to taffybar derivations and specify icon themes there.
<jomik> I tried that :D
<jomik> I.e. I set `service.taffybar.package = self: [ pkgs.hicolor-icon-theme gnome3.... ];`
<jomik> I.e. I set `service.taffybar.package = pkgs.taffybar.override { packages = self: [ pkgs.hicolor-icon-theme gnome3.... ]; }`
<wedens> what if you start it manually? (not as a service)
<jomik> Well, it works just fine now, even without specifying the icon themes
<wedens> yeah. it must be something missing in environment
<jomik> Launching /nix/store/2h6awcmybhsrlcxqvch5fg3zqx1n9gal-taffybar-with-packages-8.4.4/bin/taffybar is good.
<wedens> is the service started by home-manager?
<jomik> taffybar is, yes.
<jomik> Well, the user is my user.
<wedens> and XDG_DATA_DIRS is empty?
<jomik> Mine is /run/opengl-driver/share:/home/jomik/.nix-profile/share:/nix/var/nix/profiles/default/share:/run/current-system/sw/share:/etc/profiles/per-user/jomik/share
smolboye has quit [Ping timeout: 240 seconds]
<wedens> what's the value in `systemctl --user show-environment`?
<jomik> Which value?
<jomik> XDG_DATA_DIRS is not there
<wedens> that can be the problem
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54685 → pywal: 3.2.1 -> 3.3.0 → https://git.io/fh60U
<wedens> when you start xsession from home-manager, it handles importing some env variables
<jomik> Yeah, I'll try that
<wedens> you should probably add `systemctl --user import-environment XDG_DATA_DIRS` to `services.xserver.displayManager.sessionCommands` or something
maximiliantagher has joined #nixos
<jomik> home-manager?
<jomik> brb
jomik has quit [Quit: WeeChat 2.2]
<{^_^}> [nixpkgs] @vcunat pushed to master « Revert "hackage-packages.nix: automatic Haskell package set update" »: https://git.io/fh60s
<{^_^}> [nixpkgs] @Ma27 pushed to release-18.09 « nextcloud-client: fix qt error at startup »: https://git.io/fh608
maximiliantagher has quit [Ping timeout: 268 seconds]
jomik has joined #nixos
tboston has quit [Quit: ZNC 1.7.1 - https://znc.in]
<jomik> wedens: No luck running it all through my .xsession and have home-manager manage it :(
migy has quit [Quit: migy]
<jomik> And that imported a bunch of things by default.
migy has joined #nixos
<jomik> But, if srhb says it is buggy anyway, then I may as well look at polybar, it looks pretty neat.
<jomik> I quite like taffybars graphs tho
<wedens> is XDG_DATA_DIR set now?
<wedens> in systemd
<srhb> jomik: It does work, fwiw.
<srhb> And hopefully it'll get better. It's a big rewrite after all.
<jomik> wedens: I didn't actually check with show-environment, but I know that my .xprofile had a bunch of imports https://github.com/rycee/home-manager/blob/master/modules/xsession.nix#L121
<jomik> Never had any luck making it display my battery icon either though :(
Supersonic has quit [Ping timeout: 252 seconds]
nefix has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54686 → python37Packages.py3status: 3.15 -> 3.16 → https://git.io/fh6Ee
<nefix> Good morning! I'm trying to build a Nix Docker image. The issue is that I'm trying to do it with two stages (so I don't ship all the development dependencies) but I can't make it work since the result is in the store and I can't find the way to copy it from the build stage to the main stage
jomik has quit [Quit: WeeChat 2.2]
jomik has joined #nixos
<jomik> wedens: XDG_DATA_DIRS is set now, yeah.
<jomik> srhb: Mind sharing how you got the taffybar service working? :P
<srhb> jomik: I really think I just shrank down most of the taffybar configuration file and used home-manager's services.taffybar.enable
<srhb> There were some widgets crashing it, I forget which..
<nefix> symphorien: no, I didn't know, but what I'm worried about is the 800MB that it's needing for a 5MB binary
Tony305 has joined #nixos
<symphorien> it should not need much more than the closure of the "native" nix derivation
<symphorien> so you can use nix why-depends to see why some dependencies are embedded
<symphorien> sometimes there are dumb and easily fixed reasons like https://github.com/NixOS/nixpkgs/pull/54591
<{^_^}> #54591 (by symphorien, 1 day ago, merged): neovim: remove spurious references to compilation flags
<nefix> the thing is that there are a lot of dependencies that are used when building the binary, but they are no longer needed when the binary is run
<symphorien> if I understand correctly, dockertools embeds an already built derivation in a docker image
<symphorien> so build-time dependencies should not be present in the final image
<nefix> oh, I see
<symphorien> although I am not familiar with docker at all, so please check :þ
jasongrossman has quit [Ping timeout: 240 seconds]
agander has quit [Ping timeout: 245 seconds]
<symphorien> and there is a layered version which allows to share dependencies between docker images
tboston has joined #nixos
dermetfan has quit [Ping timeout: 268 seconds]
tboston has quit [Client Quit]
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to master: https://git.io/fh6Ed
shibboleth has joined #nixos
<{^_^}> [nixpkgs] @vcunat merged pull request #54638 → gnumeric: fix wrapping → https://git.io/fh6Ji
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54687 → python37Packages.rlp: 1.0.3 -> 1.1.0 → https://git.io/fh6uC
maximiliantagher has joined #nixos
Lears has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54688 → python37Packages.texttable: 1.5.0 -> 1.6.0 → https://git.io/fh6uR
cyphase has quit [Ping timeout: 245 seconds]
[Leary] has quit [Ping timeout: 240 seconds]
Makaveli7 has joined #nixos
<jomik> srhb: Ahh, yeah okay. That's not optimal :D
maximiliantagher has quit [Ping timeout: 250 seconds]
[Leary] has joined #nixos
tboston has joined #nixos
thc202 has joined #nixos
<jomik> Odd, home-manager outputs this on switch `User systemd daemon not running. Skipping reload.`
jomik has quit [Quit: WeeChat 2.2]
Lears has quit [Ping timeout: 250 seconds]
jomik has joined #nixos
<jomik> wedens: Interesting "advancement", if I manually launch taffybar it gives the same error as the service now :d
iyzsong has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54689 → python37Packages.Wand: 0.4.5 -> 0.5.0 → https://git.io/fh6uX
ambro718 has joined #nixos
lux1 has joined #nixos
<nefix> so, right now my docker derivation looks like this: https://paste.ofcode.org/MbcDPb5YKtrMEqAJ9XppTq but it says no such file or directory"
<{^_^}> [nixpkgs] @markuskowa merged pull request #54668 → snapper: 0.8.1 -> 0.8.2 → https://git.io/fh6c1
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fh6uM
cyphase has joined #nixos
xkapastel has joined #nixos
<symphorien> nefix: what does ./. contain ?
<{^_^}> [nixpkgs] @gebner merged pull request #54687 → python37Packages.rlp: 1.0.3 -> 1.1.0 → https://git.io/fh6uC
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/fh6u7
rprije has quit [Ping timeout: 240 seconds]
<symphorien> ./. copies the files as is
<nefix> I though it executed default.nix
<symphorien> let my_package = import default.nix; in
__monty__ has joined #nixos
<nefix> And then what I do in Cmd? symphorien
<symphorien> ${my_package}/bin/foo
<nefix> symphorien: cannot coerce a function to a string
<symphorien> ah import default.nix {}; in then
<nefix> WOOOO it's working
<nefix> And only 32MB of image
agander has joined #nixos
romildo has joined #nixos
agander_ has joined #nixos
agander is now known as Guest45855
agander_ is now known as agander
Ariakenom has joined #nixos
Guest45855 has quit [Ping timeout: 268 seconds]
<nefix> symphorien: and how can I use nix inside the Docker container? Is there any base image or something like that?
<symphorien> what do you want to do ?
<symphorien> it is unlikely that you want nix at runtime
agander_ has joined #nixos
<nefix> yeah, I want to build expressions from the Go program
maximiliantagher has joined #nixos
<{^_^}> [nixpkgs] @dotlambda closed pull request #54665 → seafile-shared: 6.2.10 -> 6.2.11 → https://git.io/fh6cv
<nefix> but since this isn't going to be run in a server with Nix, I'm using Docker for that
<nefix> symphorien: ^
<symphorien> if your go program depends on nix expliciely (with makeWrapper for example) then nix will be embedded in the docker image automatically
agander has quit [Ping timeout: 268 seconds]
<symphorien> you may have to disable the sandbox because I am not sure user namespaces are allowed inside docker
<nefix> could you provide an example?
<symphorien> grep makeWrapper in nixpkgs
jomik has quit [Quit: WeeChat 2.2]
<nefix> I feel really stupid learning Nix, everything seems so hard and complicated
daifa has joined #nixos
<symphorien> this is a common way to add things to PATH before starting a program
maximiliantagher has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @timokau opened pull request #54690 → [WIP] sage: 8.6 -> 8.7 → https://git.io/fh6zR
<nefix> thanks
dermetfan has joined #nixos
<symphorien> hum
<symphorien> actually this will embed bash in your docker
<symphorien> there may be better ways to manipulate the path in the docker image
<symphorien> but I don't know docker
<symphorien> so I can't help
<nefix> symphorien: why is it going to embed bash?
<symphorien> the firefox binary you have on your path is an output of makewrapper
<symphorien> run `cat $(which firefox)` to understand what makeWrapper does
<nefix> I see
jomik has joined #nixos
<jomik> New development. The taffybar service works, but not when started "automatically"
<jomik> If I run `systemctl --user restart taffybar.service` then it works..?
<tilpner> If you put a serviceConfig.ExecStartPre = "${pkgs.coreutils}/bin/sleep 1";
agander has joined #nixos
agander_ has quit [Ping timeout: 246 seconds]
<tilpner> ... it will sleep for a second before starting your service. That helped with polybar, although it's an ugly solution
Tony305 has left #nixos ["Quit"]
<tilpner> I tried various combinations of requires/after/partOf/etc., but it usually didn't start properly
<symphorien> restart = always could maybe help
<jomik> Oh, that could work maybe, symphorien . I'll try yours tho, tilpner
<jomik> It's a GTK icon error. Bit odd xD
<jomik> I have added the icons to my home.packages now..
<jomik> Just noticed that, for some reason, my xmonad overlaps the bar a bit now xD
<jomik> Anyway, restarting to test
jomik has quit [Quit: WeeChat 2.2]
agander_ has joined #nixos
agander has quit [Ping timeout: 244 seconds]
daifa has quit [Quit: Page closed]
jomik has joined #nixos
<{^_^}> [nixpkgs] @thefloweringash opened pull request #54691 → nixos/prometheus: add `ec2_sd_configs` section to `scrape_configs` → https://git.io/fh6gf
<jomik> Well, restart="always" solved it in this case.
jomik has quit [Quit: WeeChat 2.2]
maximiliantagher has joined #nixos
jomik has joined #nixos
i-net has joined #nixos
<jomik> So. My remaining issue is that batteryIconNew doesn't show up on the status bar, but that is probably a taffybar issue :D
<i-net> Hi, can someone help me to get Wifi running on my TP440? It is a fresh nixos installation. I can scan Wifis but I do not receive an IP address from my wifi router. Your Wiki was not helpful unfortunately :(
<i-net> Thank you in advance!
maximiliantagher has quit [Ping timeout: 245 seconds]
<jomik> i-net: What are you scanning with? Did you set `networking.networkmanager.enable = true;` ?
pointfourone has joined #nixos
<i-net> ...mmh. This was not in the fefault configuration.nix. I have networking.hostName enabled and networking.wireless.enable = true
pointfourone has left #nixos [#nixos]
<i-net> With journalctl I have seen that szstemd-networkd is not running. But this program is not installed.
<{^_^}> [nixpkgs] @Anton-Latukha opened pull request #54692 → clementine: use fetchFromGitHub → https://git.io/fh6gg
<i-net> Will it work when I do nixos-rebuild test with the updated netwroking.networkmanager.enable = true; ??
<i-net> Normally I do not use networkmanager. I use connman or netctl only
<i-net> I can connect to the internet without it and with PPoE.
<praetorg> https://nixos.org/nixos/options.html#network read through this page and find the options you need
jomik has quit [Quit: WeeChat 2.2]
<i-net> @jomik: Therefore it must be a wrong usage of the wireless tools by me
<i-net> I have internet with the cable but not via WiFi
<{^_^}> [nixpkgs] @dotlambda merged pull request #54670 → seafile-client: 6.2.10 -> 6.2.11 → https://git.io/fh6CT
<{^_^}> [nixpkgs] @dotlambda pushed 3 commits to master: https://git.io/fh6gX
<i-net> @praetorg: Sorry, this does not help me because I am a novice in NixOS. :-/
<i-net> Can I view the chat history and search for similar problems?
<i-net> This would be probably less spam
<Yaniel> logs are linked in the topic
dsiypl4 has joined #nixos
<symphorien> i-net: the option network.wireless.enable uses wpa_supplicant
<symphorien> Have you provided the passwords to wpa_supplicant ?
<i-net> @symphorien: Yes with 'wpa_passphrase "SSID" "Password" > /etc/wpa_supplicant.conf'
<praetorg> are you trying to host through the wifi or just connect to it
<i-net> ???
<i-net> just connecting to my wifi
<praetorg> oh i misunderstood
<i-net> or other wifis too
<i-net> doesnt matter :)
<symphorien> Have you ruled out missing firmware?
<i-net> How I do this? I can scan wifis in the neighborhood with cli....
<i-net> @symphorien: it is a Lenovo TP, firmware must be okay I guess
<i-net> when I do dmesg I see authentication and deauthentication messages with reason 3=DEAUTH_LEAVING
<symphorien> Right. I don't really know wpa_supplicant but journalctl -u wpa_supllicant could help
<praetorg> wireless.enable = true; wireless.networks.yourwifinamehere.psk = passwordhere;
<praetorg> for declared config
<i-net> can we restart the services and try again step by step? :))
<i-net> szstemctl restart wpa_supplicant.service -> successfullz initiated!
Supersonic has joined #nixos
<gagbo> found the german
<i-net> and now? or swiss
<i-net> or Czech
<gagbo> That aside, is there a way to curl (in an impure way, I guess) content from internet and put it in the $HOME directory of a user in /etc/nixos/conf.nix ?
<gagbo> I thought only the swiss and german use qwertz
<Yaniel> let's not forget that austria *is* a separate country these days
<i-net> My Wifi is up but I cannot connect to my network. How I do this? wpa_supplicant works in other distros
<gagbo> my bad Yaniel
maximiliantagher has joined #nixos
<bigvalen> Ever see a system that won't dhcp (or get past any network init, so won't give a login prompt) when you boot it...but if you boot it in single user mode, then run 'systemctl default', it boots fine ?
teehemka_ has joined #nixos
_kwstas has joined #nixos
regulus_ has quit [Ping timeout: 240 seconds]
<i-net> @praetorg. Can I use Wifi without print the passwords in clear somewhere?
<nefix> symphorien: https://lethalman.blogspot.com/2016/04/cheap-docker-images-with-nix_15.html I finally found this article that has helped me a lot
<i-net> How you guys connect to your wifi with a freshly installed NixOS? If I find the chat history with a search function I can search for a solution there too fortunately.
<symphorien> i-net: I use network manager :p
maximiliantagher has quit [Ping timeout: 240 seconds]
<praetorg> @i-net use wpa_passphrase to generate an obfuscated passkey
rfold has joined #nixos
<i-net> I did wpa_passphrase already. Thanks for the hint.
agander_ has quit [Ping timeout: 250 seconds]
<i-net> how can I view the error log after I did wpa_supplicant -B -i wlps30 -c /etc/wpa_supplicant.conf ??
<{^_^}> [nixpkgs] @tilpner opened pull request #54693 → appimageTools: init → https://git.io/fh62a
<i-net> I am still not connected. The password is okay. Mazbe the file cannot be interpreted correctly?
<tilpner> Everyone using AppImages, please review! ^
Xal has quit [Ping timeout: 272 seconds]
lassulus_ has joined #nixos
<symphorien> i-net: most logs are in journalctl
Xal has joined #nixos
ottidmes has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54694 → python37Packages.scrapy: 1.5.1 -> 1.5.2 → https://git.io/fh62K
lassulus has quit [Ping timeout: 272 seconds]
lassulus_ is now known as lassulus
romildo has quit [Quit: Leaving]
<i-net> Does someone uses wpa_supplicant here or netctl?
regulus_ has joined #nixos
<i-net> Shi*** I've switched (test) to networkmanager. Now dhcpcd is gone....
Melkor333 has quit [Quit: WeeChat 2.2]
ma27 has quit [Quit: WeeChat 2.2]
<wedens> netctl is Arch-only afaik
_kwstas has quit [Quit: _kwstas]
<MichaelRaskin> i-net you might want to run wpa_cli
<i-net> MichaelRaskin: It sazs: Could not connect to wpa_supplicant: (nil) - reßtrzing
<{^_^}> [nixpkgs] @dotlambda pushed to master « dmensamenu: 1.1.1 -> 1.2.1 »: https://git.io/fh62x
<wedens> `sudo systemctl status wpa_supplicant`
<i-net> acitive (runing)
<i-net> wpa?supplicant is running
<MichaelRaskin> I wonder if NixOS mainline disables wpa_supplicant control socket. Maybe journalctl will tellsomething?
<MichaelRaskin> And, indeed, search your dmesg for things related to your WiFi card — maybe it misses firmware
<i-net> Wifi has worked sometimes. E. g. after I have used another profile. But I cannot reinitialize Wifi after I have switched to another profile or after I have moved outside of the Wifi radar
<wedens> you need to add `networking.wireless.userControlled.enable = true;` to be able to use wpa_cli
jomik has joined #nixos
<jomik> What is the easiest way to override a hackage package? Taffybar in nixos is version 3.0.0, but current is 3.1.1
<wedens> callHackage, I think
<i-net> wedens: Will it work after nixos-rebuild test too?
knupfer has joined #nixos
<wedens> i-net: no idea. if it doesn't, you can restart the service manually
<wedens> jomik: note that callHackage will work only if all-cabal-hashes used by nixpkgs have the specified version
<wedens> another option will be to use `callCabal2Nix "taffybar (fetchFromGithub ...)`
<i-net> I'll view the error log and find a way. Thank you for your patience.
<jomik> wedens: that sounds unlikely :D
<jomik> Or what do you mean with all cabal hashes have the specified version?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54695 → python37Packages.typing-extensions: 3.6.6 -> 3.7.2 → https://git.io/fh6aE
<jomik> I am just trying to import taffybar from unstable first.
<jomik> Well, doesn't seem like I can just make an overlay with taffybar from unstable, even though unstable has the correct taffybar version :(
<jomik> Lots of warnings when compiling it.
maximiliantagher has joined #nixos
jasongrossman has joined #nixos
Xal has quit [Ping timeout: 240 seconds]
maximiliantagher has quit [Ping timeout: 245 seconds]
Xal has joined #nixos
<{^_^}> [nixpkgs] @tilpner opened pull request #54696 → Standardnotes appimagetools → https://git.io/fh6VT
slack1256 has joined #nixos
o1lo01ol1o has joined #nixos
civodul has joined #nixos
shibboleth has quit [Quit: shibboleth]
Melkor333 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54697 → python37Packages.peewee: 3.8.1 -> 3.8.2 → https://git.io/fh6VB
teehemka_ is now known as teehemkay[away]
dsiypl4 has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @ryantm merged pull request #54666 → safeeyes: 2.0.6 -> 2.0.8 → https://git.io/fh6c8
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fh6Va
<{^_^}> [nixpkgs] @ryantm merged pull request #54645 → wpgtk: 5.8.6 -> 5.8.7 → https://git.io/fh6O2
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fh6VK
o1lo01ol1o has quit [Ping timeout: 250 seconds]
robstr has joined #nixos
regulus_ has quit [Ping timeout: 240 seconds]
<srhb> jomik: I fixed that by using callHackage gi-gdkpixbuf "2.0.16" {} iirc
robstr has quit [Quit: Page closed]
agander has joined #nixos
o1lo01ol1o has joined #nixos
slack1256 has quit [Remote host closed the connection]
slack1256 has joined #nixos
slack1256 has quit [Remote host closed the connection]
<jomik> So put that in an overlay first srhb ?
m15k has joined #nixos
o1lo01ol1o has quit [Ping timeout: 240 seconds]
sicklorkin has joined #nixos
rfold has quit [Quit: leaving]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54698 → python37Packages.pynvim: 0.3.1 -> 0.3.2 → https://git.io/fh6wu
<{^_^}> [nixpkgs] @alyssais merged pull request #54640 → defaultGemConfig.rbczmq: init → https://git.io/fh6Tp
<{^_^}> [nixpkgs] @alyssais pushed 2 commits to master: https://git.io/fh6wX
<jomik> I am trying to make an overlay like this `haskellPackages.gi-gdkpixbuf = unstable.haskellPackages.gi-gdkpixbuf;`, but it says that `ghcWithPackages` is missing..?
<srhb> jomik: { haskellPackages = with self.haskell.lib; super.haskellPackages.extend (hself: hsuper: { gi-gdkpixbuf = check (hsuper.gi-gdkpixbuf.version == "2.0.18") ( hself.callHackage "gi-gdkpixbuf" "2.0.16" {}); }); }
knupfer has quit [Remote host closed the connection]
<srhb> Something like that.
knupfer has joined #nixos
ixxie has quit [Ping timeout: 245 seconds]
o1lo01ol1o has joined #nixos
<srhb> oh sorry, skip the check part
<srhb> Didn't even notice I had that...
ixxie has joined #nixos
<srhb> jomik: so: self: super: { haskellPackages = with self.haskell.lib; super.haskellPackages.extend (hself: hsuper: { gi-gdkpixbuf = hself.callHackage "gi-gdkpixbuf" "2.0.16" {} ; }); }
raduom has joined #nixos
<srhb> jomik: Overriding haskell package sets is a bit clunky unfortunately..
<raduom> Hi everyone. I am trying to start using the nix package manager on an ubuntu system and I am having trouble installing what on ubuntu would be build-essentials. How can I do that with the nix package manager?
<jomik> Hmm, I see that. God :D
<srhb> raduom: We don't really have something very similar, nor is that the way we usually develop packages.
<raduom> I am not really interested in developing packages. I just want a system that can build things.
<srhb> raduom: Okay. That's really not an approach that is very suitable for Nix.
<srhb> Or vice versa :)
<simpson> raduom: Hm. Why do you want to use Nix, then? I worry that you may have been misled about how it works.
<raduom> could be that i have been misled.
<symphorien> ,libraries raduom
<{^_^}> raduom: Don't install libraries through nix-env or systemPackages, use nix-shell instead. See https://nixos.wiki/wiki/FAQ/Libraries for details.
<simpson> raduom: Well, let's unpack this. Why do you want to use Nix? What do you hope it will bring to your workflow?
<jomik> srhb: No luck :(
<raduom> simpson: basically i would have liked a brew for linux. nix seemed to fit this space plus a lot more options.
<symphorien> raduom: when you want to use anything which looks like a compiler with nix, it will always be inside nix-shell
<simpson> raduom: On Ubuntu, Brew is spelled `apt`. It works alright. Lots of packages available.
<srhb> jomik: More details please?
<symphorien> to have a compiler and zlib available: nix-shell -p zlib
<jomik> srhb: I am getting the same exact error, so maybe taffybar isn't seeing the new gdbpixbuf?
<raduom> simpson: that is not very helpful.
<simpson> The packages are called 'debs' or '.debs' instead of 'casks'.
<raduom> is there a document i could read about how nix-shell is working?
<srhb> jomik: Where did you override it?
<simpson> raduom: I am being quite serious. If you want a brew-like system, then Ubuntu's package manager will do fine. Nix is not like other package-management systems; you will have to learn to think within Nix and unlearn some of your old habits.
<jomik> nixpkgs.overlays in home-manager.
<MichaelRaskin> raduom: the core Nix feature that we value, is that we don't need in terms of globally installed things, we have a ton of sub-environments that cannot conflict
<raduom> simpson: it installs everything as root and there is no easy way to rm -rf everything if i feel like it.
<simpson> raduom: You've been linked to a few things. nix-shell's docs are at https://nixos.org/nix/manual/#sec-nix-shell \
ixxie has quit [Ping timeout: 245 seconds]
<raduom> Ok. Thanks. I'll go read some of the links you posted.
<simpson> raduom: Nix is not a system where you may `rm -rf` to uninstall packages. There are tools for removing packages and you will break your Nix installation if you do not use them. Also, Nix packages are stored as root in a /nix/store directory. The differences run much deeper than that.
<jomik> raduom: I use direnv, this function https://github.com/Jomik/dotfiles/blob/master/.config/direnv/direnvrc and a shell.nix file in my projects.
<srhb> jomik: Presumably you want to override the unstable haskellPackages
<jomik> To load the tools I need where I need them.
<srhb> jomik: (That's from whence taffybar's deps come)
<{^_^}> [nixpkgs] @MikePlayle opened pull request #54699 → libamqpcpp: 3.0.0 -> 4.1.3 → https://git.io/fh6rG
ixxie has joined #nixos
<jomik> That's what I'd think, but that doesn't seem to always be the case? I recall overriding a package from unstable, but it still seemingly got its dependencies from release-18.09
<jomik> Also, gdkpixbuf seems to be version 2.0.18, so that should be fine, right?
<jomik> on unstable*
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54700 → python37Packages.pysam: 0.15.1 -> 0.15.2 → https://git.io/fh6rc
<Myrl-saki> Is src an actual argument of mkDerivation, or is it just there to be added to the environment?
<srhb> jomik: No, the new gdkpixbuf is the problem.
<jomik> srhb: Oooooooh
<Myrl-saki> Er, Seems like it's the latter, checking make-derivation.nix.
<srhb> You either want to patch taffybar to fix the type issue, or youj want to get an older gdkpixbuf (which is what I did)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54701 → python37Packages.pika: 0.12.0 -> 0.13.0 → https://git.io/fh6rV
<wedens> jomik: apparently it just needs a simple patch
<jomik> wedens: Neat!
<siraben> I'm using the LightDM locker, but it appears super tiny on boot and after lock because I'm using a HiPDI display
<siraben> According to https://askubuntu.com/questions/540863/how-can-i-make-lightdm-scale-on-a-hidpi-screen I would normally need to edit /usr/share/glib-2.0/schemas/com.canonical.unity-greeter.gschema.xml , how do I do this on NixOS?
<jomik> How is it that I use fetchPatch ? I should be able to use that rather than point at some local .patch file, right?
<siraben> I tried searching the NixOS options but didn't find anything.
<jomik> Or is it fetchurl?
ixxie has quit [Ping timeout: 246 seconds]
<wedens> jomik: just point fetchpatch to raw file url
ixxie has joined #nixos
<jomik> Interesting, it seems to point at taffybar 3.0.0 now for some reason.
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<Myrl-saki> Oh, it's a bit of both. src(s) is supported by patchPhase.
murd3r has joined #nixos
<murd3r> Linux is for niggers!
<murd3r> Linux is for niggers!
<murd3r> Linux is for niggers!
<murd3r> Linux is for niggers!
<murd3r> Linux is for niggers!
<murd3r> Linux is for niggers!
<murd3r> Linux is for niggers!
<murd3r> Linux is for niggers!
<murd3r> Linux is for niggers!
<murd3r> Linux is for niggers!
<murd3r> Linux is for niggers!
<murd3r> Linux is for niggers!
<murd3r> Linux is for niggers!
<murd3r> Linux is for niggers!
<murd3r> Linux is for niggers!
<murd3r> Linux is for niggers!
<murd3r> Linux is for niggers!
ixxie has quit [Ping timeout: 250 seconds]
<Myrl-saki> s/patchPhase/unpackPhase
<Myrl-saki> On that topic. Is there an .deb unpackPhase for debs?
sicklorkin has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @Nadrieril opened pull request #54702 → exa: 0.8.0 -> 2019-01-26 → https://git.io/fh6oe
ixxie has joined #nixos
jomik has quit [Quit: WeeChat 2.2]
<{^_^}> [nixpkgs] @worldofpeace opened pull request #54703 → vscode: update desktop items → https://git.io/fh6om
fusion809 has joined #nixos
b has joined #nixos
ixxie has quit [Ping timeout: 240 seconds]
ixxie has joined #nixos
<pbb> I am having an issue where after I do nixos-rebuild switch after boot it destroys my ipv6 networking
fusion809 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #54697 → python37Packages.peewee: 3.8.1 -> 3.8.2 → https://git.io/fh6VB
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @r-ryantm to master « python37Packages.peewee: 3.8.1 -> 3.8.2 »: https://git.io/fh6o2
<pbb> or actually I'm not 100% sure when it exactly happens
<pbb> I configured it like this:
<pbb> networking.defaultGateway6 = { address = "2001:41d0:2:d0ff:ff:ff:ff:ff"; interface = "br0"; };
<pbb> Let me see how it looks after a fresh boot
fusion809 has joined #nixos
amosbird has quit [Quit: ZNC 1.7.1 - https://znc.in]
<pbb> okay actually it picks up the default route from a router advertisement
Makaveli7 has quit [Ping timeout: 246 seconds]
<pbb> default via fe80::214:f1ff:fea7:2400 dev br0
<pbb> that's really strange actually
amosbird has joined #nixos
maximiliantagher has joined #nixos
amosbird has quit [Max SendQ exceeded]
amosbird has joined #nixos
amosbird has quit [Max SendQ exceeded]
amosbird has joined #nixos
amosbird has quit [Max SendQ exceeded]
ixxie has quit [Ping timeout: 240 seconds]
amosbird has joined #nixos
<pbb> wtf I just disabled autoconf and accept_ra via sysctl and it still gives me this default gateway from the ra
sicklorkin has joined #nixos
ixxie has joined #nixos
amosbird has quit [Max SendQ exceeded]
amosbird has joined #nixos
amosbird has quit [Max SendQ exceeded]
ng0 has joined #nixos
amosbird has joined #nixos
<sicklorkin> Does nix have it's own container (akin to docker?)
<simpson> sicklorkin: Nix does not have its own container format. It is possible to create Docker/OCI-compliant images with nixpkgs `dockerTools`.
<tilpner> There are Docker images for Nix, Nix can create Docker images, and NixOS uses systemd-nspawn for its container feature
<tilpner> The Nix build sandbox does not use Docker
<sicklorkin> tilpner: thanks.
ixxie has quit [Ping timeout: 272 seconds]
<spacekookie> Hey, I'm trying to run `nixos-install --show-trace` on on a new computer and getting "error: selector 'x86_64-linux' matches no derivation" as the only output. Anyone have an idea what could cause this?
<tilpner> spacekookie: Did you modify the configuration much? Try passing -vvvv to nixos-install
ixxie has joined #nixos
<spacekookie> tilpner: It appears that nixos-install doesn't have verbose options
<spacekookie> Also...hmm, the config really isn't anything out of the ordenary but I can post it
<tilpner> Do you tell from the manpage or because you tried?
<spacekookie> Because I tried :P
<tilpner> (I don't know if it does, but the manpages don't always list all options)
<tilpner> Hmm
<qyliss> spacekookie: try bash -x $(command -v nixos-install)
<spacekookie> It's failing on nix-env [...] --set x86_64-linux
<qyliss> -vvvvv
<qyliss> :D
<murd3r> linux is for niggers
ixxie has quit [Ping timeout: 268 seconds]
<nefix> where is the local nixcache stored?
halfbit has joined #nixos
<infinisil> nefix: I think ~/.cache/nix
ixxie has joined #nixos
<nefix> infinisil: so If I build a package, copy the cache to another system and try to build it again is it going to use the cache from the first system?
<qyliss> infinisil: does the bot have a way to contact the ops?
<qyliss> would be nice if somebody could kick the troll.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54704 → python37Packages.stripe: 2.10.1 -> 2.18.0 → https://git.io/fh6Kr
Jonas_ has joined #nixos
Jonas_ is now known as Guest1376
<Guest1376> Hey there, when using nixops I always get stuck when downloading linux-4.14.95 from cache.nixos.org
<Guest1376> copying path '/nix/store/s5f10r240mykcrbw353wbvxg1hrsfv89-linux-4.14.95' from 'https://cache.nixos.org'... warning: unable to download 'https://cache.nixos.org/nar/0019l9ciabbl77j8qrvig3kdwhxydcbr1sbk1ysk15n07ra4ici2.nar.xz': HTTP error 200 (curl error: Failure when receiving data from the peer); retrying in 298 ms error 9 while decompressing xz file
<Guest1376> Has anybody seen this?
<Guest1376> Can provide more info about my setup if it helps
maximiliantagher has quit [Ping timeout: 240 seconds]
<Guest1376> The .nar.xz download gives a 404
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54705 → python37Packages.pydub: 0.23.0 -> 0.23.1 → https://git.io/fh6K1
<Guest1376> I already tried nix-channel --update
vidbina has joined #nixos
ixxie has quit [Ping timeout: 240 seconds]
endformationage has joined #nixos
ixxie has joined #nixos
halfbit has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @pbogdan opened pull request #54706 → lightdm: allow cursor theme customisation. → https://git.io/fh6Kh
maximiliantagher has joined #nixos
ixxie has quit [Ping timeout: 240 seconds]
regulus_ has joined #nixos
<srhb> Guest1376: I can download that just fine.
maximiliantagher has quit [Ping timeout: 244 seconds]
ixxie has joined #nixos
Guest1376 has quit [Ping timeout: 256 seconds]
hedning has joined #nixos
<murd3r> NIIIIIIIIIIIIIIIIIIGERRRSSSSSS
<murd3r> nig nig, nigggerrrs!
cnidario has joined #nixos
regulus_ has quit [Ping timeout: 250 seconds]
erictapen has joined #nixos
nek0 has quit [Ping timeout: 256 seconds]
vidbina has quit [Ping timeout: 245 seconds]
ixxie has quit [Ping timeout: 268 seconds]
ixxie has joined #nixos
hellrazo1 has quit [Ping timeout: 250 seconds]
hellrazo1 has joined #nixos
knupfer has quit [Ping timeout: 245 seconds]
regulus_ has joined #nixos
<infinisil> qyliss: Yeah that would be nice. Currently there's only one person that's op and often here: gchristensen (^^)
maximiliantagher has joined #nixos
ixxie has quit [Ping timeout: 250 seconds]
neeasade has joined #nixos
Melkor333 has quit [Quit: WeeChat 2.3]
<MichaelRaskin> Well, niksnut _sometimes_ reacts to direct mentions here. So if we are lucky, maybe he will come and kick the troll.
ixxie has joined #nixos
drakonis has joined #nixos
regulus_ has quit [Ping timeout: 246 seconds]
dermetfan has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @erictapen opened pull request #54708 → unifi, nixos/unifi: add erictapen as maintainer → https://git.io/fh6iJ
rcshm has joined #nixos
Makaveli7 has joined #nixos
Makaveli7 has quit [Read error: Connection reset by peer]
regulus_ has joined #nixos
ixxie has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fh6i3
<{^_^}> [nixpkgs] @Infinisil merged pull request #54681 → nixos/wpa_supplicant: escape interface names to listen on → https://git.io/fh6BA
philippD has joined #nixos
ixxie has joined #nixos
<mightybyte> I'm getting a weird error "tar: This does not look like a tar archive"
<lux1> Hey, can anyone hint me how to auto start i3?
<tilpner> lux1: You mean auto-login?
<mightybyte> Anyone know what's up with this?
<lux1> no, after login
<lux1> I can manually start i3 from the xterm
Jonas|2 has joined #nixos
<tilpner> lux1: Are you on NixOS?
<lux1> setting `services.xserver.desktopManager.default` to "i3" seems not to work
<lux1> yes
<tilpner> Huh
<tilpner> You also set services.xserver.windowManager.i3.enable = true, right?
<tilpner> That should be all that's needed
<symphorien> lux1: in the login prompt, there is a drop down to choose i3
<tilpner> Your display manager may not default to i3
<lux1> definitly no drop down
<tilpner> Check for a session selector
<tilpner> Which one are you using?
<tilpner> With slim it's F1, I think
<Jonas|2> Hey, I was writing about the problem with downloading linux-4.14.95 from cache.nixos.org but I got kicked out from the web IRC client :( I now use a proper desktop client, hoping this is more stable. Was there any response?
<{^_^}> [nixpkgs] @pbogdan opened pull request #54709 → lightdm: inherit DPI settings from xserver config → https://git.io/fh6iu
<lux1> but wait, I just realize there is both windowManager.default and desktopManager.default
<tilpner> Jonas|2: srhb | Guest1376: I can download that just fine.
<symphorien> lux1: default has no effect with lightdm because lightdm remembers your last choice
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54710 → python37Packages.eradicate: 0.2.1 -> 1.0 → https://git.io/fh6iV
<lux1> Its slim (default I gues)
<lux1> and no dropdown. F1 does make the font larger
<tilpner> Did you disable services.xserver.desktopManager.xterm.enable?
<symphorien> The default is lightdm
<symphorien> Which nixos version do you use ?
<tilpner> (It defaults to true for some reason)
<lux1> um: "NixOS’s default display manager (the program that provides a graphical login prompt and manages the X server) is SLiM."
<lux1> thats the guides
<neeasade> any chicken scheme users happen to be here? I'm new to it and was wanting to install some global eggs for use with geiser
<lux1> the system was installed today from nixos-graphical-18.09.1985.749a3a0d00b-x86_64-linux.iso
<lux1> So I *just* have this now:
<lux1> services.xserver.enable = true;
<lux1> services.xserver.windowManager.default = "i3";
<lux1> services.xserver.windowManager.i3.enable = true;
<lux1> y
<lux1> does this looks good?
<{^_^}> [nixpkgs] @Mic92 merged pull request #54705 → python37Packages.pydub: 0.23.0 -> 0.23.1 → https://git.io/fh6K1
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fh6iA
<tilpner> I would add services.xserver.desktopManager.xterm.enable = false;
<{^_^}> [nixpkgs] @dtzWill opened pull request #54711 → gnutls: 3.6.5 -> 3.6.6 → https://git.io/fh6ij
<tilpner> And I don't think the default matters. Not sure if it hurts either
<lux1> okay that works. thanks
<Jonas|2> tilpner: Thanks for checking, I just clicked the link im my terminal and it screwed up the URL, so I'm getting a 200 OK now, too. But nix is still unable to decompress the file, as the error message suggests:
<Jonas|2> warning: unable to download 'https://cache.nixos.org/nar/0019l9ciabbl77j8qrvig3kdwhxydcbr1sbk1ysk15n07ra4ici2.nar.xz': HTTP error 200 (curl error: Failure when receiving data from the peer); retrying in 253 ms
<Jonas|2> error 9 while decompressing xz file
ixxie has quit [Ping timeout: 240 seconds]
<lux1> i3 starts. however I still get a default xterm. do I have to reboot?
regulus_ has quit [Ping timeout: 246 seconds]
<tilpner> lux1: You did a "nixos-rebuild switch" and logged out, right? And there's still an xterm session?
<tilpner> That's weird
<tilpner> Is there any text visible on the display manager mentioning i3, xterm, or "none"?
ixxie has joined #nixos
<iqubic> How does one make a symlink?
<{^_^}> [nixpkgs] @dtzWill opened pull request #54712 → whois: 5.4.0 -> 5.4.1 → https://git.io/fh6PU
<MichaelRaskin> ln -s
maximiliantagher has quit [Remote host closed the connection]
<MichaelRaskin> Or do you mean when running nix-build ?
<MichaelRaskin> -o
<{^_^}> [nixpkgs] @jtojnar merged pull request #54615 → gtk3-x11: fix build → https://git.io/fhKoJ
<{^_^}> [nixpkgs] @jtojnar pushed 4 commits to master: https://git.io/fh6PI
<lux1> a reboot after the nixos rebuild switch seemed to help
<lux1> thanks!
<iqubic> MichaelRaskin: I mean a symlink of files.
<iqubic> Not when running nix-build.
Mateon3 has joined #nixos
maximiliantagher has joined #nixos
doyougnu has joined #nixos
Mateon1 has quit [Ping timeout: 250 seconds]
Mateon3 is now known as Mateon1
maximiliantagher has quit [Remote host closed the connection]
regulus_ has joined #nixos
<{^_^}> [nixpkgs] @dywedir opened pull request #54713 → fff: 1.5 -> 1.6 → https://git.io/fh6Pl
ixxie has quit [Ping timeout: 250 seconds]
ixxie has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
regulus_ has quit [Ping timeout: 240 seconds]
dsiypl4 has joined #nixos
ixxie has quit [Ping timeout: 268 seconds]
ixxie has joined #nixos
regulus_ has joined #nixos
ixxie has quit [Ping timeout: 246 seconds]
ixxie has joined #nixos
counting1ort is now known as countingsort
ma27 has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed to master « scdoc: 1.6.1 -> 1.8.0 »: https://git.io/fh6XW
mcnesium has quit [Ping timeout: 245 seconds]
mcnesium has joined #nixos
_kwstas has joined #nixos
_kwstas has quit [Client Quit]
_kwstas has joined #nixos
ixxie has quit [Ping timeout: 240 seconds]
thc202 has quit [Ping timeout: 272 seconds]
_kwstas has quit [Client Quit]
hooo has joined #nixos
<countingsort> trying to package something. got `src = fetchzip { ... };`, but it errors with `suspicious ownership or permission on '/nix/store/...-source'; rejecting`. checked it, and its owned by nixbld1, with 773. how come this happened, and how to fix it?
ixxie has joined #nixos
agander has quit [Ping timeout: 250 seconds]
<tilpner> countingsort: I'm just guessing, you could try nix-store --verify --repair
<tilpner> I don't know if that cares about permissions too
<countingsort> tilpner: still the same issue
boredom101 has joined #nixos
MinceR has quit [Ping timeout: 246 seconds]
<tilpner> Do other paths have similar problems? Did you do anything weird lately, like rw-remounting the store?
<tilpner> #38649 looks relevant
<{^_^}> https://github.com/NixOS/nixpkgs/issues/38649 (by Andrei-Pozolotin, 41 weeks ago, open): fetchzip does not set ownership / permissions on $out
agander has joined #nixos
<countingsort> other paths dont have the problem, i did nothing weird, not even update or something
MinceR has joined #nixos
ixxie has quit [Ping timeout: 244 seconds]
ixxie has joined #nixos
cnidario has quit [Remote host closed the connection]
<countingsort> tilpner: yeah thats basically it, thanks
regulus_ has quit [Ping timeout: 272 seconds]
thc202 has joined #nixos
regulus_ has joined #nixos
estrom has joined #nixos
<estrom> any idea why xorg.xinit has to build LLVM?
maximiliantagher has joined #nixos
<makefu> estrom: there is `nix why-depends`
<symphorien> estrom: mesa maybe ?
<makefu> nix why-depends pkgs.xorg.xinit pkgs.llvm -> 'pkgs.xorg.xinit' does not depend on 'pkgs.llvm'
<fyuuri> Hi :). I still can't make emoji fonts work :(. Is there something else after adding them in the config to font.fonts
boredom101 has quit [Ping timeout: 256 seconds]
<estrom> makefu: adding pkgs.xorg.xinit to default.nix clearly builds LLVM
<{^_^}> [nixpkgs] @Infinisil merged pull request #50220 → ffmpeg: misc cleanups → https://git.io/fptr8
<{^_^}> [nixpkgs] @Infinisil pushed 19 commits to master: https://git.io/fh61o
<makefu> estrom: which channel are you running on?
<{^_^}> [nixpkgs] @hedning merged pull request #54664 → gnome3.totem-pl-parser: 3.26.1 -> 3.26.2 → https://git.io/fh6nN
<{^_^}> [nixpkgs] @hedning pushed 3 commits to master: https://git.io/fh61i
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54715 → python37Packages.hyperframe: 5.1.0 -> 5.2.0 → https://git.io/fh611
<{^_^}> [nixpkgs] @Infinisil merged pull request #54708 → unifi, nixos/unifi: add erictapen as maintainer → https://git.io/fh6iJ
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fh61y
maximiliantagher has quit [Remote host closed the connection]
maximiliantagher has joined #nixos
<drakonis> what are my options for containers on nix?
ng0 has quit [Ping timeout: 256 seconds]
<__monty__> drakonis: What are they on any other distribution? : >
<drakonis> tbf
<__monty__> If you don't want to install anything systemd-nspawn's already included.
<drakonis> i wanted to use systemd-nspawn but i can't use the container services
<__monty__> What?
<drakonis> the module for it seems half baked
<__monty__> Oh no, I made an ass of u and me.
<infinisil> drakonis: You did look at nixos containers already?
<drakonis> i didn't want to make a nixos container
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54716 → python37Packages.mysqlclient: 1.3.14 -> 1.4.1 → https://git.io/fh61b
<drakonis> i wanted another distribution's container
<drakonis> rather
<drakonis> i want to run a different distribution instead of nix
<infinisil> s/nix/NixOS
<drakonis> yes
<infinisil> Then you probably want a VM
<drakonis> i don't want a vm though
<drakonis> its going to be too slow for what i want to do
<infinisil> I don't think containers are made to run a whole nother distro
o1lo01ol1o has quit [Remote host closed the connection]
<drakonis> they are tho
<samueldr> infinisil: nspawn should
<infinisil> Oh really?
<samueldr> but it's possible our configuration infra doesn't have anything in mind for it
<drakonis> nspawn and lxc/lxd are for that
<tilpner> You can use debootstrap/pacstrap with systemd-nspawn manually
<tilpner> Or Docker
<drakonis> i'm using that already
<drakonis> but i can't use deviceallows because that needs a nspawn service file
<samueldr> I successfully on nixos used a systemd-nspawn container of archlinux manually in the past
<drakonis> and there's no way to use a module for that right now
<samueldr> though yeah, that was all manual without nix involvement
<__monty__> The only form of containers that explicitly isn't about running a full system is the docker model.
<drakonis> i can't seem to find a way to do that on the command line
<estrom> makefu: It seems to be an issue with a build tool (using nix) and its cache
<estrom> I added xorg.xinit to a project and thought that that package was the issue -- the build tool was doing something weird
<drakonis> ah i see i found how
<drakonis> --property will do the trick
Jonas|2 has quit [Read error: Connection reset by peer]
Jonas|2 has joined #nixos
murd3r was banned on #nixos by gchristensen [*!*@75.172.130.198]
murd3r has left #nixos [requested by gchristensen (murd3r)]
<makefu> estrom: you can try nix-store -q --tree $(nix-build -A xorg.xinit '<nixpkgs>' )
o1lo01ol1o has joined #nixos
<estrom> makefu: that's really neat
estrom has quit [Remote host closed the connection]
<makefu> it is from https://nixos.wiki/wiki/Cheatsheet :)
maximiliantagher has quit [Remote host closed the connection]
ixxie has quit [Ping timeout: 240 seconds]
mmlb08 has quit [Ping timeout: 246 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Mic92 merged pull request #54713 → fff: 1.5 -> 1.7 → https://git.io/fh6Pl
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fh6MP
<{^_^}> [nixpkgs] @Mic92 merged pull request #54712 → whois: 5.4.0 -> 5.4.1 → https://git.io/fh6PU
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fh6MH
MinceR has quit [Ping timeout: 245 seconds]
knupfer has joined #nixos
MinceR has joined #nixos
mmlb08 has joined #nixos
o1lo01ol1o has joined #nixos
_kwstas has joined #nixos
<{^_^}> [nixpkgs] @Mic92 opened pull request #54717 → neovim-remote: use buildPythonApplication → https://git.io/fh6Dm
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<joepie91> tilpner: your appimage tools are like fetchzip (+ patching) but for an appimage, basically? if I understand correctly?
<drakonis> tilpner: do we actually have pacstrap?
<tilpner> joepie91: They don't do fetching. It's a static version of appimage-run
_kwstas has quit [Quit: _kwstas]
<joepie91> tilpner: it's not obvious to me what the intended usage of these is
<joepie91> as in, how to use them
Jonas|2 has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
<joepie91> (and eg. the difference between wrap vs. directly calling extract methods)
<tilpner> joepie91: People started calling appimage-run from wrappers in nixpkgs, and that's a terrible idea
aleph- has joined #nixos
<joepie91> (or when you'd want one or the other)
m15k has quit [Ping timeout: 256 seconds]
<tilpner> With appimageTools, the AppImage is extracted into the store, exactly once, and can be GCed
<aleph-> Oh god I'm dumb
<aleph-> Trying to ssh into a host, not realizing the terminal is already ssh'd into that host
<aleph-> Heya joepie91
<joepie91> aleph-: ohai
<tilpner> With appimage-run, every user that runs it extracts every appimage into a local cache directory with no GC, at the first run
Church- has joined #nixos
<aleph-> joepie91: Watcha up to?
reinhardt has joined #nixos
<joepie91> tilpner: right, and when would one use the extract functions directly? (I feel like this PR should probably be accompanied by docs :P)
<tilpner> That is bad because it keeps the AppImage around at least twice (once as executable, once unpacked), and never gcs them
<joepie91> aleph-: playing with regl stuff currently
<aleph-> regl?
eadwu has joined #nixos
<joepie91> aleph-: http://regl.party/
eadwu has quit [Client Quit]
<tilpner> And appimageTools allows you to provide per-application extraPkgs easily
<aleph-> joepie91: Oh so I was going through some my letters from my grandpa
<joepie91> tilpner: right
<aleph-> Man it really does read like he was trying to turn me into a domestic terrorist
<joepie91> aleph-: should probably migrate this conversation to #nixos-chat :P
<aleph-> Oooh yeah
<aleph-> Apologies
eadwu has joined #nixos
<tilpner> drakonis: No, but there's pacman
<aleph-> Heya drakonis
<drakonis> hey
maximiliantagher has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54718 → python37Packages.astral: 1.7.1 -> 1.8 → https://git.io/fh6D7
_kwstas has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #54659 → Nixpkgs documentation additions for 19.03 → https://git.io/fh6nU
<{^_^}> [nixpkgs] @matthewbauer pushed 8 commits to master: https://git.io/fh6DN
<{^_^}> [nixpkgs] @matthewbauer merged pull request #53618 → haskell.buildStackProject: use setup hook → https://git.io/fhG5f
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fh6DA
<{^_^}> [nixpkgs] @matthewbauer merged pull request #54624 → cc-wrapper: add libcxx for libcxxClang → https://git.io/fhKdh
jomik has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to staging: https://git.io/fh6Dj
<{^_^}> [nixpkgs] @matthewbauer merged pull request #54614 → libstdcxx: don’t set stdlib automatically → https://git.io/fhKwl
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fh6yv
<{^_^}> [nixpkgs] @matthewbauer merged pull request #54652 → setup.sh: put SHELL in flagsArray → https://git.io/fh6GP
_kwstas has quit [Client Quit]
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to staging: https://git.io/fh6yf
<tilpner> joepie91: I pinged you because you asked about appimage-run -p. This is the declarative -p
<joepie91> tilpner: yeah, I figured as much :) I'm just trying to understand its usage better, since there's no documentation
<tilpner> :/
<tilpner> I don't know how to docs though, and I'm not sure I want to figure it out today :c
<tilpner> Unless you mean comments
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54719 → python37Packages.immutables: 0.6 -> 0.9 → https://git.io/fh6yk
<jomik> Anyone know how I can fix this ? I only seem to get this error when running taffybar as a service: `Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files`
<jomik> That is, if I run taffybar from the store, then it works with no error.
<joepie91> tilpner: I can write docs (not today though, but later) if you have like an hour at some point for me to barrage you with a stream of questions :P
<jomik> Oh, may be at-spi2-core
<{^_^}> [nixpkgs] @Infinisil closed pull request #17494 → nixos: set default for boot.tmpOnTmpfs to true → https://git.io/v6LKc
mmlb08 has quit [Ping timeout: 245 seconds]
jomik has quit [Quit: WeeChat 2.2]
jomik has joined #nixos
mmlb08 has joined #nixos
<{^_^}> [nixpkgs] @dtzWill merged pull request #54464 → binutils: unbreak w/musl via upstream commits → https://git.io/fh2Uw
<{^_^}> [nixpkgs] @dtzWill pushed 4 commits to staging: https://git.io/fh6SU
<{^_^}> [nixpkgs] @matthewbauer closed pull request #53540 → wip develop branch → https://git.io/fhsDd
regulus_ has quit [Read error: Connection reset by peer]
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @matthewbauer closed pull request #53230 → Darwin staging branch → https://git.io/fhqxW
regulus_ has joined #nixos
<tilpner> joepie91: That would be the quickest solution. If you're willing to do that, I'll of course answer all question. :) (But it's just a few new lines that really do something, the rest is wrapping and refactoring)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54720 → python27Packages.mechanize: 0.3.7 -> 0.4.0 → https://git.io/fh6Sm
regulus- has joined #nixos
regulus_ has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @matthewbauer closed pull request #53092 → Remove huge packages → https://git.io/fhLyf
<{^_^}> [nixpkgs] @dtzWill merged pull request #54446 → kde-frameworks: 5.53 -> 5.54 → https://git.io/fhglY
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to staging: https://git.io/fh6SZ
maximiliantagher has quit [Remote host closed the connection]
maximiliantagher has joined #nixos
<{^_^}> [nixpkgs] @dtzWill merged pull request #54444 → plasma-5: 5.14.4 -> 5.14.5 → https://git.io/fhglt
regulus- has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to staging: https://git.io/fh6S8
regulus_ has joined #nixos
hellrazo1 has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @Infinisil merged pull request #54608 → Eternal-terminal: 5.1.8 -> 5.1.9 → https://git.io/fhKB2
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fh6SV
maximiliantagher has quit [Ping timeout: 246 seconds]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @Infinisil merged pull request #54612 → qtkeychain: remove CMP0025 hack → https://git.io/fhKuR
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fh6SX
<joepie91> tilpner: I'll ping you when I have spare braincycles for it :) and we can work on that if you're around and have time then
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54721 → python37Packages.inflect: 1.0.2 -> 2.1.0 → https://git.io/fh6Sp
<{^_^}> [nixpkgs] @Infinisil merged pull request #54008 → libnetfilter_acct: init at 1.0.3 → https://git.io/fhWt2
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fh69e
<{^_^}> [nixpkgs] @dtzWill merged pull request #54442 → go: 1.9.5 -> 1.9.7 → https://git.io/fhgCP
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to staging: https://git.io/fh69T
maximiliantagher has joined #nixos
<{^_^}> [nixpkgs] @dtzWill merged pull request #53916 → getdns: 1.5.0 -> 1.5.1, stubby: 0.2.4 -> 0.2.5 → https://git.io/fhnHm
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/fh69n
<{^_^}> [nixpkgs] @dtzWill merged pull request #54059 → fwts: 18.12.00 -> 19.01.00 → https://git.io/fhlkH
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/fh69c
mkoenig has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @dtzWill merged pull request #53907 → bcc: 0.7.0 -> 0.8.0 → https://git.io/fhn9H
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/fh69E
regulus_ has quit [Read error: Connection reset by peer]
regulus_ has joined #nixos
mkoenig has joined #nixos
<{^_^}> [nixos-homepage] @phunehehe opened pull request #259 → add instructions for google cloud platform → https://git.io/fh69S
eadwu has quit [Quit: WeeChat 2.3]
sicklorkin has quit [Ping timeout: 250 seconds]
eadwu has joined #nixos
knupfer has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #54622 → nixos/pulseaudio: disable flat-volumes by default → https://git.io/fhKQa
<{^_^}> [nixpkgs] @worldofpeace pushed to master « nixos/pulseaudio: disable flat-volumes by default »: https://git.io/fh6HR
<{^_^}> [nixpkgs] @Infinisil closed pull request #10851 → Shipping Security Updates → https://git.io/v8GFd
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54722 → python37Packages.fonttools: 3.34.2 -> 3.36.0 → https://git.io/fh6HX
aleph- has quit [Ping timeout: 240 seconds]
<gchristensen> {^_^} is going down for a reboot
{^_^} has quit [Remote host closed the connection]
{^_^} has joined #nixos
gchristensen has joined #nixos
reinhardt has quit [Quit: Leaving]
maximiliantagher has quit [Remote host closed the connection]
maximiliantagher has joined #nixos
fresheyeball has joined #nixos
<fresheyeball> \quit
fresheyeball has quit [Client Quit]
fresheyeball has joined #nixos
<fresheyeball> hey folks
<fresheyeball> this code works
<fresheyeball> https://dpaste.de/Y4Bk
<fresheyeball> this code does not
<fresheyeball> https://dpaste.de/EKiA
<fresheyeball> I would prefer to use runCommand as there really is no "src" for this drv
<fresheyeball> how can I do this better?
<neeasade> now can I uninstall a package installed with nix-env -iA
<neeasade> like, specify full path/nixos
<gchristensen> runCommand doesn't have a configurePhase so that isn't doing anything, fresheyeball
<clever> neeasade: you can only uninstall by name, nix-env -q lists the names
<infinisil> fresheyeball: At least tell the error when you say "it doesn't work"
<neeasade> clever: tyvm
<{^_^}> [nixpkgs] @pSub pushed to master « moreutils: 0.62 -> 0.63 »: https://git.io/fh6Qo
<fresheyeball> infinisil: I get (tcp not found)
philipcristiano has quit [Ping timeout: 252 seconds]
<clever> fresheyeball: haskell code?
philipcristiano has joined #nixos
<infinisil> The full error would be nice
<clever> fresheyeball: your /etc/protocols is missing again?
<fresheyeball> same thing if I set it to buildPhase, it does the same thing
<fresheyeball> clever: fetchElmDeps is supposed to (and does) get around that problem
<fresheyeball> but I can only get it to work with mkDerivation
<fresheyeball> and I want it to work with runCommand
<fresheyeball> and I don't understand why it works one way and not the other
<clever> fresheyeball: run it under `strace -e trace=open -f`
<clever> and see what its doing just before it fails
<{^_^}> [nixpkgs] @Mic92 merged pull request #54658 → go: 1.11.4 -> 1.11.5 → https://git.io/fh6Zg
<{^_^}> [nixpkgs] @Mic92 pushed 4 commits to master: https://git.io/fh6Q9
<fresheyeball> clever: I mean it works with mkDerivation
<fresheyeball> it just seems like runCommand is not running buildPhase or something
<clever> fresheyeball: if you move that configurePhase into the string on lines 18-37, it should also work
<fresheyeball> ooooh
<fresheyeball> nice idea
<clever> fresheyeball: runCommand never runs phases
<clever> fresheyeball: it only ever runs the string you give it
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54724 → python37Packages.httpsig: 1.2.0 -> 1.3.0 → https://git.io/fh6Qd
<fresheyeball> clever: that worked!
<fresheyeball> clever:++
<fresheyeball> clever++
* clever pokes infinisil
<gchristensen> !tofu
<{^_^}> To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000) then replace it with the correct hash Nix expected.
<infinisil> Huh
<infinisil> Ah, it quit because gchristensen restarted {^_^} earlier (restart limit was reached)
<infinisil> ,ping
<{^_^}> pong
<gchristensen> I recommend a delay between restart attempts to handle reboots
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54725 → python37Packages.ftfy: 5.5.0 -> 5.5.1 → https://git.io/fh67J
worldofpeace has joined #nixos
<gchristensen> I'm surprised the old factoids is still going
maximiliantagher has quit [Remote host closed the connection]
rcshm has quit []
<matthewbauer[m]> Some information for new contributors: https://discourse.nixos.org/t/call-for-proofreaders-and-beta-testers-for-19-03/1980
maximiliantagher has joined #nixos
_kwstas has joined #nixos
_kwstas has quit [Remote host closed the connection]
<gchristensen> I saw that, such a great post, matthewbauer[m]!
maximiliantagher has quit [Ping timeout: 240 seconds]
mcnesium has quit [Ping timeout: 244 seconds]
<symphorien> matthewbauer[m]: I thought virtualbox required a kernel module and thus more than just "nix-env" to install it ?
<{^_^}> [nixpkgs] @etu opened pull request #54726 → nixos/sks: Add option to configure database settings → https://git.io/fh67x
mcnesium has joined #nixos
<infinisil> symphorien: Yeah I thought so too
jomik has quit [Quit: WeeChat 2.2]
aszlig has quit [Quit: Kerneling down for reboot NOW.]
<joepie91> also requires your user to be part of a group I think
aszlig has joined #nixos
jomik has joined #nixos
<joepie91> great post though
<joepie91> also definitely the kind of instructions I'd like to see more of :)
<jomik> Hm, so for some reason my taffybar wont recompile anymore. It gives an error when trying to find the modules it needs. This seems to have happened after I overrode my taffybar in haskellPackages, though, it does not make sense to me why :(
<jomik> I think I'll just give up on Taffybar for now tho xD
sicklorkin has joined #nixos
<neeasade> how do you pick between multiple versions of a package to install? for example, chicken 4 vs chicken 5
<tilpner> > chickenPackages_4.chicken # maybe this
<{^_^}> "<derivation /nix/store/wmdhf8qgacqra9jb0ls51yrs84x21spi-chicken-4.13.0.drv>"
<tilpner> Not sure why it's not cached
maximiliantagher has joined #nixos
the-kenny-w is now known as the-kenny
<tilpner> As a last resort, you can always import an older nixpkgs and pick packages from that
Havvy has quit [Ping timeout: 246 seconds]
<neeasade> tilpner: thanks -- does it need to be cached to select it? wondering how to reference in my configuration.nix
<tilpner> If it's not cached, you'll have to build it yourself
<tilpner> You can still use it, but it'll take a little longer
<neeasade> that's fine -- but chickenPackages_4.chicken doesn't resolve🤔
<tilpner> Really? Maybe it's on unstable only
<tilpner> Yep, 18.09 has no chickenPackages_*
<MichaelRaskin> Maybe it is chicken-4.chicken now?
<MichaelRaskin> Ah, 18.09
<neeasade> tilpner: unstable did it yepp, thank you
<{^_^}> [nixpkgs] @phi-gamma opened pull request #54727 → afio: update 2.5.1 -> 2.5.2 → https://git.io/fh6FQ
<{^_^}> [nixpkgs] @grahamc merged pull request #54519 → nixos-generate-config: Include extraGroups "wheel" → https://git.io/fhVju
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to master: https://git.io/fh6F5
maximiliantagher has quit [Ping timeout: 250 seconds]
sicklorkin has quit [Ping timeout: 244 seconds]
<tilpner> chickenPackages_4.chicken too 7.5min to build on my laptop, I guess that's not terrible
<tilpner> *took
eadwu has quit [Quit: WeeChat 2.3]
teehemkay[away] is now known as teehemka_
eadwu has joined #nixos
<kyren> I have a really annoying bug and I'm not sure who's fault it is or where to give a bug report, but the end result is a hash mismatch in a fixed output derivation for an emacs package
<kyren> on one machine but not another
<clever> kyren: if the given path is already in /nix/store/ it wont download it, so ti wont notice the hash mismatch
<clever> kyren: try nix-store --delete on the path, and then see if it fails on both
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54728 → python37Packages.eth-utils: 1.2.1 -> 1.4.1 → https://git.io/fh6bL
<kyren> clever: you know, I even thought of that, but the moment you told me to do that I realized that I only did nix-collect-garbage, and it's not garbage is it?
<clever> kyren: depends on if something is using it or not
<clever> kyren: --delete wont ruin the rest of your cache, and tells you if its in use or not
<kyren> it's not haha, I was being stupid, let me try actually deleting it
jomik has quit [Quit: WeeChat 2.2]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54729 → python37Packages.gensim: 3.6.0 -> 3.7.0 → https://git.io/fh6bW
Havvy has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus pushed 5 commits to master: https://git.io/fh6bB
sicklorkin has joined #nixos
drakonis has quit [Quit: WeeChat 2.3]
<{^_^}> [nixpkgs] @NeQuissimus pushed 4 commits to release-18.09: https://git.io/fh6bh
<{^_^}> [nixpkgs] @dtzWill opened pull request #54730 → qownnotes: init at 19.1.8 → https://git.io/fh6Nt
_kwstas has joined #nixos
xkapastel has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @dtzWill opened pull request #54731 → meson: 0.49.0 -> 0.49.1 → https://git.io/fh6Nl
maximiliantagher has joined #nixos
<rain1> hey
<rain1> did anybody try the PCSX2 package ? it didn't seem to work for me
equivrel has joined #nixos
<samueldr> rain1: you should probably describe how it fails
maximiliantagher has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @allonsy opened pull request #54732 → Add Git-Town Package → https://git.io/fh6ND
m15k has joined #nixos
ToxicFrog has quit [Ping timeout: 245 seconds]
<kyren> clever:
<kyren> whoops, sorry
xkapastel has joined #nixos
ambro718 has quit [Quit: Konversation terminated!]
rfold has joined #nixos
<kyren> clever: was distracted there for a second, but tried to find the package on the other machine and unfortunately the hash part is probably not the same (it's macos vs linux so this probably makes sense), I deleted all of the packages following that pattern and rebuilt the other machine and now it's succeeding probably because emacs-with-packages is still up to date or something, I'm trying my hardest to make the other machine fail as well haha
dermetfan has joined #nixos
dermetfan has quit [Client Quit]
dermetfan has joined #nixos
<steveeJ> excuse my blindness but I can't find how to specify the user for a systemd.user serivice. would someone please shine a light?
ToxicFrog has joined #nixos
<infinisil> steveeJ: There's no way
<infinisil> steveeJ: Those are user services, running under the user systemd --user runs as
<steveeJ> mh I see. so if I want to run a service with a different user that's still a system service
<infinisil> Well actually I'm not 100% sure on whether it's absolutely not possible to run as a different user with --user services
<infinisil> But it would make sense
<infinisil> steveeJ: Why not a non-user service?
alex_giusi_tiri has joined #nixos
<clever> kyren: on darwin, the filesystem isnt case sensitive
<steveeJ> infinisil: no special reason, it was more intuitive to look at user services for the use-case
<clever> kyren: so weird things can happen if the source has both Makefile and makefile
<ottidmes> if I want to get more insights on what time in spend in a script, say if it calls grep it would show greps time besides that of bash, is there something out there for this?
<LnL> steveeJ: I think you want a system service with systemd.services.foo.serviceConfig.User
<{^_^}> [nixpkgs] @dtzWill opened pull request #54733 → fontconfig: fix FC_ARCHITECTURE to match use elsewhere → https://git.io/fh6A8
<steveeJ> LnL: nice, thank you! I'll give that a try
MichaelRaskin has quit [Quit: MichaelRaskin]
<ottidmes> guess I will just spam `time` for now
maximiliantagher has joined #nixos
i-net has quit [Remote host closed the connection]
rprije has joined #nixos
fresheyeball has quit [Quit: WeeChat 2.2]
maximiliantagher has quit [Ping timeout: 245 seconds]
<kyren> clever: is there a way to blanket force things to be rebuilt, I'm still struggling to reproduce the error on my darwin machine, I don't *think* it's filesystem case related but I can't convince the right packages to be rebuilt without deleting stuff that my current profile is using
_kwstas has quit [Quit: _kwstas]
<{^_^}> [nixpkgs] @matthewbauer pushed to master « stdenv/make-derivation: don't hide broken packages »: https://git.io/fh6Ad
<tilpner> You can force *everything* to be rebuilt by changing the store location, but I don't think that's what you wanted
<tilpner> And I can't get the user-namespaced fake /nix/store-but-at-a-different-location to work anymore :(
<kyren> maybe I should back up a level and just say what my actual problem is: the emacs-lua-mode package gets a hash mismatch when downloading https://github.com/immerrr/lua-mode/archive/99312b8d6c500ba3067da6d81efcfbbea05a1cbd.tar.gz
<kyren> I'm willing to accept that one machine has enough in its cache already to build successfully
<tilpner> What hash did you specify for that?
<kyren> I didn't, it's in nixpkgs
<clever> kyren: does nixpkgs use fetchurl or fetchzip?
<kyren> so this is part of my problem, it's part of emacs packages and I don't *super* understand how they work
<kyren> it comes from, afaict, melpa?
<clever> kyren: i dont see any files that conflict by name
<matthewbauer[m]> symphorien: good catch - just updated it
<clever> kyren: run `nix show-derivation /nix/store/foo.drv` on the .drv for downloading that tar (the drv that failed)
drakonis has joined #nixos
<clever> pkgs/applications/editors/emacs-modes/melpa-generated.nix: lua-mode = callPackage ({ fetchFromGitHub, fetchurl, lib, melpaBuild }:
<clever> fetchFromGitHub, which is fetchzip based
<tilpner> kyren: Interesting, when I build that locally I get a hash mismatch
<tilpner> Which is exactly what I would expect after comparing the source to the nix-hash output
<clever> tilpner: which os are you on?
<tilpner> NixOS
<tilpner> (unstable)
<kyren> yeah same
<clever> nix-build '<nixpkgs>' -A emacsPackagesNg.lua-mode.src
<clever> i think this will reproduce the problem
<tilpner> That's exactly what I did, minus --no-out-link
<clever> tails for me on linux
<tilpner> tails?
<clever> fails
<kyren> actually that also fails for me on darwin, so it *isn't* linux specific, it's just somehow in the store already
<tilpner> Good, so we can all agree that either the tarball changed, or something entered a broken hash
<clever> kyren: which is why i started with a nix-store --delete
<kyren> I'm sure what you told me to do was correct, but I couldn't manage to convince it to rebuild, I'm sorry :(
teehemka_ is now known as teehemkay[away]
<clever> hash mismatch in fixed-output derivation '/nix/store/7kw98xzwm0l6dqqmk32x8xpyc82f03y1-source':
<clever> the error says which path you want to delete
<clever> but it only says it, on the machine that doesnt have that path
<kyren> that path didn't even exist in the store on my darwin machine
<{^_^}> [nixpkgs] @shlevy merged pull request #52848 → Add a callHackage variant that doesn't require all-cabal-hashes → https://git.io/fhUpx
<{^_^}> [nixpkgs] @shlevy pushed 3 commits to master: https://git.io/fh6x3
<clever> [clever@amd-nixos:~/apps/nixpkgs]$ nix-build '<nixpkgs>' -A emacsPackagesNg.lua-mode.src --argstr system x86_64-darwin
<clever> building '/nix/store/iw8ci8rpyfjgaavxf9x0wvr2yim3y3i8-source.drv' on 'ssh://clever@192.168.2.167'...
<kyren> I deleted every path that looked like /nix/store/xxxx-source/ and doing a darwin-rebuild still didn't fail
fragamus has joined #nixos
<tilpner> Broken on 18.09, master, unstable
<clever> kyren: with rm or nix-store --delete?
<kyren> with nix-store --delete, then with nix-store --delete --ignore-liveness (which was a bad idea)
<clever> kyren: thats how i bricked my nixos machine one day :P
agander has quit [Quit: Leaving]
<tilpner> Yes, don't ignore liveness
<kyren> I fixed it, it was why it took a second for me to reply
o1lo01ol1o has quit [Remote host closed the connection]
<kyren> I didn't want to get into the details haha
<clever> in my case, the target of /run/current-system vanished
<clever> which makes it rather hard to do anything
<clever> it even even make the machine un-bootable
<kyren> yep that's what happened to me too :P
<kyren> "luckily" I was on darwin, which left plenty of OS left to fix it
<clever> nix-store --query --roots /nix/store//
<clever> nix-store --query --roots /nix/store/foo/
<clever> that will tell you why its live
<clever> then nix why-depends, to figure out how x depends on foo
<kyren> or, wait maybe that wasn't it exactly, but it seemed like the contents of my profile were gone, I don't know that it was what you said actually
<clever> then decide if you want to keep x or not, and modify it to not depend on foo
<clever> yeah, it can also destroy your nix-env profiles
<clever> including all history of what you had in them
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54734 → python37Packages.eth-typing: 1.3.0 -> 2.0.0 → https://git.io/fh6xV
<kyren> so the end result is that it's broken across the board, and I'm free to file a bug report on nixpkgs, and it's not something to do with home-manager or the jenga tower of software which is my infrastructure?
<clever> i think the next thing to check is git blame, and see who last touched lua-mode
<clever> kyren: when i build from nixos-unstable, it fails
<clever> kyren: but from 18.03, it works
<clever> could try a bisect, lol
<tilpner> But the 18.03 version doesn't hash to the expected hash either
<kyren> I don't understand how emacs packages *work* precisely, but it's not in nixpkgs itself afaict, it's derived from elpa or melpa or something, there isn't the string "lua-mode" in nixpkgs
<tilpner> So it was probably an older version, which doesn't really help here
<tilpner> :/
<srhb> kyren: There is. pkgs/applications/editors/emacs-modes/melpa-generated.nix:
<kyren> oh, no there totally is
<kyren> okay, sorry I relied on github's search
<kyren> protip, do not rely on github's search
<clever> Bisecting: 4572 revisions left to test after this (roughly 12 steps)
<clever> github search doesnt handle massive auto-generated files
<clever> 2019-01-27 18:08:32 < clever> pkgs/applications/editors/emacs-modes/melpa-generated.nix: lua-mode = callPackage ({ fetchFromGitHub, fetchurl, lib, melpaBuild }:
<clever> i did a grep, and pasted the answer above, about 10mins ago
<clever> Bisecting: 148 revisions left to test after this (roughly 7 steps)
<kyren> tilpner: yeah I see it now, now I know that github search actually just stops working if a file is large enough or something, this is probably part of the reason I've been so confused
<{^_^}> [nixpkgs] @matthewbauer pushed to master « systems/default.nix: wasm in platform.uname.system »: https://git.io/fh6xx
<tilpner> kyren: Not just search. GH doesn't even display all of all-packages.nix if you ask for it
<clever> 635114b889be9f99d4bd05bdb95b949a7e41ec67 is the first bad commit
<tilpner> ,find all-packages.nix
<{^_^}> ,find is temporarily unimplemented
<tilpner> c.c
<clever> but that looks like it isnt it
maximiliantagher has joined #nixos
shibboleth has joined #nixos
drakonis has quit [Quit: WeeChat 2.3]
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<clever> commit b801736b75877c573ed667dbafcf62569c54c024 (HEAD, refs/bisect/bad)
<clever> Author: Michael Alan Dorman <mdorman@ironicdesign.com>
<clever> tilpner: checking git blame, this is the commit that changes the lua-mode version, and it was bad to begin with
<matthewbauer[m]> Hmmm....
<tilpner> melpaPackages is broken, not melpaStablePackages
maximiliantagher has quit [Ping timeout: 246 seconds]
philippD has joined #nixos
<tilpner> Maybe they forgot break the hash before testing an update
<clever> git blame says they did alter the hash
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54735 → python37Packages.latexcodec: 1.0.5 -> 1.0.6 → https://git.io/fh6pq
drakonis has joined #nixos
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @dtzWill merged pull request #54711 → gnutls: 3.6.5 -> 3.6.6 → https://git.io/fh6ij
<{^_^}> [nixpkgs] @dtzWill pushed 3 commits to staging: https://git.io/fh6pO
Thra11 has joined #nixos
goibhniu has joined #nixos
goibhniu has quit [Client Quit]
shibboleth has quit [Quit: shibboleth]
goibhniu has joined #nixos
<kyren> so it's possible that the actual bug here is in https://github.com/ttuegel/emacs2nix and that this is the source of the bad hash?
simukis has quit [Quit: simukis]
<rain1> $ nix-env -iA security.pki.certificates
<rain1> error: attribute 'security' in selection path 'security.pki.certificates' not found
<rain1> how do i install this?
<infinisil> rain1: That's a NixOS option, there's nothing to install there
<infinisil> And root certificates should be installed by default already
<Church-> rain1: Modules you define in a configuration.nix or a .nix file you import into configuration.nix
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54736 → picard-tools: 2.18.23 -> 2.18.25 → https://git.io/fh6p7
<kyren> oh, whoops I should have checked the issues again, I checked them the other day but since then somebody else has already filed this issue: https://github.com/NixOS/nixpkgs/issues/54641
<{^_^}> #54641 (by vlaci, 1 day ago, open): fetchFromGitHub output changed -- cannot build lua-mode
o1lo01ol1o has joined #nixos
marusich has joined #nixos
o1lo01ol1o has quit [Ping timeout: 246 seconds]
DeaDSouL has quit [Ping timeout: 250 seconds]
DeaDSouL has joined #nixos
worldofpeace has quit [Quit: worldofpeace]
maximiliantagher has joined #nixos
<{^_^}> [nixpkgs] @c0deaddict opened pull request #54737 → pythonPackages.moderngl: init at 5.5.0 → https://git.io/fh6hs
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54738 → polar-bookshelf: 1.8.0 -> 1.9.0 → https://git.io/fh6hC
<infinisil> kyren: That's pretty weird..
maximiliantagher has quit [Ping timeout: 268 seconds]
hooo has quit [Quit: Connection closed for inactivity]
__monty__ has quit [Quit: leaving]
<{^_^}> [nixpkgs] @Nadrieril opened pull request #54739 → Fix firefox sync-server → https://git.io/fh6h6
o1lo01ol1o has quit [Ping timeout: 250 seconds]
Thra11 has quit [Ping timeout: 245 seconds]
halfbit has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #49552 → setup.sh: avoid running the same hook twice → https://git.io/fxbbp
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to staging: https://git.io/fh6h5
rcshm has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54740 → psc-package: 0.4.2 -> 0.5.1 → https://git.io/fh6je
<{^_^}> [nixpkgs] @tg-x closed pull request #52654 → fix firefox sync-server → https://git.io/fhfjg
Lears has joined #nixos
[Leary] has quit [Read error: No route to host]
fragamus has joined #nixos
maximiliantagher has joined #nixos
Havvy has quit [Ping timeout: 240 seconds]
halfbit has quit [Ping timeout: 252 seconds]
EffSquared has joined #nixos
Havvy has joined #nixos
[Leary] has joined #nixos
eadwu has quit [Quit: WeeChat 2.3]
dsiypl4 has quit [Ping timeout: 240 seconds]
<EffSquared> Hi. Does anybody have any clue why stdenv_32bit.is64Bit returns true on x64?
maximiliantagher has quit [Ping timeout: 240 seconds]
eadwu has joined #nixos
<EffSquared> I need a stdenv on x64 with as 32bit hostPlatform.
Lears has quit [Ping timeout: 240 seconds]
<clever> > pkgsi686Linux.stdenv.is64bit
<{^_^}> false
<infinisil> > stdenv_32bit.is64bit
<{^_^}> true
eadwu has quit [Client Quit]
[Leary] has quit [Remote host closed the connection]
Lears has joined #nixos
<EffSquared> infinisil: Is that much different from importing nixpkgs with the i686 system tag?
<EffSquared> > (import <nixpkgs> { system = "i686-linux"; }).stdenv.is64bit
<{^_^}> false
* infinisil doesn't have much of an idea regarding that
<EffSquared> > (import <nixpkgs> { system = "i686-linux"; }).stdenv == stdenv_32bit
<{^_^}> false
<EffSquared> Probably does not work like that. :-)
doyougnu has quit [Ping timeout: 268 seconds]
rfold has quit [Quit: leaving]
orivej has quit [Ping timeout: 268 seconds]
EffSquared has quit [Ping timeout: 245 seconds]
acarrico has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54741 → python37Packages.adal: 1.2.0 -> 1.2.1 → https://git.io/fhieK
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]