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
iqubic has joined #nixos
<zacts> simpson: thanks, I'll check it out
wildtrees has quit [Quit: Leaving]
gagbo has quit [Ping timeout: 246 seconds]
_ris has quit [Ping timeout: 245 seconds]
day|flip has joined #nixos
jluttine has quit [Ping timeout: 245 seconds]
gagbo has joined #nixos
___laika has joined #nixos
<craige> Anyone seen an issue where a NixOS host reverts to a pre-nixops controlled state "automagically"? My Gopogle foo is failing me this morning.
stepcut has joined #nixos
hio has quit [Quit: Connection closed for inactivity]
mexisme has joined #nixos
<craige> It appears that the NixOS upgrade daemon is wiping out the nixops-installed setup.
testtest4 has joined #nixos
turbo_MaCk has joined #nixos
Drakonis has quit [Quit: WeeChat 2.4]
Drakonis has joined #nixos
<samueldr> oof, nixos upgrades through the daemon AFAIK don't know anything about nixops
<samueldr> just like if you ssh'd in and did a nixos-rebuild switch --upgrade it wouldn't know
* craige nods
<craige> Thanks samueldr - should probably disable it then.
<samueldr> I'm not a nixops user, don't know if nixops users have strategies for that
<craige> I've seen one attempt to copy a conf across. I'll dig deeper for strategies :-D
xkapastel has quit [Quit: Connection closed for inactivity]
<day|flip> I have not try to find away. im like samueldr but am a nixos user
<craige> It's rather unsettling to come back in and see your machine reverted each day. "Am I being prank hacked" :-)
Fare has joined #nixos
doyougnu has quit [Ping timeout: 272 seconds]
testtest4 has quit [Remote host closed the connection]
<romildo> bsima, it can not be that restrictive. Imagine a multi-user system with different users want different desktops. It should be possible to enable any number of desired desktops/window managers, and choose one at session login.
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjPRl
<ajs124> Seems like the hydra package doesn't build on unstable rn, because its dependency perlPackages.EmailSender fails to build :(
<romildo> bsima, I have more than one enabled on my system, and it is just pantheon that is not working, giving the reported conflict: error: The unique option `networking.networkmanager.basePackages.modemmanager' is defined multiple times
doyougnu has joined #nixos
<romildo> bsima, I think it is an issue to be fixed.
<lopsided98> Does "nix-store --repair" actually work? I ran into some disk corruption, and running "sudo nix-store --verify --repair --check-contents" doesn't seem to fix anything
orivej has joined #nixos
<lopsided98> Manually deleting the path with "nix-store --delete --ignore-liveness" and then redownloading it with "nix-store -r" does work
<lopsided98> Repairing an individual path doesn't work either
<{^_^}> [nixpkgs] @ryantm merged pull request #64602 → treewide: fix redirect URLs → https://git.io/fjP8v
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fjPR0
gagbo has quit [Ping timeout: 248 seconds]
gagbo has joined #nixos
doyougnu has quit [Ping timeout: 258 seconds]
<SebastianHasler[> lopsided98: nix-store --delete --ignore-liveness can destroy your system on NixOS.
___laika has quit [Ping timeout: 268 seconds]
Chiliparrot has quit [Ping timeout: 252 seconds]
<lopsided98> SebastianHasler[: I know, but fixing any issues it causes is no more work than transferring the disk to another machine to fix the corruption because --repair does not work
<day|flip> SebastianHasler[: i learn the hardway. done it once
<lopsided98> Either way I need to repair the system from another machine, so I'll take the risk while testing
___laika has joined #nixos
<SebastianHasler[> That is, you might need to boot into the installer
<lopsided98> SebastianHasler[: This is an aarch64 machine, so there is no installer
<hpfr[m]> Hello, I’m trying to boot the graphical iso, but starting the display manager fails. Systemctl status display-manager shows a log where it restarts after 200ms, but then says the start request repeated too quickly and says failed to start X11 server. Any ideas? I’m on an RTX GPU and a 1440p display. Tried nomodeset as well as nouveau.modeset=0
<day|flip> why not try nouveau.modeset=1 make sure you are using nouveaufb
___laika has quit [Ping timeout: 272 seconds]
slack1256 has joined #nixos
romildo has quit [Quit: Leaving]
Rusty1 has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/70b6df196a1 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
___laika has joined #nixos
<hpfr[m]> How can I determine if I’m using nouveaufb? dmesg | grep nouveau returns nothing other than the parameter I set
gagbo has quit [Ping timeout: 245 seconds]
<day|flip> dmesg | grep fb
<day|flip> other wise vesa is your only option if you want gui
gagbo has joined #nixos
<hpfr[m]> I get several lines, looks like it’s using efifb
<day|flip> nixos iso is free drivers. so. i wonder why nouveau is not added?
turbo_MaCk has quit [Ping timeout: 268 seconds]
<hpfr[m]> So I’m pretty much stuck with the command line installer then
<day|flip> it not that bad. you don't really have to chroot\
sigmundv has quit [Ping timeout: 244 seconds]
<hpfr[m]> That’s fine tbh I prefer the cli installers but I do like to use gparted out of paranoia
<day|flip> it more like installing arch without a cli
<atlas_> gparted is nice but fdisk is cool too
<atlas_> better than parted imo
<day|flip> i like fdsik
<day|flip> disk
<day|flip> fdisk*** bla
<atlas_> why don't more people use nixos? I haven't even started looking at it (I've been reading the docs on and off) and it already sounds awesome
<hpfr[m]> I prefer fdisk too for simple installs but I need to move my windows partition to enlarge my efi partition, that’s actually the only reason I was gonna use the graphical installer. Guess it’s back to Linux mint for gparted
<hpfr[m]> Linux mint iso*
<day|flip> installing it on the gui is no different from installing from cli. it just you can look at browser at the same your on the terminal
noudle has quit []
<hpfr[m]> Yeah I just was hoping I could use one iso that had gparted
<day|flip> but ya. it not to hard to install. if you know how to make your own partition. heads up. your want to make a partition for /nix/store
<atlas_> I still pretty much live inside the terminal when I have a graphical environment, but I do like graphical installers. Especially when I'm just checking out a distro
<atlas_> day|flip: thanks, I'll remember that
<day|flip> like around 30GB for /nix/store and 5GB /
<atlas_> /nix/store is where everything gets installed?
<day|flip> ya
<hpfr[m]> That’s just the equivalent of having a separate home partition tho right
sb0 has joined #nixos
<hpfr[m]> Just separating / and /home for handling breakage but instead of / it’s /nix/store
<day|flip> i feel like 10GB root is like way to much
<day|flip> got my /nix/store to 20gb before cleaning it up
<day|flip> other people here are maxing it out with 50GB
<Ralith> I would not recommend making separate partitions on new systems
<atlas_> so / is like /home?
<day|flip> idk why glances show two /nix/store even though it one
<hpfr[m]> <day|flip "https://imgur.com/a/AozhwjI"> What’s the benefit of a separate partition for /nix/store, nothing in the manual about that
<atlas_> Ralith: why not? I recommend separate / and /home partitions for arch installs. IDK about NixOS
<day|flip> hpfr[m]: for me. i had 20GB for / and felt like there was no space at all
<hpfr[m]> / is the root partition like any other Linux os @atlas, i just thought the separation of /nix/store was the same intention as separating root
<Ralith> because on a reliable filesystem it does not confre a meaningful benefit, and you will almost inevitably find you have allocated too little space for something and be in a world of pain
<Ralith> confer*
<day|flip> i keep hitting near max useage
<jcrd> yes, what's the benefit of separate partitions. it's unnecessary complication
<atlas_> well, I usually don't fill up my 2tb disk anyway, and most of it is Windows
jluttine has joined #nixos
<day|flip> at this point. i gotten so used to it. it been the norm for me
<Ralith> you're just making trouble for yourself
<hpfr[m]> Yeah, I’ve never separated root and home either because of the space issue and since my home is backed up
<day|flip> idk. i have not pull my hair out yet
<jcrd> especially on a single user system separate home and root isn't worth it
<day|flip> if you think im crazy for having 5 partition. be my guess. just do it they way you want. make a 40gb root and rest in home. i don't care
<Ralith> I don't think you're crazy, but I do think maybe you shouldn't be recommending that approach to new users
<day|flip> nixos is not really for noobie to linux distro.
<day|flip> hell. if your not a coder. like i. but have background to using window manager like dwm, awesome, and xmonad. by all means. give it a shot
deech has joined #nixos
<day|flip> nixos have been a very stable distro for me. and one the most painless upgrade to new releases. it is a good distro try. but understand that it not really ment for noobie to linux. im sure it can be done. but the headache will be real. and it is up to that person to understand the basic of configuration.nix
___laika has quit [Ping timeout: 258 seconds]
<day|flip> but i will take nix over playing wack-a-mole with gentoo portage any day of the week.
kiloreux_ has quit [Remote host closed the connection]
ensyd_ has joined #nixos
pareidolia has quit [Ping timeout: 248 seconds]
npmccallum has quit [Quit: npmccallum]
acowley has quit [Ping timeout: 258 seconds]
pareidolia has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer pushed to add-emacs-zmq « emacs: add zmq package »: https://git.io/fjP0a
acowley has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer opened pull request #64612 → emacs: add zmq package → https://git.io/fjP0w
stepcut has quit [Remote host closed the connection]
___laika has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #64588 → nixos/libinput: use `types.lines` for additionalOptions → https://git.io/fjPcK
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjP0y
Fare has quit [Ping timeout: 258 seconds]
qubasa has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
mumuluxi has quit [Quit: ZNC 1.7.3 - https://znc.in]
wucke13 has quit [Quit: ZNC 1.7.3 - https://znc.in]
qubasa has joined #nixos
layus has quit [Quit: ZNC 1.7.3 - https://znc.in]
mumuluxi has joined #nixos
wucke13 has joined #nixos
layus has joined #nixos
andi- has quit [Remote host closed the connection]
phreedom_ has quit [Quit: No Ping reply in 180 seconds.]
phreedom has joined #nixos
Fare has joined #nixos
andi- has joined #nixos
deech has quit [Ping timeout: 246 seconds]
Pneumaticat has left #nixos ["User left"]
alp has quit [Remote host closed the connection]
gagbo has quit [Ping timeout: 272 seconds]
gagbo has joined #nixos
monotux has quit [Quit: WeeChat 2.4]
monotux has joined #nixos
jkachmar has quit [Quit: Connection closed for inactivity]
lsyoyom has quit [Ping timeout: 246 seconds]
gagbo has quit [Ping timeout: 245 seconds]
gagbo has joined #nixos
lsyoyom has joined #nixos
ilikeheaps has quit [Ping timeout: 248 seconds]
sushi_ has joined #nixos
Dagger has quit [Excess Flood]
Dagger has joined #nixos
gagbo has quit [Ping timeout: 248 seconds]
gagbo has joined #nixos
sb0 has quit [Quit: Leaving]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/0ad1b80a3b1 (from 85 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
kvda has quit [Ping timeout: 248 seconds]
Supersonic has quit [Ping timeout: 252 seconds]
mexisme has quit [Ping timeout: 246 seconds]
<_deepfire> haskellPackages.category still broken..
<_deepfire> for some reason, the build skips straight to building code, skipping the cabal configure phase
<_deepfire> ..predictably failing due to missing modules, that weren't made available
Supersonic has joined #nixos
<_deepfire> https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/haskell-modules/generic-builder.nix#L352 is the last line I see, before it proceeds building Prelude.hs
<atlas_> do you guys use a terminal dashboard for things like checking up on github, your servers, weather, etc? I just recently found https://wtfutil.com/ and I wonder if anyone else knows of a better version
jgt has joined #nixos
kvda has joined #nixos
jgt has quit [Ping timeout: 252 seconds]
<kvda> Why are nix packages getting installed with 1 Jan 1970 date?
mexisme has joined #nixos
gagbo has quit [Ping timeout: 246 seconds]
<eeva> kvda: to make sure the packaging procedure does not depend on the current date
<eeva> Anyone to merge https://github.com/NixOS/nixpkgs/pull/64584 ? Seems straightforward (and already reviewed once)
<Cale> kvda: Because it's important for the sake of purity that nothing depend on the precise time those files got written -- the things in the nix store on your machine should be identical to the corresponding things on anyone else's
<{^_^}> #64584 (by jpotier, 12 hours ago, open): bitlbee-mastodon: init at 1.4.2
gagbo has joined #nixos
<Cale> kvda: Otherwise, you might end up with things whose hash was suddenly different due to depending on those dates, and you'd end up rebuilding them rather than obtaining them from a cache for instance
<kvda> Ah gotcha. It was failing my python wheel builds.
<kvda> I found a workaround by specifying SOURCE_DATE_EPOCH=315532800
ilya-fedin has quit [Quit: Connection closed for inactivity]
mexisme has quit [Ping timeout: 245 seconds]
ilya-fedin has joined #nixos
Yakulu has joined #nixos
Yakulu has left #nixos ["Disconnected: Replaced by new connection"]
Yakulu has joined #nixos
Drakonis has quit [Quit: WeeChat 2.4]
ericsagnes has quit [Ping timeout: 276 seconds]
dftxbs3e has quit [Ping timeout: 252 seconds]
orivej has quit [Ping timeout: 268 seconds]
mthst- has quit [Ping timeout: 268 seconds]
Rusty1 has quit [Quit: Konversation terminated!]
Fare has quit [Quit: Leaving]
abbiya has joined #nixos
m0rphism has joined #nixos
ym555_ has joined #nixos
___laika has quit [Ping timeout: 245 seconds]
ym555 has quit [Ping timeout: 272 seconds]
Izorkin has quit [Quit: ZNC 1.7.4 - https://znc.in]
ym555 has joined #nixos
Izorkin has joined #nixos
ym555_ has quit [Ping timeout: 246 seconds]
petersjt014 has joined #nixos
palo1 has joined #nixos
endformationage has quit [Quit: WeeChat 2.5]
<petersjt014> I'm trying to use binfmt to cross-compile aarch64 like it's described here, but I can't tell what files to put where. anyone know?
Ariakenom has joined #nixos
<petersjt014> there's some overlay-oriented voodoo that I can't quite get my head around
Ridout has quit [Ping timeout: 248 seconds]
palo has quit [Ping timeout: 248 seconds]
palo1 is now known as palo
fresheyeball has quit [Quit: WeeChat 2.4]
<clever> petersjt014: add qemu.nix to your imports, and then qemu-user.aarch64 = true;
<clever> oh, the wiki links to that, lol :D
<clever> petersjt014: what error is it giving?
<petersjt014> none yet--I'm been going in circles trying to determine what files go where really
<clever> petersjt014: just git clone the entire repo, and do imports = [ /path/to/qemu.nix ];
<clever> and the relative paths within qemu.nix will just work
gagbo has quit [Ping timeout: 268 seconds]
<petersjt014> to /etc/nixos/ (and removing all the non-qemu stuff)?
<clever> anywhere
sevanspowell has joined #nixos
<clever> you can leave the other files in the dir
<{^_^}> [nixpkgs] @cw789 opened pull request #64614 → gocryptfs: 1.6.1 -> 1.7 → https://git.io/fjPu2
<sevanspowell> How do I nix-copy a haskell derivation to a binary cache?
gagbo has joined #nixos
___laika has joined #nixos
<petersjt014> cachix is the easiest experience I've had with that
<petersjt014> cachix.org
<petersjt014> it has a basic push command for this
<petersjt014> but for a server-oriented situation nix-copy-closure would probably be what you're looking for
day|flip has quit [Remote host closed the connection]
slack1256 has quit [Ping timeout: 248 seconds]
<petersjt014> also sevanspowell: the man page for nix-store. It has a --serve option that might also be relevant to you
<sevanspowell> Thanks, I'm just looking to copy it to a local location. `nix copy --to file:///tmp/cache $(type -p chromium)` works great for a nixpkgs, but I don't know how to "namespace" this to a haskell package
<clever> sevanspowell: nix copy can work on any storepath, including haskell packages
ericsagnes has joined #nixos
Ariakenom has quit [Quit: Leaving]
gagbo has quit [Ping timeout: 245 seconds]
<petersjt014> wait, does type follow symlinks? I've been doing stuff like readlink `type cat`
gagbo has joined #nixos
<petersjt014> hm, no manpage
<clever> petersjt014: type is part of bash, `help type` or `man bash`
<sevanspowell> clever: thank you
<petersjt014> man type doesnt work for me, but help type and type --help do
<petersjt014> huh, weird
<clever> petersjt014: `type type` reveals its part of bash
<clever> so its in the bash man page
<clever> `help` also only works on bash internals, so `help type` works
<petersjt014> ah
<petersjt014> I see
cr4y1 has quit [Remote host closed the connection]
<petersjt014> welp I'm trying what you suggested rn
<petersjt014> and It's compiling 997 C files
<petersjt014> *visible nervousness*
<clever> petersjt014: it needs a static build of glib to work right
<petersjt014> I haven't been this nervous over something compiling since I tried to do some x-compile stuff with llvm
<petersjt014> took ages, even on my shiny nvme machine
gagbo has quit [Ping timeout: 244 seconds]
gagbo has joined #nixos
<petersjt014> ...or it'll just finish rn. Pleasant surprise I guess
___laika has quit [Ping timeout: 248 seconds]
sushi_ has quit [Ping timeout: 246 seconds]
<clever> nix-build '<nixpkgs/pkgs/stdenv/linux/bootstrap-files/aarch64.nix>' -A busybox -o sh
<clever> petersjt014: this will fetch the aarch64 busybox, and create a symlink called sh pointing to it
<clever> ./sh will run it
<clever> file -L sh` will show its aarch64
<{^_^}> [nixpkgs] @etu merged pull request #64590 → fzf: 0.17.5 -> 0.18.0 → https://git.io/fjPcb
<{^_^}> [nixpkgs] @etu pushed 2 commits to master: https://git.io/fjPuh
ajirx has joined #nixos
<petersjt014> hm..interesting. I'll take a look later--rn I need a bit o' sleep
<petersjt014> but my x-comp build is past the test it failed earlier w/o qemu-arm, so thanks
<clever> busybox is mainly just a quick&dirty way to test qemu-user
ashesham` has joined #nixos
<petersjt014> good to know. anyway I gotta get off now. cya!
petersjt014 has left #nixos ["WeeChat 2.5"]
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/ecc64b374b2 (from 12 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
slack1256 has joined #nixos
wfranzini has joined #nixos
alp has joined #nixos
PLPD-Bot has quit [Remote host closed the connection]
<hpfr[m]> Rebuilding my first config and it says I can’t use network manager with wireless?
<{^_^}> [nixpkgs] @etu merged pull request #64589 → tdesktop: 1.7.10 -> 1.7.14 → https://git.io/fjPcF
<{^_^}> [nixpkgs] @etu pushed 2 commits to master: https://git.io/fjPzY
jgt has joined #nixos
cfricke has joined #nixos
slack1256 has quit [Ping timeout: 248 seconds]
<hpfr[m]> Oh I thought the wireless option was just to enable wireless interfaces not manage them, how could i use networkmanager and disable wireless then
rauno has joined #nixos
lucasvo_3 has joined #nixos
gagbo has quit [Ping timeout: 272 seconds]
gagbo has joined #nixos
Thra11 has joined #nixos
Jackneill has joined #nixos
lucasvo_3 has quit [Remote host closed the connection]
<clever> hpfr[m]: network manager handles wireless itself, which conflicts with networking.wireless.enable
bakakuna has joined #nixos
<hpfr[m]> Yeah I misunderstood the wireless option, do I disable the wireless interface via networkmanager then
<clever> hpfr[m]: depends on if you want to manage it with networkmanager, or raw wpa_supplicant.conf
abbiya has quit [Quit: abbiya]
abbiya has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/9c04b1c3da7 (from 61 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
hio has joined #nixos
Thra11 has quit [Ping timeout: 245 seconds]
mexisme has joined #nixos
peel has joined #nixos
mexisme has quit [Ping timeout: 250 seconds]
PLPD-Bot has joined #nixos
orivej has joined #nixos
FRidh has joined #nixos
nakkle has joined #nixos
<{^_^}> [nixpkgs] @FRidh closed pull request #60119 → qt 5.12.0 -> 5.12.3 WIP → https://git.io/fj39l
<{^_^}> [nixpkgs] @FRidh pushed 60 commits to staging-next: https://git.io/fjPzA
<{^_^}> [nixpkgs] @FRidh pushed 63 commits to staging: https://git.io/fjPzp
___laika has joined #nixos
sigmundv has joined #nixos
ericsagnes has quit [Ping timeout: 264 seconds]
hmpffff has joined #nixos
hmpffff has quit [Client Quit]
<{^_^}> [nixpkgs] @FRidh merged pull request #64604 → zpaq: fix version and pull from github → https://git.io/fjP8c
<{^_^}> [nixpkgs] @FRidh pushed commit from @jonringer to master « zpaq: fix version and pull from github »: https://git.io/fjPgU
ericsagnes has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #64583 → clair: 2.0.7 -> 2.0.8 → https://git.io/fjPcm
<{^_^}> [nixpkgs] @FRidh pushed commit from @xrelkd to master « clair: 2.0.7 -> 2.0.8 »: https://git.io/fjPgI
gagbo has quit [Ping timeout: 248 seconds]
gagbo has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #64571 → nvidia_x11: 430.26 -> 430.34 → https://git.io/fjPsR
<{^_^}> [nixpkgs] @FRidh pushed commit from @eadwu to master « nvidia_x11: 430.26 -> 430.34 »: https://git.io/fjPgm
orivej has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @FRidh merged pull request #64568 → flashplayer: 32.0.0.207 -> 32.0.0.223 → https://git.io/fjP3V
<{^_^}> [nixpkgs] @FRidh pushed commit from @taku0 to master « flashplayer: 32.0.0.207 -> 32.0.0.223 »: https://git.io/fjPgO
<{^_^}> [nixpkgs] @FRidh merged pull request #64558 → acpica-tools: 20190509 -> 20190703 → https://git.io/fjPkX
<{^_^}> [nixpkgs] @FRidh pushed commit from @xrelkd to master « acpica-tools: 20190509 -> 20190703 »: https://git.io/fjPgG
knupfer has joined #nixos
veske has joined #nixos
veske has quit [Client Quit]
veske has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #64438 → pythonPackages.msrest: 0.6.7 -> 0.6.8 → https://git.io/fjiEW
<{^_^}> [nixpkgs] @FRidh pushed commit from @jonringer to master « pythonPackages.msrest: 0.6.7 -> 0.6.8 »: https://git.io/fjPgl
hmpffff has joined #nixos
mtp76 has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #64401 → pythonPackages.spacy: loosen dependency version bounds → https://git.io/fjiIG
<{^_^}> [nixpkgs] @FRidh pushed commit from @mattmelling to master « pythonPackages.spacy: loosen dependency version bounds »: https://git.io/fjPgB
<mtp76> Does anyone have idea howto force grub install into MBR?
<mtp76> I am using efi & cryptodisk and got into situation that grub tries uncrypt wrong partition
ym555 has quit [Quit: leaving...]
__monty__ has joined #nixos
<clever> mtp76: if you set boot.loader.grub.device = "/dev/sda" it will install to the MBR of sda
Makaveli7 has joined #nixos
turion has joined #nixos
Izorkin has quit [Ping timeout: 272 seconds]
<clever> mtp76: if sda is using gpt, you must also have a bios boot partition, 1mb, not formated, not mounted
Izorkin has joined #nixos
<turion> I've installed some Python packages declaratively via home manager. How do I find out which versions they are?
<mtp76> clever: I already have that... I'll try set different device rebuild and set it back and rebuild one more
<clever> mtp76: you can also force it without changing it back and forth
<clever> mtp76: nixos-rebuild --install-grub
<mtp76> clever: Oh cool that what I was looking for. thanks
<{^_^}> [nixpkgs] @FRidh merged pull request #64531 → cargo-xbuild: 0.5.12 -> 0.5.13 → https://git.io/fjixS
<{^_^}> [nixpkgs] @FRidh pushed commit from @xrelkd to master « cargo-xbuild: 0.5.12 -> 0.5.13 »: https://git.io/fjPgK
<{^_^}> [nixpkgs] @FRidh merged pull request #64436 → phpPackages.phpstan: 0.11.8 -> 0.11.12 → https://git.io/fjiBM
<{^_^}> [nixpkgs] @FRidh pushed commit from @etu to master « phpPackages.phpstan: 0.11.8 -> 0.11.12 »: https://git.io/fjPg6
<colemickens> I've got `make-disk-image.nix` using a custom nixpkgs, but it seems to still copy the system nixpkgs channel over? Even though I have NIX_PATH unset?
Shoubit has joined #nixos
<clever> colemickens: how did you make it use a custom nixpkgs?
lambda-11235 has quit [Quit: Bye]
<{^_^}> [nixpkgs] @FRidh merged pull request #64487 → lesspipe: 1.82 -> 1.83 → https://git.io/fji7m
<{^_^}> [nixpkgs] @FRidh pushed commit from @dtzWill to master « lesspipe: 1.82 -> 1.83 »: https://git.io/fjPg1
<{^_^}> [nixpkgs] @FRidh merged pull request #64481 → radiotray-ng: 0.2.5 -> 0.2.6 → https://git.io/fjiQl
<{^_^}> [nixpkgs] @FRidh pushed commit from @dtzWill to master « radiotray-ng: 0.2.5 -> 0.2.6 »: https://git.io/fjPgM
<turion> How do I list all packages installed by home-manager?
<clever> turion: nix-store -qR ~/.nix-profile
<colemickens> clever: I built a function called mkAzureImage and then call it with a specific nixpkgs: https://github.com/colemickens/nixpkgs/blob/azure/nixos/maintainers/scripts/azure/azure-images-src.nix
<colemickens> Originally I was using an official upstream git commit, which obviously wouldn't include my local changes.
<turion> clever: Awesome, thanks!
<colemickens> But I've added a new "local" variant that at the very least caused Nix to download all newer packages, which I think are in the image....
<colemickens> but changes I made to nixos/virtualisation/azure-common.nix aren't present in the resulting image.
<clever> colemickens: looking...
<clever> colemickens: make-disk-image.nix is meant to be opened with callPackage, and that will supply most of the args for you
<clever> pkgs/lib for ex
<cizra> Hi! How do I see the dependency graph of my packages?
<clever> colemickens: also, i think you want (nixpkgs + "/nixos/lib/make-disk-image.nix") to make it obey the right nixpkgs version
<clever> cizra: nix-store --query --tree /nix/store/foo
thc202 has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #64504 → libdrm: 2.4.98 -> 2.4.99 → https://git.io/fjidW
<{^_^}> [nixpkgs] @FRidh pushed commit from @dtzWill to staging « libdrm: 2.4.98 -> 2.4.99 »: https://git.io/fjPg7
<cizra> clever: Thanks!
___laika has quit [Ping timeout: 245 seconds]
knupfer has quit [Remote host closed the connection]
<cizra> clever: Hm, no, I'd like to see what depends on /nix/store/foo, ie. what I need to uninstall to get rid of the offending package.
<clever> cizra: nix-store --query --roots /nix/store/foo
<cizra> clever: Thanks!
knupfer has joined #nixos
knupfer has quit [Client Quit]
<clever> cizra: and also nix why-depends /some/root /nix/store/fat-package
knupfer has joined #nixos
<clever> cizra: to see why a given root depends on something
<colemickens> clever: I'm sorry to have wasted your time. The image is actually fine, I had "rebuilt" both images and then grabbed the last url, which was still the 19.03 nixpkgs commit.
<colemickens> I've booted a new instance of my latest0 revision and it includes the local nixpkgs/nixos changes I expected. :)
najibpuchong has quit [Quit: Leaving]
Ariakenom has joined #nixos
<clever> colemickens: ah
<cizra> clever: Ahh, yeah, that gave what I wanted. Steam depends on Mono, and Mono hogs disk space like crazy. I had to enlarge the / partition AGAIN.
Ariakenom has quit [Remote host closed the connection]
<clever> cizra: another factor, is that you might have 6 copies of mono, from rollbacks
<clever> cizra: so you can check each mono, and see which one you can maybe GC
<cizra> Repeating yesterday's question, maybe somebody has bright ideas: How can I inject an environment variable to games launched via Steam? I think something unsets $LOCALE_ARCHIVE and so some programs can't find my en_US.UTF-8 locale, falling back to C. Half-Life: Source is affected but still runs. Torchlight 2 fails to start because of missing locales. < infinisil> It might be the buildFHSUserEnv thing that
<clever> [root@amd-nixos:~]# nix-env --profile /nix/var/nix/profiles/system --list-generations
<cizra> clears it
<clever> [root@amd-nixos:~]# nix-env --profile /nix/var/nix/profiles/system --delete-generations 505
<clever> removing generation 505
deech has joined #nixos
<cizra> clever: I'll just run nix-collect-garbage -d every now and then, that should do the trick, right?
<clever> cizra: these 2 commands let you safely remove a single generation of system
<clever> `nix-collect-garbage -d` just deletes EVERY generation your not using
<clever> depends on if you want to keep some undo's available or not
<cizra> clever: I store checkpoints under another prefix.
<clever> cizra: i also prefer zfs, because / and /home share the free space, and i dont have to resize things constantly
<dminuoso> Here's a question.. so Ive been compiling the linux kernel for 20-30 minutes now and I kind of need to restart my display manager - but I dont want to recompile all over from scratch.
<dminuoso> What does nix/nixos have in its toolbag to cache intermediate object files?
<cizra> Huh, is ZFS good on Linux, these days?
<clever> dminuoso: thats only possible if the nix-build is running under something like screen
<cizra> cool. BtrFS has eaten my data a couple of times.
<etu> cizra: Good enough for FreeBSD to rebase their ZFS on ZoL
<dminuoso> clever: Oh yeah, that occured to me as well. But I was really actually wondering about caching instead, because if I made slight changes to the source code, it would take ages all over again.
<clever> cizra: zfs on nixos is somewhat better then other distros, the modules just automatically deal with building out-of-tree kernel stuff, and the kernel has even been patched to support zfs, which some other distros arent doing
<dminuoso> Wouldn't it?
<cizra> etu: But that's FreeBSD, right. Do they share code with Linux?
<clever> dminuoso: nix cant cache a partial build, and will start over from the begining
<{^_^}> [nixpkgs] @FRidh merged pull request #64351 → fix: #64340 building python wheels in non-standard store → https://git.io/fj6dI
<cizra> Anyway, I'll give it a spin, some day.
<{^_^}> [nixpkgs] @FRidh pushed commit from @cdyson37 to master « fix: #64340 building python wheels in non-standard store »: https://git.io/fjP2f
<etu> cizra: Yes, that's what I just said.
<dminuoso> clever: What do nix maintainers have in their toolbag to make it less painful? I mean if Im working on something as large as qt, it'd be braindamaging to wait an hour every time I make a change.
<dminuoso> Or is it just "don't make mistakes and get it right on your first patch"?
<clever> dminuoso: building the package under nix-shell lets you keep the intermediate files, but it cant install to /nix/store/
<dminuoso> clever: Ah mmm. So in case of the linux kernel I could just copy the kernel over to /boot manually until I have the right patchset and then switch back to a nixos workflow?
<dminuoso> (from within the nix-shell)
<{^_^}> [nixpkgs] @FRidh merged pull request #55989 → Add optional Jupyter kernelspec options from the spec → https://git.io/fh5Fe
<{^_^}> [nixpkgs] @FRidh pushed commit from @thomasjm to master « Add optional Jupyter kernelspec options from the spec (#55989) »: https://git.io/fjP2k
<clever> dminuoso: i would just boot it under qemu in that kind of situation
<dminuoso> Mmm, Im not sure whether that'd even work because Im working on drivers for hardware built into this laptop. :)
jasongrossman has joined #nixos
<clever> dminuoso: ah, you dont even have to reboot then, sometimes
<clever> dminuoso: just rmmod ; insmod
<dminuoso> clever: Oh. Heh. Yeah there's that.
* dminuoso doesn't usually hack on the kernel, so not much workflow experience
<clever> dminuoso: so you just nix-shell into the kernel, make oldconfig after copying it over from /proc/config.gz, and them `make modules` to build the modules
<clever> then just unload and reload until it works, or the machine crashes hard due to a silly typo
hmpffff has quit [Quit: nchrrrr…]
<clever> when you reboot, just re-run nix-shell, make modules, and continue
<dminuoso> clever: Mind a last question, how do I nix-shell into the linux kernel inside nixpkgs?
<dminuoso> For a regular nix derivation it'd be very clear, but Im really not sure about the whole nixpkgs thing.
<dminuoso> Ah perfect!
<dminuoso> clever: Thank you for the pointer, I should reread the nix manuals it seems. You have been very helpful, thanks.
<clever> it can be confusing to have the info split over 4 manuals
<clever> nix, nixpkgs, nixos, nixops
deech has quit [Ping timeout: 246 seconds]
knupfer has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @teto merged pull request #64468 → saml2aws: 2.10.0 -> 2.15.0 → https://git.io/fjiSe
<{^_^}> [nixpkgs] @teto pushed commit from @pmyjavec to master « saml2aws: 2.10.0 -> 2.15.0 »: https://git.io/fjP24
mtp76 has quit [Quit: Lost terminal]
alp has quit [Remote host closed the connection]
alpounet has joined #nixos
<Taneb> Hmm, ghc-8.8 doesn't seem to work properly in nixpkgs (not the end of the world, it's in alpha)
<{^_^}> [nixpkgs] @petabyteboy opened pull request #64616 → cyrus_imapd: init at 3.0.11 → https://git.io/fjP2E
cransom has quit [Quit: WeeChat 2.4]
aswanson has quit [Quit: WeeChat 2.4]
<hpfr[m]> It seems like my .profile is not running on login. None of my environment variables are present
<hpfr[m]> Nvm found that .profile isn’t sourced when starting an x session for some reason
<clever> hpfr[m]: ive found it a bit confusing, one file is sourced on login shells, another is source for non-login shells
<clever> hpfr[m]: nixos also has dedicated options to set env vars for you
hmpffff has joined #nixos
<hpfr[m]> Yeah, I’ll be going back to xinit over a dm and once I figure that out it won’t be an issue
<hpfr[m]> I saw some stuff about setting env cars in configuration.nix but that doesn’t make sense to me, stuff like $TERMINAL is per user
<hpfr[m]> *vars
ThatDocsLady has joined #nixos
Chiliparrot has joined #nixos
dansho has quit [Quit: Leaving]
bakakuna has quit [Read error: Connection reset by peer]
bakakuna has joined #nixos
ilmu has joined #nixos
psyanticy has joined #nixos
Okinan has joined #nixos
<__monty__> There's also a .xprofile or something along those line.
<tdeo> how does nixpkgs bootstrap itself? is it possible to build nixpkgs without the cache being available?
orivej has joined #nixos
<tdeo> quite interesting
<__monty__> tdeo: Yes, nix downloads sources and builds if anything's not in the cache.
mexisme has joined #nixos
<__monty__> Though my knowledge doesn't apply if you're talking about nix itself.
<tdeo> so there's a prebuilt stdenv for each supported architecture, which then builds 4 other ones until it gets to a point where it doesn't depend on any of the original stuff
___laika has joined #nixos
mexisme has quit [Ping timeout: 250 seconds]
<Taneb> Why does nix why-depends need to build anything if I pass in two .drv's
ng0 has joined #nixos
<clever> Taneb: thats a bug that has been fixed in the latest nix
<Taneb> clever: ah, so I'm going to need to update nix. Are there instructions for doing that on multi-user nix-on-other-linux?
<clever> Taneb: i dont think the fix has hit nixpkgs yet, so its simplest to just wait
<Taneb> OK
bakakuna has quit [Quit: bakakuna]
bakakuna has joined #nixos
bakakuna has quit [Client Quit]
bakakuna has joined #nixos
gagbo has quit [Ping timeout: 268 seconds]
___laika has quit [Ping timeout: 245 seconds]
gagbo has joined #nixos
jackdk has quit [Quit: Connection closed for inactivity]
civodul has joined #nixos
alpounet is now known as alp
sigmundv has quit [Quit: Leaving]
klntsky has quit [Remote host closed the connection]
klntsky has joined #nixos
Tucky has joined #nixos
orivej has quit [Ping timeout: 245 seconds]
sigmundv has joined #nixos
Tucky has quit [Client Quit]
astrofog has joined #nixos
orivej has joined #nixos
Tucky has joined #nixos
ThatDocsLady_ has joined #nixos
ThatDocsLady has quit [Remote host closed the connection]
cfricke has quit [Quit: WeeChat 2.5]
o1lo01ol1o has joined #nixos
ilmu has quit [Ping timeout: 248 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
gxt has quit [Remote host closed the connection]
gxt has joined #nixos
PLPD-Bot has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @spacekookie opened pull request #64617 → kak-lsp: init at 6.2.1 → https://git.io/fjPax
gagbo has quit [Ping timeout: 272 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
gagbo has joined #nixos
o1lo01ol1o has joined #nixos
jasongrossman has quit [Ping timeout: 258 seconds]
___laika has joined #nixos
o1lo01ol1o has quit [Ping timeout: 245 seconds]
___laika has quit [Ping timeout: 244 seconds]
markus1189 has quit [Ping timeout: 248 seconds]
Wharncliffe has joined #nixos
<__monty__> What's the proper way to split a string across multiple lines to adhere to width restrictions? Concatenation?
cfricke has joined #nixos
m1sosoup has joined #nixos
<{^_^}> [nixpkgs] @astsmtl opened pull request #64618 → virt-manager: depends on gtksourceview4 → https://git.io/fjPV8
ashesham` has quit [Ping timeout: 252 seconds]
jackdk has joined #nixos
turbo_MaCk has joined #nixos
<{^_^}> [nixpkgs] @rleppink opened pull request #64619 → minecraft-server: 1.14 -> 1.14.3 → https://git.io/fjPVV
astrofog has quit [Remote host closed the connection]
iyzsong has joined #nixos
stepcut has joined #nixos
gagbo has quit [Ping timeout: 245 seconds]
gagbo has joined #nixos
<aanderse> ofborg having some issuses i think
PLPD-Bot has joined #nixos
bakakuna has quit [Remote host closed the connection]
bakakuna has joined #nixos
ThatDocsLady has joined #nixos
ThatDocsLady_ has quit [Ping timeout: 246 seconds]
___laika has joined #nixos
<{^_^}> [nixpkgs] @madjar opened pull request #64620 → doc: fix stdenv.xml → https://git.io/fjPwk
___laika has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @gloaming opened pull request #64621 → nixos/dhcpcd: Before network-online.target → https://git.io/fjPwI
<{^_^}> [nixpkgs] @gloaming closed pull request #61098 → systemd: Don't order systemd-user-sessions.service after network.target → https://git.io/fjc0L
<{^_^}> [systemd] @gloaming closed pull request #28 → Revert "units: order systemd-user-sessions.service after network.target" → https://git.io/fjVC7
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
jluttine has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @FRidh pushed to master « jupyter-kernel: remove traceVal »: https://git.io/fjPwZ
veske2 has joined #nixos
stepcut has quit [Remote host closed the connection]
veske has quit [Ping timeout: 246 seconds]
markus1189 has joined #nixos
stepcut has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #64620 → doc: fix stdenv.xml → https://git.io/fjPwk
<{^_^}> [nixpkgs] @FRidh pushed commit from @madjar to master « doc: fix stdenv.xml »: https://git.io/fjPw2
abbiya has quit [Quit: abbiya]
stepcut has quit [Ping timeout: 245 seconds]
gagbo has quit [Ping timeout: 268 seconds]
Wharncliffe has quit [Quit: Lost terminal]
gagbo has joined #nixos
<{^_^}> [nix] @edolstra pushed 7 commits to flakes: https://git.io/fjPw6
<{^_^}> [patchelf] @edolstra pushed to master « epoch -> edition »: https://git.io/fjPwP
ashesham` has joined #nixos
mexisme has joined #nixos
stepcut has joined #nixos
hmpffff_ has joined #nixos
gagbo has quit [Ping timeout: 245 seconds]
hmpffff_ has quit [Read error: Connection reset by peer]
hmpffff__ has joined #nixos
mexisme has quit [Ping timeout: 244 seconds]
hmpffff has quit [Ping timeout: 258 seconds]
stepcut has quit [Ping timeout: 272 seconds]
gagbo has joined #nixos
hmpffff__ has quit [Client Quit]
<{^_^}> [nixpkgs] @xrelkd opened pull request #64623 → cargo-xbuild: 0.5.13 -> 0.5.14 → https://git.io/fjPwF
stepcut has joined #nixos
<colemickens> Are the Amazon images generated automatically as part of the release, or are they done manually?
<tjg1> hey, i'm trying to write a modular nixos config and i ran into an issue with attributes being split over multiple files
<tjg1> well, more not knowing how to do what i want, than an issue
<tjg1> im trying to include different telegraf modules in services.telegraf.extraConfig depending on what services are running on a given machine
<tjg1> but services.telegraf.extraConfig.inputs will only take attributes defined in the last file by include order
<tjg1> how can i make it "merge" them instead?
hmpffff has joined #nixos
<clever> tjg1: the problem, is that only extraConfig is an option, and it doesnt support merging of any attrs below that level
<clever> tjg1: the nixos module will need to be restructured to support defining inputs as its own nixos option, and can then merge multiple inputs for you
<clever> tjg1: you could also define your own helper module, that creates an inputs type, and then sets extraConfig.inputs based on the result
___laika has joined #nixos
<tjg1> are there any examples of how to do that?
bakakuna has quit [Ping timeout: 252 seconds]
<clever> tjg1: basically every nixos module is an example of that
Zer0xp has joined #nixos
knupfer has joined #nixos
<Zer0xp> Hey everyone, which is the best utility tool in NixOS for sending a mail via terminal ?
dftxbs3e has joined #nixos
xkapastel has joined #nixos
___laika has quit [Ping timeout: 245 seconds]
knupfer has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #62661 → pythonPackages.swagger-spec-validator: init at 2.4.3 → https://git.io/fjuG5
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjPrt
<yorick> Zer0xp: sendmail
<yorick> Zer0xp: do you mean, programmatically? or as an email client
<yorick> Zer0xp: because mutt is pretty good
hmpffff_ has joined #nixos
jluttine has joined #nixos
hmpffff__ has joined #nixos
hmpffff has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #64593 → mako: install dbus service file → https://git.io/fjPCp
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjPrZ
hmpffff_ has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @suhr opened pull request #64624 → i2p: 0.9.39 -> 0.9.41 → https://git.io/fjPrC
<Zer0xp> yorick: but sendmail isn't a default linux package
<{^_^}> [nixpkgs] @worldofpeace merged pull request #64541 → mirrors.nix: add alsa-project.org for alsa → https://git.io/fjPeN
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjPrl
<yorick> Zer0xp: do you want to send email from a script or just use a terminal application?
<Zer0xp> yorick: script
<yorick> Zer0xp: then sendmail, with networking.defaultMailServer nixos options
<Zer0xp> I have to enable that in configuration.nix ?
<yorick> yeah
<yorick> Zer0xp: you need some configuration (like username, password) to be able to send mail
<{^_^}> [nixpkgs] @worldofpeace merged pull request #64585 → archiver: 3.0.0 -> 3.2.0 → https://git.io/fjPcC
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjPr4
m0rphism has quit [Ping timeout: 245 seconds]
<Zer0xp> yorick: Oh, I just read that and came here but thank you for that suggestion. Let me enable it and see if it works.
m0rphism has joined #nixos
aswanson has joined #nixos
hmpffff has joined #nixos
<{^_^}> [nixpkgs] @roman-kashitsyn opened pull request #64625 → Use plantuml from nixpkgs in sphinxcontrib_plantuml → https://git.io/fjPrw
hmpffff__ has quit [Ping timeout: 258 seconds]
<Zer0xp> yorick: networking.defaultMailServer.enable does not exist
<Zer0xp> yorick: I just got that error after trying to rebuild the config
<clever> Zer0xp: no enable option exists
<clever> Zer0xp: enabling is based on the directDelivery flag
<{^_^}> [nixpkgs] @worldofpeace merged pull request #64572 → vscod{e,ium}: 1.36.0 -> 1.36.1 → https://git.io/fjPs0
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/fjPri
phreedom has quit [Ping timeout: 260 seconds]
<worldofpeace> infinisil: haha 😍 they're finally catching on
andreas303 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #64623 → cargo-xbuild: 0.5.13 -> 0.5.14 → https://git.io/fjPwF
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjPr1
<ajs124> does volth hang out here?
<gchristensen> not often
gagbo has quit [Ping timeout: 248 seconds]
<ajs124> ok. A commit of his seems to have broken the build of a dependency of the hydra package on master/nixos-unstable-small
gagbo has joined #nixos
meck has quit [Quit: WeeChat 2.5]
<ajs124> Seems like some weird perl issue. I kinda get the impression that the test that fails now already should have failed, but just didn't get executed.
meck has joined #nixos
turbo_MaCk has quit [Ping timeout: 244 seconds]
Jonathan has quit [Remote host closed the connection]
<gchristensen> okay, probably best to open an issue and ping them, they're pretty responsive
Neo-- has joined #nixos
<worldofpeace> (notices choice of pronouns :P)
phreedom has joined #nixos
<ajs124> gchristensen: Ye, I already found the relevant PR and commented on it.
<gchristensen> ah nice
srid6390803 has quit [Ping timeout: 248 seconds]
shomodj has joined #nixos
srid6390803 has joined #nixos
sbj has joined #nixos
imdoor has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #64582 → kube-router: 0.2.5 -> 0.3.1 → https://git.io/fjPnF
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjPov
<{^_^}> [nixpkgs] @Mic92 opened pull request #64626 → radare2-cutter: 1.8.0 -> 1.8.3 → https://git.io/fjPoJ
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @aske opened pull request #64627 → Fix virt-manager on non-gnome systems → https://git.io/fjPoL
<{^_^}> [nixpkgs] @worldofpeace merged pull request #64600 → overmind: 2.0.1 -> 2.0.2 → https://git.io/fjPlB
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjPoq
imdoor has quit [Client Quit]
orivej has quit [Ping timeout: 245 seconds]
<sbj> Hm, I suspect it's a trivial question, but I really can't get anything to work; I'm trying to import system-tarball-pc.nix (https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/installer/cd-dvd/system-tarball-pc.nix) into a local nix file, but how do I override the boot.crashDump options?
<sbj> Any hints would be appreciated :)
stepcut has quit [Remote host closed the connection]
<clever> sbj: search the nixos manual for disabledModules
samrose has joined #nixos
<sbj> clever: thanks!
Zer0xp has quit [Ping timeout: 260 seconds]
<samrose> How do people contend with configurePhase error of Boost::System library is available, Could not find version of library ?
___laika has joined #nixos
<dminuoso> clever: Mmm, so Ive dabbled a bit with it, but the workflow is still not clear. Let's say I have `nix-shell -A linuxPackages.kernel`, where do I do my modifications?
<samrose> maybe it is version of lib boost
alex`` has joined #nixos
<dminuoso> clever: Or is it assumed I unpack my own kernel version, and just use the nix-shell to have all the required tools and paths set up?
shomodj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<clever> dminuoso: run unpackPhase
stepcut has joined #nixos
<dminuoso> clever: Oh magic things happen. This is unexpected.
<samrose> tdeo: thanks! I was just moving to try that from googling.
<samrose> tdeo: that was it thanks
hmpffff_ has joined #nixos
Makaveli7 has quit [Quit: WeeChat 2.5]
hmpffff has quit [Ping timeout: 245 seconds]
<sbj> clever: if you don't mind; so find the module file that defines crashDump, and disable it in my configuration? I'll try that. But, what if I just want to change the kernelPackages version, which is now pointing to an unknown/old version? Would I do that by redefining the linuxPackages_3_4 definition in packages before importing? Or can I re-define the boot.crashDump.kernelPackages somehow?
<clever> sbj: it already supports changing the kernelPackages
<clever> i think
<clever> sbj: dang, no, it currently just loads /run/current-system/kernel
selfsymmetric-pa has quit [Remote host closed the connection]
<clever> sbj: youll need to use disabledModules to disable this, then put a copy into /etc/nixos, and imports = [ ./crashdump.nix ];
<clever> then you can freely modify that copy to support new features
npmccallum has joined #nixos
<clever> sbj: line 52 and 53 will need adjustment, to build a 2nd initrd, against the new kernel
<sbj> Am I missing something then? :) It seems this file manages to define it? https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/installer/cd-dvd/system-tarball-pc.nix
shomodj has joined #nixos
<sbj> L117 in that system-tarball-pc.nix sets it, but to a linuxPackages version I don't think exists anymore (so I get an error=
<clever> sbj: we must both be missing something, because kernelPackages isnt an option here
<clever> sbj: boot.crashdump.kernelPackages was removed in oct of 2017
<sbj> Ahh, so it's not because I can't override it, its because it no longer exists, and the system-tarball-pc.nix is outdated?
<clever> sbj: so just kill that entire line in system-tarball-pc.nix
<clever> yep
<sbj> right, thanks!
<sbj> Right now I must be using a system supplied version(?), because I'm just testing with a 'imports = [ <nixpkgs/.../system-tarball-pc.nix> ]' line, without a checkout of the repo.
<clever> sbj: nix-instantiate --find-file nixpkgs/nixos/modules/installer/cd-dvd/system-tarball-pc.nix
o1lo01ol1o has joined #nixos
veske2 has quit [Quit: This computer has gone to sleep]
<sbj> clever: Ah, convenient. I think I have some documentation to study. Thank you for your patience :)
andreas303 has joined #nixos
andreas303 has quit [Client Quit]
andreas303 has joined #nixos
veske has joined #nixos
tput has joined #nixos
nbathum has joined #nixos
__monty__ has quit [Quit: leaving]
<colemickens> how do I prove to myself wrapProgram is doing something?
cfricke has quit [Quit: WeeChat 2.5]
<Miyu-chan> Prove?
tput has quit [Remote host closed the connection]
<colemickens> The sway module wraps the program, and I see the env vars when I do `nvim $(which sway)` but I don't see the swaybg path prefixing in the wrapper script?
<arcnmx> anyone able to take a quick look at #64118?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/64118 (by r-ryantm, 1 week ago, open): python37Packages.aiorpcx: 0.17.0 -> 0.18.3
<colemickens> Oh wait, the makeWrapper is in the pkg defintion and my overlay doesn't have that change, never mind, silly me.
Necro^Byte has joined #nixos
Shoubit has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @edolstra pushed to master « fetchurl (and derived functions): Support SRI hashes »: https://git.io/fjPod
___laika has quit [Ping timeout: 258 seconds]
veske has quit [Quit: This computer has gone to sleep]
jkachmar has joined #nixos
<worldofpeace> ^ 🎊
inf has quit [Ping timeout: 244 seconds]
<worldofpeace> yay SRI hashes
stepcut has quit [Ping timeout: 245 seconds]
<exarkun> how do I get the path of some file in nixpkgs? I think there's some syntax like `<nixpkgs>/path/to/something` but it seems to not be that
<tdeo> sri hashes look cool, what's the use for it?
<tdeo> reusing an already provided hash or for everything in general?
<tdeo> exarkun: put the > at the end
<{^_^}> [nixpkgs] @mmahut opened pull request #64628 → pythonPackages.anonip: init at 1.0.0 → https://git.io/fjPKt
<exarkun> ty
<{^_^}> [nixpkgs] @joachifm merged pull request #64118 → python37Packages.aiorpcx: 0.17.0 -> 0.18.3 → https://git.io/fjKrc
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/fjPKq
stepcut has joined #nixos
gagbo has quit [Ping timeout: 248 seconds]
Shoubit has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace pushed to release-19.03 « pantheon.wingpanel-indicator-session: 2.2.3 -> 2.2.4 »: https://git.io/fjPKY
gagbo has joined #nixos
<nbathum> I'm trying to add an npm scoped package to my system profile ("nodePackages_10_x.@angular/cli"). nix-env can somehow handle this, but seems like all other tools complain about the unexpected '@'. Ended up adding it quite indirectly by filtering the nodePackages and selecting the drv value. Is this a known issue? I couldn't find anything for it.
<{^_^}> [nixpkgs] @joachifm pushed commit from @r-ryantm to release-19.03 « python37Packages.aiorpcx: 0.17.0 -> 0.18.3 »: https://git.io/fjPKn
<infinisil> nbathum: Try nodePackages_10_x."@angular/cli"
<infinisil> That's how attributes can be escaped
<nbathum> infinisil: ahhhh.... thank you!
<{^_^}> [nixpkgs] @rleppink closed pull request #64619 → minecraft-server: 1.14 -> 1.14.3 → https://git.io/fjPVV
<{^_^}> [nixpkgs] @worldofpeace closed pull request #64533 → [lxd] adds bash completions → https://git.io/fjihM
<{^_^}> [nixpkgs] @worldofpeace closed pull request #64534 → [lxc] fix bash completions → https://git.io/fjihS
inf has joined #nixos
alp has quit [Ping timeout: 248 seconds]
<marek> where is pname defined in nix? I mean where is it used/parsed? I cannot find it
<exarkun> ugh python library that binds a rust library and wants to build with cargo and setuptools
vmandela has joined #nixos
tmaekawa has joined #nixos
tmaekawa has quit [Client Quit]
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to staging: https://git.io/fjPK2
<{^_^}> [nixpkgs] @worldofpeace merged pull request #64515 → libinput: 1.13.2 -> 1.13.4 → https://git.io/fjiFT
vmandela has quit [Remote host closed the connection]
vmandela has joined #nixos
<colemickens> Is there something special I need to do to make EGL available to an application?
<colemickens> When I try to use Sway's RDP backend, I get a crash after EGL fails to initialize a display. The error comes from inside libglvnd, and it seems it pops after trying all vendors and failing to init a display.
<colemickens> I know nothing about how GL / EGL / mesa / libGL / nixpkgs work... :(
<otini> In NixOS, I have two programs (unison and zathura) that segfault when started from a shell
<otini> but not from a GUI or as root. What could possibly cause this? :/
phreedom has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @FRidh opened pull request #64629 → pythonPackages.fetchPypi: support SRI hashes → https://git.io/fjPKK
<nbathum> infinisil: is attribute escaping someone in the docs? if not, I'd be willing to write something up, if someone could recommend where
<nbathum> s/someone/somewhere
<{^_^}> [nixpkgs] @worldofpeace merged pull request #64376 → betterlockscreen: add missing runtime dependencies → https://git.io/fj6hX
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjPKM
<{^_^}> [nixpkgs] @FRidh merged pull request #64625 → pythonPackages.sphinxcontrib_plantuml: use top-level plantuml → https://git.io/fjPrw
<{^_^}> [nixpkgs] @FRidh pushed commit from Roman Kashitsyn to master « pythonPackages.sphinxcontrib_plantuml: use top-level plantuml »: https://git.io/fjPKD
<{^_^}> [nixpkgs] @danieldk opened pull request #64630 → pythonPackages.thinc: 7.0.4 -> 7.0.6 → https://git.io/fjPKd
npmccallum_ has joined #nixos
npmccallum has quit [Ping timeout: 246 seconds]
<otini> The argument of `nix-shell -p` is a package, but the argument of `nix-env -i` is a derivation. What is the difference?
npmccallum_ is now known as npmccallum
<{^_^}> [nixpkgs] @thefloweringash opened pull request #64632 → sensu-go: 5.10.0 -> 5.11.0 → https://git.io/fjPKb
<FRidh> otini: nix-env -i takes as argument expressions that match the name(s) of packages. It's typically preferred to use instead nix-env -iA which uses attribute paths. nix-shell -p also uses attribute paths, though it also accepts urls.
Mateon1 has quit [Ping timeout: 272 seconds]
Mateon1 has joined #nixos
knupfer has joined #nixos
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
<otini> FRidh: when I try to search the installed packages with `nix-env -qs <pattern>`, does `<pattern>` match an attribute path or an expression?
<{^_^}> [nixpkgs] @worldofpeace merged pull request #64446 → clightning: 0.7.0 -> 0.7.1 → https://git.io/fjiV0
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjP6T
<nbathum> FRidh: thank you.
___laika has joined #nixos
kiwipre-11 has joined #nixos
knupfer has quit [Read error: Connection reset by peer]
<FRidh> nbathum: it's a name that matches your expression
<FRidh> pattern will match the names of the packages installed, but not the attribute paths
gagbo has quit [Ping timeout: 246 seconds]
<FRidh> attribute paths are not recorded when installing with nix-env
<FRidh> see ~/.nix-profile/manifest.nix for the file nix creates when installing with nix-env
gagbo has joined #nixos
nakkle has quit [Ping timeout: 252 seconds]
v88m has quit [Ping timeout: 244 seconds]
v88m has joined #nixos
kiwipre-11 has quit [Remote host closed the connection]
knupfer has joined #nixos
vmandela has quit [Ping timeout: 245 seconds]
endformationage has joined #nixos
vmandela has joined #nixos
ardumont has quit [Ping timeout: 252 seconds]
cransom has joined #nixos
thc202 has quit [Ping timeout: 250 seconds]
veske has joined #nixos
<{^_^}> [nix] @edolstra pushed to flakes « Use "git add --force --intent-to-add" for flake.lock »: https://git.io/fjP6g
___laika has quit [Ping timeout: 272 seconds]
<otini> FRidh: I guess I don't really know what attribute paths actually mean in this context
alp has joined #nixos
fusion809 has quit [Remote host closed the connection]
<FRidh> an attribute path is the path to a value in potentially nested attribute sets
vmandela has quit [Remote host closed the connection]
ardumont has joined #nixos
<FRidh> for e.g., consider the Python package numpy. It is accessable as python3Packages.numpy
<FRidh> or, when you use a channel, it is nixpkgs.python3Packages.numpy
<FRidh> try `nix search numpy`
<FRidh> in thick it shows an attribute path and between parentheses the name of the derivation
sigmundv has quit [Ping timeout: 245 seconds]
knupfer has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @guibou opened pull request #64633 → Bazel 0.28 → https://git.io/fjP6H
dslroot24 has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #63603 → Enable cross compilation on buildGoPackage → https://git.io/fjweL
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to master: https://git.io/fjP6Q
dslroot24 has quit []
thc202 has joined #nixos
turion has quit [Ping timeout: 268 seconds]
srid6390803 has quit [Ping timeout: 272 seconds]
knupfer has joined #nixos
Tucky has quit [Quit: WeeChat 2.5]
lordcirth has quit [Remote host closed the connection]
lordcirth has joined #nixos
abrar has quit [Quit: WeeChat 2.2]
vmandela has joined #nixos
hmpffff_ has quit [Quit: nchrrrr…]
dm9 has joined #nixos
<simukis_> how can I get a python package with debuginfo? Fine with overriding and recompiling if necessary.
<{^_^}> [nixpkgs] @worldofpeace merged pull request #56390 → fwupd: 1.2.3 -> 1.2.8 → https://git.io/fhbxz
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/fjPiw
erasmas has joined #nixos
<simukis_> FRidh: enableDebugging was what I was looking for, I think, thanks.
* simukis_ tries.
wfranzini has quit [Remote host closed the connection]
waleee-cl has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #64629 → pythonPackages.fetchPypi: support SRI hashes → https://git.io/fjPKK
<{^_^}> [nixpkgs] @FRidh pushed 3 commits to master: https://git.io/fjPi6
mexisme has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #64563 → make-tarball / lib-tests: reduce duplication → https://git.io/fjPYY
<{^_^}> [nixpkgs] @FRidh pushed to master « make-tarball / lib-tests: reduce duplication »: https://git.io/fjPiX
sushi_ has joined #nixos
srid6390803 has joined #nixos
Necro^Byte has quit [Ping timeout: 244 seconds]
halfbit has joined #nixos
___laika has joined #nixos
mexisme has quit [Ping timeout: 268 seconds]
asheshambasta_m has joined #nixos
<{^_^}> [nixpkgs] @FRidh opened pull request #64634 → Python: add sitecustomize.py, listen to NIX_PYTHONPATH → https://git.io/fjPiH
asheshambasta_m has quit [Client Quit]
shomodj has quit [Quit: Textual IRC Client: www.textualapp.com]
shomodj has joined #nixos
___laika has quit [Ping timeout: 258 seconds]
dm9 has quit [Quit: WeeChat 2.5]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #64628 → pythonPackages.anonip: init at 1.0.0 → https://git.io/fjPKt
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjPij
ashesham` has quit [Ping timeout: 252 seconds]
Myhlamaeus has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 26.2)]
<Miyu-chan> Hm, how do you get the location of the current file instead of the current directory?
<{^_^}> [nixpkgs] @worldofpeace merged pull request #64630 → pythonPackages.thinc: 7.0.4 -> 7.0.6 → https://git.io/fjPKd
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjPPO
vmandela has quit [Quit: Leaving]
<infinisil> Miyu-chan: You can't do it without hacks
___laika has joined #nixos
<Miyu-chan> Aw. :(
<infinisil> For reference, the hack is `(builtins.unsafeGetAttrPos "x" { x = 0; }).file`
<Miyu-chan> Maybe I should just add a `.enable = true;` then use .definitions
<tdeo> why's it unsafe?
<FRidh> the resulting value is a function not just of your code, but also how it is formatted and where it is put. I suppose that, in a way, breaks referential transparency.
<Miyu-chan> TBF, you can say the same with ./
<FRidh> so if you would inject the output in a derivation, then if you reformat your code, the output (hash) would be different
<Miyu-chan> I don't think it's as unsafe as the name implies.
<Miyu-chan> nix-repl> builtins.unsafeGetAttrPos "a" {}
<Miyu-chan> null
<FRidh> with ./ it is different. Take the file `foo` you want to include with `./foo`, and put it in a folder `bar`, and now refer to it with `./bar/foo`. The output hash will be the same.
Thra11 has joined #nixos
Mateon2 has joined #nixos
<exarkun> does carnix work?
matt` has joined #nixos
Mateon1 has quit [Ping timeout: 246 seconds]
Mateon2 is now known as Mateon1
orivej has joined #nixos
<matt`> is there any nix-specific downside to using ccache for all my package builds? How would I even do this? The documentation explains how to enable ccache for individual packages, but I don't see anything for enabling it universally
<tdeo> i think that would necessitate a rebuild of all your packages
<tdeo> not sure though
<{^_^}> [nixpkgs] @arcnmx opened pull request #64636 → electrum 3.3.8, optional qt, darwin fixes → https://git.io/fjPP2
<FRidh> matt`: it would indeed rebuild everything. You can create an overlay and override stdenv to use the ccacheStdenv https://github.com/NixOS/nixpkgs/blob/release-19.03/nixos/modules/programs/ccache.nix#L53
<matt`> thanks tdeo and FRidh
<exarkun> Does carnix have any docs?
lordcirth_ has joined #nixos
<mkaito> anyone know where I can see an example of a module option that's a list of attrset?
lordcirth has quit [Ping timeout: 276 seconds]
lordcirth has joined #nixos
lordcirth_ has quit [Ping timeout: 264 seconds]
m1sosoup has quit [Quit: Leaving]
lambda-11235 has joined #nixos
Drakonis has joined #nixos
<mkaito> found it in the nixos manual (hey, the manual is useful!) but only after the source code sent me there
lordcirth_ has joined #nixos
lordcirth has quit [Read error: Connection reset by peer]
lordcirth has joined #nixos
Jackneill has quit [Read error: Connection reset by peer]
lordcirth_ has quit [Ping timeout: 276 seconds]
Myhlamaeus has quit [Read error: Connection reset by peer]
___laika has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #61981 → nixos: Don't set LD_LIBRARY_PATH for graphics drivers that don't need it. → https://git.io/fjB0f
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjPXf
<{^_^}> [nixpkgs] @worldofpeace merged pull request #63894 → nixos/opengl: Don't set XDG_DATA_DIRS. → https://git.io/fjous
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjPXT
Myhlamaeus has joined #nixos
Fzer0 has joined #nixos
<{^_^}> [nixpkgs] @arcnmx opened pull request #64637 → qt512.qtwebengine: darwin patch fix → https://git.io/fjPXO
Fzer0 has left #nixos [#nixos]
<{^_^}> [nixpkgs] @peti pushed to master « python-suds-jurko: disable tests to fix the build »: https://git.io/fjPXn
<{^_^}> [nixpkgs] @peti merged pull request #64538 → gnupg: 2.2.16 -> 2.2.17 → https://git.io/fjPeU
<{^_^}> [nixpkgs] @peti pushed 2 commits to master: https://git.io/fjPXC
srid6390803 has quit [Ping timeout: 246 seconds]
Neo-- has quit [Ping timeout: 246 seconds]
rfold has joined #nixos
srid6390803 has joined #nixos
amfl has quit [Ping timeout: 245 seconds]
wildtrees has joined #nixos
<{^_^}> [nixpkgs] @johanot opened pull request #64638 → atlassian-jira: 8.1.0 -> 8.1.2 → https://git.io/fjPXz
andreas303 has quit [Quit: andreas303]
andreas303 has joined #nixos
phreedom has joined #nixos
amfl has joined #nixos
andreas303 has quit [Client Quit]
andreas303 has joined #nixos
ThatDocsLady has quit [Quit: Leaving]
ilya-fedin has quit [Quit: Connection closed for inactivity]
endformationage has quit [Ping timeout: 245 seconds]
domogled has joined #nixos
noudle has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to master « python-m2crypto: update to version 0.35.2 »: https://git.io/fjPXS
<Thra11> clever: I'm just looking at your (I think it's you?) qemu.nix in nixos-configs. If I try to build e.g. qemu-user-arm, I get a meson error, "ERROR: Got argument default_library as both -Ddefault_library and --default-library. Pick one.". If I change --default-library to -Ddefault_library in overlays/qemu/qemu/default.nix, it gets past that bit (still building, so don't know if it will succeed...)
<clever> Thra11: what nixpkgs rev are you on?
<matt`> i'm having some trouble getting ccacheStdenv to work (bit new to overlays). i've set nixpkgs.overlays = [(self: super: { stdenv = super.ccacheStdenv; })]; but i get infinite recursion
___laika has joined #nixos
<clever> matt`: that will just make performance worse for you, it will force nix to rebuild EVERYTHING from source, starting from gcc
<Thra11> clever: 17e0f36f7221b864ba978ebf47760864648787e3 (Sun June 30th)
<clever> Thra11: checking...
<{^_^}> [nixpkgs] @danieldk opened pull request #64639 → fasttext: 0.2.0 -> 0.9.1 → https://git.io/fjPXQ
<matt`> clever: I'm actually ok with that. i'd prefer enabling ccache globally and installing everything from source than enabling it on a per-package basis. if it becomes unbearable i can always go back of course
endformationage has joined #nixos
<clever> matt`: the problem, is that ccache itself is built using stdenv, so now you need ccache to build ccache
acarrico has quit [Ping timeout: 245 seconds]
<clever> matt`: and the sandbox for nix wont allow it to actually access to the cache directory, so you likely wont benefit from it any
<matt`> clever: ok, so there's basically no way to enable ccache globally? it's only available on a per-package basis? What's ccacheStdenv for then?
<clever> matt`: i think its only for use with nix-shell, to make ccache work when in a nix-shell
<tdeo> stdenv is overridden with ccacheStdenv for enabled packages
<tdeo> maybe `stdenv = super.ccacheStdenv.override { stdenv = super.stdenv };` will work though (probably not)
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<matt`> tdeo: so when i set ccache.packageNames = [ ... ]; that's using ccacheStdenv?
<{^_^}> [nixpkgs] @danieldk opened pull request #64640 → pythonPackages.fasttext: 0.2.0 -> 0.9.1 → https://git.io/fjPXN
<clever> Thra11: building...
<matt`> there's no way to match all strings except ccache in that option is there...?
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/f0fdbd89aef (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<clever> matt`: it would also need to exclude everything ccache depends on
<clever> matt`: and that gets into the stdenv bootstrap stuff, which is tricky to mess with
<matt`> clever: yeah ok that sounds like more than i want to try to tackle
<Thra11> clever: What exactly is the 'arch_map' specifying?
<clever> Thra11: qemu's configure script has a --cpu= flag, that takes a host cpu arch
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/63109c860fb (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<clever> Thra11: and the arch_map converts from guest arch to host arch
Ariakenom has joined #nixos
<Thra11> clever: So to emulate arm on x86_64, it passes --cpu=i386 to qemu's configure script?
hmpffff has joined #nixos
<clever> Thra11: it also loads the arm qemu from pkgsi686Linux, so its based on a 32bit gcc and 32bit libc
<clever> Thra11: emulating a 32bit guest on a 64bit host has performance costs, so its faster to do 32bit on 32bit
<Thra11> clever: I see
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
veske has quit [Ping timeout: 272 seconds]
<Thra11> clever: Having changed the meson argument and fiddled with arch_map (I'm on an aarch64 host), I have sucessfully built nix-user-arm.
doyougnu has joined #nixos
halfbit has quit [Quit: WeeChat 2.5]
srid6390803 has quit [Ping timeout: 272 seconds]
abrar has joined #nixos
srid6390803 has joined #nixos
<Thra11> I just forgot I was in a nix-shell and tried to nix build something. For ages I couldn't work out why it was trying to unpack the sources into the tiny /run/user/1001 fs instead of the 6G /tmp.
<clever> Thra11: it obeys $TMP
<clever> Thra11: and there is already an entry in the overlay for aarch64
<Thra11> clever: Isn't that for aarch64 guest, not host?
<clever> Thra11: oh, your trying to emulate v7 on aarch64?
alex`` has quit [Ping timeout: 245 seconds]
<Thra11> clever: yes. Well actually I'd like to emulate armv6l on aarch64, although I haven't confirmed if that's supposed to work
<clever> Thra11: ive not tried that yet, but with the right archmap, it should work
<clever> Thra11: i once emulated x86_64 on a v7, lol
<Thra11> clever: Well I've managed to build something... Now I need to work out how to test/use it.
<clever> ERROR: Got argument default_library as both -Ddefault_library and --default-library. Pick one.
<clever> builder for '/nix/store/0c8xyv10gklav6isrib8i6chbn15l8ny-glib-2.60.3.drv' failed with exit code 1
<clever> i can also reproduce your issue with x86-64 host
alex`` has joined #nixos
<clever> Thra11: and the tables at lines 6-19, plus
<Thra11> Eventually, I want the aarch64 machine to act as an armv6l remote builder.
<clever> Thra11: some aarch64 cpu's can run armv6l code natively
<Thra11> clever: Hmmm. Yes. I know it can run armv7l code.
<clever> Thra11: if your not running nixos on the aarch64 host, you will need to read this, and manually configure the kernel to know where qemu-user-arm is
<clever> nix-build '<nixpkgs/pkgs/stdenv/linux/bootstrap-files/armv6l.nix>' -A busybox -o sh
<clever> Thra11: this will fetch a pre-build busybox, for armv6l and make an sh symlink to it
<clever> ./sh should then attempt to run it
<clever> $ ls -l /proc/$$/exe
<clever> lrwxrwxrwx 1 clever users 0 Jul 11 16:00 /proc/13752/exe -> /nix/store/w4mlkxdflgrdi1cgdc3v42g9q1kmw3j2-qemu-user-arm-3.1.0/bin/qemu-arm
<clever> $$ is the pid of busybox itself, and /proc/PID/exe shows the real binary behind a given pid
<Thra11> clever: It would appear that the aarch64 can execute armv6l binaries natively, so presumably I don't actually need qemu.
<{^_^}> [nixpkgs] @matthewbauer merged pull request #63581 → zabbix:1.8 -> 4.0 | remove old packages → https://git.io/fjV7k
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fjPMq
<clever> Thra11: just have to deal with the odd purity issue, and set one nix flag
<Thra11> clever: which flag is that?
<clever> Thra11: extra-platforms in nix.conf, is a list of extra nix systems to claim suppot for
<clever> it will silence the errors about "i am aarch, but wanted armv6"
<Thra11> clever: awesome, thanks!
W1lkins has quit [Remote host closed the connection]
waleee-cl has quit [Quit: Connection closed for inactivity]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/7eb6b697014 (from 6 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<{^_^}> [nixpkgs] @costrouc opened pull request #64642 → pythonPackages.optuna: init at 0.13.0 → https://git.io/fjPMG
<matthewbauer> clever: it looks like the issue caused by https://github.com/NixOS/nixpkgs/commit/fea2422398c9b1c6a9bddf0d0544bd9aad783f84, feel free to revert it, i was thinking it worked like --enable-static, but it looks like it can cause conflicts
o1lo01ol1o has quit [Ping timeout: 246 seconds]
lambda-11235 has quit [Quit: Bye]
karetsu has joined #nixos
kim0 has joined #nixos
turbo_MaCk has joined #nixos
Drakonis has quit [Read error: Connection reset by peer]
Shoubit has quit [Ping timeout: 244 seconds]
JadoJodo has quit [Remote host closed the connection]
JadoJodo has joined #nixos
waleee-cl has joined #nixos
_ris has joined #nixos
civodul has joined #nixos
alp has quit [Ping timeout: 252 seconds]
alp has joined #nixos
mexisme has joined #nixos
o1lo01ol1o has joined #nixos
<palo> somebody on packaging bitwig3 ?
hmpffff_ has joined #nixos
hmpffff has quit [Read error: Connection reset by peer]
lambda-11235 has joined #nixos
karetsu has quit [Ping timeout: 252 seconds]
karetsu has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed to master « swayidle: 1.4 -> 1.5 »: https://git.io/fjPDt
domogled has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @primeos pushed to master « gns3Packages.{server,gui}Preview: 2.2.0b3 -> 2.2.0b4 »: https://git.io/fjPDc
Mateon2 has joined #nixos
<iqubic> how does one change the way that the X11 Cursor looks?
lovesegfault has joined #nixos
Mateon1 has quit [Ping timeout: 272 seconds]
Mateon2 is now known as Mateon1
xkapastel has quit [Quit: Connection closed for inactivity]
bakakuna has joined #nixos
<codedmart> Is there services or options I should have set when using xmonad? I notice even though I have icons/themes set certain applications don't respect that setting and just show the fallback icons. Ie lxappearance doesn't show proper icon previews of the icons sets I have installed.
lovesegfault has quit [Quit: WeeChat 2.5]
lovesegfault has joined #nixos
iqubic` has joined #nixos
iqubic` has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @FRidh merged pull request #64624 → i2p: 0.9.39 -> 0.9.41 → https://git.io/fjPrC
<{^_^}> [nixpkgs] @FRidh pushed commit from @suhr to master « i2p: 0.9.39 -> 0.9.41 »: https://git.io/fjPDV
iqubic has quit [Ping timeout: 252 seconds]
Ariakenom has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @ttuegel merged pull request #64637 → qt512.qtwebengine: darwin patch → https://git.io/fjPXO
<{^_^}> [nixpkgs] @ttuegel pushed 2 commits to master: https://git.io/fjPDo
wfranzini has joined #nixos
Neo-- has joined #nixos
psyanticy has quit [Quit: Connection closed for inactivity]
shomodj_ has joined #nixos
rfold has quit [Ping timeout: 272 seconds]
shomodj has quit [Ping timeout: 248 seconds]
knupfer has quit [Ping timeout: 264 seconds]
FRidh has quit [Quit: Konversation terminated!]
elibrokeit is now known as guys
Okinan has quit [Quit: Konversation terminated!]
wfranzini has quit [Remote host closed the connection]
civodul has quit [Quit: ERC (IRC client for Emacs 26.2)]
npmccallum has quit [Ping timeout: 244 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/842867a97f4 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
m0rphism has quit [Ping timeout: 248 seconds]
<jackdk> My laptop died and I was working on a project with all my dependencies configured. I checked out the project on another computer, ran nix-shell and went back to work. The end. Thank you all so very much.
ericsagnes has quit [Ping timeout: 264 seconds]
<gchristensen> <3 jackdk
<{^_^}> jackdk's karma got increased to 4
bakakuna has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @costrouc opened pull request #64643 → [WIP] pythonPackages.fipy: init at ... → https://git.io/fjPyO
Fzer0 has joined #nixos
Fzer00 has joined #nixos
Fzer0 has quit [Client Quit]
Drakonis has joined #nixos
Fzer00 has left #nixos ["Leaving"]
ericsagnes has joined #nixos
teej has joined #nixos
hmpffff_ has quit [Quit: nchrrrr…]
tbenst has joined #nixos
<tbenst> hi, anyone know how to use private github repos with nixos? I'm pulling my hair out over here. examples from 2018 blog posts not working
erasmas has quit [Quit: leaving]
<tbenst> seems like fetchgit should support my ssh key in ~/.ssh/id_rsa (but doesn't find it), and I can't figure out how to set env vars for fetchFromGithub with private=true
<{^_^}> [nixpkgs] @pradyuman opened pull request #64644 → grpcui: init at 0.2.0 → https://git.io/fjPyE
eraserhd has quit [Ping timeout: 245 seconds]
dansho has joined #nixos
<gchristensen> tbenst: builtins.fetchGit should do what you need (https://nixos.org/nix/manual/)
<atlas_> I just ran `sh <(curl https://nixos.org/nix/install) --daemon` on Arch, and the install succeeded. However, when I open a new terminal, I can't run any nix-* commands or simply `nix`.
alex`` has quit [Ping timeout: 245 seconds]
kim0 has quit [Quit: Connection closed for inactivity]
karetsu has quit [Quit: WeeChat 2.4]
jgt has quit [Ping timeout: 252 seconds]
Jonathan has joined #nixos
shah^ has quit [Ping timeout: 248 seconds]
nefix has joined #nixos
jgt has joined #nixos
<nefix> Hey there! I'm trying to build a derivation for chronograf. The thing is that it's a Go app (which I know how to build), but it also needs to compile some javascript parts before embedding them to the Go binary. How can I package a JavaScript thing?
<makefu> atlas_: according to https://nixos.org/nix/manual/#sect-multi-user-installation the installer edits /etc/bashrc and /etc/zshrc , did this work?
<atlas_> makefu: neither of those files exist for me, even though I have bash installed and am using zsh
Neo-- has quit [Read error: Connection reset by peer]
fusion809 has joined #nixos
Neo-- has joined #nixos
spaark has joined #nixos
xkapastel has joined #nixos
justanotheruser has quit [Ping timeout: 248 seconds]
shah^ has joined #nixos
shah^ has quit [Max SendQ exceeded]
jgt has quit [Ping timeout: 252 seconds]
shah^ has joined #nixos
shah^ has quit [Max SendQ exceeded]
shah^ has joined #nixos
shah^ has quit [Max SendQ exceeded]
shah^ has joined #nixos
shah^ has quit [Max SendQ exceeded]
shah^ has joined #nixos
shah^ has quit [Max SendQ exceeded]
shah^ has joined #nixos
shah^ has quit [Max SendQ exceeded]
shomodj_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<spaark> hi. i'm trying to set up nix on a system where i don't have root access. i followed the manual and installed from source. i think there are problems, though.
<spaark> for one, .nix-profile and .nix-defexpr/channels_root are dangling links. is this normal?
<clever> spaark: .nix-profile is automatically fixed when you firs tinstall something with nix-env
<spaark> besides this, running 'nix-channel --update' returns an error while setting up the build environment: "getting attributes of path '': no such file or directory". possibly because of the dangling links.
<clever> spaark: .nix-defexpr/channels is fixed the first time you run nix-channel --update
<spaark> clever: ok, both nix-channel --update and nix-env -i don't work, however.
<{^_^}> [nixpkgs] @aanderse merged pull request #62267 → routinator: init at 0.4.0 → https://git.io/fj0Dc
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/fjPyH
<clever> spaark: why are you building nix from source?
<spaark> for example, 'nix-env -i vim' will say it matches no derivations
<spaark> clever: i don't have root access on my system
<clever> spaark: ahh
<atlas_> I think my issue could just be that I don't have the proper environment variables, but I don't know how to solve it manually
<clever> spaark: not sure on the nix-channel --update problem, but you can just clone the nixpkgs repo, and `nix-env -f ~/nixpkgs -iA vim`
<spaark> clever: thanks, i'll try that.
* clever heads off to bed
<atlas_> gn o/
<{^_^}> [nixpkgs] @Ma27 opened pull request #64645 → citrix_workspace: add 1906 (`citrix_workspace_19_6_0`) → https://git.io/fjPy7
Neo-- has quit [Ping timeout: 268 seconds]
doyougnu has quit [Quit: WeeChat 2.4]
guys is now known as elibrokeit
mexisme has quit [Ping timeout: 250 seconds]
* atlas_ bumps my question
<spaark> 'nix-env -f ~/nixpkgs -iA vim' attempts to install the package, but i get the same issue as with nix-channel. "error while setting up the build environment: getting attributes of path '': No such file or directory"
<spaark> i'm looking at issue #2673 on the nix repo. it might fix my problem.
<{^_^}> https://github.com/NixOS/nixpkgs/pull/2673 (by cstrahan, 5 years ago, closed): fix mkpasswd: use the git repository
hio has quit [Quit: Connection closed for inactivity]
<infinisil> nix#2673
<{^_^}> https://github.com/NixOS/nix/issues/2673 (by trofi, 21 weeks ago, open): 'nix-channel --update' stopped working on nix-2.2.1: error: while setting up the build environment: getting attributes of path '': No such file or directory
nefix has quit [Remote host closed the connection]
alp_ has joined #nixos
acarrico has joined #nixos
alp has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @aanderse opened pull request #64646 → mariadb: fix mytop script → https://git.io/fjPST
lsyoyom has quit [Ping timeout: 248 seconds]
jgt has joined #nixos
ng0 has quit [Quit: Alexa, when is the end of world?]
day|flip has joined #nixos
<atlas_> is there a channel for help?
<aanderse> atlas_: you're here
<atlas_> 17:25:13 atlas_ | I just ran `sh <(curl https://nixos.org/nix/install) --daemon` on Arch, │ aramiscd
<atlas_> | and the install succeeded. However, when I open a new terminal, I can't │ arcnmx
<atlas_> | run any nix-* commands or simply `nix`.y
jgt has quit [Ping timeout: 252 seconds]
<atlas_> whoops, sorry for the bad copy
jkachmar has quit [Quit: Connection closed for inactivity]
<aanderse> what shell do you use? was nix properly added to your path?
<atlas_> I use zsh, and it wasn't added to my path. I read that the installer modifies /etc/zshrc if it exists. It didn't exist, but I tried reinstalling after doing `touch /etc/zshrc` and it didn't fix my issue (didn't modify my path)
<atlas_> it doesn't work in bash either
<aanderse> you should pastebin the actual error you are hitting then
<atlas_> I'm just getting a "command not found" and I can't find where the binaries are manually
lsyoyom has joined #nixos
o1lo01ol1o has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @aanderse merged pull request #63957 → nixos/httpd: remove broken trac subservice → https://git.io/fjKfK
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/fjPS3
mexisme has joined #nixos
Myhlamaeus has quit [Read error: Connection reset by peer]
<spaark> atlas_: the binaries should be in /nix/store/<hash>-nix-<version>/bin
mexisme has quit [Ping timeout: 258 seconds]
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 264 seconds]
mbrgm_ is now known as mbrgm
wildtrees has quit [Quit: Leaving]