sphalerite changed the topic of #nixos to: NixOS stable: 19.03 \o/ https://discourse.nixos.org/t/nixos-19-03-release/2652 || 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
<worldofpeace> samueldr: did the options make sense from a user perspective at #65449 ? asking because michaelpj had reservations, and since I'm too informed I can't actually tell
<{^_^}> https://github.com/NixOS/nixpkgs/pull/65449 (by worldofpeace, 2 days ago, open): nixos/xdg: disable portals (again, again)
<clever> Church-: thats a massive wall of unprintable characters!
<Church-> Odd I can't redirect strace...
<clever> Church-: it prints to stderr, you want `strace -o logfile` to make it open its own log
<Church-> There we go. https://paste.rs/pqK
<samueldr> worldofpeace: I'm not sure what michaelpj's reservations are; though I think there's one tweak that might help
<Church-> clever: Yeah I usually just redirect from stderr
<Church-> Odd this. *shrug*
<clever> clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fde8a778450) = 24862
<clever> Church-: everything is happening in a child process, you want to add -f to strace
<Church-> Ah
<samueldr> gtkUsePortal's description describes the means by which it achieves what it does, but I'm not sure what to add to better explain when an end-user would flip it on
<Church-> There we are
<{^_^}> [nixpkgs] @jonringer opened pull request #65583 → python3Packages.imbalanced-learn: 0.4.3 -> 0.5.0 → https://git.io/fjSB9
<worldofpeace> samueldr: i guess maybe what I said at the end of https://github.com/NixOS/nixpkgs/pull/65449#issuecomment-515944751
<samueldr> not sure
<clever> 25042 chroot("/tmp/chrootenv2DTC5Z") = 0
<clever> 25042 execve("/nix/store/bqglrlas1zkidv7r2d8b2x586ssqhk6s-steam-init", ["/nix/store/bqglrlas1zkidv7r2d8b2"..., "/home/noah/.local/share"], 0x17f4080 /* 69 vars */) = 0
<clever> Church-: here, we can see it changing the root dir (using namespaces) and executing steam-init
<Church-> Ya
hmpffff has joined #nixos
<clever> 25042 execve("/nix/store/cnsw71gm6na0kjxlapy72fa8f9mynnv9-steam-wrapper.sh", ["/nix/store/cnsw71gm6na0kjxlapy72"...], 0x2445008 /* 76 vars */) = 0
<clever> Church-: and eventually, that pid does `exec steam-wrapper.sh`
<clever> 25042 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f14c1553a10) = 25052
<clever> which spawns another child proc
<clever> ah, it ran glxinfo
<worldofpeace> well when #64575 refactored it, it included this addition of setting that envar to "fix" #53454. and from bugreports I've seen in other distros users are somewhat aware that they need to set it for that
<{^_^}> [nixpkgs] @globin pushed to openssl-1.1 « facter: remove openssl 1.0.2 pinning »: https://git.io/fjSBd
<{^_^}> https://github.com/NixOS/nixpkgs/pull/64575 (by pasqui23, 2 weeks ago, merged): nixos/xdg: add portal option
<{^_^}> https://github.com/NixOS/nixpkgs/issues/53454 (by silverhook, 29 weeks ago, closed): Enhance Firefox’ Plasma integration with file open/save dialogs
<clever> Church-: and glxinfo appears to hang, you ctrl+c'd? before it quit
<Church-> Nope
<clever> Church-: what happens if you just run glxinfo?
<Church-> Errors out, sec
tobiasBora has quit [Ping timeout: 244 seconds]
<clever> Church-: youll probably want to fix that first then
<jonreeve[m]> So I'm trying to get the Mega.nz client installed on NixOS, and there are a ton of packages available for a ton of distros, but none are NixOS. https://mega.nz/sync Which one should I download to try to make into a nix package? And is there a deb2nix or arch2nix program somewhere where I can convert them?
ee1943 has quit [Read error: Connection reset by peer]
<clever> jonreeve[m]: search nixpkgs for all uses of dpkg to find examples
<Church-> Curios why it's erroring out however. I have opengl enabled already
edwtjo has quit [Ping timeout: 268 seconds]
<worldofpeace> samueldr: this is what happens in the source https://gitlab.gnome.org/GNOME/gtk/blob/master/gtk/gtkfilechoosernativeportal.c#L409
ee1943 has joined #nixos
ris has quit [Ping timeout: 260 seconds]
jluttine has quit [Ping timeout: 248 seconds]
<samueldr> worldofpeace: I think that new sentence helps a bunch
<samueldr> (thinking as an end-user)
<{^_^}> [nixpkgs] @c00w opened pull request #65584 → tensorflow: Hardcode a second search class. → https://git.io/fjSBj
<kalbasit> clever: is this the best way to push the docker image: `skopeo copy docker-image://$(nix-build -A my-image --no-out-link) docker://$remotetag`?
<worldofpeace> samueldr: wait... i don't know if there's a envar like in gtk for qt apps
<samueldr> I don't know either
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjSRU
<{^_^}> [nixpkgs] @delroth opened pull request #65585 → nixos/hardened: make pti=on overridable → https://git.io/fjSRk
<c00w> Anyone know where stdenv.hostplatform.extensions is set?
npmccallum has joined #nixos
npmccallum has quit [Remote host closed the connection]
Chiliparrot has quit [Ping timeout: 264 seconds]
edwtjo has joined #nixos
Drakonis has joined #nixos
<{^_^}> [nixpkgs] @veprbl pushed commit from @vitaliy-zinchenko to master « libelf: fix download url (#65576) »: https://git.io/fjSRL
<{^_^}> [nixpkgs] @veprbl merged pull request #65576 → libelf: change url → https://git.io/fjS8d
<clever> kalbasit: ive not really done much with docker
lovesegfault has quit [Quit: WeeChat 2.5]
<kalbasit> clever: no worries. I'll just use skopeo should work well.
<clever> kalbasit: https://gist.github.com/cleverca22/f3e54a2e0ade7e5f38a6ee4b20d83e14#file-default-nix-L178-L182 is how ive been loading and running the images that nix builds
<kalbasit> yea I saw that, that won't work for k8s though. I think I have a solid plan, will reach out if anything else comes up. Thanks!
<{^_^}> [nixpkgs] @veprbl pushed commit from @vitaliy-zinchenko to release-19.03 « libelf: fix download url (#65576) »: https://git.io/fjSRm
<{^_^}> [nixpkgs] @veprbl pushed commit from @vitaliy-zinchenko to release-18.09 « libelf: fix download url (#65576) »: https://git.io/fjSRY
<{^_^}> [nixpkgs] @veprbl pushed commit from @vitaliy-zinchenko to release-18.03 « libelf: fix download url (#65576) »: https://git.io/fjSR3
<gchristensen> wow
<clever> gchristensen: i was just thinking, a recent update to nixpkgs broke teamspeak, and it would be nice to have hydra testing things better (and ofborg indirectly)
tobiasBora has joined #nixos
<clever> gchristensen: the only thing missing, is allowing hydra (and ofborg) to build it, and a basic test to ensure it can find all dynlibs (one got renamed and broke it hard)
<gchristensen> right, I don't know that we'll be able to do that
<gchristensen> maybe could make ofborg do it
<clever> gchristensen: unfreeRedistributable might be enough to enable it in hydra/ofborg
<gchristensen> right
<clever> or maybe a custom type, i notice unfreeRedistributableFirmware lacks the free = false;
<clever> so internally, nix treats it as "free"
<clever> ah, just change this line to true, since the author has consented to allow distribution
<clever> then just add tests, and let ci do ci things
<gchristensen> right, but it isn't free :P
<gchristensen> and that license marker is mostly for users
<clever> unfreeRedistributableFirmware is also non-free
<clever> > lib.licenses.unfreeRedistributableFirmware
<gchristensen> it should probably be marked as unfree
<{^_^}> { fullName = "Unfree redistributable firmware"; shortName = "unfreeRedistributableFirmware"; }
<clever> yeah, we need some gray zone, where CI is allowed to build it, but users must still consent to allow unfree software
<gchristensen> yeah
<gchristensen> that seems like a good spot
wfranzini has quit [Remote host closed the connection]
<clever> only solution i can see, is to have an allow unfree predicate that CI uses
<gchristensen> hmm :)
mexisme has quit [Ping timeout: 276 seconds]
wfranzini has joined #nixos
<day|flip> CI user? what
<clever> gchristensen: basically, its a function, that changes allowUnfree from allow-everything to a whitelist
psy3497 has joined #nixos
<day|flip> s/user/uses
<clever> gchristensen: so hydra could then allow teamspeak, but not other things (ir may also be able to inspect the license and be more inteligent, like unfree = false; grayzone = true;, and then base it on that
abathur has joined #nixos
englishm has quit [Excess Flood]
englishm has joined #nixos
hmpffff has quit [Quit: nchrrrr…]
acarrico has quit [Quit: Leaving.]
___laika has quit [Ping timeout: 272 seconds]
kvda has joined #nixos
<Church-> Hmm, maybe I'll just rebuild from scratch.
<Church-> Hmm, what command deletes old nixos generations?
<gchristensen> nix-collect-garbage will with --delete-older-than, when run as root
<Church-> kk, thanks
<jonreeve[m]> If I just want to install a newer version of a package, should I make an override for that, with a new version and SHA? I'm trying to figure out how to get the latest Jupyter Lab.
<{^_^}> [nixpkgs] @globin pushed 5 commits to openssl-1.1: https://git.io/fjSRw
<Church-> Hmm so even trying to completely re-install steam fails out. Neat.
dansho_ has joined #nixos
dansho has quit [Ping timeout: 258 seconds]
___laika has joined #nixos
ng0_ has joined #nixos
<{^_^}> [nixpkgs] @globin pushed 2 commits to openssl-1.1: https://git.io/fjSR1
<jonreeve[m]> Should I try to override these packages in configuration.nix?
<jonreeve[m]> I.e., is there a way to put my override within the section `(python3.withPackages(ps: with ps; [` in configuration.nix?
ng0 has quit [Ping timeout: 260 seconds]
dftxbs3e has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #65449 → nixos/xdg: disable portals (again, again) → https://git.io/fjyRo
<{^_^}> [nixpkgs] @worldofpeace pushed 6 commits to master: https://git.io/fjSRM
dftxbs3e has joined #nixos
<gchristensen> anyone on 19.03 with firefox 68 and sway have funny problems with rapidly blinky bits?
mexisme has joined #nixos
<gchristensen> almost an ethereal state to it
dftxbs3e has quit [Ping timeout: 250 seconds]
<worldofpeace> your language got me interested, even though I don't have the issue :P care to screencast gchristensen ?
<Church-> heh
<gchristensen> I did end up find a bug report for it, but sure
* Church- jiggers his head for the incantation to build this kernel module
<clever> Church-: its in the nixos manual
mbrgm_ has joined #nixos
<gchristensen> worldofpeace: :| I can't because I can't record a screen in sway, and my phone which had a recording just died
<gchristensen> worldofpeace: but it flickers fast enough to trigger persistence of vision
<jonreeve[m]> I guess I can just increment the version there?
<Church-> clever: Yeah I had it in my history, just wasn't sure if it was right.
<jonreeve[m]> But then how can I install my incremented version? Do I have to check out a whole new copy of nixpkgs?
<Church-> clever: Think I'm just going to solve all my issues by reinstalling from a clean state :P
mbrgm has quit [Ping timeout: 258 seconds]
mbrgm_ is now known as mbrgm
<Church-> As soon as I can rebuild this kernel module
<worldofpeace> gchristensen: is just sway or wayland in general? (iirc there's ones that have wayland support)
<Church-> Question, getting an issue in my makefile like such, *** "Cannot generate ORC metadata for CONFIG_UNWINDER_ORC=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel", do we have something for this in nixpkgs? Already tried libelf and elfutils, but seems there's no devel package.
<worldofpeace> lol like those silly youtube videos that burn your retinas
<gchristensen> worldofpeace: no idea :x might just be sway
<gchristensen> Error: target STRING not available
<gchristensen> guh alacritty lost my patch fixing paste.
<gchristensen> wayland is great except for ... *laundry list of problems*
<Church-> lol
<Church-> How is alacritty?
<Church-> Is is still tearing at all?
dftxbs3e has joined #nixos
<gchristensen> it is great except for I can't copy paste
<Church-> heh, an annoyance
<gchristensen> I haven't noticed any tearing
<Church-> Hmm guess they fixed that. Cool
<worldofpeace> I'd think it would be hard to have that, last time I checked wayland doesn't provide absolute screen coordinates to applications
<Church-> Nod nod
<gchristensen> worldofpeace: hard to have screen recording?
<worldofpeace> gchristensen: yeah, I'd think not being able to have absolute screen cooardinates would make screenrecording be kinda hard in some apps
<gchristensen> ah right
<gchristensen> right. when I use obs, I run the programs under xwayland
<worldofpeace> yep, pretty much none of the apps will have native wayland support
azdle has quit [Read error: Connection reset by peer]
mexisme has quit [Ping timeout: 244 seconds]
<Church-> Huh, I shouldn't be having this issue... I
orivej has quit [Ping timeout: 245 seconds]
<Church-> I'm setting, nativeBuildInputs = kernel.moduleBuildDependencies;...
<gchristensen> worldofpeace: it is probably a good thing this is tricky
<Church-> Oh, building this for the wrong kernel doy.
<Church-> Forgot I updated to 19.03
<{^_^}> swaywm/sway#4191 (by kennylevinsen, 9 weeks ago, closed): [firefox] GTK popups such as tooltips/context menus flicker on surface commit
<gchristensen> okay, bed time :0
jluttine has joined #nixos
<Church-> Well nix-repl is broken apparently.
<Church-> Man it's a good thing I'm trying to just reinstall at this point
<ivan> Church-: it's in nix now as `nix repl`
<Church-> Actually this is broken on a seperate nixos install too...
<Church-> Huh
<Church-> Is there a 5.0+ linux dev package?
<ivan> linux_5_2 linux_5_1
<worldofpeace> gchristensen: wait, I think I've might've seen this in x11 for firefox (maybe)
* worldofpeace uploaded an image: Peek 2019-07-29 22-23.gif (115KB) < https://matrix.org/_matrix/media/v1/download/matrix.org/VwjUgRFzgGQvmgOVOmExxadj >
mexisme has joined #nixos
<worldofpeace> ugh the background is so white you can hardly see it
<Church-> samueldr: Man your site is incredibly helpful with sifting through logs
<Church-> Google led me to the convo we had on building this module last time on complete accident :P
<samueldr> Church-: simply put, I took the kindling from botbot.me, found some new fuel (whitequark's logviewer) and put it together
<samueldr> botbot.me was in a bad state at first, and then it eventually went away
<samueldr> additionally we weren't able to add the smaller channels to it
<samueldr> while that logger, it's got so much room for activities! anything Nix related goes
<jonreeve[m]> But I just can't seem to install the latest Jupyterlab version
<jonreeve[m]> Any ideas?
<Church-> samueldr: And I completely forgot I don't have to build it, just import it and it builds :P
meteo has joined #nixos
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 258 seconds]
mbrgm_ is now known as mbrgm
<{^_^}> [nixpkgs] @lopsided98 opened pull request #65587 → gn: 20190726 -> 20190403 (downgrade to fix Chromium) → https://git.io/fjS0T
<{^_^}> [nixpkgs] @xrelkd opened pull request #65588 → font-awesome: 5.9.0 -> 5.10.0 → https://git.io/fjS0k
azdle has joined #nixos
laalf has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
laalf has joined #nixos
___laika has quit [Ping timeout: 245 seconds]
meteo has quit [Remote host closed the connection]
meteo has joined #nixos
<jonreeve[m]> I'm getting closer here. Does anyone know what I'm doing wrong?
Supersonic has quit [Ping timeout: 250 seconds]
___laika has joined #nixos
sushi_ has joined #nixos
ilikeheaps has quit [Ping timeout: 245 seconds]
Supersonic has joined #nixos
___laika has quit [Ping timeout: 245 seconds]
Drakonis has quit [Quit: WeeChat 2.4]
lovesegfault has joined #nixos
mexisme has quit [Read error: Connection reset by peer]
mexisme has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #65590 → brakeman: 4.5.1 -> 4.6.1 → https://git.io/fjS0M
roconnor has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @marsam opened pull request #65591 → go-tools: 2019.2.1 -> 2019.2.3 → https://git.io/fjS0Q
<{^_^}> [nixpkgs] @marsam opened pull request #65592 → translate-shell: 0.9.6.10 -> 0.9.6.11 → https://git.io/fjS07
<jackdk> including the relevant-looking parts of the error message may help.
<{^_^}> [nixpkgs] @marsam opened pull request #65593 → flow: 0.103.0 -> 0.104.0 → https://git.io/fjS0d
edcragg has quit [Quit: Ping timeout (120 seconds)]
edcragg has joined #nixos
Yakulu has quit [Ping timeout: 245 seconds]
day|flip has quit [Quit: ERC (IRC client for Emacs 26.1)]
lovesegfault has quit [Quit: WeeChat 2.5]
englishm has quit [Excess Flood]
englishm has joined #nixos
wfranzini has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @teto merged pull request #65571 → libsForQt5.fcitx-qt5: fix build → https://git.io/fjS8k
<{^_^}> [nixpkgs] @teto pushed 3 commits to master: https://git.io/fjS0h
<{^_^}> [nixpkgs] @marsam opened pull request #65594 → universal-ctags: 2018-07-23 -> 2019-07-24 → https://git.io/fjSEe
fusion809 has joined #nixos
phreedom_ has joined #nixos
phreedom has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @teto merged pull request #65592 → translate-shell: 0.9.6.10 -> 0.9.6.11 → https://git.io/fjS07
<{^_^}> [nixpkgs] @teto pushed commit from @marsam to master « translate-shell: 0.9.6.10 -> 0.9.6.11 »: https://git.io/fjSEv
<{^_^}> [nixpkgs] @teto merged pull request #65558 → Vim plugins for the lean theorem prover → https://git.io/fjS3D
<{^_^}> [nixpkgs] @teto pushed 3 commits to master: https://git.io/fjSEf
<{^_^}> [nixpkgs] @xrelkd opened pull request #65595 → youtube-dl: 2019.07.27 -> 2019.07.30 → https://git.io/fjSET
<{^_^}> [nixpkgs] @arcnmx opened pull request #65596 → rustracer: 2.0.14 -> 2.1.22 → https://git.io/fjSEm
drk_lrd_877_ has quit [Ping timeout: 264 seconds]
endformationage has quit [Quit: WeeChat 2.5]
Yakulu has joined #nixos
cfricke has joined #nixos
palo1 has joined #nixos
palo has quit [Ping timeout: 268 seconds]
palo1 is now known as palo
ericsagnes has quit [Ping timeout: 250 seconds]
Yakulu has left #nixos ["Disconnected: Replaced by new connection"]
Yakulu has joined #nixos
ajirx has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #65597 → mtm: init at 1.0.1 → https://git.io/fjSE0
cfricke has quit [Ping timeout: 248 seconds]
ericsagnes has joined #nixos
dansho_ has quit [Remote host closed the connection]
dansho_ has joined #nixos
owickstrom has joined #nixos
mexisme has quit [Ping timeout: 248 seconds]
rsoeldner has joined #nixos
vmandela has joined #nixos
hoijui has joined #nixos
cfricke has joined #nixos
cfricke has quit [Client Quit]
<angerman> Anyone got a nixops example for a hetzner nvme machine laying around?
kori has quit [Ping timeout: 250 seconds]
dansho_ has quit [Remote host closed the connection]
dansho_ has joined #nixos
<kandinski> I'm seeing an issue booting the VBox appliance, it crashes within the first second. Here's the log: http://paste.debian.net/1093529/ I'm running nixos-19.03.173201.defa89ffaef-x86_64-linux.ova, and the Virtualbox I'm running is 5.2.28 r129471 from NixOS 19.03.
dansho_ has quit [Remote host closed the connection]
dansho_ has joined #nixos
kori has joined #nixos
dansho_ has quit [Remote host closed the connection]
<kandinski> regarding the Vbox Nixos appliance, I've tried downgrading USB to 1.1, but it still crashes.
dansho_ has joined #nixos
m0rphism has joined #nixos
qqlq_ has quit [Quit: ZNC 1.7.4 - https://znc.in]
dansho has joined #nixos
dansho_ has quit [Ping timeout: 268 seconds]
hr[m] has joined #nixos
ng0_ is now known as ng0
wfranzini has joined #nixos
abaiste^ has quit []
ryantm has quit [Ping timeout: 248 seconds]
mb^ has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #65581 → PULL_REQUEST_TEMPLATE: Add "Notify maintainers" section → https://git.io/fjS4x
<{^_^}> [nixpkgs] @FRidh pushed commit from @steshaw to master « PULL_REQUEST_TEMPLATE: Add "Notify maintainers" section »: https://git.io/fjSE9
<dansho> trying to use unfree nvidia drivers but i keep getting "failed to start X server"
asheshambasta has joined #nixos
<cizra> dansho: I'm using unfree nvidia drivers. What's the error?
FRidh has joined #nixos
<dansho> the nvidia driver site points to 390.87 for my gpu (nvs 5400m), but "nvidiaLegacy390" and "nvidiaLegacy340" both give the same error
<dansho> cizra: X11 stops and starts 3 times, and it fails due to retrying too quickly
<cizra> dansho: uh, there should be a log available somewhere that mentions the actual error why it failed to start.
<cizra> dansho: Do you have dual cards?
<dansho> i don't think so, it's a laptop
mexisme has joined #nixos
<cizra> dansho: Yeah, laptops tend to have dual cards. Embedded Intel and separate NVidia. Check your lspci.
<cizra> dansho: Also, this is my configuration: https://paste.ee/p/kl112
hyper_ch2 has joined #nixos
<dansho> it says to check 'systemctl status display-manager.service', but it just tells me it failed because it retried too quickly
bakakuna has joined #nixos
<dansho> currently i only have the first and the last line of that configuration, maybe i just need the nvidia_x11 package
orivej has joined #nixos
hio has joined #nixos
<clever> ,locate xsltproc
<{^_^}> Found in packages: boost-build, libxslt.bin, bash-completion
hyper_ch2 has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
nixnothing has joined #nixos
yuken has left #nixos ["Leaving"]
o1lo01ol1o has quit [Ping timeout: 245 seconds]
<Izorkin> Please check PR #63355 and #65222
<{^_^}> https://github.com/NixOS/nixpkgs/pull/63355 (by Izorkin, 6 weeks ago, open): mariadb: 10.3.15 -> 10.3.16
<{^_^}> https://github.com/NixOS/nixpkgs/pull/65222 (by Izorkin, 1 week ago, open): mariadb: update packages
<jackdk> hr[m]: I think you want to use an overlay instead of an import: https://nixos.org/nixpkgs/manual/#chap-overlays . The docs aren't stellar here, but 12.1.1 tells you how to set it in configuration.nix (set nixpkgs.overlays)
<jackdk> ah, hm. maybe that's only going to let you tweak packages instead of nixos configs. stand by
<{^_^}> [nixpkgs] @Mic92 merged pull request #65595 → youtube-dl: 2019.07.27 -> 2019.07.30 → https://git.io/fjSET
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fjSuL
mexisme has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @Mic92 pushed commit from @xrelkd to release-19.03 « youtube-dl: 2019.07.27 -> 2019.07.30 »: https://git.io/fjSut
mexisme has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #65591 → go-tools: 2019.2.1 -> 2019.2.3 → https://git.io/fjS0Q
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fjSu3
___laika has joined #nixos
<jackdk> hr[m]: maybe try inspecting `config` inside your alacritty.nix: programs.alacritty = config.programs.alacritty // { ... }, merging sets at each level like in this haskell-flavoured example: https://nixos.org/nixpkgs/manual/#how-to-override-package-versions-in-a-compiler-specific-package-set
Jackneill has joined #nixos
rauno has joined #nixos
<hr[m]> jackdk: that looks promising, I'll give it a go and report back.
<jackdk> I'm about to sign off, so hopefully someone else can help if things go badly. Note also that your long message from matrix was hard to see on IRC: it posts a /me message with no context. Consider posting a one-line summary, then your long message if you stick with matrix
<jackdk> good luck.
<hr[m]> Ok, thanks for your help.
glasserc has quit [Ping timeout: 246 seconds]
glasserc has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
hyper_ch2 has joined #nixos
<jackdk> hr[m] sent a long message: < https://matrix.org/_matrix/media/v1/download/matrix.org/zmmwnNJlnmnbKETFhdazFTnS > <- this is all I saw, which is a shame because you put good effort into the question
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/68b3bff32da (from 7 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
Tucky has joined #nixos
orbekk has quit [Quit: WeeChat 2.4]
mjrosenb has quit [Ping timeout: 245 seconds]
johnny101 has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #65596 → rustracer: 2.0.14 -> 2.1.22 → https://git.io/fjSEm
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/fjSuR
hyper_ch2 has quit [Remote host closed the connection]
mjrosenb has joined #nixos
johnny101 has joined #nixos
zupo has joined #nixos
hyper_ch2 has joined #nixos
<{^_^}> [nixpkgs] @Mic92 closed pull request #65369 → rustracer: 2.0.14 -> 2.1.22 → https://git.io/fjDFd
ericsagnes has quit [Ping timeout: 244 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
veske has joined #nixos
<{^_^}> [nixpkgs] @Mic92 opened pull request #65598 → racer: add Security framework on darwin → https://git.io/fjSu1
mexisme has quit [Ping timeout: 244 seconds]
__monty__ has joined #nixos
<{^_^}> [nixpkgs] @dasJ closed pull request #65508 → nodePackages.matrix-appservice-irc: Init → https://git.io/fjy74
<{^_^}> [nixpkgs] @Mic92 merged pull request #65587 → gn: 20190726 -> 20190403 (downgrade to fix Chromium) → https://git.io/fjS0T
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fjSuN
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/31d476b8797 (from 7 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
<{^_^}> [nixpkgs] @Mic92 merged pull request #65240 → font-awesome_4: Readd, font-awesome_5: 5.9.0 -> 5.10.0 → https://git.io/fjMPl
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/fjSze
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #65506 → nixos/xfs: Add xfs_repair to the initrd → https://git.io/fjy73
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fjSzJ
<{^_^}> [nixpkgs] @vbgl merged pull request #65593 → flow: 0.103.0 -> 0.104.0 → https://git.io/fjS0d
<{^_^}> [nixpkgs] @vbgl pushed commit from @marsam to master « flow: 0.103.0 -> 0.104.0 »: https://git.io/fjSzU
hyper_ch2 has quit [Remote host closed the connection]
Ariakenom has joined #nixos
fendor_ has joined #nixos
___laika has quit [Ping timeout: 245 seconds]
yunratobe has quit [Quit: Goodbye]
<{^_^}> [systemd] @Mic92 merged pull request #31 → Cherry-pick "random-util: eat up bad RDRAND values seen on AMD CPUs" → https://git.io/fjy2m
<{^_^}> [systemd] @Mic92 pushed commit from @poettering to nixos-v242 « random-util: eat up bad RDRAND values seen on AMD CPUs »: https://git.io/fjSzt
cfricke has joined #nixos
cfricke has quit [Client Quit]
hyper_ch2 has joined #nixos
cfricke has joined #nixos
<dansho> cizra: looks like i needed all of it =) thanks
mexisme has joined #nixos
zupo has joined #nixos
mkoenig has quit [Ping timeout: 272 seconds]
drk_lrd_877_ has joined #nixos
winem_ has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
schneid3306 has quit [Read error: Connection reset by peer]
ivan has quit [Quit: lp0 on fire]
dustinm has quit [Quit: Leaving]
schneid3306 has joined #nixos
Makaveli has joined #nixos
Makaveli is now known as Guest5914
Guest5914 has quit [Client Quit]
Makaveli has joined #nixos
ericsagnes has joined #nixos
Makaveli is now known as Guest87053
o1lo01ol1o has joined #nixos
dustinm has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
Guest87053 has quit [Client Quit]
Makaveli7 has joined #nixos
johanot has joined #nixos
ivan has joined #nixos
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/4d48e8106f9 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
o1lo01ol1o has joined #nixos
<dansho> is there a way to tell nvidia the dpi? nvidia-settings says 75 but i'm pretty sure it's 96, and the interface text is too small now
owickstrom has quit [Quit: Connection closed for inactivity]
<ivan> you can read the current dpi with xrdb -q, it's Xft.dpi
<ivan> not sure why it's under NVIDIA's control
<ivan> usually a DE setting
fendor_ is now known as fendor
is_null has joined #nixos
Hail_Spacecake has quit [Remote host closed the connection]
Hail_Spacecake has joined #nixos
alex`` has joined #nixos
orivej has quit [Ping timeout: 248 seconds]
abbiya has joined #nixos
<dansho> xrdb -q shows xft.dpi=96, and is set in ~/.Xresources
<{^_^}> [nixpkgs] @xrelkd closed pull request #65588 → font-awesome: 5.9.0 -> 5.10.0 → https://git.io/fjS0k
<dansho> i added fonts.fontconfig.dpi = 96 and this seems to have fixed it
<dansho> at least now xrdb -q shows Xft.dpi=96 and xft.dpi=96, not sure why it was ignored the first time
hoijui has quit [Quit: Leaving]
lambda-11235 has quit [Quit: g'night]
mkoenig has joined #nixos
Shoubit has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hyper_ch2 has quit [Remote host closed the connection]
hyper_ch2 has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
thc202 has joined #nixos
o1lo01ol1o has joined #nixos
meck has quit [Quit: WeeChat 2.5]
meck has joined #nixos
aswanson has quit [Quit: WeeChat 2.4]
ThatDocsLady has joined #nixos
<hr[m]> Would anyone be able to help me with this question I asked 2 hours ago https://matrix.org/_matrix/media/v1/download/matrix.org/zmmwnNJlnmnbKETFhdazFTnS . jackdk suggested I look into this https://nixos.org/nixpkgs/manual/#how-to-override-package-versions-in-a-compiler-specific-package-set manual article, but I couldn't get anything there to solve my problem.
is_null has quit [Ping timeout: 245 seconds]
oldandwise has joined #nixos
aszlig has quit [Ping timeout: 258 seconds]
hyper_ch2 has quit [Remote host closed the connection]
fendor has quit [Ping timeout: 268 seconds]
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/31d476b8797 (from 8 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
ThatDocsLady_ has joined #nixos
ThatDocsLady has quit [Quit: Leaving]
<srhb> hr[m]: SOrry, I don't understand the question
ThatDocsLady_ has quit [Client Quit]
<srhb> hr[m]: Are you saying you expected the option to sort of merge into the "default" configuration of alacritty?
ThatDocsLady has joined #nixos
ThatDocsLady has quit [Client Quit]
ThatDocsLady has joined #nixos
hyper_ch2 has joined #nixos
<srhb> hr[m]: I think that behaviour is completely expected. And, in my opinion, that module is silly.
<hr[m]> srhb: The imported file (File a) defines a few settings for alacritty, under the attr `programs.alacritty.settings = {...};` I would like the file that imports (File b) the previously mentioned file (File a) to be able to overwrite one of the settings defined in file a, say file b sets `programs.alacritty.settings.window.buttonless = "";` This is possible but in the progress it removes the settings that were set under
<hr[m]> `programs.alacritty.settings.window`
<srhb> hr[m]: You'd need to do some kind of deep merge for that, when it's a simple attribute set.
<hr[m]> srhb: The usecase for the module is home-manager configuration of my user environment that I share across a darwin system and a NixOS install. Alacritty has a setting buttonless that is only intended for darwin. So the ./role/bspwm-workstation should remove that setting which is defined in a shared alacritty.nix module. How would I go about a deep merge of an import?
asymptotically has joined #nixos
oldandwise has left #nixos [#nixos]
<srhb> hr[m]: You can check out recursiveUpdate for instance.
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/dbb50444083 (from 14 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
knupfer has joined #nixos
<srhb> hr[m]: The problem you're encountering is basically this:
<srhb> > { foo.bar = 42; } // { foo.baz = 43; }
<{^_^}> { foo = <CODE>; }
<srhb> Ack..
o1lo01ol1o has quit [Remote host closed the connection]
<eyJhb> Does NixOS have something like group `staff` like Debian does that can make local changes, like /usr/local/bin ?
<srhb> > let test = { foo.bar = 42; } // { foo.baz = 43; }; in test.foo.bar
<{^_^}> attribute 'bar' missing, at (string):255:55
<srhb> > let test = { foo.bar = 42; } // { foo.baz = 43; }; in test.foo.baz
<{^_^}> 43
<srhb> hr[m]: ^
<hr[m]> srhb: I actually took a look at recursiveUpdate before posting this question. It looked like the right method to solve the problem but I wasn't entirely sure how to actually use it.
domogled has joined #nixos
<srhb> hr[m]: I would say the easiest way to start out with without fiddling too much with the nixos modules to start out with, is to simply import a dumb attributeset with the default values.
<srhb> hr[m]: As in: let alacrittyDefaults = import ./alacritty.nix
<srhb> hr[m]: THen, programs.alacritty.settings = recursiveUpdate alacrittyDefaults { your overrides go here }
<srhb> (where RHS of the update takes precedence on duplicate leaf keys)
<hr[m]> srhb: The issue was that the nix expression is a function (I believe) that takes inputs, config and pkg. That actually solves my problem.
LysergicDreams has quit [Ping timeout: 248 seconds]
Makaveli7 has quit [Quit: WeeChat 2.5]
<srhb> hr[m]: RIght, that's a nixos module (which home-manager calls a home manager module I guess)
<hr[m]> I've never written a file with just and attribute set and not the standard {pkgs}: {} style so I just never thought about anything like that. Thanks so much
LysergicDreams has joined #nixos
<srhb> hr[m]: You're welcome. Notes for later: Maybe the alacritty module could be changed so that multiple settings automatically merge with recursiveUpdate. Something to consider once you've got your feet more wet I guess :D
bakakuna has quit [Ping timeout: 245 seconds]
<srhb> hr[m]: (Each "nixos option" has a merge strategy. The one for types.attrs is simply lhs // rhs -- which has the behaviour explained above.)
commande1 has joined #nixos
commander has quit [Ping timeout: 244 seconds]
<hr[m]> Yeah, I looked into the home-manager file for alacritty to see if it was using a merge system. Maybe my first pr when I'm ready.
<jackdk> srhb++ , thanks for taking over
<{^_^}> srhb's karma got increased to 59
anon has joined #nixos
<srhb> hr[m]: Excellent! :-)
anon is now known as Guest30790
ubert has joined #nixos
veske has quit [Quit: This computer has gone to sleep]
cfricke has quit [Quit: WeeChat 2.5]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/179ab198562 (from 9 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nixnothing has quit [Remote host closed the connection]
is_null has joined #nixos
<{^_^}> [nix] @basvandijk opened pull request #3012 → Allow builtins.pathExists to check the existence of /nix/store paths → https://git.io/fjS2T
ottidmes has joined #nixos
<{^_^}> [nix] @basvandijk opened pull request #3013 → Disable findRuntimeRoots on darwin when running tests because lsof is slow → https://git.io/fjS2t
Ariakenom has quit [Read error: Connection reset by peer]
veske has joined #nixos
veske has quit [Client Quit]
<{^_^}> [nix] @edolstra merged pull request #3012 → Allow builtins.pathExists to check the existence of /nix/store paths → https://git.io/fjS2T
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/fjS2Y
o1lo01ol1o has joined #nixos
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/fjS2G
<{^_^}> [nix] @edolstra merged pull request #3013 → Disable findRuntimeRoots on darwin when running tests because lsof is slow → https://git.io/fjS2t
<{^_^}> [nixpkgs] @zauberpony opened pull request #65599 → hcloud: 1.11.0 -> 1.13.0 → https://git.io/fjS2n
mexisme has quit [Ping timeout: 258 seconds]
domogled has quit [Quit: domogled]
mexisme has joined #nixos
<{^_^}> [nixpkgs] @petabyteboy closed pull request #63615 → hcloud: v1.11.0 -> v1.12.0 → https://git.io/fjwkX
hyper_ch2 has quit [Remote host closed the connection]
<{^_^}> [nix] @edolstra merged pull request #3009 → Add pname and version to nix-env -q --json → https://git.io/fjyKu
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/fjS2u
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/31d476b8797 (from 9 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
jD91mZM2 has quit [Remote host closed the connection]
jD91mZM2 has joined #nixos
pingu_ has quit [Ping timeout: 245 seconds]
pingu_ has joined #nixos
vk3wtf has quit [Ping timeout: 245 seconds]
magnetophon has quit [Ping timeout: 245 seconds]
o1lo01ol1o has joined #nixos
manjaroCinnamon has joined #nixos
manjaroCinnamon has quit [Remote host closed the connection]
pingiun has joined #nixos
vk3wtf has joined #nixos
magnetophon has joined #nixos
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
<{^_^}> [nixpkgs] @basilgood opened pull request #65600 → vimPlugins: update; add vim plugins: merge-tool, quickfix-reflector.vim, twig-vim, jsx-vim, vim-javascript-syntax, vim-… → https://git.io/fjS2p
knupfer has quit [Remote host closed the connection]
psyanticy has joined #nixos
knupfer has joined #nixos
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/0e9548e1497 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
shibboleth has joined #nixos
<Miyu-chan> arianvp: Ping. I have a few suggestions for https://gitlab.com/arianvp/nixos-gitlab-runner/blob/master/gitlab-runner.nix
<Miyu-chan> (I've already implemented the code, just wondering if you're interested in mainlining it.
bakakuna has joined #nixos
bakakuna has quit [Remote host closed the connection]
linarcx has joined #nixos
bakakuna has joined #nixos
meteo has quit [Remote host closed the connection]
linarcx has quit [Client Quit]
meteo has joined #nixos
linarcx has joined #nixos
linarcx has quit [Client Quit]
linarcx has joined #nixos
linarcx has quit [Client Quit]
linarcx has joined #nixos
meteo has quit [Remote host closed the connection]
linarcx has quit [Client Quit]
meteo has joined #nixos
linarcx has joined #nixos
meteo has quit [Max SendQ exceeded]
<yorick> Miyu-chan: wait, does the nixos thing not have caching between builds?
bakakuna has quit [Ping timeout: 252 seconds]
meteo has joined #nixos
<yorick> oh, docker builds are important to us
linarcx has quit [Client Quit]
fendor has joined #nixos
<{^_^}> [nixpkgs] @joachifm merged pull request #65585 → nixos/hardened: make pti=on overridable → https://git.io/fjSRk
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/fjSag
linarcx has joined #nixos
<Miyu-chan> This is my first time setting up a CI, but why are docker builds specifically important?
linarcx has quit [Client Quit]
linarcx has joined #nixos
<angerman> so I'm getting: `output '/nix/store/52kvs215cs00byx3mxgj534vvdig87p5-x86_64-pc-mingw32-ghc-8.6.5' is not allowed to refer to the following paths: /nix/store/dv9i0hxd1y3s7w94xr5yi9qcxg1i75sf-ghc-8.4.4`; how do I find out which files exactly reference ghc-8.4.4?
<Mic92> tazjin: good stuff :) https://github.com/google/nixery
linarcx has quit [Client Quit]
linarcx has joined #nixos
<tazjin> Mic92: Thanks! The main thing I need to figure out is what kubernetes' deal is (it does something to downloaded images that breaks with Nixery)
<tazjin> I'll be investigating that in the evening
<tazjin> if everything works out I'll submit a NixCon talk
Makaveli7 has joined #nixos
Guest30790 has quit [Ping timeout: 244 seconds]
<aanderse> someone posted a link to cheap transportation finder to nixcon on discourse
<aanderse> i tried it and found a great deal!
enuiarte has joined #nixos
<aanderse> then i specified the date
Guest30790 has joined #nixos
<aanderse> and the price went up over 10x -_-
hmpffff has joined #nixos
linarcx has quit [Quit: WeeChat 2.3]
seanparsons has quit [Quit: ZNC 1.7.3 - https://znc.in]
linarcx has joined #nixos
seanparsons has joined #nixos
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
<Mic92> tazjin: Good luck. Mitm proxy might help to understand the requests.
abbiya has quit [Quit: abbiya]
<{^_^}> [nixpkgs] @aanderse merged pull request #65597 → mtm: init at 1.0.1 → https://git.io/fjSE0
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/fjSaS
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fjSa9
<{^_^}> [nixpkgs] @Mic92 merged pull request #65598 → rustracer: add Security framework on darwin → https://git.io/fjSu1
<tazjin> Mic92: it's not the requests, it's doing something with the actual image structure after fetching it
<tazjin> it's just difficult to trace what exactly due to Go's lacking type system
<Mic92> tazjin: Go is still a lot better then the C code I am looking at :)
Makaveli7 has quit [Quit: WeeChat 2.5]
iyzsong has joined #nixos
polman has quit [Ping timeout: 245 seconds]
<Mic92> But to be fair. k8s is a massive code base.
<fendor> in an nix expression, how can I express a dependency on an executable at run-time?
polman has joined #nixos
<Mic92> fendor: what sort of dependency do you have?
<arianvp> Miyu-chan: thanks for the ping
<fendor> Mic92, I want to call an exectuable
meteo has quit [Ping timeout: 272 seconds]
<yorick> Miyu-chan: because the customer wants docker images :/
<Mic92> fendor: then use wrapProgramInPlace from the makeWrapper package to extend the PATH of your executable.
<fendor> Mic92, great, thanks!
<arianvp> The gitlab-runner I built does so caching between builds
<arianvp> It mounts the host /nix/store
<Mic92> fendor: it is actually just called wrapProgram
<{^_^}> [nixpkgs] @FRidh merged pull request #65583 → python3Packages.imbalanced-learn: 0.4.3 -> 0.5.0 → https://git.io/fjSB9
<{^_^}> [nixpkgs] @FRidh pushed 3 commits to master: https://git.io/fjSa7
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/4d48e8106f9 (from 10 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
<{^_^}> [nixpkgs] @FRidh merged pull request #65577 → libblockdev: 2.20 -> 2.22 → https://git.io/fjS8N
<{^_^}> [nixpkgs] @FRidh pushed commit from @JohnAZoidberg to master « libblockdev: 2.20 -> 2.22 »: https://git.io/fjSa5
<{^_^}> [nixpkgs] @FRidh merged pull request #65578 → udisks: 2.8.2 -> 2.8.4 → https://git.io/fjS8A
<{^_^}> [nixpkgs] @FRidh pushed commit from @JohnAZoidberg to master « udisks: 2.8.2 -> 2.8.4 »: https://git.io/fjSad
hmpffff has quit [Quit: nchrrrr…]
<{^_^}> [nixpkgs] @FRidh merged pull request #65574 → epubcheck: 4.2.1 -> 4.2.2 → https://git.io/fjS8P
<{^_^}> [nixpkgs] @FRidh pushed commit from @eadwu to master « epubcheck: 4.2.1 -> 4.2.2 »: https://git.io/fjSaF
linarcx has quit [Quit: WeeChat 2.3]
<yorick> arianvp: that's pretty cool, but does that mean my docker images run with root privileges?
linarcx has joined #nixos
<yorick> I mean, the gitlab runner builds
<yorick> arianvp: or do they talk to nix daemon?
psy3497 has quit [Ping timeout: 258 seconds]
<yorick> okay I read the readme now
<yorick> is there a timeout for the graceful build finish?
linarcx has quit [Client Quit]
linarcx has joined #nixos
<betaboon> anyone up for PR #58121 ?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/58121 (by betaboon, 18 weeks ago, open): nixos/refind: init
linarcx has quit [Quit: WeeChat 2.3]
linarcx has joined #nixos
MmeQuignon has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/fjSVv
<Miyu-chan> arianvp: The two patches are (a) adding a NixOS option for packages to add to PATH, and (b) pinning a specific channel
<{^_^}> [nixpkgs] @FRidh closed pull request #65372 → qt5.wrapQtAppsHook: wrap more than just ELF's → https://git.io/fjDbd
<Miyu-chan> Also, were you able to fix that Go problem you had?
<Miyu-chan> I wanted to take a look at it, but fell asleep last night lol
<arianvp> Nope! Not yet. But I think I need to set GOPATH in shellHook
<arianvp> To make it work
<arianvp> yorick: the nix Daemon socket is mounted into the container
linarcx has quit [Quit: WeeChat 2.3]
linarcx has joined #nixos
<Miyu-chan> It works with nix-build though, right?
<arianvp> Yes. Nix-build will talk to the nix-daemon
<Miyu-chan> I meant your Go problem. :P
<arianvp> Oooh
<arianvp> Yeh nix-build works
<Miyu-chan> Also, huh. TIL, you don't need withPackages for `nix-shell -p ...`
Soo_Slow has joined #nixos
shibboleth has quit [Quit: shibboleth]
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to staging: https://git.io/fjSVY
<{^_^}> [nixpkgs] @Mic92 closed pull request #65385 → buildRustPackage: avoid appending to source code's cargo config → https://git.io/fjDjX
enuiarte has quit [Ping timeout: 264 seconds]
<sphalerite> Miyu-chan: it depends on the package set/interpreter
<Miyu-chan> Yeah, fair enough. But IMO, it shouldn't from the start.
Zer0xp has joined #nixos
<Miyu-chan> OTOH, I guess it's a bit more nuanced than that.
<Miyu-chan> Since individual package sets have their own mkDerivation equivalent.
SovereignBleak has joined #nixos
meteo has joined #nixos
<ottidmes> I cannot remember having this problem outside NixOS, why is it that I cannot serve PHP files from /home, any other directory works. If I bind mount /home to some other folder, it then too works. It is one of the few I have known for a while but unable to fix without workarounds
bakakuna has joined #nixos
<Miyu-chan> arianvp: So I guess I half-found your problem. I don't think this should be set in configurePhase.
<Miyu-chan> I think GOPATH(just like PYTHONPATH, and the like) should IIRC, be set up on setupHook.
<Miyu-chan> arianvp: Anyways, I guess shellHook works here, for a quick fix. `shellHook = ''eval "$configurePhase"'';`
<__monty__> Miyu-chan: The nix-shell thing depends on the language. Wouldn't work with haskell afaik.
<__monty__> Oh, already answered in more general terms...
<Miyu-chan> __monty__: Ah. I tried it out with Python. I used to only use Haskell, so that might be why I thought otherwise.
<Miyu-chan> Now I no longer use Haskell soo
<SovereignBleak> Do we know if the Pinebook Pro is supported by NixOS at this time?
<__monty__> Well that's too bad : )
<gchristensen> SovereignBleak: check out #nixos-aarch64 :) samueldr just ordered one, so maybe don't know yet
<SovereignBleak> gchristensen: Thanks :)
Guanin has joined #nixos
<Miyu-chan> I think python has the correct behavior though?
<Miyu-chan> I'm not so sure what's the general consensus w.r.t. "how to use setupHook".
<__monty__> Miyu-chan: Correct? GHC simply can't pickup packages that aren't registered or something. So it couldn't do what python does in this case.
<Miyu-chan> Hm.
<Miyu-chan> I haven't checked the Haskell/Nix system, so I can't really make an educated opinion about it. :/
ericsagnes has quit [Ping timeout: 276 seconds]
<Miyu-chan> __monty__: What I'm thinking is that there is a part where GHC registers the package, right? Why not convert that into a setupHook. It doesn't have to be a part of the haskell package build itself.
hyper_ch2 has joined #nixos
<yorick> I'm getting "waiting for locks or build slots" while there still are a lot of build slots
orbekk has joined #nixos
<__monty__> Miyu-chan: I think the problem is `nix-shell -p haskellpackage` without a ghc to register it with would then run into problems. For python you just have to add the package's path to PYTHONPATH afaik.
<Miyu-chan> Yeah. Pertty much what I'm thinking. Each package adds itself to `NIX_GHC_PATH` and GHC itself will have a setupHook of `ghc register $NIX_GHC_PATH` or something.
<Miyu-chan> Maybe even have each package register itself as a setupHook.
<Miyu-chan> Or ghc-pkg? Not sure what the tooling is.
<Miyu-chan> arianvp: Can you try this out for your shell.nix? https://gist.github.com/adrianparvino/5c89036f9e65e3857cd72e3c211e125a
<{^_^}> [nixpkgs] @cw789 opened pull request #65601 → unifiStable: 5.10.23 -> 5.10.25 → https://git.io/fjSwe
<__monty__> Miyu-chan: I think that doesn't work because you're not declaring all your inputs for GHC. So the derivation wouldn't be deterministic.
o1lo01ol1o has quit [Remote host closed the connection]
<Miyu-chan> Hm, what do you mean by that?
ericsagnes has joined #nixos
o1lo01ol1o has joined #nixos
<arianvp> Miyu-chan: thanks!!!
<arianvp> that worked
hyper_ch2 has quit [Remote host closed the connection]
o1lo01ol1o has quit [Ping timeout: 258 seconds]
<__monty__> Miyu-chan: The built GHC would differ depending on which packages happen to be in NIX_GHC_PATH, that's impure.
orivej has joined #nixos
<Miyu-chan> __monty__: Ohhh. The built GHC should not be affected by further loading of NIX_GHC_PATH.
fendor has quit [Ping timeout: 268 seconds]
<__monty__> But it *is* because the package database is part of it.
<__monty__> Unless you intend to have a wrapper that runs the hook at every invocation?
hyper_ch2 has joined #nixos
<Miyu-chan> The architecture I'm thinking of is that `buildInputs = [ haskellPackage1 haskellPackage2 haskellPackage3 ghc ];` and each package has a setup-hook of `ghc-pkg register $out`. When `ghc` is called, it will have access to the libraries ghc-pkg is populated.
<Miyu-chan> ... libraries, becaush ghc-pkg is populated.*
<__monty__> But you need a ghc to build the packages.
<__monty__> And you can't add to a ghc's packages easily.
<Miyu-chan> Right. I don't think the "needing a ghc to build the package" is much of a problem, except for circular dependencies w.r.t. build GHC itself.
<Miyu-chan> Or is that specifically what the problem is?
<__monty__> I'm not familiar enough with the infra or GHC itself to discuss this much further tbh.
<Miyu-chan> Me neither honestly.
<Miyu-chan> I guess I'll check out how `ghcWithPackages` handles this.
<__monty__> Cabal install can apparently register libraries just fine, so I'm not sure why the nix infra can't do the same.
<__monty__> Maybe to avoid cabal hell?
<__monty__> But then again there's v2-*
phreedom_ has quit [Quit: No Ping reply in 180 seconds.]
phreedom has joined #nixos
andymandias has quit [Ping timeout: 272 seconds]
srid has quit [Ping timeout: 244 seconds]
andymandias has joined #nixos
<Miyu-chan> Back. And seems like ghcWithPackages is arcane magic lol.
<__monty__> That's what I was afraid of.
<{^_^}> [nixpkgs] @angristan opened pull request #65602 → spotify: 1.0.96.181 -> 1.1.10.546 → https://git.io/fjSwV
aswanson has joined #nixos
<Miyu-chan> Seems to use symlinkJoin, which, from what I understand, is a bit similar to making a FHS.
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/29d912eb825 (from 8 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<Miyu-chan> --set "NIX_${ghcCommandCaps}" "$out/bin/${ghcCommand}" \
<Miyu-chan> --set "NIX_${ghcCommandCaps}PKG" "$out/bin/${ghcCommand}-pkg" \
<Miyu-chan> Also has these wrappers, which means that NIX_GHC and NIX_GHCPKG is used somewhere.
<Miyu-chan> Found it.
<Miyu-chan> # It's probably a good idea to include the library "ghc-paths" in the # compiler environment, because we have a specially patched version of # that package in Nix that honors these environment variables
<Miyu-chan> Fun fun.
<Miyu-chan> Also, there's this.
<Miyu-chan> ${lib.optionalString hasLibraries "$out/bin/${ghcCommand}-pkg recache"}
<Miyu-chan> Which is just this. makeWrapper ${ghc}/bin/$prg $out/bin/$prg --add-flags "${packageDBFlag}=${packageCfgDir}"
<Miyu-chan> I guess what surprises me is that there's not as much references to $out than I'd expect it to have.
<Miyu-chan> So I have no idea how the symlinkJoin even comes into place here.
<Miyu-chan> Oh lol. I'm stupid. I found it.
mexisme has quit [Ping timeout: 252 seconds]
<Miyu-chan> Anyways, that's enough source digging for me. :) Just found it interesting.
phreedom_ has joined #nixos
phreedom has quit [Ping timeout: 260 seconds]
mgdm has joined #nixos
Jackneilll has joined #nixos
srid has joined #nixos
dansho has quit [Ping timeout: 246 seconds]
abathur has quit [Ping timeout: 245 seconds]
Jackneill has quit [Ping timeout: 272 seconds]
dansho has joined #nixos
<{^_^}> [nixpkgs] @aanderse merged pull request #65572 → aerc: 0.1.4 -> 0.2.1; add ncurses to PATH → https://git.io/fjS8u
<{^_^}> [nixpkgs] @aanderse pushed 3 commits to master: https://git.io/fjSrk
hyper_ch2 has quit [Remote host closed the connection]
hyper_ch2 has joined #nixos
<{^_^}> [nixpkgs] @samueldr merged pull request #65559 → obs-studio: wrap QT application to fix xcb plugin abort → https://git.io/fjSGZ
<{^_^}> [nixpkgs] @samueldr pushed 2 commits to master: https://git.io/fjSrB
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/70503758fb4 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
DariusTheMede has joined #nixos
ryantm has joined #nixos
aszlig has joined #nixos
knupfer has quit [Ping timeout: 248 seconds]
ddellacosta has joined #nixos
rycwo has left #nixos [#nixos]
zupo has joined #nixos
pmiddend has joined #nixos
<DariusTheMede> I have a derivation which uses cmake
<pmiddend> Does anybody know where the "ld" tool comes from?
<pmiddend> Apparently "gcc-wrapper" or something, but I'm not sure what nixpkgs package that is.
<immae> ,locate ld
<Yaniel> I'm guessing stdenv
<{^_^}> Found in packages: go, gcc, gcj, gcc5, gcc6, gcc7, gcc8, cjdns, clang, gcc48, gcc49, gccgo, swift, arduino, axoloti, clang_4, clang_6, clang_7, clang_8, go_1_10, go_1_11, binutils, clang_35, clang_37, clang_38, clang_39, gfortran, gcc_debug, gcc_multi, gfortran5, gfortran6, codeblocks, gfortran48, gfortran49, clang-polly, clang_multi, arduino_core, go_bootstrap, ccacheWrapper, distccWrapper, codeblocksFull, binutils_nogold, and 11 more
<immae> gcc?
<immae> or binutils more probably
<DariusTheMede> When I do the cmake outside of nix, it populates a directory with various artefacts (including a makefile) and I can use those artefacts for debugging - I can't see a directory in /nix/store with those artefacts
<pmiddend> immae: Ah yes, nix-shell -p binutils contains ld apparently.
<pmiddend> immae: Thanks.
<immae> you’re welcome :)
<DariusTheMede> Is there a way of persuading nix to keep the directory which cmake populates?
<immae> (I wish I had this "locate" as a local tool)
hyper_ch2 has quit [Remote host closed the connection]
rsoeldner_ has joined #nixos
hyper_ch2 has joined #nixos
rsoeldner has quit [Read error: Connection reset by peer]
<Zer0xp> Hey guys, so I want to use an application that isn't available in the nix repository. I have the tarball, and I would like to create a package so that my peers can also use it. What is the quickest way possible to getting this done ?
<Zer0xp> Hey guys, so I want to use an application that isn't available in the nix repository. I have the tarball, and I would like to create a package so that my peers can also use it. What is the quickest way possible to getting this done ?
<Zer0xp> Sorry about that, sent it twice by mistake.
magnetophon has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @vcunat pushed to master « ffmpeg{_4,-full}: 4.1.3 -> 4.1.4 (security) »: https://git.io/fjSrx
<simpson> Zer0xp: Write a Nix expression. You can make a clone of nixpkgs and add your change into the tree, or you can ship a standalone expression which relies on a system nixpkgs.
o1lo01ol1o has joined #nixos
<adisbladis> DariusTheMede: You can override the install phase and also install those extra outputs.
pmiddend has quit [Quit: WeeChat 2.5]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<DariusTheMede> adisbladis: thanks - so I just search the nix manual for "override the install phase"?
<ottidmes> Anyone got a laptop with an intergrated Intel UHD 620 GPU? Whenever I boot my custom LiveCD, after selecting NixOS in the boot loader, I simply get a black screen, while the prebuild image for download on the website does work after a few seconds of having a black screen, and Arch/Ubuntu work without issue with their liveCDs
<DariusTheMede> You are spoiling me
<adisbladis> DariusTheMede: Basically someDerivation.overrideAttrs(old: { postInstall = "cp somefile $out"; })
dsx has quit [Quit: dsx]
<aveltras> anyone using nix docker tools to deploy apps on a non nixos machine ? what's your workflow ?
<__monty__> aveltras: Maybe look into nix-bundle as well.
dsx has joined #nixos
unacceptable has quit [Remote host closed the connection]
<aveltras> __monty__: bookmarked it, seems nice, however i was looking for something akin to nixops but not tied to a nixos target
<__monty__> Hmm, I know there's morph, but I think that has the same problem.
unacceptable has joined #nixos
<adisbladis> aveltras: Yes I deploy docker containers built with nix. Why?
<simpson> aveltras: I use Kubernetes, so Nix-built images are only one part of the process. I've experimented with kubenix, but it's not a complete solution; you'll still have to kubectl.
<aveltras> adisbladis: im just wondering about the "default workflow" regarding deployment, are you using docker-machine with nix buildImage ?
<adisbladis> aveltras: No, mainly deploying to Kubernetes.
<aveltras> ok, guess it's time to investigate about kubernetes then, thanks for your answers
<adisbladis> aveltras: Re workflow it's pretty much `nix build container.nix && skopeo copy $(readlink -f result)`
<aveltras> adisbladis: and your container.nix is using nixpkgs docker tools right ?
<adisbladis> aveltras: Yeah
linarcx has quit [Quit: WeeChat 2.3]
linarcx has joined #nixos
linarcx has quit [Client Quit]
linarcx has joined #nixos
chiefgoat has joined #nixos
ThatDocsLady has quit [Remote host closed the connection]
linarcx has quit [Client Quit]
ThatDocsLady has joined #nixos
hyper_ch2 has quit [Remote host closed the connection]
linarcx has joined #nixos
arahael1 has quit [Ping timeout: 248 seconds]
vmandela has left #nixos ["Leaving"]
<{^_^}> [nixpkgs] @toonn opened pull request #65604 → ranger: Add myself to CODEOWNERS for ranger → https://git.io/fjSoM
Zer0xp has quit [Quit: WeeChat 2.5]
orivej has quit [Ping timeout: 245 seconds]
dansho has quit [Quit: Leaving]
linarcx has quit [Quit: WeeChat 2.3]
arahael1 has joined #nixos
linarcx has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 0 commits to revert-57097-qmake-header: https://git.io/fjSKJ
<{^_^}> [nixpkgs] @grahamc pushed 0 commits to libreoffice-update: https://git.io/fjSKI
<{^_^}> [nixpkgs] @grahamc pushed 0 commits to writeTextFile-fix-comment: https://git.io/fjSKL
hyper_ch2 has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
linarcx has quit [Quit: WeeChat 2.3]
linarcx has joined #nixos
Hail_Spacecake has quit [Remote host closed the connection]
Hail_Spacecake has joined #nixos
winem_ has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @grahamc closed pull request #65604 → ranger: Add myself to CODEOWNERS for ranger → https://git.io/fjSoM
ThatDocsLady has quit [Ping timeout: 246 seconds]
erasmas has joined #nixos
orbekk has quit [Quit: WeeChat 2.4]
___laika has joined #nixos
srid has quit [Ping timeout: 272 seconds]
___laika has quit [Ping timeout: 245 seconds]
mexisme has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #65600 → vimPlugins: update; add vim plugins: merge-tool, quickfix-reflector.vim, twig-vim, jsx-vim, vim-javascript-syntax, vim-… → https://git.io/fjS2p
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fjSKp
hyper_ch2 has quit [Remote host closed the connection]
mexisme has quit [Ping timeout: 264 seconds]
pepegar has joined #nixos
bakakuna has quit [Ping timeout: 268 seconds]
<angerman> grahamc[m]: doesn't seem like it's working, hmm... `nixops deploy -d ... --option builders "ssh://root@$ip x86_64-linux"` is what I tried, and then it complains that it can't build x86_64-linux as it's on x86_64-darwin.
johanot has quit [Quit: WeeChat 2.4]
unacceptable has quit [Remote host closed the connection]
roconnor has joined #nixos
iyzsong has quit [Ping timeout: 276 seconds]
pepegar has left #nixos ["ERC (IRC client for Emacs 26.1)"]
thc202 has quit [Ping timeout: 268 seconds]
thc202 has joined #nixos
linarcx has quit [Quit: WeeChat 2.3]
linarcx has joined #nixos
linarcx has quit [Client Quit]
linarcx has joined #nixos
palo has quit [Quit: WeeChat 2.4]
linarcx has quit [Client Quit]
<Taneb> What's the policy for Haskell packages that are on Hackage but not Stackage (e.g. Agda)
Soo_Slow has quit [Remote host closed the connection]
ddellacosta has quit [Ping timeout: 246 seconds]
rsoeldner_ has quit [Remote host closed the connection]
<vaibhavsagar> Taneb: seems like those are handled on a case-by-case basis
wildtrees has joined #nixos
<sphalerite> immae: "locate" as a local tool exists — nix-index in nixpkgs :)
<manveru> hmm, if i have `[ ./some ./other ]`, is there any way to get the original filename again?
<mdash> manveru: pretty sure it's a one way conversion to a store path
<immae> sphalerite: well, that’s not exactly what I meant :D
<manveru> ok... i was afraid of that :|
<mdash> ottidmes: I do (Lenovo X1c6)
<manveru> guess it's tine for __structuredAttrs :P
<manveru> *time
<mdash> immae: how's it different?
<sphalerite> immae: how not?
<immae> I want the same answers to the same questions :p
MmeQuignon has quit [Ping timeout: 244 seconds]
<immae> hmm
ddellacosta has joined #nixos
inquisitiv3 has joined #nixos
<immae> but what data will it use?
winem_ has joined #nixos
waleee-cl has joined #nixos
vmandela has joined #nixos
<inquisitiv3> My system don't want to connect to my VPN provider using OpenVPN. I've added `services.openvpn.servers.[server].config = { '' config /etc/openvpn/[config].conf ''; };` to my configuration.nix file, and rebuilt it with `nixos-rebuild switch` without complaints.
<inquisitiv3> Restarted my machine, but it still don't want to connect to my VPN provider. I guess I've missed something, but can't find anything on the wiki or in the manual.
LinuXit has joined #nixos
<LinuXit> Anyone who fixed lutris on nixos?
<sphalerite> immae: same data it always uses, from the binary cache
<LinuXit> Or can play ESO on Nixos
<sphalerite> mudri: fyi there's some talk about nix stuff in scotland going on in #nixos-chat in case you're interested :)
<immae> sphalerite: the binary cache doesn’t contain information about presence of some files in /bin (does it?), so I don’t understand how it can answer so quickly...
<sphalerite> immae: the binary cache has file lists for all the packages built by hydra, nix-index downloads all these, indexes them, and searches through the local index
<immae> ah, so it’s a special binary cache
DariusTheMede has quit [Ping timeout: 244 seconds]
<sphalerite> immae: yeah, although any cache populated by a hydra instance should have that ability I think
<gchristensen> that information is provided by the channel, not the cache
<__monty__> Uhm, apparently pass doesn't pass its testsuite, how do I fix this? http://ix.io/1Q4b
<immae> sure
* __monty__ update's his channel
<immae> Then whay url should I contact to make the call?
<__monty__> ... or not : / http://ix.io/1Q4c
<immae> gchristensen: it only has top level dirs
<gchristensen> ah
Tucky has quit [Quit: WeeChat 2.5]
<sphalerite> __monty__: that looks like it's trying to access the store directly rather than using the daemon
srid has joined #nixos
Soo_Slow has joined #nixos
<__monty__> sphalerite: I'm on a single-user install.
<sphalerite> __monty__: then maybe you accidentally used nix as root?
<immae> ,locate nix-locate
<{^_^}> Found in packages: nix-index
winem_ has quit [Ping timeout: 264 seconds]
<__monty__> sphalerite: I did this with nix-channel accidentally (ignorantly more like) recently, yes. How do I fix it?
<{^_^}> [nixpkgs] @primeos pushed to master « tdesktopPackages.*: Remove the attributes in favour of tdesktop »: https://git.io/fjSis
<immae> sphalerite: I just found the code :D does it mean that it will download each package from store-path.xz separately to build the index locally?
<sphalerite> __monty__: probably sudo chown -R $USER /nix/
<infinisil> I should really clean up the nixbot code that does the nix-locate thing..
<__monty__> sphalerite: I'd already done that.
<__monty__> Well, chown -R user:wheel
<sphalerite> immae: almost — not using store-paths.xz, but yes — it evaluates all the packages, then checks for each one if a listing is available and if so downloads it and indexes it.
<angerman> how do I point nixops at a custom nixops source? It seems that `nixos-generate-config --no-filesystems --show-hardware-config` is executed as a shell script rather than a perl script.
DariusTheMede has joined #nixos
<__monty__> sphalerite: Should that be user:staff maybe? Apparently the lockfile permissions are user:staff.
<immae> sphalerite: fair enough, thanks. That seems a lot of potential burden to the binary cache as well as duplicate work for each local installation
<sphalerite> __monty__: the group shouldn't matter if you're the owner
o1lo01ol1o has quit [Remote host closed the connection]
<sphalerite> immae: I don't think it's much of a problem for the cache, since it's delivered/cached by fastly (backed by S3)
ddellacosta has quit [Ping timeout: 244 seconds]
<immae> ah cool
<immae> I may build my own locate then :D
<sphalerite> immae: but yeah, it would be cool if a pre-built index could be part of the channels
<sphalerite> immae: why?
LysergicDreams has quit [Ping timeout: 268 seconds]
domogled has joined #nixos
<immae> I don’t like to write private commands in public channels
<sphalerite> immae: but what's wrong with nix-locate?
<immae> nothing? if the binary cache is happy with me building it regularly, then it’s alright
<sphalerite> immae: oh and if you don't mind infinisil and gchristensen having access to your queries you can message {^_^} directly as well
LysergicDreams has joined #nixos
<gchristensen> your messages are too boring to look
<sphalerite> immae: then why build your own locate ?
<sphalerite> __monty__: oh right, do the same with ~/.cache I guess
<gchristensen> send us something juicy!
<immae> sphalerite: wrong phrasing from me, if I build anything it would be a public endpoint to be called by other people
<sphalerite> immae: oooooh right
<gchristensen> that'd be a cool thing to host on nixos.org
<immae> I’m not there yet, but yes I guess :)
DariusTheMede has quit [Ping timeout: 245 seconds]
<sphalerite> hmm, the index is 22MB
<samueldr> using nix-locate locally is way more powerful than ,locate :)
<sphalerite> that's quite big but not unreasonably so, it could just download the database and run client-side (emscripten?)
<samueldr> is that compressed size?
<qyliss^work> ,locate is so convenient
<{^_^}> Found in packages: ark, atk, dia, gcr, git, k3b, kvm, tbe, xen, anki, atom, exif, gimp, glib, kate, kwin, ping, popt, qemu, ekiga, gnubg, kazam, kcalc, krita, libfm, petsc, baobab, colord, deluge, dragon, elinks, espeak, evince, hashit, heroku, lxtask, oxygen, picard, poedit, tomboy, asunder, calibre, catfish, dolphin, empathy, gparted, gphoto2, kgamma5, libvirt, lightdm, lxpanel, lxrandr, pcmanfm, planner, shutter, wesnoth, epiphany, and 507 more
<samueldr> it sure is!
<sphalerite> samueldr: looks like it is
<immae> sphalerite: right, I expected it to be much bigger than that
<sphalerite> in any case, it's still 22MiB after gzipping
<viric> it is
<samueldr> right, uncompressed it might be too much for the browser to handle as it is I guess
<samueldr> to handle and be nice to use
<viric> I wonder if there is an implementation of locate that can update the database through 'btrfs send' kind of thing for btrfs
<sphalerite> viric: that seems inefficient, since btrfs send includes all the file contents?
<viric> sphalerite: --no-data
<sphalerite> oh neat
<viric> I mean... updating the locate db is a pain
<viric> for spinning disks
ddellacosta has joined #nixos
<sphalerite> will btrfs send be any faster than walking the directory hierarchy though?
<vmandela> gchristensen, ping
o1lo01ol1o has joined #nixos
ddellacosta has quit [Ping timeout: 244 seconds]
ddellacosta has joined #nixos
wfranzini has quit [Remote host closed the connection]
<angerman> tfw your rescue system suffers from that argmax kernel bug, and nothing work. Hooray!
judson_ has joined #nixos
Guanin has quit [Ping timeout: 252 seconds]
phreedom has joined #nixos
phreedom_ has quit [Ping timeout: 260 seconds]
<viric> sphalerite: well, it's a diff vs absolute measure
<viric> it depends on how much you have there and how much you have changed
SovereignBleak has quit [Quit: Connection closed for inactivity]
ddellacosta has quit [Ping timeout: 272 seconds]
Havvy has quit [Ping timeout: 248 seconds]
ddellacosta has joined #nixos
Drakonis has joined #nixos
Havvy has joined #nixos
<sphalerite> viric: ooooooh now I see. Nice idea!
zupo has joined #nixos
<sphalerite> viric: `zfs diff` generates output that would be almost immediately usable for that
<sphalerite> not sure if btrfs has something like that
<gchristensen> that is such a cool feature, especially for debugging where state has been introduced on my computer
<qyliss^work> whoa
<gchristensen> $ sudo zfs diff rpool/blank-root@blank
<viric> the usual way is "btrfs send --no-data | btrfs receive --dump" I think
<viric> I don't like how zfs deals with ram...
<wildtrees> mmm my avahi service for hostname.local doesnt seem to work right until I nixos-rebuild test after a reboot, is something wrong? thought nixos didnt work that way :(
<gchristensen> sure
<viric> I prefer btrfs
<wildtrees> what can I do to fix that?
<viric> wildtrees: as you describe it, it sounds like a bug
ddellacosta has quit [Ping timeout: 258 seconds]
<{^_^}> [nixops] @clefru opened pull request #1187 → Convert libvirtd to use make-disk-image → https://git.io/fjSPL
<wildtrees> :( what can I do to work around it? other thatn running that comman after reboot
<gchristensen> can you show us the log of running nixos-rebuild after you reboot?
<gchristensen> maybe a systemd target is needed
xkapastel has joined #nixos
<{^_^}> [nixpkgs] @vbgl merged pull request #65311 → ocamlPackages.toml: init at 5.0.0 → https://git.io/fjDcK
<{^_^}> [nixpkgs] @vbgl pushed 2 commits to master: https://git.io/fjSPq
<__monty__> Hmm, I keep getting this mkdir error because of home-manager. I've asked in the channel but not gotten any response. Anyone here know how to find out where the problem is and how to solve it? http://ix.io/1Q4v
fendor has joined #nixos
etrepum has quit [Read error: Connection reset by peer]
savanni has quit [Ping timeout: 276 seconds]
mitsuhiko has quit [Ping timeout: 272 seconds]
dukedave has quit [Ping timeout: 258 seconds]
etrepum has joined #nixos
teozkr has quit [Ping timeout: 258 seconds]
savanni has joined #nixos
<amf> Will Nix interfere with a directory I keep at /? Or should I put that data under something like /var ? As a newcomer, I'd hate to put a bunch of files in /pub to have them wiped out on next rebuild
endformationage has joined #nixos
mitsuhiko has joined #nixos
teozkr has joined #nixos
mitsuhiko has quit [Max SendQ exceeded]
<qyliss^work> amf: it will not
dukedave has joined #nixos
<qyliss^work> (but back up! and don't blame me if it goes wrong)
mitsuhiko has joined #nixos
<amf> I'm moving to Nix because I want to get better at backups and restores :)
<wildtrees> got a avahi working on reboot without a nixos rebuild, I had to add a services.avahi.hostName = "hostnamereHere" ; it said it defaults to hostname but I guess it doesnt without a daemon restart, I saw it drop root for the avahi daemon in journactl -b output and there was some minor errors before, gonna check and still see if there are any errors
chloekek has joined #nixos
<wildtrees> yea seems all the errors are gone for avahi out of the journalctl -b output :D
eraserhd has quit [Quit: WeeChat 2.5]
jtojnar has joined #nixos
sorear has quit [Ping timeout: 252 seconds]
r0bby has quit [Ping timeout: 252 seconds]
mitsuhiko has quit [Ping timeout: 252 seconds]
philipcristiano has quit [Read error: Connection reset by peer]
teozkr has quit [Ping timeout: 264 seconds]
domogled has quit [Quit: domogled]
ctp has quit [Ping timeout: 264 seconds]
dukedave has quit [Ping timeout: 264 seconds]
etrepum has quit [Ping timeout: 268 seconds]
sorear has joined #nixos
r0bby has joined #nixos
philipcristiano has joined #nixos
ctp has joined #nixos
Drakonis has quit [Quit: WeeChat 2.4]
mitsuhiko has joined #nixos
etrepum has joined #nixos
teozkr has joined #nixos
<__monty__> How do I nix-shell an override? `-f .` isn't available to use with -p and nix-shell . -p complains and nix-shel . -A somePkg.override complains.
eraserhd has joined #nixos
<azazel> gchristensen: do you spare a lobste.rs invitation?
dukedave has joined #nixos
Izorkin has quit [Ping timeout: 244 seconds]
___laika has joined #nixos
r0bby has quit [Max SendQ exceeded]
r0bby has joined #nixos
mexisme has joined #nixos
r0bby has quit [Max SendQ exceeded]
Izorkin has joined #nixos
__monty__ has quit [Ping timeout: 258 seconds]
r0bby has joined #nixos
philipcristiano has quit [Ping timeout: 246 seconds]
savanni has quit [Ping timeout: 245 seconds]
savanni_ has joined #nixos
philipcristiano has joined #nixos
teozkr has quit [Ping timeout: 245 seconds]
hoijui has joined #nixos
ericsagnes has quit [Ping timeout: 264 seconds]
<vaibhavsagar> azazel: I can spare one if you send me a PM with your email address
mexisme has quit [Ping timeout: 252 seconds]
xnqg8h has joined #nixos
<azazel> vaibhavsagar: nice!
<adisbladis> Ohh actually I'd like one too :)
<vaibhavsagar> adisbladis: same deal
knupfer has joined #nixos
Izorkin has quit [Quit: ZNC 1.7.4 - https://znc.in]
Izorkin has joined #nixos
pietranera has quit [Quit: Leaving.]
teozkr has joined #nixos
domogled has joined #nixos
__monty__ has joined #nixos
orivej has joined #nixos
orbekk has joined #nixos
inquisitiv3 has quit [Ping timeout: 250 seconds]
ubert has quit [Quit: Leaving]
xnqg8h has quit [Remote host closed the connection]
<___laika> why would packages fail to build for nix-review but not via nix-build?
xnqg8h has joined #nixos
zupo_ has joined #nixos
nDuff has joined #nixos
Guanin has joined #nixos
hoijui has quit [Quit: Leaving]
freddie-freeload has joined #nixos
zupo has quit [Ping timeout: 245 seconds]
Hvitgar has joined #nixos
xnqg8h has quit [Quit: WeeChat 2.5]
webster23_ has joined #nixos
xnqg8h has joined #nixos
lambda-11235 has joined #nixos
<buckley310> is anyone else running gnome on nixos-unstable, and getting a ~30 second delay logging in?
enuiarte has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed to master « swiften, pypy: Mark as broken »: https://git.io/fjSXm
<__monty__> So, pass builds for me but pass-otp does not: http://ix.io/1Q4b How can I debug this?
<{^_^}> [nixpkgs] @primeos merged pull request #65392 → scons: 3.0.5 -> 3.1.0 → https://git.io/fjyJ2
<{^_^}> [nixpkgs] @primeos pushed 2 commits to staging: https://git.io/fjSX3
<{^_^}> [nixpkgs] @danielfullmer opened pull request #65605 → zerotierone: 1.2.12 -> 1.4.0 → https://git.io/fjSXs
fusion809 has quit [Remote host closed the connection]
lovesegfault has joined #nixos
enuiarte has quit [Ping timeout: 264 seconds]
kbZ has joined #nixos
<kbZ> too many nerds in here, tell ya'wat
<gchristensen> kbZ: welcome to #nixos! are you a new user?
<__monty__> The tests only fail on darwin apparently.
enuiarte has joined #nixos
<Neo--> I'm trying to debug a terraform provider but I'm not sure what's the best way to get the source code of the provider into the closure? I got it with src = fetchTarball { url = "file://path-to-tar-file"}; but there's probably a better way not involving first compressing and then re-compressing everything?
orivej has quit [Ping timeout: 272 seconds]
<Neo--> any suggestions?
<kbZ> Thanks Graham, I have tested just once with Nix, I'm a fan tho
srid has quit [Ping timeout: 246 seconds]
<clever> Neo--: src = ./path/to/source;
asheshambasta has quit [Ping timeout: 276 seconds]
Drakonis has joined #nixos
<vmandela> gchristensen, could you take a look at https://github.com/NixOS/nix/pull/2946 please ?
<{^_^}> nix#2946 (by vmandela, 6 weeks ago, open): installer: handle network proxy in systemd multi-user install
o1lo01ol1o has quit [Remote host closed the connection]
kiwi_85 has joined #nixos
<gchristensen> vmandela: yes =)
<Neo--> clever, ugh, so close yet so far... tried with string *blush* thanks!
<gchristensen> vmandela: I'm sorry this has been so painful
<{^_^}> [nixpkgs] @eadwu opened pull request #65606 → blender: 2.97b -> 2.80 → https://git.io/fjSXr
<vmandela> gchristensen, thats ok. everyones busy.
Izorkin has quit [Quit: ZNC 1.7.4 - https://znc.in]
<kiwi_85> Hi folks, silly thing but is https://github.com/ZeroK-RTS/Zero-K packaged in Nixpkgs?
<gchristensen> vmandela: one thing I've done since we last talked is moved my nix install matrix testing in to buildkite, so it is hopefully easier to test PRs, but the last step (actually being able to test a PR, and not just the current release) is not hooked up: https://buildkite.com/grahamc/nix-install-matrix/builds/32
<gchristensen> the second link is the outputted report
<infinisil> kiwi_85: Doesn't look like it
<mdash> kiwi_85: please contribute :-D
DariusTheMede has joined #nixos
<vmandela> gchristensen, so we wait until the PR testing is hooked up ? is the code change OK otherwise ?
DariusTheMede has quit [Ping timeout: 245 seconds]
palo has joined #nixos
noudle has joined #nixos
ambro718 has joined #nixos
FRidh has quit [Quit: Konversation terminated!]
<kiwi_85> mdash first I will spawn a VM with a traditional distro and check if that RTS is fun. I had troubles with searching for zero-k in Nixpkgs. Not very greppable term if we take into account Nixpkgs naming conventions.
<mdash> 'zero-k' is a perfectly reasonable name
<tilpner> kiwi_85: The engine appears to be packaged already, if that's any help
<lordcirth> It's pretty fun.
<tilpner> > :p map (p: p.meta.description) [ spring springLobby ]
<{^_^}> [ "A powerful real-time strategy (RTS) game engine" "Cross-platform lobby client for the Spring RTS project" ]
jtojnar has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @jonringer opened pull request #65607 → gopro: init at 1.0 → https://git.io/fjSXM
srid has joined #nixos
jtojnar has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed to master « k9copy, kpmcore: Mark as broken »: https://git.io/fjSX9
enuiarte has quit [Ping timeout: 264 seconds]
Jackneilll has quit [Remote host closed the connection]
ris has joined #nixos
kiwi_85 has quit [Remote host closed the connection]
bakakuna has joined #nixos
ddellacosta has joined #nixos
phreedom has quit [Ping timeout: 260 seconds]
ng0 has quit [Quit: Alexa, when is the end of world?]
Izorkin has joined #nixos
Izorkin has quit [Client Quit]
NinjaTrappeur has quit [Quit: WeeChat 2.5]
Drakonis is now known as drakonis
<{^_^}> [nixpkgs] @Lassulus merged pull request #64166 → suricata: init at 4.1.4 → https://git.io/fjKQc
<{^_^}> [nixpkgs] @Lassulus pushed commit from @magenbluten to master « suricata: init at 4.1.4 »: https://git.io/fjS1J
drakonis is now known as Drakonis
Drakonis is now known as drakonis
NinjaTrappeur has joined #nixos
Izorkin has joined #nixos
hmpffff has joined #nixos
hmpffff has quit [Client Quit]
Izorkin has quit [Client Quit]
Izorkin has joined #nixos
lpil has joined #nixos
bakakuna has quit [Ping timeout: 245 seconds]
<lpil> Hi friends. I'm following the nixops guide and after deploying a machine to digital ocean using the example I'm unable to make a HTTP request to the nginx server running on it from my laptop, though I can ssh in and make the request via the localhost loopback. Why might this be? https://nixos.org/nixops/manual/#sec-deploying-to-digital-ocean
phreedom has joined #nixos
zupo has joined #nixos
<samueldr> nixos has a firewall by default, looks like the example doesn't punch a hole for 443 or 80
<samueldr> nixos will not manage the firewall automagically, *except* for SSH, because it would be inconvenient otherwise
<lpil> makes sense, thank you very much :)
zupo_ has quit [Ping timeout: 268 seconds]
ng0 has joined #nixos
<lpil> Wow this is really slick.
<gchristensen> =)
<lpil> Seems that there's not much digital ocean support compared to AWS. Think they would welcome me adding some more resources?
ddellacosta has quit [Ping timeout: 258 seconds]
mexisme has joined #nixos
o1lo01ol1o has joined #nixos
<Izorkin> Please check PR #63355 and #65222
<{^_^}> https://github.com/NixOS/nixpkgs/pull/63355 (by Izorkin, 6 weeks ago, open): mariadb: 10.3.15 -> 10.3.16
<{^_^}> https://github.com/NixOS/nixpkgs/pull/65222 (by Izorkin, 1 week ago, open): mariadb: update packages
mexisme has quit [Ping timeout: 264 seconds]
Hvitgar has quit [Quit: Lost terminal]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
knupfer has quit [Ping timeout: 246 seconds]
<__monty__> How do I determine which of the two should have priority? http://ix.io/1Q5e
<asymmetric> is there a way to read a file into a string in nix?
<ottidmes> asymmetric: builtins.readFile?
<asymmetric> nvm found it, lib.strings.fileContents :)
<asymmetric> ottidmes: interesting, wonder why there are two functions doing the same thing
<ottidmes> asymmetric: the difference being the function you linked trims the trailing newline
<asymmetric> yeah.. doesn't seem like a difference big enough to warrant a new function though :)
<__monty__> asymmetric: Death by a thousand cuts?
<ottidmes> asymmetric: and yet I use both quite often, so I am happy for its existance
<asymmetric> ottidmes: good for you :) and thanks for the help!
noudle has quit []
<asymmetric> i would prefer using a function like removeSuffix in addition to builtins.readFile
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos
<{^_^}> [nixpkgs] @danieldk opened pull request #65608 → makemkv: modernize derivation → https://git.io/fjSMU
Shoubit has quit [Ping timeout: 258 seconds]
linarcx has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
freddie-freeload has quit [Ping timeout: 272 seconds]
waleee-cl has quit [Quit: Connection closed for inactivity]
mexisme has joined #nixos
asheshambasta has joined #nixos
inquisitiv3 has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
Diagon has quit [Quit: Leaving]
asheshambasta has quit [Ping timeout: 252 seconds]
inquisitiv3 has quit [Ping timeout: 250 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<__monty__> In resolving my problem I'm trying to set the priority for qtbase but `nix-env --set-flag priority 4 qtbase/qtbase-5/qtbase-5.12/qtbase-5.12.0/qtbase-5.12.0-bin` aren't working. How do I find the correct name to set the flag for? Setting it for the buildEnv I'm installing "linuxTools" doesn't seem to work because it's overriden again when installing that.
das_j has quit [Remote host closed the connection]
psyanticy has quit [Quit: Connection closed for inactivity]
das_j has joined #nixos
<{^_^}> [nixpkgs] @jslight90 opened pull request #65609 → nixos/sd-image-aarch64: update deprecated option → https://git.io/fjSMV
mexisme has quit [Ping timeout: 248 seconds]
ng0 has quit [Quit: Alexa, when is the end of world?]
knupfer has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace opened pull request #65610 → fractal: 4.0.0 -> 4.2.0 → https://git.io/fjSMQ
roconnor has quit [Quit: Konversation terminated!]
fendor_ has joined #nixos
<{^_^}> [nixpkgs] @nbardiuk closed pull request #65472 → vimPlugins.nvim-typescript: Init at 2019-07-27 → https://git.io/fjy2k
winem_ has joined #nixos
fendor has quit [Ping timeout: 245 seconds]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace opened pull request #65612 → xdg-desktop-portal: disable tests → https://git.io/fjSMp
nDuff has quit [Ping timeout: 245 seconds]
<eyJhb> How can I get nix-prefetch-url to use a file? I remember it as nix-prefetch-url file://filename.tar.gz, but that doesn'' work
o1lo01ol1o has quit [Ping timeout: 272 seconds]
mexisme has joined #nixos
knupfer has quit [Ping timeout: 244 seconds]
xkapastel has quit [Quit: Connection closed for inactivity]
jtojnar has quit [Ping timeout: 246 seconds]
<averell> absolute paths maybe? then 3 /s
<tilpner> eyJhb: nix-store should be able to do that somehow
<averell> ix-prefetch-url file:///$PWD/cudnn-9.1-linux-x64-v7.tgz
<averell> i pulled that from my history, maybe it works :)
jtojnar has joined #nixos
fendor_ has quit [Quit: Leaving]
mkoenig_ has joined #nixos
mkoenig has quit [Ping timeout: 245 seconds]
aleph- is now known as scruffy
srid has quit [Ping timeout: 272 seconds]
scruffy is now known as Gilfoyle-
vmandela has quit [Quit: Leaving]
DariusTheMede has joined #nixos
<m1cr0man> I think I managed to build a package for chronograf from source :)
<adisbladis> m1cr0man: \o/
Hail_Spacecake has quit [Remote host closed the connection]
Hail_Spacecake has joined #nixos
<m1cr0man> yea it's working :D awesome. Wow, that was so difficult though
<m1cr0man> yarn package in a go package
DariusTheMede has quit [Ping timeout: 244 seconds]
<adisbladis> Yeah the ergonomics of that in nixpkgs is currently..... Not great :)
<adisbladis> m1cr0man: Are you making a PR?
<m1cr0man> I will be yeah
<m1cr0man> The package is done, I still need to make the config half of it
Jackneill has joined #nixos
inquisitiv3 has joined #nixos
zupo has joined #nixos
<asymmetric> how would one write a systemd unit to start a bare python file? https://github.com/buildbot/buildbot-contrib/blob/master/master/contrib/github_buildbot.py
orivej has joined #nixos
<asymmetric> i tried using the #!/usr/bin/env nix-shell trick, but it doesn't work, as there's no nix-shell available within the derivation
<{^_^}> [nixpkgs] @matthewbauer merged pull request #65213 → pkgsStatic: improve usability → https://git.io/fjMgD
<{^_^}> [nixpkgs] @matthewbauer pushed 4 commits to master: https://git.io/fjSDD
<adisbladis> asymmetric: http://ix.io/1Q5x/nix
<adisbladis> Probably the simplest you can come up with
<adisbladis> Though it looks like you might want to use http://ix.io/1Q5y/nix
o1lo01ol1o has joined #nixos
<asymmetric> thank you all, i'll give them a try!
<asymmetric> adisbladis: what's a python env?
<adisbladis> asymmetric: Your python script depends on twisted
<{^_^}> [nixpkgs] @jonringer opened pull request #65613 → python3Packages.datatable: fix darwin build → https://git.io/fjSD7
<adisbladis> So we create a wrapped python binary that has twisted in its python path
<asymmetric> right
<asymmetric> do you know though what python.buildEnv does? found it in the manual but didnt' really understand
<clever> asymmetric: the example i linked is making such a wrapper as well
srid has joined #nixos
zupo has quit [Quit: Textual IRC Client: www.textualapp.com]
<adisbladis> asymmetric: It's doing the same thing
<adisbladis> Actually I believe withPackages is using buildEnv
Guanin has quit [Remote host closed the connection]
zupo has joined #nixos
drakonis has quit [Quit: Leaving]
fendor has joined #nixos
<fendor> ,locate mkDerivation
<{^_^}> Couldn't find in any packages
ottidmes has quit [Ping timeout: 244 seconds]
<adisbladis> Any Emacs users around who wants to help out testing a PR? https://github.com/NixOS/nixpkgs/pull/59189
<{^_^}> #59189 (by bendlas, 16 weeks ago, open): emacs-modes: replace melpa-generated with json format + updater in emacs lisp
fendor has quit [Quit: Leaving]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fendor has joined #nixos
<fendor> how does nix decide the package constraint resolution in haskell? does it use cabal or just whatever is currently in nixpkgs?
chloekek has quit [Ping timeout: 268 seconds]
<infinisil> fendor: It doesn't do any resolution, it just uses the (usually single) version available
<infinisil> And those are based on stackage if available, latest hackage if not
selfsymmetric-pa has joined #nixos
<fendor> infinisil, can I somehow tell it to use cabal for dependency resolution?
<infinisil> Nope, nix needs to know during evaluation what it should build
<fendor> couldnt i theoretically supply a freeze file then?
<infinisil> Well I guess you could write a hacky thing to solve the constraints, output a nix expression from that, and import it with IFD
<infinisil> Yeah you can do that
selfsymmetric-pa has quit [Remote host closed the connection]
<infinisil> (If there's a tool for that)
<infinisil> Or you could write Nix code that does constraint solving, but while the technically nicest way, it's a bit daunting..
<fendor> what else can you do if you have a lot of constraints?
inquisitiv3 has quit [Quit: Leaving]
andrewrk has left #nixos ["Leaving"]
<__monty__> fendor: Look at haskell.nix maybe.
Guest30790 has quit [Quit: WeeChat 2.4]
<infinisil> Or stack2nix if you're fine with writing a stack.yaml file
<infinisil> (not really any constraint solving happening then though)
<__monty__> Hmm, cabal2nix ignores cabal's constraints?
anon has joined #nixos
<infinisil> __monty__: Yeah completely
anon is now known as Guest84435
<infinisil> It just outputs an expression you can use with haskellPackages.callPackage
<fendor> infinisil, stack2nix is an alternative, thx!
alexoundos[m] has joined #nixos
Guest84435 has quit [Client Quit]
<__monty__> Also works with stack.
hmpffff has joined #nixos
<fendor> __monty__, wow, great, thx! will try my luck with that!
<fendor> is that more modern than cabal2nix? or how does it relate to the standard functions you have in nix?
<clever> fendor: and there is also #haskell.nix on freenode
<clever> fendor: cabal2nix will just translate a single cabal file into a single nix file, and ignores the if statements in the cabal file, and version constraints
<clever> fendor: haskell.nix translates the entire build plan, obeying things like your stack file, and translating cabal if statements into nix if statements
<clever> so you can tell haskell.nix your doing a windows build, and it will correctly apply the conditional deps in the cabal files
Czen has quit [Ping timeout: 258 seconds]
<fendor> clever, can nix cross compile to windows? 0.o why isnt that a default tool?
<clever> fendor: iohk wrote haskell.nix to support cross-compiling haskell to windows
<clever> fendor: the existing nixpkgs stuff at the time could cross-compile to windows, but didnt obey if statements in cabal files, so it tried to build unix packages for windows
___laika has quit [Read error: Connection reset by peer]
___laika has joined #nixos
ddellacosta has joined #nixos
<fendor> clever, really cool, thank you!
bakakuna has joined #nixos
kiloreux has joined #nixos
<bsima> can nixops be used in a multi-user setting? Last time I looked it was single-user only because of the central sqlite database
<clever> bsima: typically, i use it with a single user that everybody should ssh into before running nixops
asymptotically has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<kiloreux> Can I use yarn2nix without the source code of my app? https://github.com/moretea/yarn2nix
<kiloreux> Just to load the yarn dependencies?
<bsima> clever: sounds like how i've used salt in the past
<clever> kiloreux: as long as you have the package.json and yarn.lock, you should be able to
unacceptable has joined #nixos
<kiloreux> clever, from the example. It seems like they're only allowing mkYarnPackage which requires the source code. I couldn't find further docs or samples
xkapastel has joined #nixos
<azazel> bsima: for simple deployments you can also use a non nixops approach like https://github.com/azazel75/giskard-configuration
<clever> kiloreux: i think you just want mkYarnNix
zmlww has quit [Changing host]
zmlww has joined #nixos
<kiloreux> clever, it seems like it's used to generate the yarn.nix file. Thank you. How could I possibly use that file with other attributes to install it normally in a default.nix file?
<kiloreux> Would using callPackage be enough?
Sellerie has joined #nixos
<Sellerie> Hi, I have a question: I just found the install manual and wonder why systemd-boot is mandatory for efi targets, when grub also supports efi?
<ajs124> Sellerie: it isn't. You can use grub.
<clever> kiloreux: mkYarnModules may also be of use, mostly you just read https://github.com/moretea/yarn2nix/blob/master/default.nix#L223-L227, guess what functions do, build them, and see what the result is
<Sellerie> ajs124 thanks, according to the guide systemd-boot is set automatically
<ajs124> Sellerie: I opened the manual. Not sure why it says _must_ there. I personally prefer systemd-boot, but sometimes grub does come in handy.
<azazel> Sellerie: it's preset in the configuration.nix that is auto-generated in order to install into the system: that said, you will have to adapt it to your need....
<samueldr> Sellerie: systemd-boot isn't mandatory, though yes, the installation manual is misleading in that particular step
<{^_^}> [nixpkgs] @jtojnar opened pull request #65614 → Remove unneeded CMake flags → https://git.io/fjSSX
<clever> i prefer grub, its capable of more things
unacceptable has quit [Remote host closed the connection]
<ajs124> That's exactly what I like about systemd-boot. IMO for a bootloader, more is less. And I like bootctl.
bakakuna has quit [Ping timeout: 245 seconds]
linarcx has quit [Quit: WeeChat 2.5]
<Sellerie> As I share clever's view, I'd prefer to use grub. thanks for the info!
<clever> ajs124: until you need to use memtest86, or boot on legacy
<ajs124> Right, memtest86-efi still isn't in nixpkgs, is it?
winem_ has quit [Ping timeout: 264 seconds]
m0rphism has quit [Ping timeout: 268 seconds]
<ajs124> It actually looks like it is. So memtest shouldn't be a problem anymore @clever
<ajs124> boot.loader.systemd-boot.memtest86.enable exists :O when was that added?
<clever> ajs124: it may still need a nixos option, to add it to the sstemd-boot cfg
<clever> what???
<ajs124> ye. I never knew :D
unacceptable has joined #nixos
<Sellerie> I just got into the project. How long does it take for a person that is quite experienced with Linux to write a first config from scratch?
kiloreux has quit [Remote host closed the connection]
<averell> just a running config will not take long
<averell> you can tinker forever basically after that though
ericsagnes has joined #nixos
webster23_ has quit [Ping timeout: 264 seconds]
<__monty__> Hmm, nix-env just threw `error: cannot convert a function to JSON`. Why would nix convert a list (for a buildEnv) to JSON?
<azazel> Sellerie: "understanding NixOS" was for me a factor of two base problems: understanding how to configure a system using "configuration.nix" file ("man configuration.nix" is one of your friends) and learn how to use Nix language, coming mostly from an imperative language background
umachan has joined #nixos
<azazel> you can accomplish a basic knowledge on the former but you will not go far without knowing your way around the latter
<Sellerie> Well I thought about generating a config file tomorrow because I start a new job on thursday and I'd like to test that xD
<arcnmx> __monty__: lack of brackets around an override or something? or just something in the list isn't a derivation
Jackneill has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @primeos merged pull request #64258 → lsb-release: Fix/replace with a custom Bash script → https://git.io/fj6m8
<{^_^}> [nixpkgs] @primeos pushed to master « lsb-release: Fix/replace with a custom Bash script (#64258) »: https://git.io/fjSSF
<Sellerie> But in that case I'll probably just go with a "usual" distro at first I guess?
<averell> i think setting up your work machine with nixos is a bit risky, yes
<averell> because if for example something is not packaged, that will be a major roadblock
<Sellerie> Yeah that makes sense
<arcnmx> (as for why json, ugly builder)
<Sellerie> Especially when I have no experience with nix
knupfer has quit [Ping timeout: 272 seconds]
<averell> you can use it on top of your other distribution for a bit, or convert a server somewhere to experiment
unacceptable has quit [Remote host closed the connection]
<Sellerie> or a vm on my local machine?
<averell> yes, that is also easy
<__monty__> arcnmx: I was missing parens around a function and its argument. But why is JSON involved at all?
Jackneill has joined #nixos
<averell> that said i used it for work, and escaped to docker and such when stuff didn't work natively. but it's a timesink, so not ideal for a new job.
<arcnmx> contrast with say symlinkJoin which just takes a list of paths instead because all it does is lndir them all
<{^_^}> [nixpkgs] @jonringer closed pull request #63237 → pythonPackages.releases: init at 1.6.1 → https://git.io/fjaCc
unacceptable has joined #nixos
erasmas has quit [Quit: leaving]
<__monty__> arcnmx: So it's JSON to communicate the internal (to the c++ code) AST to perl parts of nix?
<arcnmx> __monty__: pretty much, since the alternative built into nix (just passing a space-separated string) isn't really able to provide structured data. Though if you look at the data that actually gets passed: https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/buildenv/default.nix#L71
<codedmart> How long does it usually take for updated merged into master to make it into the unstable branch?
<__monty__> ,howoldis
spacekookie has quit [Quit: **agressive swooshing**]
fionnan has quit [Ping timeout: 268 seconds]
<arcnmx> __monty__: *shrug* it's just using it to tag drv paths with a priority
spacekookie has joined #nixos
<__monty__> arcnmx: Thank you.
<arcnmx> I'm not sure if there's any reason it couldn't have just sorted the list by priority instead, but maybe it cares about failing out when same-priority items conflict o:
<gchristensen> spacekookie: nice quit message.
<spacekookie> gchristensen: :D Thanks
<{^_^}> [nixpkgs] @arcnmx opened pull request #65615 → bitwarden_rs: 1.9.0 -> 1.9.1 → https://git.io/fjS9U
Jackneill has quit [Remote host closed the connection]
fionnan has joined #nixos
<__monty__> Why would openssl-1.0.2s occur twice in a "these paths will be fetched?" http://ix.io/1Q6b
<__monty__> *With different hashes.
<arcnmx> *wild guess* bootstrap reasons for a fetcher maybe?
<clever> __monty__: run nix-diff on both .drv files
<arcnmx> or pulling in something external that pins nixpkgs, dunno, mm do that
Soo_Slow has quit [Ping timeout: 245 seconds]
thc202 has quit [Ping timeout: 250 seconds]
xnqg8h has quit [Ping timeout: 272 seconds]
Church- has quit [Ping timeout: 245 seconds]
xnqg8h has joined #nixos
<{^_^}> [nix] @steshaw opened pull request #3015 → nix-channel man: lib.nixpkgsVersion -> lib.version → https://git.io/fjS9g
<{^_^}> [nixpkgs] @JohnAZoidberg opened pull request #65616 → nixos/tests/cassandra: Test jmxPort → https://git.io/fjS92
justanotheruser has quit [Ping timeout: 268 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
Neo-- has quit [Ping timeout: 252 seconds]
<charukiewicz> Is there any way to specify a subdirectory of a git repository when using src = fetchgit { ... }?
abathur has joined #nixos
carloabelli has joined #nixos
<andi-> `sourceDir`
<arcnmx> there's sourceRoot = if you just want to do the build within a subdir... if you're trying to avoid excessive downloads though...
<andi-> ahh sourceRoot it is..
[Leary] has quit [Remote host closed the connection]
Lears has joined #nixos
<arcnmx> I like the fetchsvn with github approach but the real answer is there's not much better than maybe downloading release tarballs instead (like fetchfromgithub already does?)
__monty__ has quit [Quit: leaving]
<carloabelli> I'm having trouble with firefox using the proper ui font. Other GTK applications are picking up the font fine
<charukiewicz> arcnmx: is sourceRoot one of the args inside of the fetchgit record?
<charukiewicz> I'm getting anonymous function at /nix/store/vf7s8c1fyckvsi3wccd2kri3dl4msw80-source/pkgs/build-support/fetchgit/default.nix:15:1 called with unexpected argument 'sourceRoot'
<arcnmx> charukiewicz: it's a mkDerivation/stdenv argument
<arcnmx> it basically just tells the build to chdir into a subdir before running most configure/build/etc phases iirc
<charukiewicz> even at the top level of mkDerivation I'm getting 'unexpected argument sourceRoot'. is this a new argument? I'm on Nix 2.2.1 if it matters
<clever> charukiewicz: can you pastebin your expr?
carloabelli has quit [Quit: Leaving]
<arcnmx> oh, maybe it's new..? you could do things like preConfigure = "cd etc" instead
mbrgm_ has joined #nixos
<clever> charukiewicz: haskellPackages.mkDerivation behaves a little differently, one min
mbrgm has quit [Ping timeout: 264 seconds]
mbrgm_ is now known as mbrgm
<arcnmx> ah o:
<clever> pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix: postUnpack = "sourceRoot+=/cabal-install";
<charukiewicz> ah, makes sense
<clever> charukiewicz: you want to use postUnpack
<charukiewicz> clever: thanks! looks like that worked. I appreciate the help.
<clever> charukiewicz: i believe cabal2nix --subdir also does that for you
<charukiewicz> ah I think you're right: --subpath PATH Path to Cabal file's directory relative to the URI
<clever> charukiewicz: and that will do the postUnpack for you
thomashoneyman has joined #nixos
<thomashoneyman> hey folks! i've been having a bit of trouble with my 2015 Macbook Pro intermittently waking up from sleep and often getting quite hot; if not connected to power, this will happen until the laptop dies
<thomashoneyman> i've imported the 12,1 Macbook Pro hardware configuration from nixos-hardware
<thomashoneyman> but I'm continuing to see the issue
<thomashoneyman> anyone know of the right place to look in documentation for this?
xnqg8h has quit [Ping timeout: 245 seconds]
domogled has quit [Ping timeout: 272 seconds]
hio has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @marsam merged pull request #65590 → brakeman: 4.5.1 -> 4.6.1 → https://git.io/fjS0M
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjS9b
ambro718 has quit [Ping timeout: 258 seconds]
hyperfekt has joined #nixos
Edes has joined #nixos
<Edes> Hi, is there a way to compile stuff with esy using nixos
<Edes> or a converter like pip2nix
<simpson> I'm now inspired. Might it be possible to *run* a setup.py in a heavily-monkey-patched environment and generate the corresponding Nix.