gchristensen changed the topic of #nixos to: NixOS 18.03 and Nix 2.0 are released! || Share the output of nix-shell -p nix-info --run nix-info to help us help you. || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat
<fresheyeball> it was my router
<fresheyeball> port forwarding
<fresheyeball> plus firewall
<fresheyeball> thanks for the rubber ducking folks, I was losing it
tenten8401 has quit [Quit: Page closed]
<infinisil> Nice :)
freeman42x]NixOS has joined #nixos
jasongro` has quit [Ping timeout: 260 seconds]
Tobba_ has quit [Read error: Connection reset by peer]
jperras has quit [Quit: WeeChat 2.1]
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/21094432077 (from 15 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42190 → xmrig: 2.6.2 -> 2.6.3 → https://git.io/ffC5X
steell has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer opened pull request #42191 → haskell: fix with-packages-wrapper in ghcjs → https://git.io/ffC51
thc202 has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42192 → xonsh: 0.6.6 -> 0.6.7 → https://git.io/ffCdC
cd is now known as polyzen
hph^ has joined #nixos
hph^ has quit [Max SendQ exceeded]
hph^ has joined #nixos
hph^ has quit [Max SendQ exceeded]
hph^ has joined #nixos
hph^ has quit [Max SendQ exceeded]
hph^ has joined #nixos
hph^ has quit [Max SendQ exceeded]
hph^ has joined #nixos
hph^ has quit [Max SendQ exceeded]
hph^ has joined #nixos
hph^ has quit [Max SendQ exceeded]
<rprije> I created a specialised /nix partition and it just ran out of inodes with 16% physical space left on the partition :(
<{^_^}> [nixpkgs] @jameysharp opened pull request #42193 → libinput: split utilities to a bin output → https://git.io/ffCdQ
silver_ has joined #nixos
silver has quit [Ping timeout: 256 seconds]
tenten8401 has joined #nixos
xcmw has quit [Ping timeout: 265 seconds]
andymandias has quit [Ping timeout: 260 seconds]
<tenten8401> Anyone here know if there's a way to have the KDE application menu update on nixos-rebuild?
sir_guy_carleton has joined #nixos
xcmw has joined #nixos
truthadjustr has joined #nixos
<tenten8401> Also, how would I make Qt Creator work? It seems like it's not detecting that Qt5 is installed
<truthadjustr> having prob with `clang++ main.cpp` with error: fatal error: 'cstddef' file not found
<truthadjustr> g++ works...
steell has quit [Ping timeout: 256 seconds]
andymandias has joined #nixos
<truthadjustr> include/boost/config/detail/select_stdlib_config.hpp:18:12: fatal error: 'cstddef' file not found
ericsagn1 has joined #nixos
andreabedini has joined #nixos
<{^_^}> [nixpkgs] @dtzWill merged pull request #42188 → range-v3: 0.3.5 -> 0.3.6 → https://git.io/ffCQ5
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/ffCFP
alexteves has quit [Ping timeout: 256 seconds]
truthadjustr has quit [Quit: leaving]
<clever> tenten8401: ive found it only works in a nix-shell, after running the preconfigure hook, and using the qmake that nix-shell has in $PATH
<clever> tenten8401: which is also deleted at shutdown, so you have to fix the qtcreator config every time you reboot
<tenten8401> sounds awful
JasonGrossman has joined #nixos
<clever> yeah
<{^_^}> [nixpkgs] @nh2 opened pull request #42194 → chromium: Abort build on gn warnings. Fixes #42189. → https://git.io/ffCFp
silver_ has quit [Quit: rakede]
steell has joined #nixos
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/18a810439fc (from 13 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
nuncanada has joined #nixos
ThatDocsLady has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42195 → wesnoth: 1.14.2 -> 1.14.3 → https://git.io/ffCbC
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42196 → zerotierone: 1.2.8 -> 1.2.10 → https://git.io/ffCba
nuncanada2 has joined #nixos
nuncanada has quit [Ping timeout: 264 seconds]
sbdchd has quit [Remote host closed the connection]
nuncanada2 has quit [Ping timeout: 260 seconds]
ThatDocsLady has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
matthewbauer has quit [Ping timeout: 260 seconds]
ThatDocsLady has quit [Ping timeout: 256 seconds]
olto has joined #nixos
lord| has quit [Quit: WeeChat 2.1]
ryantrinkle has quit [Ping timeout: 264 seconds]
tzemanovic has quit [Remote host closed the connection]
lord| has joined #nixos
oltoAltn has quit [Ping timeout: 268 seconds]
tzemanovic has joined #nixos
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @dtzWill opened pull request #42198 → dmraid: fix w/musl (missing includes, -D_GNU_SOURCE) → https://git.io/ffCN4
work_ has quit [Quit: Connection closed for inactivity]
steell has quit [Ping timeout: 264 seconds]
steell has joined #nixos
<tenten8401> Does NixOS have any official stickers that I can buy or something?
<tenten8401> I kind've want a badge for my computer, sort've like the "Windows 10" stickers except for NixOS
jmeredith has quit [Quit: Connection closed for inactivity]
<tenten8401> might just order some custom stickers
Fare has joined #nixos
xy2_ has joined #nixos
<{^_^}> [nixpkgs] @dtzWill merged pull request #42198 → dmraid: fix w/musl (missing includes, -D_GNU_SOURCE) → https://git.io/ffCN4
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/ffCAg
<infinisil> tenten8401: Not sure about official, but there are these: https://www.redbubble.com/people/mogorman/works/30133879-nixos-logo
<tenten8401> probably just gonna take the nixos-artwork repo and upload it to redbubble
<tenten8401> under a 0% markup
<tenten8401> also wanting a little computer badge style sticker
<tenten8401> so I may have to design that myself
<tenten8401> well that was easier than I expected... https://www.redbubble.com/people/tenten8401/works/32300945-nixos-w-text-sticker
matthewbauer has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #41939 → haskell generic-builder: Always use separate pkg db for custom setup → https://git.io/vhKxk
<{^_^}> [nixpkgs] @Ericson2314 pushed 3 commits to master: https://git.io/ffCxm
sbdchd has joined #nixos
<adisbladis[m]> tenten8401: I want some of those full laptop-size nixos stickers I've seen some people having
<tenten8401> as in like a skin for the entire back of the laptop?
<tenten8401> I'm probably going to end up putting one of these on the back of my laptop:https://www.redbubble.com/people/tenten8401/works/32301023-nixos-logo-w-right-text-sticker
<adisbladis[m]> tenten8401: No, the NixOS logo is cut out
<tenten8401> so it covers the back of the entire laptop but the snowflake is cutout from it?
<adisbladis[m]> Yeah :)
<tenten8401> that sounds cool
<tenten8401> I wonder if my dad still has his sign cutter laying around
blahdodo has quit [Quit: Bye bye]
<tenten8401> probably uses some old windows 95 drivers though
<adisbladis[m]> tenten8401: I know someone owning a sticker factory. So might be able to get good pricing.
<tenten8401> interesting
<tenten8401> I'd like to see the sticker on a laptop first if anything though
<{^_^}> [nixpkgs] @adisbladis merged pull request #42196 → zerotierone: 1.2.8 -> 1.2.10 → https://git.io/ffCba
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/ffCxc
<samueldr> though
<samueldr> I find the redbubble algorithms for cutting around the snowflake are... lacking
<tenten8401> 100%
<tenten8401> they're not that great
<samueldr> the two pairs of three similar sides are weirdly uneven
<tenten8401> I wish you could adjust it or manually draw lines
<samueldr> and (maybe it's the source mongorman used) the print isn't the best quality
<samueldr> I'm curious how they compare to the previously available stickermule stickers
<samueldr> (stickermule dropped their by-the-sticker shop)
<tenten8401> yeah, I'm kinda dissapointed that they did that
<tenten8401> and unixstickers no longer offers individual stickers either
<samueldr> probably related
<tenten8401> it is, they're powered by stickermule
<adisbladis[m]> I'll meet my sticker friend tonight. I'll have a look what a limited run will cost.
<{^_^}> [nixpkgs] @adisbladis merged pull request #42192 → xonsh: 0.6.6 -> 0.6.7 → https://git.io/ffCdC
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/ffCxR
<tenten8401> I'd totally buy a "case badge" type sticker if someone made one
<tenten8401> like how the ones https://www.unixstickers.com/ has for arch linux
<adisbladis[m]> The annoying bit of not using a sticker as a service thing is shipping
blahdodo has joined #nixos
<tenten8401> I bought their $1 pro pack and all I'm gonna end up using from it is the tux and maybe git
<samueldr> especially how shipping isn't cheap when not a busines
<samueldr> overseas shipping*
<samueldr> or even across borders
<tenten8401> yeah I'd charge extra for non-domestic shipping
<tenten8401> postage for domestic shipping should be pretty cheap though
<tenten8401> since you can send it as an envelope
<samueldr> let's hope the mailman's not gonna fold it :/ redbubble ships in cardboard envelopes
<samueldr> (still, same fare I think)
<hodapp> hmm, I was looking at redbubble for selling posters
<adisbladis[m]> Shipping is cheap where I live
<tenten8401> to be fair, even if they do fold it, it's a sticker, you can probably unfold it
<tenten8401> but cardboard envelopes might help
<tenten8401> usually putting "do not fold" on envelopes helps with that kind've stuff though
<samueldr> the crease will probably always show
<adisbladis[m]> Here you go to the post office and get bulk pricing
<tenten8401> I've gotten official certificates mailed to me in paper envelopes
<tenten8401> and they never get folded
<tenten8401> all they had was a small warning that said do not fold
<tenten8401> guess it varies between shipping service too
<tenten8401> kinda wish I had a use for the 2 archlinux stickers I got from unixstickers
<tenten8401> might just give them away to whoever can pay 25 cents for a stamp or whatever
<rizary> how do we `chown` folder? I have some folder inside my `$out/static` and want to change the ownership, but it says `operation not permitted`
<clever> rizary: you cant, all files you build must be owned by the user doing the build, and nix-daemon will then chown them to root when its done
<rizary> clever: i see, but i keep getting error re permission here: https://gist.github.com/Rizary/5062961a20071e2ab6c3bd680f364310
<clever> rizary: are you trying to modify the files in $src ?
JasonGrossman has quit [Ping timeout: 240 seconds]
<clever> rizary: ah, i see the problem, its not chown you want, its chmod
<rizary> one way that i can have the `npm run build` is by doing it first inside the `frontend` folder
<clever> rizary: line 26 copied the frontend package, which is read-only, so now $out/prod/static is read-only
<clever> rizary: you need to chmod -R +w $out/prod/static/
<rizary> i see
<clever> rizary: and if your not using the src, you can omit line 17
<clever> and since the unpackPhase is also empty, you could just omit unpack from line 30, and delete lines 17-19
<clever> rizary: line 22 is also not pure, you should refer to the locales within nixpkgs, not the current-system
<clever> export LOCALE_ARCHIVE="${pkgs.glibcLocales}/lib/locale/locale-archive";
Tobba has joined #nixos
<rizary> clever: thank you very much!! TIL..
<rizary> so re chmod, where should i put it? is it in `buildPhase` or `installPhase` then should I revert it back to original condition?
<clever> rizary: in the install phase, after you copy the frontend
<rizary> oh re LOCALE_ARCHIVE, i am getting `not a valid identifier`
<clever> you called it nixpkgs in your file, so nixpkgs.glibcLocales
<rizary> yep, i try it in install phase and it works. I mean if is it possible that i am doing the copy and chmod in `buildPhase` then revert the chmod back again in `installPhase`?
<clever> nix-daemon will revert all the chmod bits for you when the build is done
doyougnu has quit [Quit: WeeChat 1.9.1]
<clever> everything will be made read-only and owned by root
<rizary> i see, i thought when i `inherit (nixpkgs) pkgs;` i already get the `glibLocales`
<rizary> thanks again clever
<clever> ah, you do
<tenten8401> Anyone know why I could be getting an "error: failed to get canocial path of /boot/efi" error when installing grub?
<tenten8401> I'm installing it to 2 drives that are in a raid array
<tenten8401> using the grub devices array in my configuration
<tenten8401> while it does work on one drive, the other fails
<clever> tenten8401: can you pastebin your entire configuration.nix file?
<tenten8401> yeah, 1s
matthewbauer has quit [Ping timeout: 256 seconds]
<tenten8401> slowly booting the live image and mounting again
<tenten8401> any day now
<vaibhavsagar> Has anyone seen "Failed to start systemd-journal-catalog-update.service: Transaction order is cyclic. See system logs for details." before?
<vaibhavsagar> it's looking like "sysinit.targete/start" and "systemd-journal-catalog-update.service/start" depend on each other
<clever> tenten8401: efiSysMountPoint must be set to /boot since thats where your fat partition is mounted
<clever> tenten8401: and boot.loader.grub.devices is only for legacy booting, it should probably be set to "nodev"
<tenten8401> fixed bot of those, testing
<tenten8401> both*
<tenten8401> grub doesn't think /boot looks like an EFI partition
matthewbauer has joined #nixos
<clever> tenten8401: oh, grub may not understand the raid stuff
<tenten8401> what should I do about that?
<tenten8401> systemd-boot had issues too when I tried it
<clever> tenten8401: id just use a single /boot, ive never lost a boot partition
<tenten8401> but if 1 disk in the raid array goes out I have a 50% chance of an unbootable system
<{^_^}> [nixpkgs] @Chiiruno opened pull request #42199 → dolphinEmuMaster: 20180609 -> 20180618 → https://git.io/ffCp2
<clever> tenten8401: you could adjust the config a bit, use a mirrored /boot, and then have a "non-mirrored" /boot/efi
<clever> your /boot can be something linux like ext4
<clever> and then the "non-mirrored" fat /boot/efi is manually mirrored after installing, the contents will rarely change
<clever> in that case, you would use efiSysMountPoint = "/boot/efi";
<tenten8401> so there's basically no way to do redundant bootloaders?
<tenten8401> uhg, also probably gonna have to reconstruct this raid array if I wanna only do it on 1 disk
<copumpkin> if in NixOS config, I want a large chunk of config guarded behind mkIf foo.enable
<clever> i think you can only do redundant bootloaders with legacy booting
<copumpkin> but some chunk of it to be unconditional
<tenten8401> I'm not even sure if this server supports EFI booting to be completely honest
<clever> copumpkin: config = mkMerge [ { ... } (mkIf condition { ... }) ];
<copumpkin> weird
<copumpkin> thanks :)
<clever> tenten8401: then set efi to false, and restore the previous devices param
<clever> copumpkin: mkMerge will handle the same merging as imports and other modules
joelb has joined #nixos
<copumpkin> makes sense, thanks
<tenten8401> man grub is taking forever to install
<copumpkin> is it frowned-upon to put a config.foo.bar expression in a default for another foo option?
<clever> copumpkin: the nix-daemon service already does that
<clever> copumpkin: for example, the max number of concurrent builds, and the number of build users, are tied together by default
<clever> so you always have enough users
<copumpkin> cool
<copumpkin> I like that better than the unconditional config
lassulus_ has joined #nixos
<tenten8401> grub is now throwing an "unable to identify a filesystem in hostdisk//dev/sda
<clever> tenten8401: what does "fdisk -l /dev/sda" report?
steell has quit [Ping timeout: 264 seconds]
<tenten8401> https://i.imgur.com/OIQpZrT.png picture because I can't hastebin through VNC, dearly sorry
<clever> tenten8401: `systemctl start sshd` and `passwd`, then you can ssh into it, if you want
<clever> MBR partition tables, so efi would never have worked to begin with
<tenten8401> I'm using qemu in a rescue system to boot from the NixOS ISO
<tenten8401> and I have qemu set to broadcast VNC
<clever> ah, that sounds like the perfect job for my kexec trick
<clever> not that you have to switch, but here it is: https://github.com/cleverca22/nix-tests/blob/master/kexec/session.md
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/a888484a3ad (from 13 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<clever> you just upload a tarball to a rescue system, run the shell script within, and now its running nixos from a ramdisk
lassulus has quit [Ping timeout: 260 seconds]
lassulus_ is now known as lassulus
<clever> also of note, both qemu and kexec will break configuring efi in the bios, so efi based installs wont work with either trick
<tenten8401> I wish nixos-in-place wasn't borked
<{^_^}> [nixpkgs] @matthewbauer merged pull request #42191 → haskell: fix with-packages-wrapper in ghcjs → https://git.io/ffC51
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/ffCpF
<clever> tenten8401: on the rescue system, what does `ls -l /dev/kvm` report?
<tenten8401> crw-rw---- 1 root kvm 10, 232 Jun 18 21:26 /dev/kvm
sbdchd has quit [Remote host closed the connection]
<tenten8401> it's the hetzner rescue system if you're familiar at all
<clever> ah, then thats not why it was slow to boot
<clever> yeah, i'm not sure why grub cant identify things
<tenten8401> if you'd like access to my server to screw around I can give it
<tenten8401> there's literally nothing on it
<tenten8401> bought it like a couple hours ago and have been trying to install NixOS since
schoppenhauer has quit [Ping timeout: 260 seconds]
tzemanovic has quit [Remote host closed the connection]
<clever> tenten8401: not sure how to fix your /boot raid issues, but i can help you mess with kexec if you want to compare it to qemu and see which is simpler
schoppenhauer has joined #nixos
<tenten8401> I really don't mind what I use
<tenten8401> qemu seems to work well enough
<tenten8401> I'm clueless on what to do for this NixOS install
<clever> about all i can think of is to do a non-mirrored /boot, you can always recreate /boot from the rescue system
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/e09c6e47f1a (from 9 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
JasonGrossman has joined #nixos
orivej has quit [Ping timeout: 245 seconds]
<tenten8401> I'd be fine with a non-mirrored /boot
<tenten8401> should I just destroy the raid array that contains /boot?
<clever> yeah, then re-format one of those partitions as ext4 and fix-up its type-code in fdisk
<clever> and mount it to /mnt/boot
stepcut has joined #nixos
wotan_gs has joined #nixos
<tenten8401> uhg
<tenten8401> it's 11:45 PM
<clever> 12:46 AM here, and chrome is still segfaulting
<tenten8401> probably just gonna wait until tommorow, nuke the disks and try again
<clever> at least you didnt have to wait 5 hours for chrome to compile, only for it to stop crashing :P
joelb has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @qolii opened pull request #42200 → Cryptsetup: 2.0.2 -> 2.0.3. Also, add upstream libressl-2.7 patch. → https://git.io/fflZc
Fare has quit [Ping timeout: 265 seconds]
Fare has joined #nixos
<jcrben> Baughn: fyi, linked out to the IRC log in your issue (https://github.com/NixOS/nixpkgs/issues/42178) - hope that's OK. and I gave it a thumbs up, not that my opinion counts for anything :) I think minimal number of recommended glue languages is best - right now Python is pretty embedded into the nix world since https://github.com/NixOS/nixops is wr
<jcrben> itten in it (as well as hydra-provisioner). but ofborg is in Rust and Rust is a language that a lot of people (including myself) would like to work with
tzemanovic has joined #nixos
<jcrben> I suppose the compilation into a static binary is a big point in favor of Rust over Python
<hyper_ch> clever: still can't install nixos from your kexec :( gnutls still fails
<clever> hyper_ch: can you gist the error?
<hyper_ch> clever: problem isn't your kexec but I just can't install nixos from in there
Ross has quit [Ping timeout: 256 seconds]
nallar has joined #nixos
<clever> hyper_ch: what version of nixpkgs are you using?
<hyper_ch> clever: wahtever comes with your kexec
nallar is now known as Ross
<hyper_ch> and I tried with nixos-unstable-small, nixos-unstable and nixos-stable channels
<clever> hyper_ch: you forgot to run nix-channel --update
<clever> so every single one of those nix-channel --add's had zero effect
<hyper_ch> d'oh
<hyper_ch> what's why I have scripts that make the channel change for me usually...
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
stepcut has quit [Remote host closed the connection]
Mateon1 has quit [Ping timeout: 245 seconds]
andymandias has quit [Ping timeout: 248 seconds]
<hyper_ch> will take a while, thx
Mateon1 has joined #nixos
stepcut has joined #nixos
stepcut has quit [Read error: Connection reset by peer]
stepcut has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42201 → vips: 8.6.3 -> 8.6.4 → https://git.io/fflRK
andymandias has joined #nixos
sir_guy_carleton has quit [Quit: WeeChat 2.0]
matthewbauer has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42202 → verilator: 3.922 -> 3.924 → https://git.io/ffl2R
azdle has joined #nixos
bluej774 has joined #nixos
<bluej774> So, what are the minimum requirements to install Nix? I know it needs curl. I think it also needs a version of groff, although only to run --help commands and you can install that from Nix after the fact. Is there anything else?
<jackdk> patience and a good network connection?
blankhart has joined #nixos
<clever> bluej774: there is also a bash script that just downloads a pre-compiled copy of nix
<bluej774> clever, oh?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42203 → toot: 0.17.1 -> 0.18.0 → https://git.io/fflXT
<clever> bluej774: curl https://nixos.org/nix/install
<clever> bluej774: either pipe it directly into sh, or save it to a file and run sh on it
<bluej774> Yeah, I'm familiar with it. It uses curl internally, too.
Fare has quit [Ping timeout: 276 seconds]
<bluej774> I was attempting to use it on a busybox barebones install. But busybox only has a wget-alike. No curl.
jackdk has quit [Ping timeout: 256 seconds]
<clever> ah
<clever> you can also read the script, manually download the files with wget, and then unpack them and configure it properly
<bluej774> Yeah, I might try that. I'm a little loathe to deviate from just running the official install script, though. I'll see what I can do.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42204 → spice-vdagent: 0.17.0 -> 0.18.0 → https://git.io/ffl9C
Ariakenom has joined #nixos
JasonGrossman has quit [Ping timeout: 264 seconds]
wchresta has joined #nixos
woodson has joined #nixos
rprije has quit [Ping timeout: 256 seconds]
MercurialAlchemi has joined #nixos
Guanin has quit [Ping timeout: 248 seconds]
ThatDocsLady has joined #nixos
Guanin has joined #nixos
sary has joined #nixos
<vaibhavsagar> Has anyone seen "Failed to start systemd-journal-catalog-update.service: Transaction order is cyclic. See system logs for details." before? I'm getting it when upgrading from 17.09 -> 18.03
smallville7123 has joined #nixos
xy2_ has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42205 → spectrojack: 0.4 -> 0.4.1 → https://git.io/fflj3
asuryawanshi has joined #nixos
reinzelmann has joined #nixos
smallville7123 has quit [Client Quit]
asuryawanshi has quit [Remote host closed the connection]
jackdk has joined #nixos
wchresta has quit [Ping timeout: 268 seconds]
smallville7123 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42206 → swiften: 4.0 -> 4.0.2 → https://git.io/ff8ee
camsbury has joined #nixos
igo95862 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42207 → uptimed: 0.4.0 -> 0.4.1 → https://git.io/ff8eT
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42208 → smemstat: 0.01.18 -> 0.02.00 → https://git.io/ff8et
<colemickens> Do the channels advance automatically? It's hard for me to correlate the last advancement with a specific hydra run. It seems like even for nixos-unstable, there's always some packages that fail.
camsbury has quit [Ping timeout: 268 seconds]
et4te has quit [Ping timeout: 260 seconds]
<cocreature> colemickens: afaik whenever the tests pass, the channels advance
jensens has joined #nixos
<colemickens> the confusing thing is that I see evaluations that are failed, even on days that I know nixos-unstable was advanced? https://hydra.nixos.org/jobset/nixos/trunk-combined/evals
<cocreature> I don’t think the tests require all evaluations to pass
<etu> The later link is the correct link to look at :)
<etu> When all the ticks are green in a column and certain builds are populated in the cache the channel will advance
<etu> And at the moment it looks very bad, but it's not as bad as it looks because the red circles means "canceled" and not actual fails
stepcut has quit [Remote host closed the connection]
<bluej774> clever, I don't know how reliable it'll be in the face of updates, but this works for the time being: `wget -q -O - https://nixos.org/nix/install | sed 's/require_util curl/require_util wget/' | sed 's/curl -L "$url" -o "$tarball"/wget -q -O "$tarball" "$url"/' | sh`
stepcut has joined #nixos
stepcut has quit [Read error: Connection reset by peer]
stepcut has joined #nixos
endformationage has quit [Ping timeout: 248 seconds]
jasongro` has joined #nixos
hamishmack has quit [Ping timeout: 256 seconds]
Ariakenom has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42209 → smcroute: 2.4.0 -> 2.4.1 → https://git.io/ff8vI
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42210 → redis: 4.0.9 -> 4.0.10 → https://git.io/ff8vC
<{^_^}> [nixpkgs] @dje4321 opened pull request #42211 → Grub: default is signed int. Fixes #42152 → https://git.io/ff8vR
sorixelle has joined #nixos
pie_ has quit [Ping timeout: 248 seconds]
robstr has joined #nixos
MichaelRaskin has quit [Quit: MichaelRaskin]
smallville7123 has quit [Quit: rosa]
smallville7123 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42212 → riot-web: 0.15.4 -> 0.15.5 → https://git.io/ffotM
smallville7123 has quit [Client Quit]
orivej has joined #nixos
sir_guy_carleton has joined #nixos
Lisanna has joined #nixos
Ariakenom has joined #nixos
andymandias has quit [Ping timeout: 268 seconds]
igo95862 has quit [Quit: igo95862]
<Lisanna> Hey, could someone help me understand releaseTools.channel?
<Lisanna> I've got the following release.nix file started, which I'll use as a jobset definition in hydra: https://hastebin.com/raw/tamoceloko
smallville7123 has joined #nixos
<Lisanna> I'm not sure what to put in constituents, since it feels like I'd have to do an IFD to get all the packages from the nix expression in src
philippD has joined #nixos
smallville7123 has quit [Client Quit]
andymandias has joined #nixos
hamishmack has joined #nixos
smallville7123 has joined #nixos
Tobba has quit [Ping timeout: 256 seconds]
jackdk has quit [Ping timeout: 276 seconds]
smallville7123 has quit [Client Quit]
hyper_ch2 has joined #nixos
jensens has quit [Ping timeout: 240 seconds]
smallville7123 has joined #nixos
<{^_^}> [nixpkgs] @adisbladis merged pull request #42210 → redis: 4.0.9 -> 4.0.10 → https://git.io/ff8vC
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/ffSH0
<{^_^}> [nixpkgs] @adisbladis merged pull request #42201 → vips: 8.6.3 -> 8.6.4 → https://git.io/fflRK
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/ff9cJ
TrentP has quit [Ping timeout: 256 seconds]
Lev50 has joined #nixos
<{^_^}> [nixpkgs] @Chiiruno opened pull request #42213 → snes9x-gtk: Install normally → https://git.io/ffHum
stepcut has quit [Remote host closed the connection]
TrentP has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #42185 → docs: minor rewording for easier reading. → https://git.io/ffC9s
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/ffFTb
<{^_^}> [nixpkgs] @Mic92 pushed commit from @ariutta to release-18.03 « docs: minor rewording for easier reading. »: https://git.io/ffbdv
<sir_guy_carleton> if a delete a 'result' symlink to a vm from nixos-rebuild build-vm, will it be cleaned up on the next nix-collect-garbage?
smallville7123 has quit [Quit: rosa]
<{^_^}> [nixpkgs] @Mic92 merged pull request #42194 → chromium: Abort build on gn warnings. Fixes #42189. → https://git.io/ffCFp
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/ffxjk
blankhart has quit [Quit: WeeChat 1.9.1]
bluej774 has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @Chiiruno opened pull request #42214 → mgba: Add desktop file → https://git.io/ffxj8
jackdk has joined #nixos
<{^_^}> [nix] @edolstra merged pull request #2241 → progress-bar: refresh occasionally even if no updates are received → https://git.io/ffC96
<{^_^}> [nix] @edolstra pushed 3 commits to master: https://git.io/ffxjB
smallville7123 has joined #nixos
jD91mZM2 has joined #nixos
mmercier has joined #nixos
jackdk has quit [Ping timeout: 240 seconds]
layus has quit [Quit: ZNC 1.6.5 - http://znc.in]
jensens has joined #nixos
jasongro` has quit [Quit: ERC (IRC client for Emacs 26.1)]
JasonGrossman has joined #nixos
layus has joined #nixos
<manveru> sir_guy_carleton: yeah, should be
<{^_^}> [nixpkgs] @adisbladis merged pull request #42213 → snes9x-gtk: Install normally → https://git.io/ffHum
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/fJJpD
<manveru> i'm wondering what all those `{memory:\d+}` gc roots are...
smallville7123 has quit [Quit: rosa]
smallville7123 has joined #nixos
smallville7123 has quit [Excess Flood]
smallville7123 has joined #nixos
agander has joined #nixos
woodson has quit [Ping timeout: 265 seconds]
vaninwagen has joined #nixos
{^_^} has quit [Ping timeout: 260 seconds]
abcrawf has quit [Ping timeout: 260 seconds]
palo_ has joined #nixos
palo_ has quit [Changing host]
palo_ has joined #nixos
thc202 has joined #nixos
smallville7123 has quit [Quit: rosa]
palo has quit [Ping timeout: 245 seconds]
<tfc[m]> hey there. i have a project that i try to build in a nix shell but it does not work becasue the build system (`scons`) surpresses all the environment variables. so the result i am fighting against is the c compiler not finding <stdint.h> - which env variables do i need to restore to fix this?
abcrawf has joined #nixos
{^_^} has joined #nixos
{^_^} has quit [Changing host]
{^_^} has joined #nixos
__monty__ has joined #nixos
tzemanovic has quit []
tzemanovic has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #42212 → riot-web: 0.15.4 -> 0.15.5 → https://git.io/ffotM
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fJn0J
smallville7123 has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #42207 → uptimed: 0.4.0 -> 0.4.1 → https://git.io/ff8eT
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fJWep
logiq has joined #nixos
triston has joined #nixos
triston has quit [Max SendQ exceeded]
crmlt has joined #nixos
AluisioASG has quit [Remote host closed the connection]
AluisioASG has joined #nixos
JasonGrossman has quit [Remote host closed the connection]
JasonGrossman has joined #nixos
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/3f18caed9ec (from 60 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
JasonGrossman has quit [Remote host closed the connection]
JasonGrossman has joined #nixos
logiq has quit [Ping timeout: 248 seconds]
jasongro` has joined #nixos
JasonGrossman has quit [Remote host closed the connection]
jasongro` has quit [Remote host closed the connection]
JasonGrossman has joined #nixos
smallville7123 has quit [Quit: rosa]
smallville7123 has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 5 commits to release-18.03: https://git.io/fJ2hM
orivej has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #42186 → vym: 2.2.4 -> 2.6.11 → https://git.io/ffC9R
<{^_^}> [nixpkgs] @Mic92 pushed commit from @nek0 to master « vym: 2.2.4 -> 2.6.11 (#42186) »: https://git.io/fJ2jv
vcunat has joined #nixos
ThatDocsLady has quit [Ping timeout: 245 seconds]
ThatDocsLady has joined #nixos
Rovanion has quit [Quit: WeeChat 1.4]
crmlt has quit [Ping timeout: 256 seconds]
johann__ has joined #nixos
crmlt has joined #nixos
JasonGrossman has quit [Remote host closed the connection]
Lev50 has quit [Quit: This computer has gone to sleep]
JasonGrossman has joined #nixos
<hyper_ch2> clever: after using nix-channel --update it works again like a charm
vcunat has quit [Quit: Leaving.]
BombStrike has quit [Quit: ZNC 1.6.6 - http://znc.in]
agander_ has joined #nixos
agander has quit [Read error: Connection reset by peer]
johann__ has quit [Quit: Leaving.]
johann__ has joined #nixos
johann__ has quit [Client Quit]
johann__ has joined #nixos
civodul has joined #nixos
orivej has joined #nixos
saep has joined #nixos
johann__ has quit [Client Quit]
Biappi has quit [Ping timeout: 256 seconds]
crmlt has quit [Quit: Lost terminal]
<Lisanna> is there a way to inherit everything from an attrset?
<Lisanna> 'inherit (myattrs) *' or something
jarlg has joined #nixos
<__monty__> Lisanna: "with" sounds like what you want.
<jarlg> Am I right that libbluetooth isn't packaged? What would be the easiest way to install it?
<Lisanna> __monty__ with can't work inside a let statement or an attrset unfortuantely
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/3f18caed9ec (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
rprije has joined #nixos
<Mic92> jarlg: it is in the bluez package: nix-shell -p nix-index --command 'nix-locate libbluetooth'
<Mic92> bluez.out
smallville7123 has quit [Quit: rosa]
<yurb> Hi all. I couldn't find a description of the process of security updates in libraries - what happens if something like the openssl heartbleed appears? Everything gets rebuilt?
<jarlg> Mic92: Ah, thanks!
johann__ has joined #nixos
smallville7123 has joined #nixos
<JasonGrossman> yurb: Yes. You pick up the updates (including new builds) when you use nixos-rebuild.
<JasonGrossman> yurb: Hydra makes the new binaries and caches them for you to download (not instantly, but pretty quickly).
<yurb> JasonGrossman: and if I'm using just nixpkgs on another distro? Just regular nix-env --upgrade?
troydm has quit [Ping timeout: 276 seconds]
smallville7123 has quit [Client Quit]
agander_ has quit [Ping timeout: 256 seconds]
smallville7123 has joined #nixos
smallville7123 has quit [Excess Flood]
tzemanovic has quit [Remote host closed the connection]
<yurb> Also, is there something similar to https://lists.debian.org/debian-security-announce/2018/threads.html ?
<JasonGrossman> yurb: Yes.
smallville7123 has joined #nixos
<JasonGrossman> yurb: You're looking at it! It's not as well categorised as the debian list, but updates are announced here.
<JasonGrossman> That's all updates, not just security updates.
<yurb> JasonGrossman: do you mean this IRC channel? :)
<JasonGrossman> Yes. There's no email list as far as I know. There is a NixOS security team that's responsible for rapid response on security problems, but as far as I know their only job is to fix things not to do any particular announcement ... although they might for something as big as heartbleed.
<yurb> I see. Thanks.
<JasonGrossman> yurb: Also, NixOS has an option to automate upgrades, but as far as I know nixpkgs doesn't ... although of course it would be a very simple cron job.
<{^_^}> [nixpkgs] @Mic92 merged pull request #42182 → nixos-18.03/pgbackup: Fix bug in postgresql-backup module that causes to fail → https://git.io/ffCMt
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to release-18.03: https://git.io/fUkpi
andymandias has quit [Ping timeout: 276 seconds]
<yurb> JasonGrossman: I once had this funny situation where I had automatic upgrades setup on Fedora. I had an Ardour audio project setup for a performance. Then I travelled to another city and right before the concert I see that Ardour has been updated from 4 to 5 :) Luckily it all worked.
<JasonGrossman> WOW!
<JasonGrossman> Also, if you say that then you have to post a link to your music.
<JasonGrossman> Also, that's why I like the Debian announcement mechanism. Maybe we'll have that for nixpkgs one day.
agander has joined #nixos
<manveru> Lisanna: you can prefix your `let` with `with`, no?
astsmtl has quit [Ping timeout: 260 seconds]
<yurb> JasonGrossman: sent in pm to not spam the channel. Recently I started using nixpkgs to install the audio stuff I use on Fedora - SuperCollider, jack, etc.
<Lisanna> manveru I'm not trying to add it to my lexical scope, I'm trying to put it in the actual attrset
<Lisanna> There doesn't seem to be a language feature for it
<manveru> Lisanna: does `//` work for you then?
<Lisanna> you have to do it from outside
<Lisanna> or specify everything manually
tzemanovic has joined #nixos
<Lisanna> it's not a /huge/ deal, would just be nice to have a feature for doing it with an inherit statement
<goibhniu1> yurb, I'd also like to hear your stuff :)
<yurb> goibhniu1: okay:) There's soundcloud.com/yurb and https://www.zerogate.tk/1KiTtmtLDnAgiWKC1oZFNq19Ctq7KaHAW9/artistic.html
<goibhniu1> nice, thanks!
astsmtl has joined #nixos
astsmtl has quit [Changing host]
astsmtl has joined #nixos
goibhniu1 is now known as goibhniu
andymandias has joined #nixos
andreabedini has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/d320a062293 (from 62 minutes ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
tzemanovic has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @marsam opened pull request #42215 → tectonic: 0.1.7 -> 0.1.8 → https://git.io/fUIvF
<mupf> crap, the package I need seems to be broken? Anything I can do except contacting the maintainer(s)? emscriptenPackages.libxml2
<mupf> It tries to compile and fails.
<manveru> mupf: what's the log?
<mupf> Wait, I already closed the shell. One moment
astsmtl has quit [Ping timeout: 256 seconds]
johanot has joined #nixos
PLPD-Bot has quit [Remote host closed the connection]
Plato[m] has quit [Remote host closed the connection]
astsmtl has joined #nixos
astsmtl has quit [Changing host]
astsmtl has joined #nixos
PLPD-Bot has joined #nixos
selaux has joined #nixos
Plato[m] has joined #nixos
<manveru> trying on master
<mupf> before it fails.
sir_guy_carleton has quit [Quit: WeeChat 2.0]
tzemanovic has joined #nixos
<manveru> hmm, i have a different failure
orivej has quit [Ping timeout: 256 seconds]
<mupf> that's odd?
<manveru> sorry, can't really help with that :|
BombStrike has joined #nixos
<manveru> but you can definitely create an issue for it and mention the maintainer there
<mupf> I already sent an email to the listed maintainers. What's the way to create an official issue? github? thanks anyway
<manveru> yes, on github in the nixpkgs repo
cornu[m]1 has joined #nixos
Plato[m] has left #nixos ["User left"]
tzemanovic has quit [Ping timeout: 245 seconds]
sir_guy_carleton has joined #nixos
<mupf> manveru: how to get the github names of the maintainers?
<mupf> I only knew their email addresses
palo_ is now known as palo
<tazjin> mupf: open a `nix-repl`, `:l <nixos>`, `lib.maintainers.maintainer_name`
<tazjin> also https://github.com/NixOS/nixpkgs/blob/master/maintainers/maintainer-list.nix if you just wanna search for the email
<mupf> thanks
<mupf> Alright, done
m0rphism has quit [Quit: WeeChat 1.9.1]
simukis has joined #nixos
<vaninwagen> hi, i do have some script here, which i cannot control, which uses /bin/bash in its shebang. I need to make this work on my system. Is there a prefered way to link my bash to /bin/bash ?
<vaninwagen> i know, i would love to have /usr/bin/env bash, but this is unfortunately not possible in this case :/
<{^_^}> [nixpkgs] @johanot opened pull request #42217 → nixos/kubernetes: dashboard lockdown → https://git.io/fUgMD
<manveru> vaninwagen: `steam-run` might help
<{^_^}> [nixpkgs] @Mic92 merged pull request #42215 → tectonic: 0.1.7 -> 0.1.8 → https://git.io/fUIvF
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fU2d8
<Baughn> vaninwagen: steam-run, or more generally, buildFHSEnv.
<{^_^}> [nixpkgs] @Ma27 opened pull request #42218 → avidemux: 2.7.0 -> 2.7.1 → https://git.io/fUrHv
<vaninwagen> Baughn: manveru unfortunately i cannot control how it is called. It is just called as an executable via execve. So i need something at /bin/bash. i just found that /bin/sh is also just a link to bash in my nix-store
<Baughn> vaninwagen: You can't have something at /bin/bash, but you *can* run the whole shebang in a chroot via steam-run.
<JasonGrossman> Baughn: You can have something at /bin/bash if you don't mind recreating it every time you rebuild NixOS. And of course you can automate that. Inelegant, but it would work.
<Baughn> ...very inelegant indeed.
<JasonGrossman> Yes.
<Baughn> Point is, there's something that calls this script.
<Baughn> That "something" can itself be run via steam-run.
<tilpner> vaninwagen - If you want to replicate /bin/sh behaviour, start in nixos/modules/config/shells-environment.nix+175
tzemanovic has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #42211 → Grub: default is signed int. Fixes #42152 → https://git.io/ff8vR
<{^_^}> [nixpkgs] @Mic92 pushed 4 commits to master: https://git.io/fU6BT
<manveru> so basically adding another system.activationScripts
jarlg has quit [Ping timeout: 240 seconds]
johann__ has quit [Quit: Leaving.]
<nyanloutre[m]> coucou
Turion has joined #nixos
<sir_guy_carleton> is there any way to specify a twice daily event with systemd timer events?
<sir_guy_carleton> so i want to schedule the nix garbage collector for 10 AM and 10 PM, for example
<vaninwagen> thank you very much, i added another system.activationScripts to my /etc/nixos/configuration.nix
<vaninwagen> not elegant, but works (automated)
<vaninwagen> :)
Tobba has joined #nixos
travankor has joined #nixos
<JasonGrossman> :-)
<infinisil> vaninwagen: oh no, there is a better way
<{^_^}> [nixpkgs] @timbertson opened pull request #42219 → nix-pin: 0.3.1 -> 0.3.4 → https://git.io/fUQXM
<vaninwagen> infinisil: tell me, tell me
<infinisil> vaninwagen: activationScripts is totally the wrong place, those get run whenever you rebuild as well
<{^_^}> [nixpkgs] @timbertson opened pull request #42220 → nix-update-source: 0.5.0 -> 0.6.3 → https://git.io/fU7Ed
<infinisil> vaninwagen: Here is a simple systemd timer: https://gist.github.com/Infinisil/66ed080ab0a61f2788ea04c533b80f36
ericsagn1 has quit [Ping timeout: 240 seconds]
<infinisil> vaninwagen: The User setting there isn't needed (default is root), and the enable isn't needed too actually (default is true)
<vaninwagen> infinisil: but why a timer for it? running it and updating /bin/bash on rebuild to ensure i have the most recent bash linked it just fine, no?
<tilpner> infinisil - I think you got the wrong person
<infinisil> Oh
<tilpner> An activation script is the best (yet still ugly) way to add that symlink
<vaninwagen> :)
<infinisil> Sorry, I meant sir_guy_carleton :P
<vaninwagen> np
<infinisil> (I just woke up, I just saw "using activationScripts" and panicked)
<infinisil> vaninwagen: Such a symlink is a smell already though
<infinisil> vaninwagen: On nixos you want to link to a specific bash version by using ${pkgs.bash}
olto has quit [Quit: ZNC - https://znc.in]
<infinisil> vaninwagen: Or if you really want a /bin/bash equivalent, there's /run/current-system/sw/bin/bash
<sir_guy_carleton> infinisil: hmm, i was just using nixos's dates options
<infinisil> sir_guy_carleton: dates options?
xy2_ has joined #nixos
<sir_guy_carleton> for upgrading the system, garbage collecting and optimizing the store
olto has joined #nixos
<infinisil> Ah right, well those propagate to a systemd timer already
<sir_guy_carleton> eg nix.gc.dates, nix.optimise.dates and system.autoUpgrade.dates
<infinisil> Oh and you don't know how to make it run at those times with those options?
<sir_guy_carleton> yeah
<infinisil> sir_guy_carleton: man systemd.time
* infinisil is awake now
<sir_guy_carleton> gc and autoUpgrade accept only a systemd.timer string, while optimise takes a list
smallville7123 has quit [Quit: rosa]
travankor has quit [Quit: Q]
<sir_guy_carleton> note what i want to it have it run twice daily, once at 10 am/10h and then at 10 pm/22h
freeman42x]NixOS has quit [Ping timeout: 264 seconds]
knupfer has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42221 → pkcs11helper: 1.23 -> 1.24 → https://git.io/fT8Iy
<infinisil> sir_guy_carleton: Does just specifying the times as two strings not work?
<sir_guy_carleton> two seperate strings?
<infinisil> Yeah, would be my guess
<sir_guy_carleton> how you would connect them?
<infinisil> Connect what?
<sir_guy_carleton> the strings together in configuration.nix. testing them seperate with systemd.time calendar seems to work, so ...
<infinisil> nix.optimise.dates = [ "10:00:00" "22:00:00" ]?
<infinisil> But a single string should work too: nix.optimise.dates = [ "10,22:00:00" ]; (if i remember the combined syntax correctly)
<joko> Hello, could anyone explain to me how using a private SSH key works on fetchgitPrivate and Hydra? I have noticed this: https://github.com/NixOS/nixpkgs/issues/4004 , but it unclear how the key should now be used
<sir_guy_carleton> sir_guy_carleton: oh, the comma there seems to work
<sir_guy_carleton> i was trying to put the whole time after the comma
johann__ has joined #nixos
<LnL> joko: I would discourage using fetchGitPrivate, it's a pain to setup
init_6 has joined #nixos
<LnL> joko: hydra inputs and builtins.fetchGit both support using rsa keys
<joko> LnL: I know, I remember doing something similar in the past, but I am at work and I don't have my notes. If I recall correctly, I had to add an expression to Nix path, so that the builders get the key. But even then, there were issues with the file ownership and permissions and I don't remember anymore how to deal with them. Set a specific number of builders? I don't remember...
<joko> LnL: Really? How so? I want to build it in Hydra
<LnL> this part is handled by the hydra-evaluator IIRC so it's the hydra user
<joko> LnL, ah, I see, the hydra user already has the key
<LnL> then git inputs should work
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42222 → openfortivpn: 1.7.0 -> 1.7.1 → https://git.io/fTNPA
ThatDocsLady has quit [Remote host closed the connection]
<LnL> otherwise it's the hydra-queue-runner
ThatDocsLady has joined #nixos
smallville7123 has joined #nixos
<LnL> for builtins.fetchGit you'll need to configure allowed-uris in nix.conf, hydra disallows remote sources by default
smallville7123 has quit [Client Quit]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42223 → offlineimap: 7.2.0 -> 7.2.1 → https://git.io/fkeIe
agander has quit [Ping timeout: 256 seconds]
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
alexteves has joined #nixos
olto has quit [Quit: ZNC - https://znc.in]
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/43d3e539c5c (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
alexteves has quit [Remote host closed the connection]
alexteves has joined #nixos
jarlg has joined #nixos
alexteves has quit [Remote host closed the connection]
phdoerfler has joined #nixos
olto has joined #nixos
jensens has quit [Ping timeout: 256 seconds]
rprije has quit [Ping timeout: 264 seconds]
philippD has joined #nixos
iyzsong has joined #nixos
<{^_^}> [nixpkgs] @adisbladis merged pull request #42221 → pkcs11helper: 1.23 -> 1.24 → https://git.io/fT8Iy
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/fktFO
neof0x has joined #nixos
alexteves has joined #nixos
logzet has joined #nixos
aszlig has quit [Quit: Kerneling down for reboot NOW.]
aszlig has joined #nixos
<{^_^}> [nixpkgs] @alexbiehl opened pull request #42224 → Haskell builder: Use $abi/$libname as --libsubdir → https://git.io/fkZMs
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42225 → pagemon: 0.01.12 -> 0.01.13 → https://git.io/fknA8
nuncanada has joined #nixos
olto has quit [Quit: ZNC - https://znc.in]
olto has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42226 → mate.mate-control-center: 1.20.2 -> 1.20.3 → https://git.io/fkCQr
nuncanada has quit [Client Quit]
<mupf> Hello guys, a question: most of my games work fine using steam-run or steam-run-native. But what shall I do when it's still missing a library?
<mupf> it's missing a json lib on one of my games
<tilpner> You can change what libraries are available in the steam FHS
<{^_^}> [nixpkgs] @adisbladis merged pull request #42223 → offlineimap: 7.2.0 -> 7.2.1 → https://git.io/fkeIe
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/fkCQP
<tilpner> nix-shell -p '(steamPackages.steam-chrootenv.override { extraPkgs = p: [ p.qt5Full ]; }).run' --run 'steam-run bash'
<mupf> tilpner: how? and what does fhs mean?
<tilpner> Filesystem Hierarchy Standard. It's the layout most applications expect and not adhereing to it is what causes so many problems for NixOS users trying to run foreign applications
<tilpner> In this case, steam-chrootenv uses buildFHSUserEnv, and you can add packages to steams usage of that
andymandias has quit [Ping timeout: 240 seconds]
<mupf> Alright, thanks. I will have a look. Is there some further documentation about the topic somewhere?
orivej has joined #nixos
Neo--- has joined #nixos
Neo-- has joined #nixos
<mupf> so
<mupf> nix-shell -p steam-run-native '(steamPackages.steam-chrootenv.override { extraPkgs = p: [ p.libjson ]; }).run' --run 'steam-run bash'
<mupf> this still gives me
<mupf> error while loading shared libraries: libjson.so.0: cannot open shared object file: No such file or directory
andymandias has joined #nixos
<manveru> doesn't look like libjson has that file
olto has quit [Quit: ZNC - https://znc.in]
ThatDocsLady_ has joined #nixos
<tilpner> Yep, libjson has no *.so at all
<manveru> steam-run-native has a libjson-glib-1.0.so
<tilpner> But the Steam runtime has libjson.so.0
<manveru> for some reason that's not in my nix-index
<mupf> meaning?
ericsagn1 has joined #nixos
ThatDocsLady has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42227 → mate.mate-calc: 1.20.1 -> 1.20.2 → https://git.io/fkuUi
phdoerfler has quit [Quit: Leaving.]
<manveru> it's basically a tool that can query all output paths of nixpkgs
silver has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42228 → neo4j: 3.4.0 -> 3.4.1 → https://git.io/fkaXX
evhan has quit [Ping timeout: 265 seconds]
<mupf> Alright, guess I simply can't run that file because no other nix package has that file?
Lisanna has quit [Quit: Lisanna]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42229 → mate.marco: 1.20.1 -> 1.20.2 → https://git.io/fkoZt
<tilpner> Not with that exact name, but there are probably files with the same function (but a different name)
agander has joined #nixos
iyzsong-x has joined #nixos
<mupf> tilpner: I can't change what the binary expects
<tilpner> 1. Yes, you can, but it's ugly
<tilpner> 2. You can construct a fake package that has libjson.so.0, but links/copies it from another package
TonyTheLion has joined #nixos
<tilpner> The problem is in figuring out which libjson.so it expects.
<tilpner> locate says there's one at /home/till/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libjson.so.0
<tilpner> You *could* try to LD_LIBRARY_PATH include that
iyzsong has quit [Ping timeout: 256 seconds]
<tilpner> (But eww)
<mupf> Alright, I get your point
<mupf> :)
jensens has joined #nixos
Biappi has joined #nixos
Biappi has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @adisbladis merged pull request #42219 → nix-pin: 0.3.1 -> 0.3.4 → https://git.io/fUQXM
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/fkK1r
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42230 → mate.mate-notification-daemon: 1.20.0 -> 1.20.1 → https://git.io/fkK1o
jluttine has quit [Remote host closed the connection]
<Myrl-saki> Gah.
<Myrl-saki> Do I have to install Ubuntu to install Ubuntu on my Nexus 7? :(
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42231 → mate.mate-media: 1.20.0 -> 1.20.1 → https://git.io/fki52
michiell2 has quit [Remote host closed the connection]
michiell2 has joined #nixos
Biappi has joined #nixos
Neo--- has quit [Quit: Leaving]
andreabedini has joined #nixos
kreetx has joined #nixos
<kreetx> what's the 'apt show' equivalent of nix? i.e to show the source location and perhaps a website for the package
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
<jD91mZM2> kreetx: nix-env -qA <package path> --meta
<ma27> kreetx: `nix-env -qaP term`, `nix search term` or `nox term`?
<jD91mZM2> oh yes -qaA*
marc__ has joined #nixos
<jD91mZM2> oh and --json or --xml to choose output format
ericsagn1 has quit [Ping timeout: 264 seconds]
<marc__> anydeskt does not run because libGL.so is missing. I have x driver intel enabled.
<manveru> marc__: did you install via configuration.nix ?
<marc__> Setting LD_LIBRARY_PATH to mesa**/libGL.so works.
reinzelmann has quit [Quit: Leaving]
<marc__> Yes, via configuration.nix
<ma27> as the package is unfree I guess it's missing in `patchelf --set-rpath`?
Fare has joined #nixos
steell has joined #nixos
civodul has joined #nixos
<{^_^}> [nixpkgs] @pSub merged pull request #42214 → mgba: Add desktop file → https://git.io/ffxj8
<{^_^}> [nixpkgs] @pSub pushed 2 commits to master: https://git.io/fkN6L
<kreetx> another question: is there a difference when adding remote builders when being in single- or multi-user mode? I'm wondering if on macos I should set the NIX_REMOTE_SYSTEMS env variable for the user, or I should do it as root somewhere
semihonest has joined #nixos
johann__ has quit [Quit: Leaving.]
fendor has joined #nixos
raynold has quit [Quit: Connection closed for inactivity]
xy2_ has quit [Ping timeout: 264 seconds]
winem_ has joined #nixos
johann__ has joined #nixos
ericsagn1 has joined #nixos
steell has quit [Ping timeout: 264 seconds]
<Baughn> gchristensen: Sounds like the consensus is "Wait for the upstream solution", if one can call this consensus. I guess I can hack up a wait-for-all-devices script with zdb.
<Baughn> ...probably a good idea anyway, we need something fast.
<Turion> vim noob here. How do I activate the vim haskell plugin I installed via nix-env -iA nixos.vimPlugins.vim-hdevtools?
jwynn6 has quit [Ping timeout: 245 seconds]
xy2_ has joined #nixos
<LnL> you need to do that declarative
igo95862 has joined #nixos
<LnL> mutable operations like nix-env -i don't influence other packages
<{^_^}> [nixpkgs] @mnacamura opened pull request #42232 → lf: available on the other UNIX-like platforms → https://git.io/fImwd
asuryawanshi has joined #nixos
alex`` has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
jwynn6 has joined #nixos
asuryawanshi has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42233 → mate.mate-power-manager: 1.20.1 -> 1.20.2 → https://git.io/fIYg1
polyzen has quit [Quit: WeeChat 2.1]
kreetx has quit [Ping timeout: 260 seconds]
myshoe has joined #nixos
dmc has joined #nixos
agander has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #42232 → lf: available on the other UNIX-like platforms → https://git.io/fImwd
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fIY2W
__monty__ has quit [Quit: leaving]
<{^_^}> [nixpkgs] @jtojnar pushed to master « deepin.deepin-terminal: 2.9.2 → 3.0.0 »: https://git.io/fIYNW
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42234 → mate.mate-menus: 1.20.0 -> 1.20.1 → https://git.io/fIOWg
MercurialAlchemi has quit [Ping timeout: 245 seconds]
vaninwagen has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42235 → mate.mate-polkit: 1.20.0 -> 1.20.1 → https://git.io/fIltY
smallville7123 has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/5b09fe1098f (from 10 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
johann__ has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @mnacamura opened pull request #42236 → esh: init at 0.1.1 → https://git.io/fIuZn
<Turion> LnL: Ah I see :) makes sort of sense
sorixelle has quit [Ping timeout: 255 seconds]
<Turion> LnL: It doesn't say in the manual where to add these lines to... am I supposed to do that system-wide in /etc/nixos/configuration.nix? And how to deal with vim packages that should only load when opening specific file endings?
<Baughn> Turion: It's not like it *couldn't* auto-discover things in $HOME/.nix, but that wouldn't be very Nixy. The behaviour of any one package isn't supposed to depend on what other packages may or may not be installed -- it would be spooky action at a distance, and also stop you from having multiple vim installs with different settings.
devx is now known as DevX
alex``` has joined #nixos
<Turion> Yes that makes sense
<Turion> I'm just wondering how and where to install vim now
<Turion> I've got it installed system-wide declaratively
<Baughn> System-wide is probably fine.
<Baughn> If it's a single-user system. I tend to put everything in configuration.nix too.
<Baughn> I can't comment on vim, but the equivalent for Emacs looks like this: https://github.com/Baughn/machine-config/blob/master/modules/basics.nix#L59
alex`` has quit [Ping timeout: 276 seconds]
<Turion> Baughn: Yes, the only downside for system-wide is that I need to rebuild the whole system to get the change
<Baughn> There are upsides and downsides.
camsbury has joined #nixos
<Turion> I guess I'll finally have to try to deal with home-manager
avn has joined #nixos
<avn> Just curious folks, who are on master, are upgrade of firefox to 60.x pass smoothly?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42237 → mate.mate-icon-theme: 1.20.0 -> 1.20.1 → https://git.io/fI5D7
<Turion> Harrharr, there is a section in the manual "Running Emacs as a service" :D I wonder whether it's possible to run atom as a service as well ;)
alex```` has joined #nixos
alex```` has quit [Client Quit]
<etu> Turion: Nah, Atom is a graphical program. Emacs can run as a non-grahpical deamon and then you can connect clients to it :)
smallville7123 has quit [Quit: rosa]
<LnL> Turion: you can do this in multiple places
<Turion> etu: Right, people did spend some thought when designing emacs ;)
jperras has joined #nixos
alex``` has quit [Ping timeout: 256 seconds]
<Turion> LnL: Good :) is there a place where I can add a vim with my plugins without having to understand home-manager now (and without having to shoot myself in the knee when I want to learn home-manager later)?
<etu> Turion: Yes, emacs is not built on google chrome :p
<LnL> Turion: it's a common pattern, there's something similar to make a python interpreter that's aware of a set of pypi packages
npmccallum has joined #nixos
agander has joined #nixos
<LnL> we do this to avoid global dependencies, otherwise installing a tool wouldn't work if you didn't also install one of it's dependencies
<LnL> or a user might upgrade one of the dependencies to an incompatible version at some point
<Turion> Ok, maybe my beginner's question is: How do I install stuff declaratively on a per-user basis?
<LnL> etc.
<LnL> you'll need some place for the expression so an overlay is probably the easiest
<{^_^}> [nixpkgs] @eadwu opened pull request #42238 → wakatime: 10.1.0 -> 10.2.1 → https://git.io/fLYwL
<{^_^}> [nixpkgs] @WilliButz opened pull request #42239 → grafana: 5.1.3 -> 5.1.4 → https://git.io/fL3UG
<Turion> I'm not familiar with them, just reading up. Sounds like a lot of effort...
agander has quit [Ping timeout: 264 seconds]
<Turion> Really beginner's question: Can I put a .nix file somewhere in ~ such that the things in there get installed for the user?
aarvar has quit [Ping timeout: 268 seconds]
kreetx has joined #nixos
schjetne has joined #nixos
<Turion> LnL: Thanks! It seems I don't really know how to use that... I get "error: undefined variable 'vim_configurable' at /home/turion/.config/nixpkgs/overlays/vim-overlay.nix:11:11"
<LnL> err my bad
<LnL> try again
<{^_^}> [nixpkgs] @pSub merged pull request #42239 → grafana: 5.1.3 -> 5.1.4 → https://git.io/fL3UG
<{^_^}> [nixpkgs] @pSub pushed 2 commits to master: https://git.io/fL4X8
fendor has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @pSub pushed commit from @WilliButz to release-18.03 « grafana: 5.1.0 -> 5.1.4 »: https://git.io/fL06e
<infinisil> Turion: Can vouch for home-manager, it's not hard to use
<Turion> LnL: Yay, a different error: https://gist.github.com/LnL7/06d2f6b980f0c283cc57e6a287f2dda5 :)
<Turion> Err error: 'customize' at /nix/store/l9p58f99rbll6grpy7ay8l7jyg4w8r09-nixos-18.09pre142796.4b649a99d84/nixos/pkgs/misc/vim-plugins/vim-utils.nix:328:17 called without required argument 'name', at /home/turion/.config/nixpkgs/overlays/vim-overlay.nix:11:11
<LnL> hrm, guess the example in the manual isn't complete
<LnL> should probably just inherit the name by default, updated
fendor has joined #nixos
Neo-- has quit [Ping timeout: 240 seconds]
<Turion> infinisil: Yeah, I guess I'm just at the hard stage of going from beginner to advanced nix user. When I read the installation section of home-manager, I'm intimidated by the many things I don't completely understand.
<{^_^}> [nixpkgs] @scalavision opened pull request #42240 → Adding mill build tool → https://git.io/fLEV2
jensens has quit [Ping timeout: 240 seconds]
<infinisil> The installation is a bit weird admittedly heh
<Baughn> Turion: Personally, I much prefer keeping everything in a single configuration (i.e. the system-wide one). :)
<Baughn> Rebuilding the system only takes twenty-thirty seconds anyway, and that's with the extremely over the top complexity of my own configuration.
<Baughn> Though I already use a build script instead of calling nixos-rebuild directly, so it's not like throwing in a `home-manager switch` in that would've hurt me.
<Turion> Baughn: With my low-memory machine, I have to switch off browser and any nontrivial applications before upgrading, and it takes 15 minutes or so :/
<Baughn> Not the best case.
<Baughn> Do you have a more powerful machine you might run the build on?
<Baughn> nixos-rebuild has a --target-host option.
wotan_gs has quit [Remote host closed the connection]
<Baughn> (If you use it, you need to also set --build-host localhost.)
<gchristensen> with low memory you may need to be instantiating on a different host, though
<gchristensen> which nixos-rebuild doesn't have a flag for :)
<Baughn> Well, the idea I had was to run nixos-rebuild on a different machine.
<infinisil> Baughn: Turion: home-manager supports building from your configuration.nix
<Turion> Baughn, gchristensen, that's a cool idea, but I wouldn't know what machine I could legally use for that :/
<Turion> infinisil: What does that mean?
<gchristensen> legally? interesting
<infinisil> So a nixos-rebuild will make the home-manager thing as well
<manveru> infinisil: how does that work?
<infinisil> It's not really documented, but you can just include this module in your nixos config: https://github.com/rycee/home-manager/blob/master/nixos/default.nix
<manveru> ah, ok
<infinisil> Then you can assign the `home-manager.users.infinisil = { home.packages = with pkgs; [ hello ]; };` in your configuration.nix
<Baughn> Neato. I might use that.
<manveru> might be worth switching... that'd make my administration even easier :)
ryantrinkle has joined #nixos
<Turion> (gchristensen: I think I can't use university servers for that kind of thing. Haven't thought of any other machines I could use)
dbmikus has joined #nixos
johanot has quit [Quit: Leaving.]
<Turion> Ok, zeroth home-manager question: Why not nix-env -iA nixos.home-manager?
<Turion> Or what would I achieve by that?
<manveru> because home-manager is more or less independent of nixpkgs
<manveru> it has its own release cycle
<infinisil> The nixpkgs version needs a PR for every module change, which would be rather annoying..
fendor has quit [Ping timeout: 255 seconds]
<infinisil> would need*
<manveru> i think it could be added for 18.09... not many changes recently
stepcut has joined #nixos
chrisaw has joined #nixos
<chrisaw> ls
<chrisaw> oops
<infinisil> manveru: True
jensens has joined #nixos
<manveru> i just wish it was possible to simply reference the home-manager repos default.nix from nixpkgs :P
<chrisaw> Quick question - how do folks usually setup their public and private keys on NixOS? I know it can be done manually but if I want to maintain both between re-installs for example?
<gchristensen> do it manually
<gchristensen> imo :)
endformationage has joined #nixos
<infinisil> Hmm.. I'm doing it manually too
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to release-18.03: https://git.io/fLrTT
<infinisil> Putting the private keys into the nix store doesn't sound right, so I think optimally it would be a dynamic thing with some key server thing, is there software for this?
asuryawanshi has quit [Ping timeout: 264 seconds]
andymandias has quit [Ping timeout: 265 seconds]
lassulus_ has joined #nixos
lassulus has quit [Ping timeout: 260 seconds]
lassulus_ is now known as lassulus
<manveru> might be fun adding per-user encrypted volumes to nix...
<Turion> manveru, infinisil: But couldn't I install the initial home-manager like that and then let it manage itself?
<infinisil> not sure
<hyper_ch2> hmmmmm, does the initrd also have already firewall activated?
<Turion> Ok, I'll do it by the book then ;) but another day. Thanks to everyone for the help!
<Baughn> Turion: You can, indeed, install home-manager with nix-env and have it manage itself.
<Baughn> But then you have one step which isn't declarative.
johann__ has joined #nixos
<Turion> Baughn, yes, but as soon as I've installed it and let it manage itself, I can uninstall it again, right?
<Turion> I only need it once to bootstrap itself?
<Baughn> Turion: When you're feeling bored, skim https://github.com/Baughn/machine-config/tree/master/modules. This is what happens if you do everything declaratively and wait a while.
<Baughn> Maybe. I'm not sure if that's how it'd work.
<Turion> Ok :) thanks!
Turion has quit [Remote host closed the connection]
andymandias has joined #nixos
taktoa has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42241 → mate.libmateweather: 1.20.0 -> 1.20.1 → https://git.io/fttIb
avn has quit [Ping timeout: 240 seconds]
yeme has joined #nixos
<yeme> hello everyone, how to I get my nixos installation to use a local checkout of nixpkgs?
<yeme> i imagine somewhere in the configuration.nix the nixpkgs folder is on the same machine
<yeme> configuration.nix, *
<clever> yeme: you have to use -I nixpkgs=/path/to/nixpkgs
<Baughn> yeme: configuration.nix can't[1] do it, because it's the nixpkgs code that reads configuration.nix.
<yeme> I would like to avoid that everytime I issue a nix-command, especially nixos-rebuild. is there a better wai?
<Baughn> [1]: It can, but that would imply running nixos-rebuild twice.
<Baughn> Yes, write yourself a shell script.
<clever> yeme: you can also use nix.nixPath in configuration.nix to change the default NIX_PATH, but you still need to -I nixpkgs=/path/to/nixpkgs the first time
<Baughn> Mm. And keep in mind that if you ever change that path, you need to rebuild before it'll use the new one.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42243 → libdigidoc: 3.10.1.1212 -> 3.10.4.1218 → https://git.io/ftrgV
<yeme> so, I edit configuration.nix, add nix.nixPath = /local/nixpkgs/checkout, then run nixos-rebuild switch -I nixpkgs=/path/to/nixpkgs. From then on the local nixpkgs will be used for all nix-commands?
<Baughn> Hmm. Three of my last ten commits to that repository are--
<Baughn> "Misc, stuff."
<Baughn> "More stuff."
<Baughn> "even more stuff."
<Baughn> yeme: Yes, unless you use -I nixpkgs. Note that the -I nixpkgs in your command, above, has no bearing on how the configuration setting is interpreted, and may be pointless.
<Baughn> (Unless of course you edit nixpkgs to change the meaning of nix.nixPath, heh.)
<yeme> got it. thank you Baughn and clever
<Baughn> yeme: Oh, and hopefully you know this, but you *don't* want to base your system off a raw checkout of the nixpkgs repository.
<Baughn> Especially not master.
<Baughn> That would mean you get untested code for which there is no binary cache.
<Baughn> yeme: https://github.com/Baughn/machine-config/blob/master/build.sh <- Here's my own solution to that.
<Baughn> Given we seem to be doing much the same thing, you might be able to copy that wholesale.
<Baughn> (Look in particular at line 11.)
<yeme> Baughn: I'll check out the script. I forked nixpkgs/release-18.03 and did small changes to accommodate my needs. I use that fork to build some software, and I thought it was a good idea to also tell nixos/nix to use that fork for everything nix-related. Is there soemthing wrong with that?
chrisaw has quit [Quit: WeeChat 2.1]
<tilpner> Baughn - It's possible to have configuration.nix use a custom nixpkgs with a single call to nixos-rebuild, by replacing <nixpkgs/nixos> with a two-stage evaluation
<tilpner> (Which doesn't require forking/modifying <nixpkgs>, as your wrapping <nixpkgs/nixos> can call the real one)
jperras has quit [Ping timeout: 240 seconds]
orivej has quit [Read error: Connection reset by peer]
orivej has joined #nixos
jperras has joined #nixos
<Baughn> yeme: Nah, that's sensible. It's the exact same thing I do.
<Baughn> Though if you're only changing packages, then an overlay would be an option.
<Baughn> tilpner: That seems like it'd work, but I never figured out how to make nix-channel point at a local directory.
<tilpner> Oh, I don't use channels
<tilpner> (Well, nix-channel)
<Baughn> Then you're overriding the default behaviour anyway.
<Baughn> tilpner: What sort of changes are these? Anything you could PR?
<init_6> it's possible with nixos-generate-config make a some more output with all default configs/variables?
<Baughn> Er, yeme
<Baughn> init_6: No, but check 'man configuration.nix' for defaults.
<Baughn> Basically there are too many.
halfbit has joined #nixos
logiq has joined #nixos
<Baughn> init_6: I suppose we could write the manpage into it, but once you take a look, you'll realize why we don't. :)
<init_6> Baughn: now i switsh from gentoo to nixos and more verbose verbose output from nixos-generate-config would be simply divine
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42244 → mate.libmatemixer: 1.20.0 -> 1.20.1 → https://git.io/ft7Bz
<Baughn> init_6: What in particular are you missing?
<init_6> Baughn: I just kill time either by overwriting my configs or looking for where to rewrite them
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42246 → libodfgen: 0.1.6 -> 0.1.7 → https://git.io/ft7By
<Baughn> init_6: There's quite a bit of documentation for that. Have you looked at the NixOS manual?
<init_6> Baughn: yep read it all
<tilpner> Baughn - It's too integrated into my profile:device abstraction, and there were sensible reasons not to do this that I forgot
disasm has joined #nixos
<Baughn> init_6: Then I'm not sure what you're missing. I'm happy to help, but I'd need a bit more of a hint.
worldofpeace has joined #nixos
<Baughn> If it's just that you don't know all the available flags, that's in the manpage...
<Baughn> But where Arch has one or two dozen, NixOS has thousands. You can't reasonably speaking read them all.
hyper_ch2 has quit [Quit: Page closed]
<Baughn> init_6: Everything that would go in program-specific files in /etc, in Gentoo or Arch, instead goes in configuration.nix.
<worldofpeace> Anyone smart want to help with enabling schedutil cpufreq in the default kernel builds? https://github.com/NixOS/nixpkgs/issues/41003
<init_6> Baughn: btw it`s possible install nixos in chroot?
<Czen> yeah
<Baughn> I've never seen it done, but many things are possible. There's also lxd, which might be better.
jarlg has quit [Ping timeout: 248 seconds]
dbmikus_ has joined #nixos
yeme has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #42247 → haskell generic-builder: Yet more cross fixes → https://git.io/ftbVj
dbmikus has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @dezgeg merged pull request #41782 → linux-hardkernel: Init at 4.14.47-139 → https://git.io/vh2FS
<{^_^}> [nixpkgs] @dezgeg pushed commit from @qolii to master « linux-hardkernel: Init at 4.14.47-139 (#41782) »: https://git.io/ftAQb
<{^_^}> [nixpkgs] @thoughtpolice pushed commit from R. RyanTM to master « verilator: 3.922 -> 3.924 »: https://git.io/ftju1
<{^_^}> [nixpkgs] @thoughtpolice merged pull request #42202 → verilator: 3.922 -> 3.924 → https://git.io/ffl2R
rycwo has joined #nixos
<rycwo> Hello, discourse has put my account on hold... can anybody help?
__monty__ has joined #nixos
<gchristensen> looking, rycwo
<rycwo> Thanks!
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42248 → limesuite: 18.04.1 -> 18.06.0 → https://git.io/ftjzo
camsbury has quit [Remote host closed the connection]
camsbury has joined #nixos
fendor has joined #nixos
<rycwo> Thanks gchristensen, any idea why my posts were flagged?
<gchristensen> nope :) looking in to that
camsbury has quit [Ping timeout: 240 seconds]
erasmas has joined #nixos
yyadavalli has joined #nixos
<yyadavalli> Hi, I am simple question. I am trying to install an updated version of a package (scalafmt) by overriding the existing derivation. Is this possible, how should I go about doing it?
btbytes has joined #nixos
davidak has joined #nixos
<yyadavalli> Here is the derivation in question, I started `nix repl`, loaded nixpkgs and tried `scalafmt = scalafmt.override { version = "1.6.0-RC3"; }`
camsbury has joined #nixos
avn has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42249 → mate.libmatekbd: 1.20.1 -> 1.20.2 → https://git.io/ftj2c
<yyadavalli> I was trying to follow the nix-pill https://nixos.org/nixos/nix-pills/nixpkgs-overriding-packages.html
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/a5cd4b26851 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
jensens has quit [Ping timeout: 255 seconds]
smallville7123 has joined #nixos
<gchristensen> rycwo: can you PM me?
winem_ has quit [Ping timeout: 240 seconds]
Neo-- has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42250 → libressl: 2.7.3 -> 2.7.4 → https://git.io/fqUIg
yyadavalli has quit [Quit: Page closed]
taktoa has quit [Ping timeout: 240 seconds]
yyadavali has joined #nixos
neof0x has quit [Remote host closed the connection]
selaux has quit [Remote host closed the connection]
<Baughn> yyadavali: Without looking at it, you need to override both the version number and the sha256 hash of the source. Probably.
neof0x has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42251 → kcgi: 0.10.5 -> 0.10.6 → https://git.io/fqtSH
kreetx has quit [Ping timeout: 245 seconds]
rycwo has quit [Quit: Page closed]
rycwo26 has joined #nixos
rycwo26 has quit [Remote host closed the connection]
rycwo has joined #nixos
neof0x has quit [Remote host closed the connection]
neof0x has joined #nixos
igo95862 has quit [Quit: igo95862]
fendor has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42252 → lasso: 2.5.1 -> 2.6.0 → https://git.io/fqmof
btbytes has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
stepcut has quit [Remote host closed the connection]
btbytes has joined #nixos
stepcut has joined #nixos
matthewbauer has joined #nixos
logiq has quit [Ping timeout: 260 seconds]
Ariakenom has quit [Ping timeout: 268 seconds]
dbmikus_ has quit [Ping timeout: 240 seconds]
iyzsong-x has quit [Quit: ZNC 1.7.0 - https://znc.in]
humanoyd has joined #nixos
stepcut has quit [Ping timeout: 240 seconds]
fendor has joined #nixos
<{^_^}> [nixpkgs] @fpletz pushed commit from R. RyanTM to master « libressl: 2.7.3 -> 2.7.4 »: https://git.io/fqZG3
<{^_^}> [nixpkgs] @fpletz merged pull request #42250 → libressl: 2.7.3 -> 2.7.4 → https://git.io/fqUIg
andreabedini has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @fpletz pushed 3 commits to master: https://git.io/fqce8
deepfire` has joined #nixos
<{^_^}> [nixpkgs] @fpletz merged pull request #42218 → avidemux: 2.7.0 -> 2.7.1 → https://git.io/fUrHv
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/fqlE5
rihards has joined #nixos
<{^_^}> [nixpkgs] @fpletz merged pull request #42225 → pagemon: 0.01.12 -> 0.01.13 → https://git.io/fknA8
<{^_^}> [nixpkgs] @fpletz pushed commit from R. RyanTM to master « pagemon: 0.01.12 -> 0.01.13 »: https://git.io/fq41A
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
smallville7123 has quit [Quit: rosa]
<{^_^}> [nixpkgs] @fpletz merged pull request #42228 → neo4j: 3.4.0 -> 3.4.1 → https://git.io/fkaXX
<{^_^}> [nixpkgs] @fpletz pushed commit from R. RyanTM to master « neo4j: 3.4.0 -> 3.4.1 »: https://git.io/fqurw
johann__ has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @fpletz merged pull request #42222 → openfortivpn: 1.7.0 -> 1.7.1 → https://git.io/fTNPA
<{^_^}> [nixpkgs] @fpletz pushed commit from R. RyanTM to master « openfortivpn: 1.7.0 -> 1.7.1 »: https://git.io/fqurP
alexteves has quit [Ping timeout: 265 seconds]
pie_ has joined #nixos
mmercier has quit [Ping timeout: 248 seconds]
dbmikus_ has joined #nixos
<{^_^}> [nixpkgs] @fpletz merged pull request #42209 → smcroute: 2.4.0 -> 2.4.1 → https://git.io/ff8vI
<{^_^}> [nixpkgs] @fpletz pushed commit from R. RyanTM to master « smcroute: 2.4.0 -> 2.4.1 »: https://git.io/fquob
<{^_^}> [nixpkgs] @fpletz merged pull request #42203 → toot: 0.17.1 -> 0.18.0 → https://git.io/fflXT
<{^_^}> [nixpkgs] @fpletz pushed commit from R. RyanTM to master « toot: 0.17.1 -> 0.18.0 »: https://git.io/fquKv
<{^_^}> [nixpkgs] @fpletz pushed 0 commits to yegortimoshenko-patch-1: https://git.io/fqzcw
<{^_^}> [nixpkgs] @fpletz merged pull request #42190 → xmrig: 2.6.2 -> 2.6.3 → https://git.io/ffC5X
<{^_^}> [nixpkgs] @fpletz pushed commit from @r-ryantm to master « xmrig: 2.6.2 -> 2.6.3 »: https://git.io/fq2mf
dbmikus_ has quit [Quit: WeeChat 2.1]
dbmikus has joined #nixos
Ariakenom has joined #nixos
steell has joined #nixos
camsbury has quit [Remote host closed the connection]
camsbury has joined #nixos
rycwo has quit [Remote host closed the connection]
LFF^ has joined #nixos
knupfer has quit [Remote host closed the connection]
alexteves has joined #nixos
camsbury has quit [Ping timeout: 264 seconds]
orivej has quit [Ping timeout: 265 seconds]
btbytes has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<yyadavali> Baughn: Ok thanks let me try that
andymandias has quit [Ping timeout: 268 seconds]
Lev50 has joined #nixos
<{^_^}> [nixpkgs] @fpletz pushed commit from @r-ryantm to master « smemstat: 0.01.18 -> 0.02.00 (#42208) »: https://git.io/fqDye
<{^_^}> [nixpkgs] @fpletz merged pull request #42208 → smemstat: 0.01.18 -> 0.02.00 → https://git.io/ff8et
<{^_^}> [nixpkgs] @fpletz merged pull request #42206 → swiften: 4.0 -> 4.0.2 → https://git.io/ff8ee
<{^_^}> [nixpkgs] @fpletz pushed commit from @r-ryantm to master « swiften: 4.0 -> 4.0.2 (#42206) »: https://git.io/fqyKY
mmercier has joined #nixos
andymandias has joined #nixos
<maurer> I know freenode already spammed it out, but if we have EU folks here, consider https://blog.github.com/2018-03-14-eu-proposal-upload-filters-code/
asuryawanshi has joined #nixos
btbytes has joined #nixos
<{^_^}> [nixpkgs] @LnL7 pushed to master « libressl: fix eval »: https://git.io/fqSVZ
steell has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @fpletz merged pull request #42177 → deja-dup: fix nautilus extension breaking nautilus → https://git.io/ffCz3
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/fqSV4
PlasmaStrike[m] has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42253 → grails: 3.3.5 -> 3.3.6 → https://git.io/fqSVB
asuryawanshi has quit [Remote host closed the connection]
* hodapp dusts off his hammer to go play whack-a-mole with the LuxCoreRender build...
asuryawanshi has joined #nixos
<hodapp> I ran "nix-shell --pure" and I think it dimmed the lights in the building trying to print the build errors
jmeredith has joined #nixos
phdoerfler has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer pushed to master « python click: make patch conditional »: https://git.io/fqHUa
<{^_^}> [nixpkgs] @matthewbauer pushed to master « click: fix error »: https://git.io/fqHuC
jperras has quit [Ping timeout: 264 seconds]
saep has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Moredread opened pull request #42254 → Platformio: 3.5.2 -> 3.5.3 and fix for click dependency → https://git.io/fqFYt
Lev50 has quit [Quit: This computer has gone to sleep]
tzemanovic has quit [Remote host closed the connection]
tenten8401 has quit [Ping timeout: 260 seconds]
fresheyeball has quit [Quit: WeeChat 2.0]
woodson has joined #nixos
orivej has joined #nixos
emmanuelrosa has joined #nixos
stepcut has joined #nixos
mmercier has quit [Quit: mmercier]
<emmanuelrosa> I'm trying to work around this (https://github.com/NixOS/nixpkgs/issues/38808) issue to continue deploying a machine via Nixops. To work around the out-of-memory issue I tried using nix-store export/import using a list of paths I know are missing at the remote machine, however this results in "cannot add path 'foo' because it lacks a valid signature: nix-store --export $(cat new.paths.txt) | bzip2 | nixops ssh -d deployment machine -- bzc
<emmanuelrosa> at | nix-store --import --option require-sigs false
elasticdog has quit [Ping timeout: 276 seconds]
<gchristensen> the --bzcat | nix-store ... the pipe there is causing a new nix-store process on your _host_ not on the target
<gchristensen> you probably need -- /bin/sh -c '"bzcat | nix-store --import --option require-sigs false"'
yyadavali has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
init_6 has quit [Ping timeout: 256 seconds]
Lev has joined #nixos
elasticdog has joined #nixos
btbytes has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
btbytes has joined #nixos
btbytes has quit [Client Quit]
btbytes has joined #nixos
jperras has joined #nixos
jperras has quit [Ping timeout: 276 seconds]
camsbury has joined #nixos
jperras has joined #nixos
<emmanuelrosa> Aaaah, thank you gchristensen. It produced an out-of-memory error; So much for that work-around. I'm now trying another way: bind-mounting the remote nix store and extracting a tar archive of the paths.
grp has joined #nixos
<{^_^}> [nixpkgs] @dezgeg opened pull request #42255 → WIP: Log stage-{1,2} output to secondary consoles → https://git.io/fYIQe
Xal has quit [Ping timeout: 276 seconds]
woodson has quit [Ping timeout: 248 seconds]
Xal has joined #nixos
tzemanovic has joined #nixos
jperras_ has joined #nixos
jperras has quit [Ping timeout: 248 seconds]
tzemanovic has quit [Ping timeout: 260 seconds]
jperras_ is now known as jperras
oida has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42256 → gsl: 2.4 -> 2.5 → https://git.io/fYmzh
fendor has quit [Ping timeout: 260 seconds]
<Baughn> gchristensen: "$zpool_cmd" import | "$awk_cmd" "/pool: +${pool}/ { found = 1 }; /state:/ { if (found == 1) { exit ($2 == "ONLINE" ? 0 : 1) } }; END { exit 1 }"
<Baughn> gchristensen: Now see what you've done.
chessai has joined #nixos
kolb has left #nixos [#nixos]
myshoe has quit [Quit: Lost terminal]
<{^_^}> [nixpkgs] @vbgl opened pull request #42257 → ocaml: 4.07.0+beta2 -> 4.07.0+rc1 → https://git.io/fY8ut
MichaelRaskin has joined #nixos
philippD has joined #nixos
inquisitiv3 has joined #nixos
<inquisitiv3> Why does the symbolic link `~/.nix-profile` lead to the path `/nix/var/nix/profiles/per-user/user/profile` that doesn't exist?
<gchristensen> your profile has nothing in it, so it doesn't exist (this is normal)
<inquisitiv3> gchristensen: Is this because I (probably) haven't installed packages locally to my own user?
<gchristensen> yeah
<inquisitiv3> Okey, thanks!
Cale has quit [Ping timeout: 276 seconds]
<gchristensen> you're welcome!
<inquisitiv3> gchristensen: Reading through Nix pills now. Seems that I'll have to learn which things is most relevant for those only using Nix.
<hodapp> hmm, I should re-read Nix pills
<gchristensen> it is loaded with good info, nix-env is the only thing I don't regularly use
<gchristensen> though my work has caused me to use it a lot lately (dealing with bootstraping Nix in new environments)
marc__ has quit [Ping timeout: 248 seconds]
<inquisitiv3> If I'm not mistaken the link `/nix/var/nix/profiles/system` links to the current generation?
<inquisitiv3> And if I do a rollback the link only changes from pointing from generation n to generation n - 1 if I don't specify a specific generation?
vcunat has joined #nixos
<gchristensen> yep
semihonest has quit [Quit: WeeChat 2.1]
stepcut has quit [Ping timeout: 265 seconds]
stepcut has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42258 → godot: 3.0.2 -> 3.0.3 → https://git.io/fYEUz
<inquisitiv3> gchristensen: Thanks again :)
joelb has joined #nixos
<gchristensen> :) happy to help!
humanoyd has quit [Quit: WeeChat 2.1]
Cale has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42259 → ethtool: 4.16 -> 4.17 → https://git.io/fYw1S
wangoe has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42260 → entr: 4.0 -> 4.1 → https://git.io/fY1zp
taktoa has joined #nixos
vaninwagen has joined #nixos
<tnks> repeating a question, hopefully didn't miss a response. Is there a way to control what gets cached with "nix search -u"?
<tnks> I'm looking at search.cc now, but I appreciate a quick answer.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42262 → mate.eom: 1.20.0 -> 1.20.1 → https://git.io/fY1wL
Fare has quit [Ping timeout: 256 seconds]
robstr has quit [Quit: WeeChat 1.9.1]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42263 → gdbm: 1.14.1 -> 1.15 → https://git.io/fY1wg
philandstuff has joined #nixos
wangoe has joined #nixos
camsbury has quit [Remote host closed the connection]
<philandstuff> Hello! I'm trying to fix pkgs.haskellPackages.dhall-json_1_2_0 (which seems to have a broken dependency on dhall). I've got a local fix. I just wanted to confirm that it's broken for everyone else before issuing a PR. I can't find the job in hydra - can someone help me?
<philandstuff> i can find dhall-json, just not dhall-json_1_2_0
camsbury has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42264 → git-secret: 0.2.3 -> 0.2.4 → https://git.io/fY1wS
<woffs> Is there an easier way to show the log of a failed build than "nix log `nix-instantiate`"?
agander has joined #nixos
<woffs> (assuming CWD has a default.nix)
camsbury has quit [Ping timeout: 276 seconds]
smallville7123 has joined #nixos
kreetx has joined #nixos
andymandias has quit [Ping timeout: 268 seconds]
<LnL> philandstuff: this? https://hydra.nixos.org/build/76164102
<philandstuff> no, that's dhall-json, not dhall-json_1_2_0
<{^_^}> [nixpkgs] @7c6f434c pushed to master « wireshark: 2.4.7 -> 2.6.1 »: https://git.io/fY1oe
<{^_^}> [nixpkgs] @philandstuff opened pull request #42265 → dhall-json_1_2_0: fix dependencies → https://git.io/fY1oJ
fresheyeball has joined #nixos
<fresheyeball> hey out there
<fresheyeball> I would like to import a nix file from another repo
<fresheyeball> is there an easy way to do that?
<fresheyeball> can I just
<philippD> Is there a built in way to turn a bool into a String?
<fresheyeball> import (fetchFromGitHub {..})
<LnL> philandstuff: hmm, it's disabled on hydra for some reason: hydraPlatforms = stdenv.lib.platforms.none; (see hackage-packages.nix:60919)
<infinisil> > toString true # philippD
<{^_^}> "1"
<philandstuff> oooh, good spot. thanks, i missed that
agander has quit [Remote host closed the connection]
<LnL> philandstuff: also, that file is auto generated (see comment at the top) it shouldn't be edited
vcunat has quit [Ping timeout: 255 seconds]
<philandstuff> ah
andymandias has joined #nixos
agander has joined #nixos
<{^_^}> [nixpkgs] @philandstuff closed pull request #42265 → dhall-json_1_2_0: fix dependencies → https://git.io/fY1oJ
camsbury has joined #nixos
kreetx has quit [Ping timeout: 276 seconds]
<philandstuff> thanks LnL... reading the comment at the top of the file, I'm not sure if it should be in there or in configuration-common.nix
agander_ has joined #nixos
Neo-- has quit [Ping timeout: 248 seconds]
vcunat has joined #nixos
<LnL> yeah one of those, not sure which is more appropriate both will work
agander has quit [Ping timeout: 240 seconds]
<tilpner> fresheyeball - As I'm sure you've figured out by now: Yes, either that or with callPackage. Note though that expressions like that are not allowed in nixpkgs
<fresheyeball> tilpner: actually I am still trying to figure out what fields are allowed on the set for fetchFromGitLab
<tilpner> fresheyeball - You can look for example in nixpkgs, or check the source in all-packages.nix
<tilpner> owner, repo, rev, domain ? "gitlab.com", name ? "source" + fetchzip + fetchurl args
<philippD> Ok, maybe I am trying to do the wrong thing. I want to use a boolean variable in a buildPhase shell script as the condition of an if, without turning the variable into a string variable. Using `toString` doesn't seem to work there
<fresheyeball> found it
<fresheyeball> thanks tippenein
<fresheyeball> thanks tilpner
troydm has joined #nixos
<philippD> > toString false
<{^_^}> ""
emmanuelrosa has left #nixos [#nixos]
<philippD> Is there a built in function that turns a boolean into either the string "true" or "false"?
<LnL> builtins.toJSON
logzet has quit [Read error: Connection reset by peer]
<philippD> thanks LnL that's excatly what I was looking for.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42267 → fldigi: 4.0.16 -> 4.0.17 → https://git.io/fY16f
btbytes has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @philandstuff opened pull request #42268 → dhall-json_1_2_0: fix dependencies → https://git.io/fY16c
mounty has quit [Ping timeout: 276 seconds]
mounty has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer pushed to master « inkscape: add perl to nativeBuildInputs »: https://git.io/fY1ik
crptck has quit [Quit: Connection closed for inactivity]
mounty has quit [Ping timeout: 240 seconds]
mounty has joined #nixos
Ariakenom has quit [Read error: Connection reset by peer]
Ariakenom has joined #nixos
<{^_^}> [nixpkgs] @Baughn opened pull request #42269 → zfs: Improve import handling → https://git.io/fY1id
<inquisitiv3> Is there a style guide for Nix?
<manveru> not that i know of
<Baughn> Whatever style there should be, it's not what's in that PR. >_<
<manveru> :D
<manveru> would be nice to have a nixfmt
<woffs> Baughn, whoa
alexteves has quit [Remote host closed the connection]
<manveru> https://github.com/Gabriel439/nixfmt like that... just not as broken
<Baughn> woffs: Any time I write an awk script, I feel dirty.
<hodapp> learn... perl?
<manveru> so you went from perl to awk?
smallville7123 has quit [Quit: rosa]
palo has quit [Ping timeout: 260 seconds]
<woffs> awk is fine :)
<manveru> i guess next you'll write your scripts in sed
<gchristensen> awk++
<{^_^}> awk's karma got increased to 1
<hodapp> 9_9
smallville7123 has joined #nixos
<Baughn> manveru: Awk is sensible. Awk is basically C.
<Baughn> gchristensen: https://github.com/NixOS/nixpkgs/pull/42269 <- See what you've made me do?
smallville7123 has quit [Client Quit]
<manveru> i'm not sure i'd say C is sensible... :|
smallville7123 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42270 → eventstat: 0.04.03 -> 0.04.04 → https://git.io/fY1Xu
<hodapp> C is perfectly sensible
<hodapp> ...if your main concern is writing portable assembly for a DEC PDP
<manveru> true :)
<hodapp> but the real question is
<hodapp> why am I rebuilding Boost AGAIN?
<Baughn> To boost your boost-building score.
<hodapp> I already had a top-score for rebuilding boost sometime in 2013
<hodapp> but I was cheating by using Windows
<manveru> pretty sure i had it in 2003 or so on gentoo
<hodapp> disqualified
<hodapp> out
civodul has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42271 → fnotifystat: 0.02.00 -> 0.02.01 → https://git.io/fY11o
{^_^} has quit [Remote host closed the connection]
evhan has joined #nixos
Ariakenom has quit [Read error: Connection reset by peer]
Ariakenom has joined #nixos
orivej has quit [Ping timeout: 248 seconds]
orivej has joined #nixos
wchresta has joined #nixos
Xal has quit [Ping timeout: 260 seconds]
drewr has quit [Remote host closed the connection]
dbmikus has quit [Ping timeout: 248 seconds]
<hodapp> "Boost_FOUND = 1" "Could NOT find Boost". k. thx for the help cmake
Xal has joined #nixos
<tnks> I'm a bit of distance from my initial Nix installation, and second-guessing whether I deviated from a recommended configuration.
<tnks> Do people find themselves needing to call 'sudo -i nixos-rebuild ...'?
<samueldr> unless something changed on unstable, it shouldn't be necessary for nixos
drewr has joined #nixos
<tnks> samueldr: calling nixos-rebuild with sudo at all? Or the "-i" switch?
<samueldr> though for some nix installation outside nixos `-i` is necessary especially with regard to root's channels (IIRC)
Fare has joined #nixos
smallville7123 has quit [Quit: rosa]
<samueldr> the -i switch, sorry, sudo is required
Thra11 has joined #nixos
<samueldr> (except for some commands like build, which doesn't require sudo)
<tnks> samueldr: right.
<tnks> so this is nixos-rebuild, so it's definitely in the context of NixOS.
Tobba_ has joined #nixos
<samueldr> as expected, which is why it seems weird to me
jD91mZM2 has quit [Quit: WeeChat 2.0]
Tobba has quit [Ping timeout: 256 seconds]
<tnks> samueldr: this might be a zsh problem.
<tnks> I wonder if I make the root account use bash whether the problem goes away.
palo has joined #nixos
palo has quit [Changing host]
palo has joined #nixos
<tnks> It can be confusing to remember which commands use ~/.nix-defexpr directly, and which ones use NIX_PATH, which has pointers to ~/.nix-defexpr.
<tnks> I think it's nix-channel and nix-env that use ~/.nix-defexpr directly.
<worldofpeace> Yay, nixos-unstable is blocked by failing nixos.tests.gnome3, again. (sarcasm) :(
<gchristensen> maybe you can help fix it, I'm sure Jan would love some help
Fare has quit [Ping timeout: 265 seconds]
<gchristensen> seems the problem is with Cython: https://hydra.nixos.org/build/76074527
pip3000 has joined #nixos
<pip3000> hi how can i set system language in plasma?
<worldofpeace> gchristensen: So staging has fixes for this https://github.com/NixOS/nixpkgs/commit/b9b18ded57842d24ef05bfe33aa7dba95b77babf
<gchristensen> great, I guess then when staging is fixed it'll be closer to passing
<infinisil> worldofpeace: How did you see it being gnome3's fault?
<gchristensen> thanks fridh for the fix :)
Ariakenom has quit [Quit: Leaving]
<foldingcookie> anyone here use xpraGtk3? I get errors about python importing Gdk and then GdkX11
<worldofpeace> infinisil: Everythings gnome3's fault :D
<gchristensen> worldofpeace: the collective build faults of all the hard work of the nixos community certainly don't all fall on Jan
vaninwagen has quit [Quit: WeeChat 2.1]
<worldofpeace> Sorry, my sarcasm must have been seen as rigidity.
inquisitiv3 has quit [Ping timeout: 256 seconds]
<gchristensen> I know it is sarcasm, but it can be hurtful to hear, even in sarcasm. it is a lot of work, keeping all this afloat!
meowmeow has joined #nixos
<worldofpeace> I can tell, looks like lots of people are working hard(for free). Any extra help I see is appreciated.
<gchristensen> :) <3
<meowmeow> Hello. When bash instance is running from nix-shell it always has broken prompt. How do i change it?
<meowmeow> The thing is that is also affects something like running bash from tmux or nvim terminal
<LnL> the stdenv uses a bash without readline support
<gchristensen> I believe you need to add bashInteractive to your nix-shell?
<gchristensen> oh
<LnL> if you want that you need to add bashInteractive to the shell expression
vcunat has quit [Ping timeout: 256 seconds]
<infinisil> worldofpeace: So, how did you know it was gnome's fault, for real?
<infinisil> The hydra interface can be very confusing
<gchristensen> infinisil: is this for your own education?
<infinisil> Yes
johnw has quit [Ping timeout: 265 seconds]
<gchristensen> nixos:trunk-combined:tested -> nixos-unstable
<gchristensen> nixos:unstable-small:tested -> nixos-unstable-small
<gchristensen> click the X next to nixos-unstable
<gchristensen> then click the Constituentsstab
<gchristensen> oops, sorry
<gchristensen> for "nixos:trunk-combined:tested" click the "tested" link, then click Constituents
<infinisil> Ahh I see, thanks!
<samueldr> gchristensen: your first instructions seems to also work, don't they?
<samueldr> though it's for one build instead of the matrix of builds
<infinisil> So wherever there's a red mark, those jobs might need fixing
<infinisil> Or a cross I guess
<infinisil> Or a red cross?
<samueldr> (also for my education)
<samueldr> infinisil: there are tooltips
<infinisil> Ah rgiht
<gchristensen> samueldr: yeah, but the second set provides better context in to the failures I think
<gchristensen> todo: wiki page on what I just wrote e:P
<worldofpeace> gchristensen: Thanks for the ui walkthrough.
<infinisil> gchristensen: And nixos.channel is the combination of all of those?
<samueldr> well, history, though history could cause confusion (possibly) if for different reasons dependencies fail
<gchristensen> happy to help! I keep that dashboard up to date, so feel free to bookmark it
<gchristensen> infinisil: nixos.channel is a specific job
<infinisil> Ah, so it only tests whether the channel could be created successfully
btbytes has joined #nixos
pip3000 has quit [Ping timeout: 260 seconds]
agander_ has quit [Ping timeout: 256 seconds]
<infinisil> Even though an actual channel update only occurs when all those jobs succeed
rihards has quit [Quit: rihards]
<gchristensen> yeah `tested` is also a specific derivation, which is an "aggregate derivation" (special to Hydra)which dependss upon all the constituent jobs
<infinisil> Yeah that's one thing I knew already
<infinisil> gchristensen: One more question: You mentioned that fridh fixed it for staging, where did you get that from?
<infinisil> Oh wait, worldofpeace linked something
jperras has quit [Ping timeout: 240 seconds]
<worldofpeace> it did
<infinisil> Yeah alright
<worldofpeace> infinisil: Your system config is just black magic https://github.com/Infinisil/system/blob/master/config/machines/emma.nix
<infinisil> It is a bit messy heh
<worldofpeace> No channel?
<samueldr> git checkout I'd guess
<infinisil> Yeah ^^
<infinisil> It's just a link to nixpkgs here: https://github.com/Infinisil/system/tree/master/external
<infinisil> It is stateful though, and I'm not entirely sure how to make that better
<samueldr> infinisil: at one point, there is bound to be a state somewhere :)
jperras has joined #nixos
<infinisil> True, but it annoys me somewhat that the /cfg path is hardcoded
<gchristensen> https://github.com/grahamc/network/blob/master/modules/standard/default.nix#L67-L86 this is what I do for nixops deploys & the channel
<samueldr> hmm, I'm thinking you could maybe work with ./., infinisil, and convert that
<samueldr> if you keep it next to your configuration
oida has joined #nixos
Thra11 has quit [Quit: IRC for Sailfish 0.9]
<infinisil> Hmm true..
Thra11 has joined #nixos
<samueldr> though, building from another machine may not work
<samueldr> (as in nixos-rebuild --target-host)
<samueldr> path will not exist there, so nix-shell/nix-env may have issue, would they?
<infinisil> nixpkgs gets evaluated on the local machine
<samueldr> for --target-host, local is localhost or target-host?
simukis has quit [Ping timeout: 256 seconds]
<samueldr> I would think localhost
<samueldr> (I know for --build-host, it's localhost)
<infinisil> nix always evaluates on the local machine, only builds and deployments can be on others, is that what you mean?
<infinisil> localhost local
<samueldr> `nixos-rebuild switch --target-host $other-machine`, "system activation will happen on the remote host instead of the local machine."
<samueldr> "If --build-host is not explicitly specified, --build-host will implicitly be set to the same value as --target-host."
<samueldr> I see
chessai has quit [Remote host closed the connection]
<infinisil> Ah and yes, the nixpkgs=/local/nixpkgs won't work then
<infinisil> For the deployed machine
<samueldr> ah right
<infinisil> I do use nixops for all machines though
Fare has joined #nixos
<lejonet> Anyone that have gotten the wifi module working in nixos on a pine a64 lts? I can't get the interface to appear despite the module (r8723bs) loading fine and all...
<infinisil> I should make it so that it clones my system config if it's not existent on the machines I want to deploy from
<infinisil> And the ones I don't want to deploy from, it should set `nixpkgs=${lib.cleanSource <nixpkgs>}`
sary has quit [Ping timeout: 260 seconds]
tmaekawa has joined #nixos
<samueldr> lejonet: hadn't realized there was wifi on the A64-lts
<Dezgeg> maybe r8723bs needs firmware?
<samueldr> Dezgeg: I have it on a cherrytrail laptop working without specific handling
<samueldr> (though I had to do things for bluetooth to work)
tmaekawa has quit [Client Quit]
<samueldr> it does load a firmware (looking at dmesg)
<samueldr> firmwareLinuxNonfree has that firmware (and rtl8723bs-firmware)
<meowmeow> Im still trying to run tmux or nvim terminal from nix-shell, but i alwsays get problem of these programs running /nix/store/...-bash-4.4/bin/bash even when i have bashInteractive in scope of nixshell
<meowmeow> so prompt still broken in bash instances
<meowmeow> but running simple bash works just fine
<samueldr> ah, I wouldn't be able to see the wifi interface, it's an external module
<samueldr> I would assume lejonet does have the module
<samueldr> Dezgeg: how likely would it be that the device tree needs to know about the wifi module?
wchresta has quit [Ping timeout: 260 seconds]
LFF^ has quit [Ping timeout: 245 seconds]
<Dezgeg> quite high
<Dezgeg> not 100% though
amir has quit [Ping timeout: 265 seconds]
tzemanovic has joined #nixos
tzemanovic has quit [Client Quit]
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
andymandias has quit [Ping timeout: 240 seconds]
taktoa has quit [Ping timeout: 265 seconds]
grp has quit [Quit: box shutting down...]
<tnks> I'm just trying to reverse engineer how some things work in Nix, and I encountered something unexpected.
<tnks> If I do 'sudo LS_COLORS=sdf env' then it overwrites the LS_COLORS environment variable.
<tnks> but that doesn't work for 'sudo NIX_PATH=sdf env'
amir has joined #nixos
<clever> tnks: does /etc/sudoers mention either var?
<tnks> clever: no, but it does have this: Defaults env_keep+=SSH_AUTH_SOCK
btbytes has quit [Quit: Textual IRC Client: www.textualapp.com]
<tnks> I wonder if the build recipe for sudo hardcodes something for default environment variables.
andymandias has joined #nixos
<clever> tnks: possibly, try another custom var
<tnks> clever: how do you mean exactly?
<tnks> also, I just looked at the Nix expression for sudo. I don't see anything about NIX_PATH there.
<clever> tnks: try just `sudo FOO=bar env`
jperras has quit [Ping timeout: 248 seconds]
<tnks> clever: yeah, that works. NIX_PATH seems special.
<clever> weird
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<tnks> clever: can you verify this on your system?
<clever> tnks: yeah, nix-path cant be set like that
<clever> tnks: id just use a noral root shell: sudo -i
jperras has joined #nixos
<tnks> clever: just out of curiosity, does your NIX_PATH have a '$HOME' reference that doesn't expand without the "-i" switch?
<clever> NIX_PATH=$HOME/.nix-defexpr/channels:nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos:nixos-config=/etc/nixos/configuration.nix:/nix/var/nix/profiles/per-user/root/channels
<tnks> clever: yeah, so that's the same with me. It's what makes it give me a warning with a 'sudo nixos-rebuild' because it can't find the unexpanded "$HOME" directory.
<tnks> so I just started using "-i", but that seems to not be what other people are doing, which made me feel like I didn't have someting configured right.
<clever> i just `sudo -i` and then `nixos-rebuild switch`
<tnks> clever: yeah, me too. Mostly I just like understanding how things work, because the minutea sometimes comes in handy in other contexts.
<clever> i'm guessing its something to do with /etc/profile or /etc/bashrc
<tnks> clever: I ran down that route. there's something special about NIX_PATH, though that doesn't allow overriding.
deepfire` has quit [Ping timeout: 256 seconds]
taktoa has joined #nixos
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
matthewbauer has quit [Ping timeout: 276 seconds]
sir_guy_carleton has quit [Quit: WeeChat 2.0]
stepcut has quit [Remote host closed the connection]
<infinisil> gchristensen: Was it you that said that you once made it so you had to commit before you could make a nixos-rebuild?
stepcut has joined #nixos
<gchristensen> yea
<infinisil> What do you think of a commit actually triggering the rebuild directly
<gchristensen> sounds scary
<gchristensen> to me
<infinisil> Yeah, but I fail to see an actual reason against it
<gchristensen> as long as it doesn't `switch`?
<infinisil> I'd think of it doing that
<gchristensen> X)
<infinisil> Eh, I'll try it
aarvar has joined #nixos
stepcut has quit [Ping timeout: 240 seconds]
xy2_ has quit [Ping timeout: 264 seconds]
Fare has quit [Ping timeout: 260 seconds]
tenten8401 has joined #nixos
sbdchd has joined #nixos
<tenten8401> Doubt I'm gonna catch the same person I did yesterday but does anyone know how I could boot into a NixOS install with kexec?
<tenten8401> I was initially installing through a virtual KVM using Qemu with VNC
<tenten8401> but I need to set system EFI variables in order to be able to boot properly through EFI
sid2k has joined #nixos
<tenten8401> and turns out I need to use the kexec method
sid2k has left #nixos [#nixos]
<clever> tnks: *waves*
<gchristensen> is this during install?
<clever> tenten8401: also, kexec doesnt handle efi either
<tenten8401> dang
<tenten8401> is there a way I can install NixOS from the hetzner rescue system?
<clever> kexec is simpler then booting the iso into qemu and redirecting the hdd's in
<tenten8401> I would use a physical KVM but unfortunately to mount an ISO it streams it from my PC to the server
<tenten8401> and my uplink is 1 megabit per second
<Dezgeg> why kexec is mutually exclusive with EFI?
<clever> thats where kexec helps a lot, you can just scp a ~200mb tar file to the server, run it, and your in the installer
<tenten8401> yeah, but as you just said, it can't handle EFI either
<clever> Dezgeg: i dont think the kexec method passes the table of function pointers from the EFI
<tenten8401> I'm trying to install an EFI system but I can't write the EFI boot entry needed to boot
<clever> tenten8401: when in the rescue system, do you see the efi vars filesystem mounted?
<clever> efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
logiq has joined #nixos
<tenten8401> mount | grep efi returns nothing
<tenten8401> I'd like to say the rescue system is a PXE boot thing
<clever> then either the bios doesnt support efi, or the rescue system was not booted via efi
<tenten8401> hmmph
<tenten8401> I have no clue how to install it BIOS only with RAID
<tenten8401> I found someone who installed it with EFI and RAID-0, which I changed to RAID-1 during the install
<Dezgeg> this one from 2014 claims it should be supported: http://lkml.iu.edu/hypermail/linux/kernel/1401.2/01909.html
<clever> Dezgeg: ah, but if the rescue system isnt efi, it cant forward it on anyways
<tenten8401> yeah. :/
hamishmack has joined #nixos
<Dezgeg> then always boot to the final system from the rescue with kexec? :P
<Dezgeg> sounds strange if they'd use different boot mechanisms though
<clever> boot.loader.grub.efiInstallAsRemovable = true;
<clever> tenten8401: this option allows you to do an efi install without access to the efivars
<tenten8401> oooh that might work
<clever> it uses the same filename as removable drives, so the bios is tricked into thinking its a bootable usb stick
<clever> and those cant be in the efivars, because they are removable
<tenten8401> and from there I can boot to the system and fix it manually
<tenten8401> hopefully
<clever> yeah
<tenten8401> I don't know if the BIOS even supports UEFI but it's a fairly new processor so it should
<clever> once it boots with efi once, you can unset that, and then nixos will poke around in the efivars
<tenten8401> I say fairly new, it's like 2015 processor
<tenten8401> thanks for the pointer, gonna try it out
__monty__ has quit [Quit: leaving]
<tenten8401> do I still need an efiSysMountPoint if I'm installing as removable?
<tenten8401> I'd assume so but
<clever> yeah
<clever> it still needs to know where to put the .efi binaries
<tenten8401> installing... here goes
<tenten8401> then I'll reboot the server and see if it wants to boot
tzemanovic has joined #nixos
deepfire` has joined #nixos
astrofog has joined #nixos
deepfire` has quit [Ping timeout: 260 seconds]
<rizary> In `buildPhase`, how you specify custom variables? Like I want to run `$CABAL_DIR=$Src/config/ cabal new-build .` or similar to that. I try with export but fail.
<worldofpeace> infinisil: "commit actually triggering the rebuild directly", what do you mean by that?
<clever> rizary: same way you do it in bash, export VAR=value
<clever> without the $ on VAR
<infinisil> worldofpeace: nixos-rebuild in .git/hooks/post-commit
<infinisil> Not gonna do it after all though, would be annoying with rebases
sbdchd has quit [Remote host closed the connection]
<tenten8401> welp, install finished
<tenten8401> here's to hoping it boots
deepfire` has joined #nixos
<tenten8401> starting to wonder if the BIOS even supports UEFI
<tenten8401> so either these hdds are *really* slow or the bios doesn't support UEFI
<tenten8401> or I configured SSH wrong
<tenten8401> pretty sure my machine is ded, gonna fire up rescue system and see if I can do legacy boot
lukelau has left #nixos [#nixos]
<tenten8401> providing I have an EFI partition mounted on /boot, what would I have to do for legacy booting?
<tenten8401> do I just delete the partition and expand everything to 1 partition, then install grub?
<tenten8401> or do I even have to do anything?
ryantrinkle has quit [Ping timeout: 245 seconds]
<Dezgeg> I guess the closer you do it how the existing distros on hetzner do it the more likely it will work
<Dezgeg> some annoying biosen don't support legacy boot from GPT partitioned disks, for instance
<tenten8401> yeah, I wasn't sure if the existing distros used EFI or not
<tenten8401> I have 2 TB drives, it better support GPT
astrofog has quit [Quit: Quite]
Lev has quit [Quit: Leaving]
<tenten8401> can you have a hybrid grub configuration?
<tenten8401> as in install EFI and legacy
camsbury has quit [Remote host closed the connection]
camsbury has joined #nixos
<tenten8401> going to try with EFI support and with /dev/sda1
<tenten8401> and see if it'll work
asymmetric has joined #nixos
<tenten8401> may try booting under qemu from the disk first
<Guanin> Hi, I have a strange problem: the first launch of emacs (and some other applications) crashes with some libgl errors: https://clbin.com/70ubL
logiq has quit [Ping timeout: 248 seconds]
<Guanin> My config right now is https://clbin.com/GeSDT
camsbury has quit [Ping timeout: 240 seconds]
init_6 has joined #nixos
<tenten8401> anyone know why I could be getting a 'This GPT partition label contains no BIOS boot partition" error?
<tenten8401> ./boot is mounted and exists
<MichaelRaskin> You are trying to install GRUB2 for Legacy/BIOS boot on GPT
<MichaelRaskin> Unlike MBR GPT doesn't have good empty spaces to stash the loader
<MichaelRaskin> So a special partition — BIOS boot partition — not suitable for anything but directly dumping real bootloader there for the minimal stub to load — is required
init_6 has quit []
<tenten8401> I have a /boot partition MichaelRaskin
<tenten8401> am I going to need something else?
<tenten8401> Do I need to set my boot device to /dev/sda1 instead of /dev/sda?
<MichaelRaskin> Do you understand that «/boot partition» might mean two quite different things?
<tenten8401> I have a partition that's mounted on /boot
<tenten8401> formatted as FAT32
rprije has joined #nixos
<MichaelRaskin> I have a feeling that you are doing a mix of UEFI and Legacy boot configuration
<MichaelRaskin> Just add a new partition of type BIOS boot partition, that should be enough
woodson has joined #nixos
sbdchd has joined #nixos
<MichaelRaskin> I think 16MiB is plenty of space for it
<tenten8401> yeah, I'm aiming for legacy boot since apparently this bios doesn't support uefi
<MichaelRaskin> You should not format it, mount it, or do anything with it
<MichaelRaskin> In case of BIOS boot, why format /boot as FAT32, but oh well…
<tenten8401> ahh alright
<tenten8401> I've always had a UEFI capable system, I don't think I've ever had to boot legacy before
<tenten8401> which is why I'm so clueless
<tenten8401> alright, switched my EFI partition to BIOS boot type and wrote to disk
<MichaelRaskin> Argh
<MichaelRaskin> Wasn't your EFI partition /boot?
<MichaelRaskin> Because /boot and BIOS boot partition are _different_ things
<MichaelRaskin> And you need both
<tenten8401> I just straight up unmounted it from /boot, going to see if it'll store /boot in the raid array
<tenten8401> or do I need a seperate /boot?
<MichaelRaskin> Well, what is your /
<tenten8401> ext4 raid array
<tnks> clever: I guess I found more variables that can't be overridden with sudo. These include: LD_LIBRARY_PATH, LOCALE_ARCHIVE, NIX_PATH, SANE_CONFIG_DIR, AND TZDIR
<tenten8401> raid1
<MichaelRaskin> old or new metadata?
<tenten8401> not a clue
erasmas has quit [Quit: leaving]
<tenten8401> probably new
<MichaelRaskin> Then I would make a separate ext4 /boot with 0.90 metadata
<tenten8401> think 240M is enough for /boot?
<MichaelRaskin> Not sure
<tenten8401> guess I'll find out the hard way
<MichaelRaskin> NixOS might have large initramfs images
<MichaelRaskin> And it has more of them than some other distributions
philippD has joined #nixos
<MichaelRaskin> On NixOS /boot overfull is actually a thing that happens
<tenten8401> that worries me a bit
<tenten8401> does a raid array resize take that long?
taktoa has quit [Ping timeout: 264 seconds]
<MichaelRaskin> Any change in stage1 settings means an additional initramfs…
meowmeow has quit [Quit: Konversation terminated!]
<philippD> Is there an easy way of getting texlive packages more selectively? As soon as I want to do some fancier stuff I have to use texlive-full which is HUGE.
Fare has joined #nixos
<tokudan[m]> tenten8401: if you have trouble installing on hetzner, have a look at nixops. that works pretty well to deploy nixos on a hetzner server for me
<MichaelRaskin> So you could have multiple for the same kernel version
<MichaelRaskin> (until a GC + rebuild, both are necessary)
<tenten8401> problem isn't hetzner, it's the raid configuration
<tenten8401> and the fact that I was trying UEFI instead of BIOS
deepfire` has quit [Ping timeout: 256 seconds]
<tenten8401> I'll try 512MB for /boot
chasevasic has joined #nixos
<tenten8401> alrght, sp O jad ,y
<hodapp> I made LuxCoreRender build! \o/
<tenten8401> oh man I butchered that
* hodapp spikes pull requests onto the ground
<tokudan[m]> Ttenten8401: ah, ok. anyway, http://paste.debian.net/hidden/07e1bb3e/ that creates new raid and two big filesystems i used as placeholders for a zfs zpool
<tenten8401> So I have my 16MB BIOS boot partition, 512MB ext4 partition for /boot, and a 1.8 TB RAID partition. Does that sound decent?
<hodapp> on one disk?
<tenten8401> replicated on both disks
<tenten8401> how would I do the "old metadata" on /boot?
<tokudan[m]> if you've got 2 TB disks in there... does it really make a difference to you if /boot is 512 MB or 1024 MB?
<tenten8401> nope
<tenten8401> but it was 256 before
<hodapp> hm. sometimes I just stick that stuff on USB or flash and use the whole disk(s) for RAID
<tenten8401> yeah, but I don't have physical server access
<hodapp> ohhhhh
<tokudan[m]> tenten8401: you can specify the version when you create the raid, something like --version=0.9 or something similar
<tenten8401> ahh yeah I see
<tenten8401> --metadata=0.90
<tenten8401> can I leave the new metadata on for the root partition?
<tokudan[m]> yes, it's only important for /boot, as there the mdadm superblook needs to be at the end
<tokudan[m]> (and possible for a bios boot partition)
<tenten8401> alright
<tenten8401> I take it the BIOS partition shouldn't be made a raid array?
<tokudan[m]> root is mounted by the linux kernel that should be able to understand it
<tenten8401> and is /boot alright being ext4?
<tokudan[m]> you can make it a raid 1 in linux, though the bios will never see an array there
<tokudan[m]> should be good
<tenten8401> I'll give it a shot so I can have redundant boot drives
<tenten8401> actually, would raid metadata be an issue on the bios partition?
<tenten8401> should that be set to 0.90 as well?
blankhart has joined #nixos
<tenten8401> tokudan[m]?
ericsagn1 has quit [Ping timeout: 265 seconds]
woodson has quit [Ping timeout: 245 seconds]
viric has quit [Ping timeout: 240 seconds]