sphalerite changed the topic of #nixos to: NixOS stable: 19.03 \o/ https://discourse.nixos.org/t/nixos-19-03-release/2652 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2018
<gyroninja___> thanks
<gyroninja___> Do you know when that will hit unstable?
sigmundv has quit [Ping timeout: 272 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/c3cc7034e25 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<iqubic> clever: I have now gone through and detached /dev/sda5, and turned /dev/sda2 online.
utdemir has quit [Read error: Connection reset by peer]
<iqubic> What do I do next to give /dev/sda2 the whole rest of the SSD?
<clever> iqubic: thats what the online command did
<clever> iqubic: you must resize the sda2 partition to occupy the entire disk, and then do online -e again
shabius has joined #nixos
<iqubic> Can I safely delete /dev/sda5?
<gyroninja___> Is there a way for me to manually download the nar.xz and have nix install it into the nix store?
alex`` has quit [Read error: Connection reset by peer]
utdemir has joined #nixos
shandogs has joined #nixos
<{^_^}> [nixpkgs] @das-g opened pull request #64320 → lazydocker: init at 0.5 → https://git.io/fj6ol
<clever> iqubic: if its not shown in `zpool status -v`, yes
shabius_ has quit [Ping timeout: 268 seconds]
<clever> gyroninja___: if you put both the .narinfo and the .nar.xz into a folder, you can `nix copy --from file:///path/to/dir /nix/store/hash-name` to "download" it from that dir
<{^_^}> [nixpkgs] @marsam merged pull request #63776 → solc: 0.5.9 -> 0.5.10 → https://git.io/fjruW
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fj6o4
lambda-11235 has joined #nixos
<gyroninja___> I'm not sure how to find the corresponding .narinfo
<clever> gyroninja___: /nix/store/hash-name is at hash.narinfo
<gyroninja___> alternatively I might be able to mitigate my issue by disabling nix from downloading multiple files at once
<clever> and hash.narinfo contains the relative path of the .nar.xz
fusion809 has joined #nixos
<gyroninja___> well I don't have the .narinfo
<clever> gyroninja___: what storepath is it trying to download?
<gyroninja___> I only have the url for the .nar from the error to download it
<gyroninja___> /nix/store/p175klawkn4brx5wm03n93vg7l8l3myr-mono-5.20.1.27 and /nix/store/gdwm0sivvyx787bm5yfpv8q84naankl4-mono-5.20.1.27
<gyroninja___> are trying to be downloaded
<gyroninja___> thanks
<gyroninja___> and then the /nix/store/hash-name would be the p175... hash
<clever> yeah
<clever> need the name-version also
<gyroninja___> looks like doing this I'll have to manually install the dependencies for this too
<gyroninja___> it's complaining I don't have a specific hash of ncurses in my store
<clever> gyroninja___: you can run `nix-store -r /nix/store/foo` to download any path from the cache
<gyroninja___> I may have already had it since the error didn't go away
<gyroninja___> >error: path '/nix/store/1rj349mlvjc0r2q8v5bv1j0j94hi0hdb-ncurses-6.1-20190112-dev' is not valid
<clever> gyroninja___: another option is: nix-store -r /nix/store/p175klawkn4brx5wm03n93vg7l8l3myr-mono-5.20.1.27 --option substituters 'file:///path/to/dir https://cache.nixos.org'
<gyroninja___> the directory does exist
<clever> gyroninja___: that will let you fetch from 2 places at once
<gyroninja___> I mean I can probably just download the package normally with that first nix-store command
<gyroninja___> I think my internet is fast enough to download them 1 at a time
<clever> gyroninja___: oh, what about `nix-store --option http-connections 1 -r /nix/store/p175klawkn4brx5wm03n93vg7l8l3myr-mono-5.20.1.27`
<clever> i think that will force it to only do 1 connection
ee1943 has quit [Ping timeout: 245 seconds]
ee1943 has joined #nixos
<gyroninja___> Okay, they seem to download fine
MmeQuignon has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fj6o2
adamantium has quit [Remote host closed the connection]
adamantium has joined #nixos
<{^_^}> [nixpkgs] @jbedo opened pull request #64321 → CNVkit: init 0.9.6 → https://git.io/fj6oV
pareidolia has quit [Ping timeout: 248 seconds]
<lordcirth__> samueldr, hey, I got the image to boot on my RasPi! Thanks! Is there any easy way to insert the final configuration.nix into the image? The one in the repo has lots of stuff, but the built one is basically blank.
stepcut has quit [Read error: Connection reset by peer]
gxt_ has quit [Quit: WeeChat 2.4]
<samueldr> not really, and there is going to be a change (wip already) to instead put a sample configuration.nix on that installer media
<lordcirth__> samueldr, also, while it boots, I can't rebuild because it says I need Grub settings
<samueldr> use nixos-generate-config
<lordcirth__> Ah ok
<samueldr> it should pick up that it's the arm system and seed the configuration with the right options for disabling grub and enabling extlinux config stuff
day|flip has joined #nixos
pareidolia has joined #nixos
<lordcirth__> Yeah, I see that now. cool!
stepcut has joined #nixos
adamantium has quit [Remote host closed the connection]
Guest5788 has joined #nixos
Guest5788 has quit [Changing host]
Guest5788 is now known as Miyu-chan
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/aef662d2eb5 (from 8 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
utdemir has quit [Ping timeout: 245 seconds]
<switchy> I'm trying to use nix-shell to provide a build environment (a bunch of packages in a pkgs.buildEnv) for some code I'm working on, but NIX_LDFLAGS has /nix/store/...-shell/lib{,64} rpaths that don't exist (and are not the -L entries for the environment itself) -- is this expected? is there a better way to get the lib/include directories for this environment?
utdemir has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #64278 → powerline-go: 1.12.1 -> 1.13.0 → https://git.io/fj6cw
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fj6oK
clacke_movim has left #nixos [#nixos]
clacke_movim has joined #nixos
psy3497 has joined #nixos
ddellacosta has joined #nixos
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/aef662d2eb5 (from 8 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
shandogs has quit []
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/148857a494d (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @aanderse merged pull request #64274 → nixos/limesurvey: module fixes & cleanup → https://git.io/fj6nq
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/fj6oD
Drakonis has quit [Ping timeout: 252 seconds]
Acou_Bass has quit [Quit: byeeeeeeeeeeeeeee]
Acou_Bass has joined #nixos
Drakonis has joined #nixos
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/3df56e99822 (from 13 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
furrycatherder has joined #nixos
furrycatherder has quit [Client Quit]
deech has joined #nixos
alp has quit [Ping timeout: 264 seconds]
furrycatherder has joined #nixos
Sary[m] has joined #nixos
mexisme_ has quit [Ping timeout: 248 seconds]
<iqubic> clever: am I safe to delete /dev/sda5
mmercier has joined #nixos
mmercier has quit [Client Quit]
mmercier has joined #nixos
mmercier has quit [Client Quit]
cjpbirkbeck has joined #nixos
<clever> iqubic: sda5 was your shared partition between windows and linux
<iqubic> Oh?
<clever> /dev/sda5 253388800 277569535 24180736 11.5G Microsoft basic data
<clever> /dev/sda6 294348800 500117503 205768704 98.1G Linux filesystem
<clever> sda6 is the zfs one
<iqubic> I have deleted /dev/sda5
<iqubic> Can I delete /dev/sda6?
<clever> what does zpool status -v say?
<iqubic> It says this: http://dpaste.com/3MNGDCT
<clever> then sda6 should be safe to delete
<iqubic> Cool.
jluttine has quit [Ping timeout: 245 seconds]
<iqubic> Now, how do I extend /dev/sda2?
<clever> normally, i would just use gparted
<iqubic> But ZFS confuses gparted.
<iqubic> So I'm not sure what to do.
<clever> iqubic: `resizepart` in the `parted` command
<iqubic> How do I save my new set-up?
<clever> iqubic: did you try `help` in side parted yet?
<iqubic> Yes.
<clever> is there a save or write command?
<iqubic> I didn't see anything about writing the new partitions.
<clever> iqubic: and if you quit, then `fdisk -l /dev/sda` what does it say?
mmercier has joined #nixos
mmercier has quit [Client Quit]
mmercier has joined #nixos
mmercier has quit [Client Quit]
Sary[m] is now known as Shem[m]
mmercier has joined #nixos
mmercier has quit [Client Quit]
<clever> iqubic: sda2 is 142 gig, it appears to have worked, does lsblk agree with it?
<iqubic> lsblk states that sda2 is 131.9 gigs.
mmercier has joined #nixos
mmercier has quit [Client Quit]
<clever> close enough, youll want to now `zpool online -e <poolname> /dev/sda2` again
<clever> and then `df -h` should show more free space
<iqubic> Now, is there a way that I can delete, then recreate my swap partition so that it has /dev/sda3?
mmercier has joined #nixos
<clever> iqubic: just delete and remake it, in either fdisk or parted
mmercier has quit [Client Quit]
<clever> iqubic: and mkswap /dev/sdaX to re-format it
<clever> iqubic: and then fix the reference to it in (hardware-)configuration.nix, under swapDevices
<iqubic> I'm also going to need to change my configuration.nix
mmercier has joined #nixos
mmercier has quit [Client Quit]
mmercier has joined #nixos
mmercier has quit [Client Quit]
mmercier has joined #nixos
mmercier has quit [Client Quit]
<iqubic> So, I'm not sure what's going on here. I updated the partition table, but lsblk doesn't agree.
mmercier has joined #nixos
mmercier has quit [Client Quit]
<iqubic> What's up with that?
<clever> iqubic: did you swapoff first?
mmercier has joined #nixos
mmercier has quit [Remote host closed the connection]
xelxebar has quit [Quit: ZNC 1.7.2+deb2~bpo9+1 - https://znc.in]
mmercier has joined #nixos
mmercier has quit [Client Quit]
xelxebar has joined #nixos
mmercier has joined #nixos
mmercier has quit [Client Quit]
<iqubic> I didn't swapoff.
mmercier has joined #nixos
<clever> youll need to swapoff, then re-delete and re-make the partition
<iqubic> I see.
mmercier has quit [Client Quit]
<clever> a partition that is in use cant be deleted fully
mmercier has joined #nixos
<iqubic> Oh dear... I now need to reboot to fix this stuff up.
mmercier has quit [Client Quit]
<iqubic> Be back soon.
iqubic has quit [Remote host closed the connection]
doyougnu has joined #nixos
mmercier has joined #nixos
mmercier has quit [Client Quit]
mmercier has joined #nixos
mmercier has quit [Client Quit]
<pie_> ugh, i have a site where curl and wget work fine but my fetchurl is broken...
<clever> pie_: broken how? pkgs or builtins?
<pie_> pkgs
<pie_> it gets the wrong hahs
mmercier has joined #nixos
mmercier has quit [Client Quit]
<clever> pie_: does the output path exist in /nix/store ?, nix should leave it after a failed build
mmercier has joined #nixos
mmercier has quit [Client Quit]
mmercier has joined #nixos
mmercier has quit [Client Quit]
iqubic has joined #nixos
<iqubic> I'd like my configuration.nix to refer to my swap partition by UUID if possible.
mmercier has joined #nixos
<iqubic> How would I go about doing that?
mmercier has quit [Remote host closed the connection]
utdemir has quit [Quit: WeeChat 2.5]
<clever> 41 #{ device = "/dev/disk/by-uuid/3fdb005c-97e7-4dfb-9a3f-71748d714ae4"; priority = 9; }
<iqubic> device = "/dev/device-by-uuid/$UUID_HERE"?
mmercier has joined #nixos
mmercier has quit [Client Quit]
mmercier has joined #nixos
mmercier has quit [Remote host closed the connection]
mmercier has joined #nixos
mmercier has quit [Client Quit]
<pie_> clever, it gets the html file instead of the actual file...which is what i suspected, but idk why
<pie_> does fetchurl not handle ? parameters or something
<iqubic> And that's all I needed to do today. Thanks for the help clever.
<iqubic> clever++
<{^_^}> clever's karma got increased to 141
<iqubic> clever++
<{^_^}> clever's karma got increased to 142
mmercier has joined #nixos
mmercier has quit [Remote host closed the connection]
<clever> pie_: is there a captive portal forcing you to login on something?
<pie_> clever, no just wants params i think
[Leary] has quit [Remote host closed the connection]
<clever> pie_: can you pastebin the nix expr?
<iqubic> I have to go now.
<pie_> clever, yea
* clever waves
<iqubic> Thanks for all the help here.
<pie_> clever, https://bpaste.net/show/gCh9 note wgetting the url does get the correct hash
zacts has joined #nixos
<gyroninja___> What constitutes needing to use quotes to escape an identifier when using it for a set?
<{^_^}> [nixpkgs] @romildo merged pull request #63781 → deepin.dde-session-ui: 4.9.11 -> 4.9.12 → https://git.io/fjr20
<{^_^}> [nixpkgs] @romildo pushed 2 commits to master: https://git.io/fj6K2
<clever> gyroninja___: . and / mostly
<gyroninja___> Without quotes does it have to be alphanumeric, or can it have things like hashes too
iqubic has quit [Remote host closed the connection]
<clever> gyroninja___: without quotes, it can mostly be 1-9a-zA-Z and -_
skhan has joined #nixos
skhan has quit [Client Quit]
<pie_> clever, and by that i mean nix-hash --type sha256 --base32 --flat <(curl 'http://www.unrealsoftware.de/get.php?get=cs2d_1008_win.zip&p=1&cid=1653'; -H 'User-Agent: ')
jluttine has joined #nixos
mexisme_ has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace pushed to master « lollypop: 1.0.12 -> 1.1.3.1 »: https://git.io/fj6Kw
stepcut has quit [Remote host closed the connection]
<pie_> clever, any easy way to strace the nix daemon
<pie_> i.e. maybe i can see the spawned curl or something
jluttine has quit [Ping timeout: 245 seconds]
stepcut has joined #nixos
<clever> pie_: find the pid of the nix-daemon, and just `strace -p PID -f -e execve`
stepcut has quit [Remote host closed the connection]
<pie_> oh cool didnt think i could just attach
<pie_> that makes sense
deech has quit [Ping timeout: 244 seconds]
<pie_> well that didnt quite work by just trying to grep the output for curl
<pie_> im looking at the derivation output now
<pie_> at the show-derivation thing
<pie_> and the curl builder
<clever> pie_: strace prints to stderr, you want strace ... 2>&1 | grep ...
<pie_> yeah thats what i did
<clever> what went wrong?
<pie_> clever, strace -p $(pgrep nix-daemon) -v -e execve -f |& grep -i curl
<pie_> i got stuff it just wasnt a curl command
<clever> should be fairly few false hits
<pie_> got like 3 false hits and nothing else
<pie_> there was a build-remote an nproc and a cat
<clever> its going out to a build slave
<clever> use --option builders '' on the proc initiating the build
saykhan has joined #nixos
day|flip has quit [Remote host closed the connection]
<pie_> clever, i only build on my local machine though?
<pie_> or does this happen for build users as well
<pie_> clever, any way i can check my builders list
<clever> pie_: can you pastebin the full output when the build fails?
<pie_> sure
<clever> [pid 23133] execve("/nix/store/21081kk3iswq4lal8mn1w3vnr62gdi6l-curl-7.64.1-bin/bin/curl", ["curl", "--location", "--max-redirs", "20", "--retry", "3", "--disable-epsv", "--cookie-jar", "cookies", "--insecure", "--user-agent", "curl/7.64.1 Nixpkgs/19.09", "-C", "-", "--fail", "http://www.unrealsoftware.de/get"..., "--output", "/nix/store/9sniw6qd54y9qifp5a7d1"...], 0x5d3008 /* 106 vars */) = 0
<clever> i see this when i try the same thing
<pie_> hm
<pie_> i passed the builders flag but nothing changed
Xal has quit [Ping timeout: 245 seconds]
<clever> pie_: what does `pgrep nix-daemon` output?
<{^_^}> [nixpkgs] @teto merged pull request #64304 → curseofwar,curseofwar-sdl: init at 1.2.0 → https://git.io/fj6uE
<{^_^}> [nixpkgs] @teto pushed commit from @fgaz to master « curseofwar,curseofwar-sdl: init at 1.2.0 »: https://git.io/fj6Ky
<pie_> clever, 1 (one) pid
<clever> curl --location --max-redirs 20 --retry 3 --disable-epsv --cookie-jar cookies --insecure --user-agent 'curl/7.64.1 Nixpkgs/19.09' -C - --fail 'http://www.unrealsoftware.de/get.php?get=cs2d_1008_win.zip&p=1&cid=1266'; --output foo.zip
<clever> pie_: it fails when i use this
Xal has joined #nixos
<pie_> i kind of want to do this yak shave though because stracing nix-daemon seems useful
<clever> pie_: switch over to `strace -p PID -ff -o logfiles`
<clever> it will create a logfiles.PID for every pid it follows
<pie_> oh my god...unrelated, i was running a process in the background waiting for it to finish all night and i moved the output file so it failed
<pie_> FML
<pie_> nevermind false alarm :D
<pie_> that worked for me >.>
* pie_ checks
<pie_> ok it fails
<pie_> what did you do :V
<clever> ran the nix file, and then ran curl
drakonis1 has quit [Quit: WeeChat 2.4]
<pie_> oh, theres a different number
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/c7efe789636 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<pie_> weird
<clever> pie_: i think the number is unique to your IP, and maybe time based
<clever> to stop direct linking
<pie_> too small for that...ah well if it was time based.
<clever> it may be an index into a database
<clever> like a download counter
<pie_> yeah sure
<pie_> but i think your link works for me hold on
<clever> requireFile may be your simplest option
<clever> 1266 came from your nix file, and your ip
<clever> the html i see, has 1669 in it
<pie_> 1653 works for me
<pie_> 1669 sounds familiar for some reason too :I
<clever> and now that i refreshed, the html has 1669
<pie_> does 1653 work for you
<clever> gave html
<pie_> ok thats annoying then
<{^_^}> [nixpkgs] @teto merged pull request #64303 → pythonPackages.{seekpath,sumo,sopel}: fix builds → https://git.io/fj6uL
<{^_^}> [nixpkgs] @teto pushed 6 commits to master: https://git.io/fj6Kd
<pie_> i had some trouble with this originally but then ifgured it seemed to work
<pie_> thanks for another set of eyes
ilikeheaps has quit [Ping timeout: 258 seconds]
<pie_> hm....
ilikeheaps has joined #nixos
<pie_> d owe have some smart fetcher or would i have to hack together a fixed output deriv
<clever> pie_: requireFile is a function to make a fake fixed-output drv, that always fails with directions
<clever> you then download it yourself, and nix-store --add-fixed the thing
<Miyu-chan> I like how easily grepable Nix is.
<Miyu-chan> [myrl@myrl:/etc/nixos/nixpkgs]$ ag 'requireFile =' | cat
<Miyu-chan> pkgs/build-support/trivial-builders.nix:288: requireFile = { name ? null
<pie_> clever, i figured :P
<pie_> clever, but muh automation
<{^_^}> [nixpkgs] @jbedo opened pull request #64322 → xenomapper: init 1.0.2 → https://git.io/fj6KA
<clever> pie_: check the old derivation for factorio
<clever> pie_: it was setup to login on the website (http post to login form), grab cookies, then use those to download the tar
<Miyu-chan> What language was used?
<pie_> clever, lol
<clever> Miyu-chan: bash
<Miyu-chan> Lmao
<Miyu-chan> curl with cookies?
domogled has joined #nixos
<clever> yeah
<clever> curl can store cookies when you do things
<pie_> doesnt sound *that* hard
<pie_> also its factorio users
<Miyu-chan> Yeah, they use the term cookie jar or smth.
<pie_> what do you expect
<Miyu-chan> :D
<Miyu-chan> If you aren't applying Factorio concepts in real life, what are you even doing!?
<pie_> thx
jluttine has joined #nixos
hio has joined #nixos
<{^_^}> [nixpkgs] @jb55 closed pull request #64317 → purple-instagram: init at 2019-01-13 → https://git.io/fj6rI
<{^_^}> [nixpkgs] @lopsided98 opened pull request #64323 → lkl: 2018-08-22 -> 2019-06-20 → https://git.io/fj6Kj
psy3497 has quit [Ping timeout: 245 seconds]
drakonis_ has joined #nixos
Supersonic has quit [Ping timeout: 252 seconds]
Drakonis has quit [Ping timeout: 258 seconds]
Rusty1 has joined #nixos
zacts has quit [Quit: WeeChat 2.4]
Supersonic has joined #nixos
mexisme_ has quit [Ping timeout: 268 seconds]
orivej has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @jbedo opened pull request #64324 → hisat2: fix missing perl dependency → https://git.io/fj66I
<Shados> Miyu-chan: I've been reading a late-80s book about some "Factorio in real life" stuff, namely an electronic control system used to minimize downtime and related issues in expensive transfer lines, does kinda make me want a more complicated/detailed Factorio
<clever> Shados: i recently found https://copilot-language.github.io/
<Miyu-chan> Industrial engineering?
<clever> Miyu-chan: ive been wanting to use haskell on an AVR or MIPS thing, and copilot looks like it may work
<Shados> Huh
<Miyu-chan> Oh cool. Checking.
<Miyu-chan> Oh.
<Miyu-chan> Monad and reflections.
<Miyu-chan> At least if I understand "reify" correctly.
<Shados> The control system I've been reading about is kinda like a concurrent FSA framework, where each machine gets logically broken down into 'mechanisms' (a component of a machine that cannot interfere with itself), and then has a kind of state/transition table written for it
<Shados> I say "kind of" because it doesn't describe what state the mechanism *should* transition to, but what states are valid for it to transition to, and much of the 'state' is real-time physical sensor input
fresheyeball has quit [Quit: WeeChat 2.4]
<Miyu-chan> clever:-- We need to cast the Word8 to a Float. Note that it is an unsafeCast, as there
<Miyu-chan> -- is no direct relation between Word8 and Float.
<Miyu-chan> That's... weird.
<clever> that is weird
<Miyu-chan> unsafeCast from Word8 to Float should give you a weird result.
<clever> i would agree
<Miyu-chan> I think this is its own implementation?
<Miyu-chan> Oh, hm.
<Miyu-chan> There's unsafeCast, and unsafeCoerce.
<Miyu-chan> clever:https://github.com/Copilot-Language/copilot-language/blob/4055d134c55a34c216651c38d558cf821f032cfe/src/Copilot/Language/Operators/Cast.hs#L26
<Miyu-chan> So yeah, I was conflating unsafeCast with unsafeCoerce, which is a GHC thing.
<clever> heh, you beat me
<Miyu-chan> :D
<clever> instance UnsafeCast Word8 Float where unsafeCast = castIntegral
<clever> Miyu-chan: so its basically just a helper, that finds the right cast function for you
<Miyu-chan> Yeah, that implementation is not as unsafe as the name implies lmao
<Miyu-chan> Okay wait. It actually kinda is.
<Miyu-chan> castIntegral x = Op1 (C.Cast typeOf typeOf) x
<Miyu-chan> Err
<clever> i think its generating an opcode in the Stream monad
<clever> and then later stages translate that into the target language
<Miyu-chan> -- Casting operator.
<Miyu-chan> Cast :: (Integral a, Num b) => Type a -> Type b -> Op1 a b
<Miyu-chan> Yeah.
<Miyu-chan> I wonder if this can be implemented as a free monad lol
Myhlamaeus1 has quit [Remote host closed the connection]
<clever> it take the name and Spec, and does things....
doyougnu has quit [Ping timeout: 252 seconds]
Rusty1 has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @veprbl merged pull request #63891 → prometheus-tor-exporter: 0.3 -> 0.4 → https://git.io/fjo0i
<{^_^}> [nixpkgs] @veprbl pushed commit from @priegger to master « prometheus-tor-exporter: 0.3 -> 0.4 (#63891) »: https://git.io/fj66G
ddellacosta has quit [Ping timeout: 268 seconds]
<clever> copilot-language/src/Copilot/Language/Reify.hs:reify :: Spec' a -> IO Core.Spec
foxit has joined #nixos
<clever> Miyu-chan: ah
<foxit> hi
amakthel has joined #nixos
<clever> Miyu-chan: i think its mostly designed around a WriterT, which i think is already a free monad?
<Miyu-chan> Oh. I'm reading it right now. Giff me a few.
<clever> Miyu-chan: lets also switch to #nixos-chat
zacts has joined #nixos
foxit has left #nixos ["WeeChat 2.4"]
phreedom has joined #nixos
<pie_> woohooo got my redo of r-modules to mostly eval
psy3497 has joined #nixos
v88m has quit [Ping timeout: 258 seconds]
v88m has joined #nixos
hoijui has joined #nixos
palo1 has joined #nixos
palo has quit [Ping timeout: 245 seconds]
palo1 is now known as palo
yastero has quit [Ping timeout: 258 seconds]
sb0 has joined #nixos
cxx_newb has joined #nixos
hyper_ch2 has joined #nixos
<cxx_newb> Hello guys. I am migrating from archlinux. In my .zshrc I reference completion.zsh and key-bindings.zsh from fzf which were located under /usr/share/fzf on arch. After installing fzf in nixos I found those files in /nix/store/6dn8jhgymvr9ws7piv4n2zvmcbwijj8v-fzf-0.17.5-bin/share/fzf/ which looks kinda ugly in my zshrc (and might change with updates
<cxx_newb> ?) I would like to know if there is any other way to reference those files (zshrc is from a dotfiles repo and not managed via a .nix file).
anon has joined #nixos
anon is now known as Guest65497
<dminuoso> cxx_newb: Yes, you would write a nixos module.
<dminuoso> It'd probably be very trivial for you. :)
<dminuoso> cxx_newb: From inside the module you would produce a script along the lines of: ''source ${pkgs.fzf}/share/fzf'/completion.zsh; source ${pkgs.fzf}/share/fzf'/key-bindings.zsh'
<cxx_newb> dminuoso: Thanks for the suggestion. Do you know of any other way? What I am currently struggeling is integrating with nixos while retaining my dotfiles as plain dotfiles, because I still user other distros on other machines. If my zshrc is managed/tightly integrated by/with nixos I feel like loosing flexibility.
<hyper_ch2> wouldn't it also be available in /run/current-system/sw/share/.... ?
<cxx_newb> hyper_ch2: a quick find for fzf did only find man pages and find for completion did only return a folder named bash_completions :/
<{^_^}> [nixpkgs] @teto merged pull request #64323 → lkl: 2018-08-22 -> 2019-06-20 → https://git.io/fj6Kj
<{^_^}> [nixpkgs] @teto pushed commit from @lopsided98 to master « lkl: 2018-08-22 -> 2019-06-20 »: https://git.io/fj66N
<pie_> well...i made something weird. if i build cran.curl then it works, if i build something that depends on it then it doesnt.
<clever> pie_: does the same drv fail? nix should cache the result...
<cxx_newb> Considering that I will move to nixos for all my machines, I would like to keep my /etc/nixos directory in git (without secrets). If I put my zshrc configuration inside configuration.nix it will apply to all users right? How would I manage to only aplly the configuration to user foo?
amakthel has quit [Ping timeout: 250 seconds]
<Yaniel> you'll want to use home-manager for that AFAIK
<clever> cxx_newb: one really simple option is to just wrap it with `if [[ $USER == foo ]]; then ...
<clever> technically, it runs for all users, but does nothing for most
<cxx_newb> clever: Nice idea, but seems really hacky.
ilikeheaps has quit [Ping timeout: 246 seconds]
<cxx_newb> I will look into home-manager.
<pie_> yep and i found the problem. no idea how it worked in the original...
<hyper_ch2> cxx_newb: well, binaries and other stuff loaded in your current env is usually in there. So I thought that might also be there
<cxx_newb> hyper_ch2: I hoped so, it is a good guess, but I can't find it.
<Ashy> cxx_newb: I came from arch and still haven't swapped to home-manager yet
mexisme_ has joined #nixos
dansho_ has quit [Ping timeout: 248 seconds]
<hyper_ch2> home manager - isn't the proper term for it "wife"?
<Ashy> still just using a dotfiles repo and gnu-stow
<dminuoso> cxx_newb: I'd just write a module for it.
<cxx_newb> Ashy: How do you deal with the problem of referencing stuff in the nix-store?
<dminuoso> cxx_newb: It's kind of the point of nixos to use nixos for exactly.
<Ashy> cxx_newb: I don't currently...
<Ashy> fzf I install via the git install method
<Ashy> home-manager is probably the better way to go though
<cxx_newb> Ashy: Then fzf won't be in the nix store right?
<Ashy> yeah for me it's in ~/.fzf
<cxx_newb> dminuoso: I know, but I will lose compatibility with other distros if I go full nix...
<clever> if you put fzf in your systemPackages, it will wind up in /run/current-system/sw/
<clever> and then its predictable where to find it
<Ashy> you can also retrieve the path at runtime with nix-env I think
<dminuoso> cxx_newb: You said yourself, you will move to nixos for all your machines.
<Ashy> so you might be able to build the full path in a subshell in your zshconfig
<dminuoso> cxx_newb: So the "other distro" use case seems uninteresting.
<cxx_newb> clever: The completion files don't show up there.
<clever> cxx_newb: did you check /run/current-system/sw/share/ ?
<cxx_newb> dminuoso: I said considering that case to ask a further question. That step is not really possible in some places as I am bound to a certain distro at work where i (partly) want to use the same dotfiles.
<cxx_newb> clever: $ fd completion
<cxx_newb> bash-completionbash-completion/completions
<cxx_newb> clever: Sry for my formatting. I cannot find the completino files in there.
<clever> cxx_newb: /run/current-system is full of symlinks, and find wont follow them by default
<clever> cxx_newb: just do `ls -l /run/current-system/sw/share/` and look
<cxx_newb> clever: There is no fzf in there.
zacts has quit [Quit: WeeChat 2.4]
<clever> cxx_newb: and did you add fzf to environment.systemPackages?
<cxx_newb> clever: Yes.
<cxx_newb> Ashy: Do you have a hint on how to achieve that with nix-env
<clever> cxx_newb: if you nix-env -iA nixos.fzf, it will instead be in ~/.nix-profile/share/
<cxx_newb> clever: Is there a way to put this step in /etc/nixos/configuration?
<hyper_ch2> (did you rebuild and switch after adding fzf to the env sys packages?)
<cxx_newb> hyper_ch2: Yes. I added fzf some generations ago, there were several rebuilds since then. Are the completion files linked in your case?
<hyper_ch2> I don't even know what fzf is
<cxx_newb> hyper_ch2: Sorry, it is a fuzzy finder.
wfranzini has joined #nixos
<clever> ah, i see the problem
<clever> modules/misc/documentation.nix: environment.pathsToLink = [ "/share/man" ];
<clever> only parts of share are included, based on options
<clever> 122 environment.pathsToLink = [ "/share/fzf" ];
<clever> that should solve it
<cxx_newb> clever: Cool, I will try that.
<cxx_newb> clever: Thanks a lot, that worked.
mexisme_ has quit [Ping timeout: 245 seconds]
<cxx_newb> I have a line like programs.gnupg.agent = ... in my configuration.nix. I assumed that this would automatically install gnupg so that gpg2 and gpg-agent is avaiailable, but it is not? Why is that?
<clever> cxx_newb: if enable is set to true, it will add gnupg to systemPackages for you
furrycatherder has quit [Ping timeout: 244 seconds]
<clever> cxx_newb: what did you set agent to?
<cxx_newb> clever: This is my line: programs.gnupg.agent = { enable = true; enableSSHSupport = true; };
<clever> cxx_newb: gpg should be in PATH then
<cxx_newb> clever: which gpg yields gpg not found, same with gpg2
<clever> ah wait, i misread a line
<clever> line 78 is only for systemd
<clever> i would say thats a bug in nixos, and you need to also manually add gnupg to systemPackages for now
<cxx_newb> Okay, i will do that.
knupfer has joined #nixos
cfricke has joined #nixos
mexisme_ has joined #nixos
mexisme_ has quit [Ping timeout: 268 seconds]
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
mac10688 has quit [Ping timeout: 272 seconds]
ajirx has quit [Remote host closed the connection]
___laika has joined #nixos
ajirx has joined #nixos
<rauno> Hum, why nixos is missing zfs kernel module ?
<clever> rauno: its only present if you set boot.supportedFilesystems = [ "zfs" ]; (or have a fileSystems.foo.fsType = "zfs")
<rauno> ah..but not when i define it in kernelModules :) ?
<clever> not sure on that
<clever> supportedFilesystems gets kernelModules for you
<rauno> As i dont need to use it for nixos :)
<clever> ?
<rauno> I dont want to boot from zfs, i'm going to use this zfs for other purpose
LUNITA__ has joined #nixos
<clever> boot.supportedFilesystems is what you want then
LUNITA__ has left #nixos [#nixos]
<clever> boot.initrd.supportedFilesystems is for actual booting support
<rauno> oh
___laika has quit [Ping timeout: 245 seconds]
<simpson> rauno: ZFS isn't in vanilla Linux; if you don't set supportedFilesystems, then NixOS won't even use a ZFS-capable kernel.
<simpson> Or wait. Maybe I'm not reading the module right.
<simpson> Yeah, I didn't quite read right. We don't patch the kernel for ZFS support, but build the ZFS module out-of-tree based on kernel headers. pkgs/os-specific/linux/zfs/default.nix
Jackneill has joined #nixos
<clever> thats how most of the modular things work
iyzsong has joined #nixos
<{^_^}> [nixpkgs] @luispedro opened pull request #64325 → hackage2nix: update broken-packages → https://git.io/fj6iE
<rauno> Okay, will try :)
<teto> how how can I display the output of "cat toto.txt " in a nixos-test ? I've tried several things like print $client->execute("cat packet_interfaces.txt"); to no avail
Guest72333 has joined #nixos
<clever> teto: the execute function returns the output as a string
<clever> or rather, a pair of exit code and string
<teto> I wonder if the output isn't an array of lines rather ? I've seen some people do print $out[1]
<teto> would 'print $out' be enough ?
<clever> i think because its a pair of exitcode + string, you need to refer to the 2nd element
Tucky has joined #nixos
<clever> or assign it to 2 vars at once
<clever> also, this backdoor service is installed into the guest, and will run whatever you give it over the serial port
<clever> thats how execute talks to the guest and makes it run things
<clever> line 46 runs sh, with stdin/out linked to the backdoor port
<clever> but stderr is linked to the normal serial console
<clever> so $client->execute("cat packet_interfaces.txt >&2"); i think will go to the serial console
<clever> echo "connecting to host..." >&2
<clever> the service is even doing the same pattern on line 43, to print its own debug
<{^_^}> [nixpkgs] @etu opened pull request #64326 → Php upgrades → https://git.io/fj6iK
v0|d has quit [Read error: Connection reset by peer]
<teto> clever: thanks. I had tried something similar in the past, but I retried with a more minimal example and it worked. I will progress from there thanks !
<{^_^}> [nixpkgs] @peterhoeg merged pull request #63889 → elisa: 0.3.0 -> 0.4.1 → https://git.io/fjo4j
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/fj6iM
<teto> I am looking at the perl code, mustSucceed returns nothing right ? contrary to succeed that returns the output ?
<{^_^}> [nixpkgs] @peterhoeg opened pull request #64327 → elisa: 0.3.0 -> 0.4.2 → https://git.io/fj6iF
knupfer has quit [Remote host closed the connection]
m0rphism has joined #nixos
orivej has joined #nixos
<clever> teto: i think so
<teto> clever++
<{^_^}> clever's karma got increased to 143
<teto> does ++ give the IQ ;) ?!
<clever> lol
freeman42x has quit [Ping timeout: 252 seconds]
zacts has joined #nixos
<Netsu> nix-store --add ./file # warning: dumping very large path (> 256 MiB); this may run out of memory # error: out of memory
<Netsu> is there any way to add file to store without 'out of memory' error?
<hyper_ch2> add more ram :)
<hyper_ch2> (or use [ssd] swap)
<Miyu-chan> lol
<Miyu-chan> hyper_ch2: What if they're using SSDs tho
<hyper_ch2> if they're using SSDs, I doubt they'll use HDD swap
<Miyu-chan> Err
<Miyu-chan> I'm sorry, I'm half-asleep
<Miyu-chan> What if they're using 32-bit tho*
<hyper_ch2> upgrade to 64bit
<Miyu-chan> lol
<hyper_ch2> does nixos run on 32bit?
<Netsu> 32Gb memory on laptop
<Miyu-chan> Wtf.
<Netsu> but file just 2Gb
<Miyu-chan> Netsu:NixOS?
hmpffff has joined #nixos
<Netsu> no, ubuntu, lol. Use it as nixpkgs
<hyper_ch2> free -m ?
<teto> anyone using nix-lsp ? does that work at all ?
<teto> I've LSP configured for everything but nix
<Netsu> well, thanks. Anyway it pretty strange that nix trying to put the whole file to ram. What if I would have 100Gb file? Any workaround?
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/721b391f930 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<yorick> Netsu: which nix version?
cxx_newb has quit [Remote host closed the connection]
<yorick> Netsu: a lot of this stuff got fixed in nix 2.1
v0|d has joined #nixos
<Miyu-chan> From what I understand, the memory usage of Nix is also around the same size as the file. Maybe double at most.
ajirx has quit [Remote host closed the connection]
ajirx has joined #nixos
<Miyu-chan> 1.4G /nix/store/7874h075nf8yikvr47642xqrwqwyv99s-ghc-8.6.3/
<Miyu-chan> Pre-2.1, this will never get loaded on a 32-bit system.
<yorick> Miyu-chan: --add-fixed may or may not exist
jb55 has quit [Ping timeout: 260 seconds]
<yorick> nix-store --add-fixed sha256 $(sha256sum ./huge.tar.gz) ./huge.tar.gz
lambda-11235 has quit [Ping timeout: 272 seconds]
jb55 has joined #nixos
<yorick> this algorithm seems fixable
<yorick> it's just that nobody cares
<yorick> d
<yorick> (enough)
<yorick> there's the famous "Algorithms are for people who don't know how to buy RAM" that I don't entirely agree with
___laika has joined #nixos
Guest72333 has quit [Ping timeout: 268 seconds]
knupfer has joined #nixos
ericsagnes has quit [Ping timeout: 252 seconds]
civodul has joined #nixos
cjpbirkbeck has quit [Quit: Quitting now.]
<hyper_ch2> swap should be enough. Doesn't need to be ram I htink
<tilpner[m]> Note that yorick linked to an outdated version of nix, it's not done like that anymore
<{^_^}> [nixpkgs] @dywedir merged pull request #64038 → sccache: 0.2.8 -> 0.2.9 → https://git.io/fjK8Y
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/fj6PR
<{^_^}> [nixos-hardware] @Mic92 merged pull request #112 → Specify a correct unit description → https://git.io/fj6zi
<{^_^}> [nixos-hardware] @Mic92 pushed 2 commits to master: https://git.io/fj6PE
cfricke has quit [Quit: WeeChat 2.5]
iyzsong has quit [Read error: Connection reset by peer]
gagbo has quit [Ping timeout: 244 seconds]
orivej has quit [Ping timeout: 246 seconds]
<yorick> tilpner[m]: what
<yorick> tilpner[m]: github search likes to add hashes
Shoubit has joined #nixos
<yorick> but I see no substantial changes to master
<yorick> hyper_ch2: well, the non-recursive case could be fixed with reflink+mmap on systems that have that
hyper_ch2 has quit [Remote host closed the connection]
<Netsu> yorick: thanks, nix 2.1 at which commit/channel available?
<Netsu> yorick: >>> nix-store --add-fixed sha256 $(sha256sum ./huge.tar.gz) ./huge.tar.gz <<< hm, would it work for directory, or it better to compress it to e.g. tlzo first?
<Netsu> I need O(1) ram usage (or O(log n) at most)
<yorick> Netsu: if you want directory then you'll have to hash it recursively, maybe nix-hash does this in O(1)
<Netsu> yorick: yes, hashing is not a problem, but how put it to nix store yet?
<yorick> Netsu: --recursive --add-fixed should do that
<yorick> Netsu: nix is at 2.2 in nixos-19.03 or nixos-unstable
<Netsu> yorick: oh, missed, let me try (--add-fixed for some reason not in --help, the '--add' only there)
<yorick> Netsu: yeah, I only found it in the source
<yorick> I don't even know if it'll be O(1) in memory
veske has joined #nixos
Ariakenom has joined #nixos
hyper_ch2 has joined #nixos
<Netsu> yorick: could you suggest the place at sources to check available option, because 'nix-store --recursive --add-fixed sha256 $HASH $PATH' not work (expect only $PATH here), and without $HASH it still throw same memory error :(
<Netsu> *nix-store actual arguments
FRidh has joined #nixos
<yorick> no I think this actually still hashes
<yorick> sorry
Makaveli7 has joined #nixos
<Netsu> thanks anyway. Looks like a reason for feature request
___laika has quit [Ping timeout: 244 seconds]
o1lo01ol1o has joined #nixos
alp has joined #nixos
<{^_^}> [nixpkgs] @peti merged pull request #64192 → R: Update CRAN and bioconductor packages → https://git.io/fjK54
<{^_^}> [nixpkgs] @peti pushed 2 commits to master: https://git.io/fj6P5
o1lo01ol1o has quit [Ping timeout: 245 seconds]
Guest72333 has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #64293 → libyaml: 0.2.1 -> 0.2.2 → https://git.io/fj68K
<{^_^}> [nixpkgs] @FRidh pushed commit from @tadeokondrak to staging « libyaml: 0.2.1 -> 0.2.2 »: https://git.io/fj6PN
<{^_^}> [nixpkgs] @FRidh merged pull request #64292 → libxkbcommon: 0.8.0 -> 0.8.4 → https://git.io/fj68a
<{^_^}> [nixpkgs] @FRidh pushed commit from @tadeokondrak to staging « libxkbcommon: 0.8.0 -> 0.8.4 »: https://git.io/fj6PA
<clever> gchristensen: warning: unable to download 'https://cache.nixos.org/846xp224nimhgpgx6izj2llk9hjhkh8b.narinfo': HTTP error 502; retrying in 258 ms
<clever> gchristensen: any details on what can cause a 502 on fastly?
<FRidh> Can anyone reproduce https://hydra.nixos.org/build/95671911 ? Automake build succeeds for me.
Chiliparrot has joined #nixos
<clever> FRidh: building...
<Taneb> FRidh: I'm giving it a go
<{^_^}> nix#1243 (by ilyaigpetrov, 2 years ago, open): nix-build: "invalid ownership on file ‘...perl-5.22.2/bin/perlbug’"
<{^_^}> [nixpkgs] @vcunat pushed to master « knot-resolver: hotfix for a recent $LUA_PATH regression »: https://git.io/fj6XI
<{^_^}> [nixpkgs] @Ma27 opened pull request #64328 → documize-community: 3.0.0 -> 3.1.0 → https://git.io/fj6XL
o1lo01ol1o has joined #nixos
thc202 has joined #nixos
<{^_^}> [nixpkgs] @vcunat closed pull request #64174 → knot-resolver: fix LUA_{PATH,CPATH} → https://git.io/fjK7j
<clever> FRidh: i think it passed on nix 2.2.2
<yorick> clever: 502 means rate limit
<yorick> clever: TLS connections limit, actually https://docs.fastly.com/guides/debugging/resource-limits
<clever> ah
Guest72333 has quit [Ping timeout: 246 seconds]
<clever> yorick: in this case, it occured immediately after running nix-shell, and that page implies its a 10min timeout
<FRidh> ok thanks
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fj6XB
<{^_^}> [nixpkgs] @peti pushed commit from @luispedro to haskell-updates « hackage2nix: update broken-packages »: https://git.io/fj6XR
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fj6X0
noudle has joined #nixos
<{^_^}> [nixpkgs] @peti merged pull request #64325 → hackage2nix: update broken-packages → https://git.io/fj6iE
<{^_^}> [nixpkgs] @peti pushed 2 commits to master: https://git.io/fj6Xa
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/fj6XV
orivej has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @vcunat pushed to master « knot-resolver: add a check for the last problem »: https://git.io/fj6Xw
<Netsu> Or I just have searching disability :)
drakonis_ has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @vcunat pushed to release-19.03 « knot-resolver: add a check for correct lua paths »: https://git.io/fj6Xo
Guest72333 has joined #nixos
drakonis_ has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to master « R: 3.6.0 -> 3.6.1 »: https://git.io/fj6XX
psy3497 has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/fj6X1
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @markuskowa merged pull request #64156 → yder: init at 1.4.5 → https://git.io/fjK98
<{^_^}> [nixpkgs] @markuskowa pushed 5 commits to master: https://git.io/fj6X9
<viric> If I set nix.conf substituters to a file://path that doesn't exist... nix creates it
<viric> (when running nix-build)
<viric> (nix 2.0.4)
<viric> I expected nix-build not to create substituters paths
<clever> viric: its probably a side-effect of how that uri is meant to be a destination, and auto-creates so you can copy to it
<viric> weird
<viric> Even in nix copy destination I'd expect it not to autocreate
<viric> clever: it also writes a nix-cache-info file with the Store: /nix/store text in it
knupfer has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @Izorkin opened pull request #64329 → nixos/netdata: update service config → https://git.io/fj6Xh
o1lo01ol1o has quit [Remote host closed the connection]
Guest72333 has quit [Ping timeout: 258 seconds]
o1lo01ol1o has joined #nixos
<Izorkin> Mic92: please check PR netdata service. Add reload options.
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/148857a494d (from 12 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<Mic92> Izorkin: Please remind me tomorrow again.
<Mic92> I can have a look in the morning
<Izorkin> ok)
<{^_^}> [nixpkgs] @gloaming opened pull request #64331 → brave: Add libpulseaudio → https://git.io/fj61U
o1lo01ol1o has quit [Ping timeout: 272 seconds]
zacts has quit [Ping timeout: 264 seconds]
Guest72333 has joined #nixos
Guest72333 has quit [Ping timeout: 258 seconds]
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/2ae455069b8 (from 28 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/698f3e9040e (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<{^_^}> [flake-registry] @edolstra pushed to master « Point nixpkgs flake to master »: https://git.io/fj61u
clacke_movim has left #nixos [#nixos]
chpatrick has joined #nixos
hyper_ch2 has quit [Remote host closed the connection]
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/2ae455069b8 (from 48 minutes ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
mexisme_ has joined #nixos
Guest65497 has quit [Ping timeout: 246 seconds]
ilikeheaps has joined #nixos
Guest65497 has joined #nixos
<{^_^}> [nixpkgs] @migmruiz opened pull request #64332 → pythonPackages.flask: 1.0.3 -> 1.1.0 → https://git.io/fj617
zacts has joined #nixos
seqizz has joined #nixos
<seqizz> Hi, do we have a way to "ensure a line exists" on configuration instead of defining whole file? I know it is an impure method, but maybe there is a way you know which doesn't duplicate lines when I add them.
cfricke has joined #nixos
infinee has quit [Ping timeout: 245 seconds]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @etu merged pull request #64113 → nixos/lidarr: add user/group/openFirewall opts. → https://git.io/fjKV7
<{^_^}> [nixpkgs] @etu pushed 2 commits to master: https://git.io/fj6MJ
<Taneb> Getting an error trying to access a file from a binary cache, "file 'nar/blah.nar' does not exist in binary cache 'http://url'"
<Taneb> I'm guessing that it's been deleted since the local list of what's available was updated?
<Taneb> If that's the case how can I update that list
<gchristensen> seqizz: Nix doesn't have a way to add lines at all, Nix only makes new
<clever> Taneb: nix show-config | grep ttl
<clever> Taneb: narinfo-cache-positive-ttl is how long it will cache things that it believes are in the cache
<clever> Taneb: default is 30 days
<clever> Taneb: deleting /root/.cache/nix/binary-cache-v* is the simplest way to make it forget about everything and re-check the caches
<Taneb> clever: OK, I'm getting a new error, "error: unable to start build process"
<Taneb> This is nix-on-centos-7, and I'm not very familiar with centos
<Taneb> nix-daemon logs have say "error: cloning builder process: Invalid argument"
adamt has joined #nixos
adamt is now known as Guest97081
<{^_^}> [nixpkgs] @matthiasbeyer opened pull request #64333 → hstr: 1.25 -> 2.0 → https://git.io/fj6ME
rprije has quit [Ping timeout: 258 seconds]
<clever> Taneb: is nix-daemon running as root?
sigmundv has joined #nixos
ee1943 has quit [Ping timeout: 272 seconds]
<Taneb> clever: for reference, yes
ericsagnes has joined #nixos
__monty__ has joined #nixos
iyzsong has joined #nixos
<CMCDragonkai> Why is there `pkgs.haskellPackages.directory`
<CMCDragonkai> and why is that a null value?
veske has quit [Ping timeout: 245 seconds]
<CMCDragonkai> Instead there's a `pkgs.haskellPackages.directory_1_3_4_0`
<CMCDragonkai> That actually has the directory package
<Taneb> CMCDragonkai: I think libraries bundled with GHC end up that way
<CMCDragonkai> This is problematic with `cabal2nix` as we generate a file that requires `directory` and we need to somehow override `directory_1_3_4_0`?
<CMCDragonkai> Taneb: what do you mean?
<CMCDragonkai> Taneb: this is the first library I've needed that I encountered this issue
<CMCDragonkai> where the value of the attr is null
<Taneb> CMCDragonkai: because GHC requires directory, anything that has GHC (so, every Haskell package) will also have directory
<CMCDragonkai> Taneb: and that explains why `pkgs.haskellPackages.directory` is null?
<CMCDragonkai> how to resolve this?
__monty__ has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @rvolosatovs opened pull request #64335 → gotools: 2019-06-03 -> 2019-07-03 → https://git.io/fj6MQ
hyper_ch2 has joined #nixos
__monty__ has joined #nixos
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/fj6Md
<Taneb> CMCDragonkai: can you paste your nix file too?
<{^_^}> [nixpkgs] @adisbladis pushed to master « Revert Nodejs-8_x deprecation »: https://git.io/fj6MF
<{^_^}> [nixpkgs] @adisbladis opened pull request #64336 → Drop nodejs-8_x → https://git.io/fj6Mx
<CMCDragonkai> cabal2nix generates from a cabal file containing `filesystem-trees`, that dependency has a constraint on `directory >=1.1 && <1.3`, so the generated cabal.nix has `directory`, that itself cannot be fulfilled because `haskellPackages.directory` is null, but if I override it, I can state something like `{ directory = haskellPackages.directory_X_Y_Z_A; }`
<Taneb> What happens if you just let it pass null in?
hoijui has quit [Ping timeout: 264 seconds]
<ocharles> Hello lovely people. If I have a `.nix` expression that evaluates to a derivation, how can I print the output path (but without making it valid)
<ocharles> ?
<ocharles> E.g., I want `nix-instantiate`, but then I want the `out` path of the resulting derivation
<LnL> nix-instantiate --eval -A hello.outPath
gentauro has quit [Read error: Connection reset by peer]
<ocharles> oh, neat
clacke_movim has joined #nixos
<LnL> nix path-info --json might also include it
gentauro has joined #nixos
ilikeheaps has quit [Quit: Konversation terminated!]
<steveeJ> any clue why gpg-agent doesn't provide the file behind SSH_AUTH_SOCK anymore? I haven't updated my system in a while and after the most recent update it's broken
<steveeJ> the gpg-agent reports `steveej-t480s-work gpg-agent[4022]: listening on: std=3 extra=-1 browser=-1 ssh=-1`. not happy with the `-1` on ssh there :-D
hmpffff has quit [Quit: Bye…]
<steveeJ> although I have no idea if that's what I'm after, it might be related to ssh forwarding rather than ssh authentication
<{^_^}> [nixpkgs] @rvolosatovs opened pull request #64337 → vimPlugins: Update → https://git.io/fj6DL
veske has joined #nixos
<{^_^}> [nixpkgs] @rvolosatovs opened pull request #64338 → zathura-pdf-poppler: fix source url → https://git.io/fj6Dt
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/823120765cc (from 85 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
bakakuna has joined #nixos
<{^_^}> [nixpkgs] @vdemeester opened pull request #64341 → skaffold: 0.30.0 -> 0.33.0 → https://git.io/fj6D8
cxx_newb has joined #nixos
ilikeheaps has joined #nixos
<cxx_newb> Hey there. I am at my chromium config which lets me use variables like ${user_name} in strings (chromium variables). If I use those in my nix config I get undefined variable errors. How can I use the ${var} format in nix files without nix interpreting those?
<{^_^}> [nixpkgs] @FRidh pushed to master « Docs Python: fix example on how to override the package set »: https://git.io/fj6D2
<hyper_ch2> cxx_newb: where do you want to use those?
<cxx_newb> I write them in programs.chromium.extraOpts = { Option = "${user_name}" }
<cxx_newb> hyper_ch2: this variable should go into the config literally
<cxx_newb> hyper_ch2: I just need the "${user_name}" string to not be interpreted by nix, but used as a literal string.
<Ashy> cxx_newb: not sure if you found it earlier: `nix path-info nixpkgs.fzf`
<cxx_newb> Ashy: thanks, environment.pathsToLink = ["/share/fzf"]; fixed the problem
<Ashy> ah nice
pie_ has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @joachifm merged pull request #63999 → apparmor: make apparmor cross-compile → https://git.io/fjKO8
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to staging: https://git.io/fj6DM
psyanticy has joined #nixos
Neo-- has joined #nixos
<{^_^}> [nixpkgs] @vdemeester opened pull request #64342 → kustomize: 2.0.3 -> 3.0.0 → https://git.io/fj6DH
veske has quit [Ping timeout: 245 seconds]
veske has joined #nixos
Shem[m] is now known as BenHeman[m]
<cxx_newb> hyper_ch2: It is working. Thanks for reminding me not to be lazy :)
Guest65497 has quit [Ping timeout: 248 seconds]
Guest65497 has joined #nixos
sb0 has quit [Quit: Leaving]
veske has quit [Quit: This computer has gone to sleep]
<{^_^}> [nixpkgs] @FRidh merged pull request #64275 → keybase{,-gui}: 4.0.0 -> 4.1.0 → https://git.io/fj6nm
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/fj6Dj
ilmu has joined #nixos
cfricke has quit [Ping timeout: 245 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @vbgl merged pull request #62256 → dune: 1.9.2 -> 1.10.0 → https://git.io/fj0rY
<{^_^}> [nixpkgs] @vbgl pushed commit from @marsam to master « dune: 1.9.2 -> 1.10.0 (#62256) »: https://git.io/fj6yT
cxx_newb has quit [Remote host closed the connection]
Makaveli7 has quit [Ping timeout: 272 seconds]
Makaveli7 has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed to release-19.03 « Docs Python: fix example on how to override the package set »: https://git.io/fj6yY
ericsagnes has quit [Ping timeout: 252 seconds]
Okinan has quit [Quit: Konversation terminated!]
Okinan has joined #nixos
<{^_^}> [nixpkgs] @mkaito opened pull request #64343 → haskellPackages.servant-client-core: apply patch only to 0.15 → https://git.io/fj6yE
stepcut has joined #nixos
<{^_^}> [nixpkgs] @gloaming opened pull request #64345 → waifu2x-converter-cpp: 5.2.4 -> 5.3 + OpenCL support → https://git.io/fj6yr
pirboazo has joined #nixos
<pirboazo> \q
pirboazo has quit [Client Quit]
Philonous has joined #nixos
stepcut has quit [Remote host closed the connection]
<Henson> how do you get the first character of a string?
* Henson discovers builtins.substring
Jackneill has quit [Ping timeout: 268 seconds]
o1lo01ol1o has joined #nixos
BoipiSigre has joined #nixos
<BoipiSigre> HI everybody
<BoipiSigre> I have questions about VirtualBox appliances
ericsagnes has joined #nixos
hyper_ch2 has quit [Remote host closed the connection]
rauno has quit [Ping timeout: 252 seconds]
domogled has quit [Quit: domogled]
Makaveli7 has quit [Quit: WeeChat 2.5]
<infinisil> ,ask BoipiSigre
<{^_^}> BoipiSigre: Just ask your question. It's the best way to know if anybody can help. Or look at other ways of getting in touch with the Nix community here: https://nixos.wiki/wiki/Get_In_Touch
<BoipiSigre> How to modify the automatic login of user demo ?
Tucky has quit [Quit: WeeChat 2.5]
<BoipiSigre> where I can find the import file <nixpkgs/nixos/modules/installer/virtualbox-demo.nix>
domogled has joined #nixos
<clever> BoipiSigre: nix-instantiate --find-file nixpkgs/nixos/modules/installer/virtualbox-demo.nix
<clever> > <nixpkgs/nixos/modules/installer/virtualbox-demo.nix>
<{^_^}> /var/lib/nixbot/nixpkgs/master/repo/nixos/modules/installer/virtualbox-demo.nix
veske has joined #nixos
<clever> BoipiSigre: or just eval it within a `nix repl`
waleee-cl has joined #nixos
hyper_ch2 has joined #nixos
Jackneill has joined #nixos
ddellacosta has joined #nixos
<{^_^}> [patchelf] @edolstra pushed to travis-test « Travis test »: https://git.io/fj6Sm
<{^_^}> [patchelf] @edolstra opened pull request #177 → Travis test → https://git.io/fj6SY
<BoipiSigre> clever : Thank :-)
<{^_^}> [patchelf] @edolstra closed pull request #177 → Travis test → https://git.io/fj6SY
deech has joined #nixos
mexisme_ has quit [Ping timeout: 258 seconds]
<Netsu> What is current alternative to `nix-store --print-fixed-path`?
<gchristensen> what does that do?
Jackneill has quit [Ping timeout: 245 seconds]
<Henson> I'm trying to determine if the first character of a string is a numeral. I'm able to get the first character of the string, but don't know how to tell if it's a numeral. I've tried parsing it to an int, but don't know how to catch the error when it fails to parse.
<BoipiSigre> in the file demo.nix the services.xserver.displayManager.sddm.autoLogin is set at true,the file is read-only
<Netsu> gchristensen: print the path where source shold be stored in
<Henson> I could maybe do a fold on checking to see if it's one of the 10 numeral characters, but perhaps there's an easier way.
<BoipiSigre> how override this in configuration.nix ?
<gchristensen> Netsu: I'll say it again, I don't know what you're doing, but I think what you're doing is not a good thing. you're hitting edge case after edge case, which should be a hint that you're using Nix for something it isn't designed.
<infinisil> Henson: You can use builtins.match
<gchristensen> BoipiSigre: you want to change its user?
bourbon has quit [Ping timeout: 244 seconds]
<ocharles> If a `nix-build` is in progress, is there a way to view it's logs?
<gchristensen> ocharles: I think the logs are only streamed to the controlling nix-build
<ocharles> Yea, had a feeling that may be the case
<BoipiSigre> Yes , want to change the login ... displayManager.sddm.autoLogin at false
<gchristensen> BoipiSigre: services.xserver.displayManager.sddm.autoLogin.enable = lib.mkForce false;
<BoipiSigre> gchristensen : in configuration.nix?
<gchristensen> yes
<BoipiSigre> gchristensen : error: undefined variable 'lib' at /etc/nixos/configuration.nix:9:57
Jackneill has joined #nixos
drewr has quit [Read error: Connection reset by peer]
pingu_ has joined #nixos
drewr has joined #nixos
rager has joined #nixos
stepcut has joined #nixos
Neo-- has quit [Ping timeout: 268 seconds]
<BoipiSigre> gchristensen: ok i resolve the append I’ll replace the default { config, pkgs, ... }: by { config, pkgs, lib, ... }: at the top of /etc/nixos/configuration.nix.
<ocharles> Has anyone seen anything like this before?
<ocharles> cannot import '/nix/store/zpbgk8ziy2n6f8dm0i7n9wdknq3lmxdf-cabal2nix-coordinator', since path '/nix/store/bijw7rpgbx4ks589qcglnjpqhdfw7ycw-cabal2nix-coordinator.drv' is not valid, at /nix/store/s8fv38dzdqgdk05868ykvz5x2a5crsry-hg7n3im08mv9s7yn4jkpihvar9rc8lrq-nixpkgs-75a88c1b9d0abbee53ce0271a4c360219a99787e/pkgs/development/haskell-modules/make-package-set.nix:83:54
<BoipiSigre> it's work fine
<ocharles> I'm using import-from-derivation, but I don't understand how it's producing a non-existing .drv
<ocharles> (the .drv doesn't even exist)
<ocharles> (nor does the output path cabal2nix-coordinator)
<ocharles> Oh, interesting. https://github.com/NixOS/nix/issues/2786 writes "--eval is in readonly mode by default, so you need to add --read-write-mode to make it work."
<{^_^}> nix#2786 (by Profpatsch, 9 weeks ago, open): Nix evaluator is not creating necessary derivation
Drakonis has joined #nixos
<ocharles> Yes, that was it. Thank you, rubber ducks
drakonis1 has joined #nixos
drakonis_ has quit [Ping timeout: 258 seconds]
Drakonis has quit [Ping timeout: 276 seconds]
seqizz has left #nixos [#nixos]
hyper_ch2 has quit [Remote host closed the connection]
<Netsu> gchristensen: srsly, isn't it designed to fetch files without eating the whole ram? I'm just trying to find the least hacky way for this..
Drakonis has joined #nixos
<Netsu> I have 4Gb free ram on 32Gb laptop, and nix not able to put 2Gb file from local path (directory or tar or tgz/tlz/tlzo, I tried everything) to local nix storage. :( So what I'm doing wrong?
<ajs124> Netsu: sounds about right. nix is sadly pretty inefficient, when it comes to this kind of stuff.
drakonis1 has quit [Ping timeout: 250 seconds]
<gchristensen> Nix is not designed for that, no
<BoipiSigre> gchristensen: Thank for the Help:-)
<Netsu> So sad, doh
<yorick> Netsu: so go fix it, should be fairly simple
<yorick> you've spent more time trying things than it would have taken to fix
<Netsu> I'm not so good at cpp)
Neo-- has joined #nixos
<{^_^}> [nixpkgs] @andir merged pull request #64318 → gitlab-ce, gitlab-ee: 11.10.5 -> 11.10.8 → https://git.io/fj6rR
<{^_^}> [nixpkgs] @andir pushed 5 commits to master: https://git.io/fj69B
stepcut has quit [Ping timeout: 246 seconds]
amakthel has joined #nixos
Guest97081 has quit [Ping timeout: 244 seconds]
Ariakenom has quit [Quit: Leaving]
stepcut has joined #nixos
<yorick> Netsu: I guess you could pay for it if you want it to get done now, it's a longstanding wish
<yorick> Netsu: or take the opportunity to learn C++ :)
<Netsu> yorick: pay whom, and how many. I love nix, and it sounds pretty reasonable.
<yorick> gchristensen: do you know if nix is on bountysource?
Okinan has quit [Quit: Konversation terminated!]
<Netsu> or you propose looking on freelance sites?))) I would prefer to prioritize that by some donate for contributors.
<Netsu> didn't know about bountysource before
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/51aa3cc4855 (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
BoipiSigre has quit [Quit: Konversation terminated!]
noudle has quit []
ddellacosta has quit [Ping timeout: 272 seconds]
Drakonis has quit [Ping timeout: 276 seconds]
stepcut has quit [Remote host closed the connection]
Drakonis has joined #nixos
dftxbs3e has quit [Ping timeout: 250 seconds]
ilikeheaps has quit [Read error: Connection reset by peer]
kim0 has joined #nixos
drakonis_ has joined #nixos
<{^_^}> [nixpkgs] @dywedir opened pull request #64347 → janet: 0.6.0 -> 1.0.0, build with meson → https://git.io/fj6Hn
Drakonis has quit [Ping timeout: 250 seconds]
Drakonis has joined #nixos
fusion809 has quit [Remote host closed the connection]
veske has quit [Quit: This computer has gone to sleep]
drakonis_ has quit [Ping timeout: 245 seconds]
Ariakenom has joined #nixos
nikivi has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
furrycatherder has joined #nixos
yunratobe has quit [Quit: Goodbye]
xavierm02 has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
ChimeraZara has joined #nixos
nikivi has joined #nixos
stepcut has joined #nixos
yunratobe has joined #nixos
xavierm02 has joined #nixos
<slabity> Can someone with merge-access take a look at my PR? https://github.com/NixOS/nixpkgs/pull/63339
<{^_^}> #63339 (by Slabity, 2 weeks ago, open): Fix restya-board's phpfpm.pools option
<slabity> It's just changing an attribute name to fix a NixOS module.
v88m has quit [Ping timeout: 248 seconds]
turbo_MaCk has joined #nixos
<Notkea[m]> hello, I have a question regarding RFC42 and how default nested attributes are merged. It seems that the attribute set is not recursively merged
<Notkea[m]> is this behaviour normal?
<gchristensen> sounds surprising to me
cfricke has joined #nixos
cfricke has quit [Client Quit]
ym555 has joined #nixos
<Notkea[m]> I'm not sure whether I missed something… I'm simply setting some keys in my module, setting some other nested keys elsewhere, and the rest of the attribute set seems to be forgotten when serialised using toJSON
orivej has quit [Ping timeout: 272 seconds]
bakakuna has quit [Ping timeout: 245 seconds]
steell has joined #nixos
mexisme_ has joined #nixos
stepcut has quit [Ping timeout: 272 seconds]
earldouglas has left #nixos [#nixos]
iyzsong has quit [Ping timeout: 250 seconds]
mexisme_ has quit [Ping timeout: 246 seconds]
stepcut has joined #nixos
zaeph has joined #nixos
awhuac^ has quit []
lnh^ has joined #nixos
ym555 has quit [Read error: Connection reset by peer]
jackdk has quit [Quit: Connection closed for inactivity]
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/754763ff4ba (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
Neo-- has quit [Ping timeout: 268 seconds]
amir has quit [Read error: Connection reset by peer]
amir has joined #nixos
steell has quit [Quit: Lost terminal]
ilikeheaps has joined #nixos
gagbo has joined #nixos
linarcx has joined #nixos
wfranzini has quit [Remote host closed the connection]
Drakonis has quit [Ping timeout: 276 seconds]
travelion6 has quit [Quit: bye]
Drakonis has joined #nixos
doyougnu has joined #nixos
domogled has quit [Ping timeout: 272 seconds]
Ariakenom has quit [Quit: Leaving]
Guest97081 has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 26.2)]
travelion6 has joined #nixos
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/754763ff4ba (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
Miyu-chan has quit [Read error: Connection reset by peer]
ChimeraZara has quit [Quit: The early bird may get the worm, but the second mouse gets the cheese]
zacts has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @timokau closed pull request #63476 → zimg: 2.8 -> 2.9.1 → https://git.io/fjVkV
Guest97081 has quit [Client Quit]
<{^_^}> [nixpkgs] @timokau merged pull request #55361 → Mark merlin and flycheck-ocaml as not broken → https://git.io/fh9DV
<{^_^}> [nixpkgs] @timokau pushed commit from @jbaum98 to master « emacsPackagesNg: Mark merlin and flycheck-ocaml as unbroken (#55361) »: https://git.io/fj6Q5
v0|d has quit [Remote host closed the connection]
domogled has joined #nixos
<asymmetric> can someone explain why after running node2nix, i can't just run nix-build -A package if the package.json isn't present anymore?
<asymmetric> don't the nix files produced by node2nix describe the package? what's the package.json necessary for?
<gchristensen> I _think_ node2nix makes a way to provide all the packgaes in a cache, and then npm is used to take the packages from the cache and "install" them. in this case, npm still needs the package.json
nouserpass has quit [Ping timeout: 260 seconds]
dansho_ has joined #nixos
<{^_^}> [nixpkgs] @Infinisil opened pull request #64348 → pythonPackages.soco: 0.16 -> 0.17 → https://git.io/fj6Qx
<bgamari> If I have a nix derivation path, how can I find the attribute in nixpkgs that corresponds to it?
drakonis_ has joined #nixos
Drakonis has quit [Ping timeout: 244 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/7c5cba5dd8b (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
jb55 has quit [Ping timeout: 260 seconds]
sigmundv has quit [Ping timeout: 268 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
jb55 has joined #nixos
drakonis_ has quit [Ping timeout: 252 seconds]
rfold has joined #nixos
<{^_^}> [nixpkgs] @ericnorris opened pull request #64349 → cloudflared: 2018.10.3 -> 2019.6.0 → https://git.io/fj67s
domogled has quit [Ping timeout: 245 seconds]
ddellacosta has joined #nixos
nuncanada has joined #nixos
Myhlamaeus1 has joined #nixos
asheshambasta_m has joined #nixos
domogled has joined #nixos
___laika has joined #nixos
<Henson> bgamari: in general it's possible for a derivation path not to be in nixpkgs, so it might not be possible to answer your question
<Henson> bgamari: but if it came from nixpkgs, then you can probably get a good idea of what it would be called
doyougnu has quit [Ping timeout: 250 seconds]
orivej has joined #nixos
waleee-cl has quit [Quit: Connection closed for inactivity]
<Henson> bgamari: hold on a sec
dansho_ has quit [Ping timeout: 272 seconds]
zacts has joined #nixos
<Henson> bgamari: what I've done in the past is something like: "nix-env -qa -P --out-path --description" which generates a list of all the packages, their path in nixpkgs, their attribute name, and their description
<dmj`> anyone seen this before when using nixops w/ AWS
deech has quit [Ping timeout: 248 seconds]
<dmj`> "The specified instance type can only be used in a VPC. A subnet ID or network interface ID is required to carry out the request"
<Henson> bgamari: the listing contains the attribute name in nixpkgs, and the name of the package and its version, which will correspond with part of the name of the derivation file. You should then be able to figure out where in nixpkgs that derivation came from
<Henson> bgamari: but it's possible, if you've upgraded your nixpkgs channel, or you installed a derivation that wasn't in nixpkgs, for you not to be able to find it.
<bgamari> Henson, right, I do know that it's possible its unreachable
<bgamari> but I know the derivation was built via a nixpkgs derivation
<bgamari> so there should be *some* path to it
<bgamari> and I know I haven't updated nixpkgs
<manveru> bgamari: well, there's a path to the derivation, but not back to nixpkgs
<bgamari> manveru, if I build an attribute A from nixpkgs and it pulls in derivation B, then surely there must be an attribute in nixpkgs by which B is reachable
<manveru> but usually the `name` attribute helps to find it
<manveru> sure, but no derivation references nixpkgs usually, only the derivations built by it
<bgamari> manveru, in my case B is cabal 2nix
<bgamari> cabal2nix
<bgamari> but there are several cabal2nixes in nixpkgs
<bgamari> so I want to know which cabal2nix attribute a particular derivation came from
<manveru> only "cabal2nix"?
<Henson> bgamari: then give my suggestion a try and you should be able to find the nix path that corresponds with the package name that's part of the derivation name.
<bgamari> Henson, thanks
<bgamari> manveru, yes
<bgamari> In particular I'm in a CI setting
<manveru> hmm
<bgamari> and want to ensure that I cache cabal2nix
<bgamari> so I want to know which attribute I need to add to my `nix export` dump
domogled has quit [Quit: domogled]
domogled has joined #nixos
Okinan has joined #nixos
<bgamari> Henson, that nix-env command sends my machine into swap death
<Henson> bgamari: yeah, it'll do that :-(
<Henson> bgamari: that's the only way I know of doing this, though
<bgamari> sigh
<Henson> yep
<manveru> bgamari: i'm not sure i'm getting this fully... you use cabal2nix, but isn't that just an executable you can build from top-level?
<bgamari> manveru, you would think so
<manveru> or do you use some special version of it
<bgamari> manveru, but apparently some derivation is using some special version of it
<bgamari> I'm caching haskellPackages.cabal2nix
<bgamari> but that's not the derivation that is being built
<manveru> well, nixpkgs.cabal2nix != nixpkgs.haskellPackages.cabal2nix i guess
<bgamari> apparently so
<bgamari> but I have no idea how to get a handle on the thing that the build actually needs
<manveru> you have the derivation that requires it?
<bgamari> yes
<bgamari> or rather a set of derivations
<bgamari> one of which requires it
<bgamari> I don't know which one
stepcut has quit [Remote host closed the connection]
nuncanada has quit [Quit: Leaving]
Shoubit has quit [Quit: Leaving]
pie_ has joined #nixos
<bgamari> manveru, no idea?
<manveru> well, other than iterating their buildInputs?
<manveru> how are you adding things to your cache? since if you add the top-derivation to the cache, it should include cabal2nix as well
<bgamari> manveru, the problem appears to be that cabal2nix isn't actually a buildInput
<bgamari> since IIRC cabal2nix uses IFD
klntsky has quit [Ping timeout: 260 seconds]
klntsky has joined #nixos
<manveru> yeah, i'm not sure i have a good answer to that... i haven't used it
dansho_ has joined #nixos
zacts has quit [Quit: WeeChat 2.4]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/7c5cba5dd8b (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
stepcut has joined #nixos
shibboleth has joined #nixos
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
FRidh has quit [Quit: Konversation terminated!]
wildtrees has joined #nixos
wildtrees has quit [Max SendQ exceeded]
wildtrees has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #64328 → documize-community: 3.0.0 -> 3.1.0 → https://git.io/fj6XL
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fj65q
asheshambasta_m has quit [Quit: Leaving.]
Jackneill has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @grahamc pushed 8 commits to master: https://git.io/fj65O
<{^_^}> [nixpkgs] @grahamc merged pull request #64301 → Docs/clean build → https://git.io/fj6E0
asheshambasta_m has joined #nixos
zacts has joined #nixos
cjpbirkbeck has joined #nixos
tput has joined #nixos
o1lo01ol1o has joined #nixos
Miyu-chan has joined #nixos
o1lo01ol1o has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @Ma27 merged pull request #64180 → react-native-debugger: 0.9.8 -> 0.9.10 → https://git.io/fjK5t
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fj65z
<pie_> so Im kind of getting somewhere with the R refactor https://github.com/NixOS/nixpkgs/issues/59344#issuecomment-508827104
tokudan has quit [Quit: ZNC 1.7.3 - https://znc.in]
freeman42x has joined #nixos
ddellacosta has quit [Ping timeout: 272 seconds]
tokudan has joined #nixos
chpatrick has quit [Quit: Connection closed for inactivity]
Ariakenom has joined #nixos
doyougnu has joined #nixos
asheshambasta_m has quit [Quit: Leaving.]
<DigitalKiwi> has anyone gotten baloo to work? i had to disable it because it'd go to like huge ram/cpu usage and not index anything like it gets stuck or something
AnswerGuy has joined #nixos
brunowolff has joined #nixos
<brunowolff> Is there a simple command to cross build nix with a different prefix if I have nix installed?
<brunowolff> I would like to build nix with a prefix in my home directiry for as mac while on fedora.
MmeQuignon has joined #nixos
<brunowolff> I don't currently have admin access on the mac and can't install in /nix. Doing a cross build might complete sooner than waiting for the admin access request to complete.
<simpson> Are you sure? IIUC it takes days to build with a custom prefix; just about everything must be rebuilt.
stepcut has quit [Remote host closed the connection]
<lordcirth> I'm currently recompiling the base system on a raspi; I expect it to take at least 24hr. A fast computer might be very different, though.
<gchristensen> brunowolff: maybe you can get somebody with access to create `/nix` and give your user ownership?
<brunowolff> I've been waiting a week so far for the admin request. The problem is the policy is still being developed, so I'm waiting more for that than for the switch to be flipped.
<brunowolff> It doesn't help that a lot of people are out this week.
<lordcirth> Yeah, asking an admin to do a thing might be a lot faster than actually getting admin
mexisme_ has joined #nixos
<brunowolff> I certainly can let it run all weekend, as I'm not likely to get /nix created before then anyway.
mexisme_ has quit [Ping timeout: 248 seconds]
<brunowolff> The command for cross installing was pretty simple (and fast because everything is prebuilt), so I thought it might be simple for changing the prefix as well.
<{^_^}> [nixpkgs] @ttuegel merged pull request #54525 → Wrap Qt applications → https://git.io/fhwtk
v88m has joined #nixos
<{^_^}> [nixpkgs] @ttuegel pushed 4 commits to staging: https://git.io/fj6df
<brunowolff> I did nix-env -i nix --arg system \"x86_64-darwin\" and it pulled in the darwin versions to the store.
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/df738814d1b (from 47 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
fendor has joined #nixos
<{^_^}> [nixpkgs] @cdyson37 opened pull request #64351 → fix: #64340 building python wheels in non-standard store → https://git.io/fj6dI
doyougnu has quit [Ping timeout: 272 seconds]
<dmj`> gchristensen: ping
<gchristensen> dmj`: pong
furrycatherder has quit [Ping timeout: 246 seconds]
stepcut has joined #nixos
doyougnu has joined #nixos
<dmj`> gchristensen: so we discussed this a while back apparently (looked at the logs), but deploying ec2 instances inside of a VPC is somewhat of a trap with nixops. AWS started requiring all new instances to be spawned in a VPC (as you know probably). I have openssh installed on my nixos machine, with firewall enabled, 22 open, a security group added with 22 open, my default VPC's NACL settings also allow for inbound + outbound SSH cons
<dmj`> gchristensen: but I still get `Waiting for SSH....` when I attempt to deploy and the closure cannot be copied
<gchristensen> is this in the default VPC?
doyougnu has quit [Client Quit]
<dmj`> gchristensen: yes, I did not create a new one this time
<gchristensen> iirc there were changes at like, the routing table or something
<gchristensen> I haven't AWS'd much in a long time, but the default VPC made that easy and then a new VPC made it trickier to setup
<dmj`> gchristensen: I have set the vpcId in the security group, and the subnetId in the deployment.ec2 settings
<gchristensen> your new instance has a public IP address? (verify in the consose)
<dmj`> gchristensen: yes, eip is there
<gchristensen> ehh
<gchristensen> I recommend asking in ##aws
<gchristensen> I forget the specifics here, but it is not a problem unique to nixos
* dmj` sighs
<dmj`> gchristensen: I thought we realized we didn't need to do anything too crazy.
<gchristensen> yeah, it shouldn't be anything too weird
<dmj`> It's crickets in the ##aws channel always, or all questions and no answers
<gchristensen> hrm
<dmj`> here let me do one thing real quick
<aminechikhaoui> dmj` the example in nixops has a working setup iirc https://github.com/NixOS/nixops/blob/master/examples/vpc.nix#L95, make sure you have the correct route table with a route to an internet gateway
<aminechikhaoui> although that should be the default for the default vpc route table
Xal has quit [Ping timeout: 258 seconds]
<dmj`> aminechikhaoui: that is an extremely complex example, and it is building a vpc fresh from scratch, not using the default, which has all of that stuff already.
<gchristensen> well maybe go spot-check that it is all configured like this
<aminechikhaoui> yeah but to troubleshoot you can maybe compare
<gchristensen> (or setup a new VPC, so you actually know what you have configured, in case you have to move)
Xal has joined #nixos
civodul has joined #nixos
<dmj`> gchristensen, aminechikhaoui: so just a vanilla setup, like, nixops 101 setup, gives this: "The specified instance type can only be used in a VPC. A subnet ID or network interface ID is required to carry out the request."
<dmj`> so I go ahead an copy the `subnetId` from the default AWS VPC into the nixos machine spec, but then I get stuck on "Waiting for SSH"
<gchristensen> I wish I could throw away my AWS account and get a new one, but the email account is tainted now
<gchristensen> because you get a different AWS experience depending on the age of your account
turbo_MaCk has quit [Ping timeout: 258 seconds]
orivej has quit [Ping timeout: 248 seconds]
<aminechikhaoui> dmj` yeah what I was saying, is you need to check the route table associated to that subnet and check the routes there, double check if there is a route to an internet gateway. Since your firewall/sg setup is correct I would double check that first
stepcut_ has joined #nixos
* dmj` double checks route table
stepcut has quit [Ping timeout: 258 seconds]
<aminechikhaoui> it's weird though that it requires a subnet id, I remember we don't need that for the nixops tests for example
<alexarice[m]> is nix not able to delete files when creating a derivation+
<gchristensen> alexarice[m]: can you say more about what you're wanting to do?
<alexarice[m]> I've copied some files into the output directory, done some stuff with them, then try to delete them and get permission denied
<aminechikhaoui> dmj` which instance type are you trying btw
<alexarice[m]> there is likely a better way to do what I'm trying to do
<alexarice[m]> but I'm surprised nix doesn't have the ability to delete in the derivation it is writing
<gchristensen> it can
<gchristensen> if you're copying a source around, you might need to do `chmod -R +w $out` before you try to modify them
<alexarice[m]> ah
<alexarice[m]> this is probably the reason
<alexarice[m]> thanks
<chrisaw> Bit of a random question but does anyone know why the Cinnamon package for NixOS was removed?
<gchristensen> this is because by default files are not writable, so if you do `cp ${./whatever} ./here` then `here` will be unwritable until you change it
zammux has joined #nixos
<alexarice[m]> gchristensen: thanks, that was the cause
<dmj`> aminechikhaoui: t2.small
<gchristensen> cool
<dmj`> aminechikhaoui: m3.medium doesn't have the vpu stipulation, but it runs into other problems
<dmj`> aminechikhaoui: let me paste a gist
MichaelRaskin has joined #nixos
<zammux> does anyone know how to resolve an "unexpected FLOAT" error when trying to rebuild my configuration file? I'm trying to set services.xserver.windowManager.2bwm.enable
zacts has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @neilmayhew opened pull request #64353 → gimp-with-plugins: Fix build errors with exiv2-0.27.1 → https://git.io/fj6dS
drakonis_ has joined #nixos
<dmj`> eternally stuck on "Waiting for SSH"
<dmj`> cc aminechikhaoui:
arjen-jonathan has joined #nixos
<dmj`> aminechikhaoui: cc
dftxbs3e has joined #nixos
<aminechikhaoui> I guess you have an ec2 classic account right ?
dontdieych has quit [Read error: Connection reset by peer]
<dmj`> aminechikhaoui: I guess ?
Drakonis has joined #nixos
<dmj`> aminechikhaoui: I thought it didn't matter, they migrated everybody
<{^_^}> [nixpkgs] @mmahut opened pull request #64354 → soundtouch: CVE-2018-1000223 CVE-2018-14044 CVE-2018-14045 → https://git.io/fj6db
ambro718 has joined #nixos
<aminechikhaoui> if it's an old account then it's ec2 classic
<dmj`> ok, then it's a classic
<dmj`> aminechikhaoui: should I just make a new account ?
<dmj`> how can I tell for sure I am classic
<aminechikhaoui> no I was just asking to understand the situation
drakonis_ has quit [Ping timeout: 264 seconds]
<ambro718> Running nixos-rebuild inside nixos-enter gives me "error: cloning builder process: Operation not permitted"
juliendehos has joined #nixos
<{^_^}> [nixpkgs] @Izorkin opened pull request #64355 → nixos/ksm: add option sleep → https://git.io/fj6dx
<dmj`> aminechikhaoui: I am not classic
<symphorien> ambro718: add --option sandbox false
<ambro718> Yeah just did that :)
<symphorien> User namespaces are disallowed in a chroot
Drakonis has quit [Ping timeout: 264 seconds]
<ambro718> Strange it doesn't work by default...
<dmj`> if only clever were here to save me .....
<dmj`> clever: ping
nickoralias has joined #nixos
ambro718 has quit [Quit: Konversation terminated!]
Henson has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<aminechikhaoui> dmj` did you get a chance to check the routes setup btw ?
nickoralias is now known as nlofaro
<aminechikhaoui> btw if you're not on ec2-classic then it should just work without needing a subnet id
<aminechikhaoui> I've just tested that with t2.small on a vpc only account
Thra11 has joined #nixos
<dmj`> aminechikhaoui: I checked the routes in the vpc, it was missing a subnet association ...
<dmj`> aminechikhaoui: redeploying
ambro718 has joined #nixos
arjen-jonathan has quit [Ping timeout: 252 seconds]
<ambro718> How do I configure to automatically open a LUKS volume during boot using the same passphrase as a different LUKS volume which was opened in the initrd?
<dmj`> aminechikhaoui: still stuck on waiting for ssh
<ambro718> I have an encrypted volume that I boot from, which is opened in the initrd, and then later I want an encrypted volume on a different disk to open automatically.
<brunowolff> It looks like my answer might be:
<brunowolff> nix-build '<nixpkgs>' --arg crossSystem \"x86_64-darwin\" -A nix
<samueldr> ambro718: if it's described in the configuration, our initrd tries the passphrase on the following volumes that need to be decrypted
Drakonis has joined #nixos
<samueldr> e.g. on the computer I type from, I have two SSDs, distinct LUKS containers, I type only one passphrase
<ambro718> samueldr: I don't want to open the second volume from the initrd (it is unnecessary)
mexisme_ has joined #nixos
<samueldr> right, then nothing of the sort built-in
<dmj`> aminechikhaoui: I am classic, and I have to specify a subnetId
<samueldr> and it would need the passphrase to be somehow available in-memory, which is maybe not the best idea :/
<dmj`> aminechikhaoui: er sorry, I am * not * classic
<dmj`> yet have to specify a subnet
linarcx has quit [Ping timeout: 245 seconds]
<brunowolff> I had to set a couple of flags to build nonfree code on an unsupported system.
<brunowolff> And there appears to be an issue with the compiler, but it looks like it is trying to do what I want.
winem_ has joined #nixos
<dmj`> aminechikhaoui: still get "The specified instance type can only be used in a VPC. A subnet ID or network interface ID is required to carry out the request."
<aminechikhaoui> dmj` so maybe the networking is ok previously but there is boot problems for example
<aminechikhaoui> did you check the console logs
<aminechikhaoui> while it was waiting for ssh
<dmj`> aminechikhaoui: maybe, I didn't pin the version of nixpkgs that nixops uses, did that now, retrying
Drakonis has quit [Ping timeout: 250 seconds]
<dmj`> aminechikhaoui: am using a working version of nixops as well
<dmj`> aminechikhaoui: this is new, You must specify an allocation id when mapping an address to a VPC instance
<Thra11> nixos, single-user: /etc/nix/nix.conf is a symlink to a read-only file in the nix store. I assume I can change its contents by setting something in /etc/nixos/configuration.nix, but I can't find any documentation on what to set...
<dmj`> Thra11: modify the nix field in /etc/nixos/configuration.nix
<dmj`> Thra11: nix.buildMachines = [{ ... etc
mexisme_ has quit [Ping timeout: 268 seconds]
<dmj`> aminechikhaoui: did you try to deploy the nixops trivial ec2 example ?
Guest65497 has quit [Quit: WeeChat 2.4]
wfranzini has joined #nixos
___laika has quit [Quit: WeeChat 2.4]
<dmj`> aminechikhaoui: think I found something
<{^_^}> [nixpkgs] @FRidh merged pull request #64347 → janet: 0.6.0 -> 1.0.0, build with meson → https://git.io/fj6Hn
<{^_^}> [nixpkgs] @FRidh pushed commit from @dywedir to master « janet: 0.6.0 -> 1.0.0, build with meson »: https://git.io/fj6FW
<Thra11> dmj`: thanks
<dmj`> Thra11: np
<{^_^}> [nixpkgs] @FRidh merged pull request #64247 → cri-o: v1.14.2 -> v1.15.0 → https://git.io/fj6Ty
<{^_^}> [nixpkgs] @FRidh pushed commit from @saschagrunert to master « cri-o: v1.14.2 -> v1.15.0 »: https://git.io/fj6Fl
<ambro718> Is there any way to automatically configure LUKS volume other than in the initrd (assuming the key/passphrase is available in some file)?
<{^_^}> [nixpkgs] @FRidh merged pull request #64203 → msp430GccSupport: 1.206 -> 1.207 → https://git.io/fjKFs
<{^_^}> [nixpkgs] @FRidh pushed commit from @AerialX to master « msp430GccSupport: 1.206 -> 1.207 »: https://git.io/fj6F8
<{^_^}> [nixpkgs] @FRidh merged pull request #64190 → renpy: 7.2.2 -> 7.3.0 → https://git.io/fjK5C
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « renpy: 7.2.2 -> 7.3.0 »: https://git.io/fj6F4
<{^_^}> [nixpkgs] @davidak opened pull request #64357 → Backport SteamVR fix → https://git.io/fj6FB
mexisme_ has joined #nixos
brunowolff has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
<{^_^}> [nixpkgs] @FRidh merged pull request #64088 → newlib: 3.0.0 -> 3.1.0 → https://git.io/fjKgx
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « newlib: 3.0.0 -> 3.1.0 »: https://git.io/fj6F0
<{^_^}> [nixpkgs] @FRidh merged pull request #64083 → miniupnpc_2: 2.1.20190408 -> 2.1.20190625 → https://git.io/fjKz1
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « miniupnpc_2: 2.1.20190408 -> 2.1.20190625 »: https://git.io/fj6FE
<{^_^}> [nixpkgs] @FRidh merged pull request #64082 → minizincide: 2.2.3 -> 2.3.0 → https://git.io/fjKz6
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « minizincide: 2.2.3 -> 2.3.0 »: https://git.io/fj6Fu
<dmj`> aminechikhaoui: think I got it, want to know what it was
<{^_^}> [nixpkgs] @FRidh merged pull request #64025 → galaxis: 1.9 -> 1.10 → https://git.io/fjKCY
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « galaxis: 1.9 -> 1.10 »: https://git.io/fj6Fz
<{^_^}> [nixpkgs] @FRidh merged pull request #64024 → fuse-overlayfs: 0.4 -> 0.4.1 → https://git.io/fjKcA
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « fuse-overlayfs: 0.4 -> 0.4.1 »: https://git.io/fj6F2
<{^_^}> [nixpkgs] @FRidh merged pull request #64175 → reaper: 5.978 -> 5.979 → https://git.io/fjK5I
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « reaper: 5.978 -> 5.979 »: https://git.io/fj6Fa
ambro718 has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @FRidh merged pull request #64049 → jackett: 0.11.420 -> 0.11.457 → https://git.io/fjKRu
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « jackett: 0.11.420 -> 0.11.457 »: https://git.io/fj6FV
<dmj`> aminechikhaoui: so, basically, my default vpc was in a different region, us-east-2, not us-east-1
<dmj`> aminechikhaoui: the routing table not being associated with any subnet had no effect in the default vpc,
<Thra11> When passing `--option binary-caches` on the command line, is there a similar option to specify binaryCachePublicKeys?
<Thra11> Alternatively, if I've stupidly entered `nixos-rebuild --upgrade switch" before adding the binary cache, is there a way to roll back the channel to where it was before, so I can add the binary cache, run nixos-rebuild (without trying to rebuild everything), then do the upgrade once the binary cache is added?
<Thra11> Hmmm. `nix-channel --rollback`...
<kraem> i'm trying to reinstall my bootloader and have mounted my zpool (tank/root on /mnt, tank/nix on /mnt/nix, ..) - should i run nixos-install simply or should i follow the advice here: https://nixos.wiki/wiki/Bootloader#Re-installing_the_bootloader ?
fendor has quit [Read error: Connection reset by peer]
o1lo01ol1o has joined #nixos
<DigitalKiwi> It looks like I can do `nix-env -iA nixos.kdeApplications` and it'll install all of the packages in that set, how do I do that in configuration.nix? systemPackages wants a list but it's a set...
__monty__ has quit [Quit: leaving]
mac10688 has joined #nixos
juliendehos has quit [Quit: Leaving]
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
<DigitalKiwi> I suppose I could just put them in 1 by 1 manually and then when I find ones I don't want I can remove them easily
MmeQuignon has quit [Ping timeout: 244 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
cjpbirkbeck has quit [Quit: Quitting now.]
MmeQuignon has joined #nixos
wfranzini has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
polmaan has quit [Ping timeout: 244 seconds]
polmaan has joined #nixos
infinee has joined #nixos
zacts has joined #nixos
ambro718 has joined #nixos
<{^_^}> [nix] @edolstra merged pull request #2882 → tarball-ttl: document → https://git.io/fj46L
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/fj6bJ
infinee has quit [Ping timeout: 244 seconds]
<Thra11> DigitalKiwi: I think theres a lib.toList function, but I've no idea whether it helps in this particular situation.
lambda-11235 has joined #nixos
polman has quit [Read error: Connection reset by peer]
polmaan has quit [Read error: Connection reset by peer]
polman has joined #nixos
simon_weber has joined #nixos
<simon_weber> is it possible to install nixos onto an openvz vps if the provider doesn't explicitly support it? my understanding is that it's not (since the guests are sharing the host kernel), but I wanted to check if I'm missing something
<simon_weber> specifically nixos-infect is explicit that it doesn't support openvz, but nixos-in-place doesn't seem to say anything one way or the other
stepcut has joined #nixos
stepcut_ has quit [Ping timeout: 248 seconds]
winem_ has quit [Ping timeout: 258 seconds]
lnh^ has quit []
abaiste^ has joined #nixos
shibboleth has quit [Quit: shibboleth]
<tokudan> simon_weber, if the kernel is from the host, it's not a server that you get, so you cannot run a full OS on it. what you can probably do is build a nixos container and feed that in there. it may take some work to get it to start, update, etc. correctly, though
<tokudan> simon_weber, nixos-infext effectively replaces the running kernel, so that's not an option if you cannot access the kernel
lord| has joined #nixos
<simon_weber> gotcha, makes sense
rfold has quit [Ping timeout: 248 seconds]
Drakonis has joined #nixos
jackdk has joined #nixos
Forkk has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
Forkk has joined #nixos
Thra11 has quit [Ping timeout: 246 seconds]
mexisme_ has quit [Ping timeout: 268 seconds]
drakonis1 has joined #nixos
zmlww has joined #nixos
zmlww has quit [Changing host]
<{^_^}> [nixpkgs] @dywedir merged pull request #63988 → ffsend: 0.2.48 -> 0.2.49 → https://git.io/fjKm4
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/fj6b2
andymandias has quit [Quit: ZNC 1.7.3 - https://znc.in]
ambro718 has quit [Quit: Konversation terminated!]
is_null has joined #nixos
ambro718 has joined #nixos
ambro718 has quit [Client Quit]
foldingcookie has quit [Ping timeout: 268 seconds]
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/754763ff4ba (from 11 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
mbrgm_ has joined #nixos
andymandias has joined #nixos
mbrgm has quit [Ping timeout: 245 seconds]
mbrgm_ is now known as mbrgm
aw has joined #nixos
spacefrogg has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 26.2)]
leothrix has quit [Quit: ZNC 1.7.3 - https://znc.in]
leothrix has joined #nixos
knupfer has joined #nixos
Forkk has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
o1lo01ol1o has quit [Remote host closed the connection]
leothrix has quit [Read error: Connection reset by peer]
Ariakenom has quit [Quit: Leaving]
leothrix has joined #nixos
Forkk has joined #nixos
gagbo has quit [Ping timeout: 245 seconds]
slack1256 has joined #nixos
cantstanya has quit [Remote host closed the connection]
cantstanya has joined #nixos
cxx_newb has joined #nixos
<cxx_newb> Hey there. When I boot up nixos dhcpcd blocks the boot process until either I get an IP, or 30 seconds pass. Is there an option to not wait for dhcpcd on boot? I don't really care when I get an ip, I just want to get to my login prompt asap.
mexisme_ has joined #nixos
ris has joined #nixos
<ris> does anyone have any clever tricks to extract a .patch file from a sourceforge mercurial commit? e.g. https://sourceforge.net/p/graphicsmagick/code/ci/f30492f40f78d867b43422215057dd21de4ba447
<ris> in an url-addressable way, like it's possible in github
<gchristensen> I don't think you're going to be so lucky for sourceforge
<{^_^}> [nixpkgs] @aanderse merged pull request #64326 → Php upgrades → https://git.io/fj6iK
<{^_^}> [nixpkgs] @aanderse pushed 3 commits to master: https://git.io/fj6Nm
m0rphism has quit [Ping timeout: 272 seconds]
cxx_newb43 has joined #nixos
<ris> aw boo.