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
<tobiasBora> but I can find only some init script, but not sure where I should write the "alias.conf" files
srl295 has joined #nixos
<clever> tobiasBora: you would usually run weechat with a cmdline arg to change the alias.conf path, and point it to a pkgs.writeText
halfbit has joined #nixos
appleclusters has joined #nixos
<{^_^}> [nixpkgs] @fuwa0529 opened pull request #62643 → altcoins.wownero: 0.5.0.2 -> 0.6.0.0 → https://git.io/fjuTv
carter has joined #nixos
<tobiasBora> clever: ohh... you mean like binary = "${pkgs.weechat}/bin/weechat --dir <HOME DIR>"? I just don't see how to setup <HOME DIR> with something like pkgs.writeText, my first guess would have been to put it directly to /etc/myweechat_conf/ using environment.etc, but maybe writeText has an alternative for folders?
<{^_^}> [nixpkgs] @matthewbauer merged pull request #62553 → ghc: add bash to buildInputs → https://git.io/fjEX8
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to staging: https://git.io/fjuTU
<clever> tobiasBora: writeText always writes to /nix/store/
<clever> and returns the path it wrote to
<clever> > let thing = writeText "name" "contents"; in "${thing}"
<{^_^}> "/nix/store/l7q2qphih217mm9b7kkxlylns1dqyiqh-name"
<{^_^}> [nixpkgs] @matthewbauer merged pull request #61168 → release-cross.nix changes/fixes → https://git.io/fjcp7
<{^_^}> [nixpkgs] @matthewbauer pushed 7 commits to staging: https://git.io/fjuTT
<{^_^}> [nixpkgs] @matthewbauer closed pull request #61613 → [WIP] libdispatch: update to 10.12.6 → https://git.io/fj8vX
Glider_IRC_ has joined #nixos
schjetne has quit [Ping timeout: 250 seconds]
<tobiasBora> clever: you mean it's like a separate derivation O_o
<clever> exactly
<tobiasBora> but then can I put several files in the same derivation?
<clever> > runCommand "name" {} ''mkdir $out ; create $out/things''
<{^_^}> "<derivation /nix/store/rlqwzbz3sb5na825zx3hd6j4zqxy33f4-name.drv>"
<clever> tobiasBora: you can also just make your own derivation, that generates the files however you want
<clever> either cat <<EOF, or just cp some writeText's
alp has quit [Ping timeout: 246 seconds]
<clever> tobiasBora: whatever you put in binary, will get passed to screen, so you could also sneak screen flags in via binary = "-something ${weechat}/bin/weechat"; lol
<tobiasBora> clever: I see... That's super interesting. And one advantage over environment.etc is that it actually copies when you move derivation from computer from computers also?
<infinisil> > zfsUnstable.name # pie__
<{^_^}> "zfs-user-0.8.0"
<pie__> is there some easy way to restart my network stack
<pie__> its in some weird half broken state
<clever> tobiasBora: more that it can work without nixos
<pie__> or maybe its just firefox
<clever> tobiasBora: and you can test it with just nix-build alone
Glider_IRC__ has quit [Ping timeout: 272 seconds]
<tobiasBora> clever: indeed. Thanks a lot!
<clever> tobiasBora: the weechat wrapper does similar
Fare has joined #nixos
zeta_0 has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer pushed to master « p11-kit: disable tests on darwin »: https://git.io/fjuTm
iqubic` has left #nixos ["ERC (IRC client for Emacs 26.1)"]
fusion809_ has quit [Remote host closed the connection]
fusion809 has joined #nixos
<tobiasBora> clever: indeed, but it also uses the '/script load' trick. But I just realized that there is this "WARNING: It is NOT recommended to edit this file by hand [...] Use /set or similar command to change settings in WeeChat." I guess I'll just try to use /set in the init script. But the writeText stuff was very interesting, thanks!
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjuTY
<{^_^}> [nixpkgs] @marsam merged pull request #62591 → vips: 8.7.4 -> 8.8.0 → https://git.io/fjES8
<{^_^}> [nixpkgs] @marsam pushed 3 commits to master: https://git.io/fjuTG
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @aanderse merged pull request #62573 → solr: 8.1.0 -> 8.1.1 → https://git.io/fjEMq
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/fjuTn
halfbit has quit [Ping timeout: 272 seconds]
orivej has quit [Ping timeout: 245 seconds]
mexisme_ has quit [Ping timeout: 245 seconds]
psy3497 has joined #nixos
abathur has joined #nixos
drakonis has joined #nixos
ym555 has quit [Quit: leaving...]
ym555 has joined #nixos
Mateon1 has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @marsam merged pull request #62541 → python37Packages.rpyc: 4.0.2 -> 4.1.0 → https://git.io/fjEiE
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjuTB
Rusty1 has joined #nixos
mexisme_ has joined #nixos
tobiasBora3 has joined #nixos
mexisme_ has quit [Ping timeout: 248 seconds]
freshee has joined #nixos
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.1]
<gyroninja__> I found a mistake in the nix manual
<gyroninja__> >substitute is implemented using the replace command. Unlike with the sed command, you don’t have to worry about escaping special characters
<gyroninja__> This is untrue, I had to escape a $ in order for one of my substitutions to work
schjetne has joined #nixos
<gyroninja__> I checked the derivation and the replacement string properly had a $ in it
<clever> gyroninja__: its more about escaping it from bash when calling substitute, rather then / and \ and others being special to sed
<pie__> (it may warrant a skillful clarification)
<freshee> Hi. I have a small question. I need a file (an ssh key) to have 0600 permissions. I thought of running `chmod 0600 $out/etc/id_rsa` in `installPhase`, but the final permission is 0444. Why would that happen?
<clever> freshee: all files in /nix/store must be world readable
<freshee> oh.
<clever> freshee: https://nixos.org/nixos/options.html#environment.etc. the .mode option will restrict the perms after its copied to /etc/
<freshee> Thanks.
<clever> but the original in /nix/store is still world-readable
MmeQuignon has quit [Ping timeout: 246 seconds]
o1lo01ol1o has joined #nixos
slack1256 has joined #nixos
drakonis1 has joined #nixos
zeta_0 has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #62284 → pythonPackages.apprise: init at 0.7.6 → https://git.io/fj0QK
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjuTM
simon_weber has quit [Quit: Connection closed for inactivity]
tobiasBora3 has quit [Quit: WeeChat 2.4]
zeta_0 has quit [Quit: fixing .emacs]
zeta_0 has joined #nixos
freshee has quit [Quit: Page closed]
drakonis has quit [Ping timeout: 252 seconds]
tobiasBora2 has joined #nixos
drakonis has joined #nixos
<pie__> infinisil, i dont realllly want to switch to unstable though given that 0.8 has a stable version now (?)
<{^_^}> [nixpkgs] @matthewbauer pushed to master « qtwebengine: don’t use gn configure »: https://git.io/fjuTQ
<infinisil> pie__: 0.8 is stable, that's why it has a release number lol
mexisme_ has joined #nixos
<infinisil> ah
<infinisil> sorry I misread stable/unstable
schjetne has quit [Ping timeout: 252 seconds]
<infinisil> pie__: Yeah, it's not optimal, but only when some people have verified that the ZFS release works without problems on NixOS, zfs will be pointed to 0.8
<infinisil> Until then it's still "unstable" for NixOS
<pie__> infinisil, i suppose i could overrride appropriately https://github.com/NixOS/nixpkgs/blob/06602f4bc76e46fe25e4c6e6e3db3f62714451d7/nixos/modules/tasks/filesystems/zfs.nix#L26 though thats kind of arbitrary and pointless?
<pie__> i mean it would effectively be the same as setting the unstable name value?
drakonis has quit [Ping timeout: 257 seconds]
<infinisil> pie__: You could do `boot.zfs.enableUnstable = assert pkgs.zfsUnstable.name == "zfs-user-0.8.0"; true;`
<infinisil> So you don't forget to turn it off again
<pie__> sounds good
mexisme_ has quit [Ping timeout: 246 seconds]
drakonis has joined #nixos
<gchristensen> if you enable any 0.8.0 features you can't go back
<pie__> yeah but maybe i dont want to go to 0.nextihng.whatever :P
<gchristensen> ah!
<clever> the man page says some features can be turned off, but may require destroying any dataset that had used them
<pie__> technically yes ^
<clever> so it depneds on the feature
<gchristensen> y..es :P
<pie__> which i assume means "copy your stuff to a new dataset with it disabled"
<pie__> "hope you didnt do anything fancy with metadata" :D
<clever> and send | recv may preserve that metadata...
<pie__> oh deer
<pie__> thats sounding problematic
<clever> rsync would still solve it
<pie__> so what happens when you turned the feature off and try to send
<clever> depends on the feature i believe
<pie__> or does send sync stuff like that as well (which would make sense i think)
zeta_0 has quit [Quit: fixing .emacs]
<clever> `man zpool-features`
<pie__> iirc bookmarks can handle metadata like that and bookmarks have some relation to snapshots
<clever> [root@amd-nixos:~]# zpool get all | grep feature
<pie__> and i dont *remember* seeing anything in the man pages yet on this not working
<clever> behind the scenes, zfs has a transaction# on every chunk of things it commits to disk
<pie__> but i havent finished the zfs man page and i dont have clever's apparently mythical memory :p
<clever> and all blocks and files have a birth-tx, that defines what transaction it was made in
<clever> zfs diff, and snapshots, use that to see if a given dir has been modified before or after a set time, and if it should recurse into it
<pie__> makes sense
<clever> snapshots store both the tx#, and act as a gc-root, so you cant delete its children
<clever> bookmarks store only the tx#
<clever> bookmarks are to remember what the remote box has, so you can find the differences between bookmark-1 and snapshot-2
<clever> and then you can do an incremental `zfs send`
<clever> since you have the entire dataset, and just need to know what time to cut it at, to make it fit the remote copy
sb0 has joined #nixos
zeta_0 has joined #nixos
ris has quit [Ping timeout: 272 seconds]
<clever> amd feature@async_destroy enabled local
<clever> amd feature@empty_bpobj active local
<clever> amd feature@multi_vdev_crash_dump disabled local
<clever> enabled means the feature is on, but can be disabled easily
<clever> active means you must do something before you can disable it (if you can at all)
<clever> the man page says when it will switch from enabled->active and active->enabled
schjetne has joined #nixos
<pie__> ahhh so thats how that works
<pie__> (which is kind of what i figured=
<clever> async_destroy for example
<clever> without it, `zfs destroy` will block until the dataset is fully GC'd
<clever> and if you reboot in the middle of such a GC, `zpool import` will block until fully GC'd
<clever> causing it to take potentially hours to boot :P
<pie__> lol
<clever> with async_destroy on, it returns immediately, and you can `zpool get freeing` to see how much is pending
<clever> and it will just import and keep going like nothing is different
<clever> `This feature is only active while freeing is non-zero.`
<o1lo01ol1o> what's the canonical way to tell nix "use ghc 844" in a top-level haskell derivation?
<clever> o1lo01ol1o: use haskell.packages.ghc844 instead of haskellPackages
<o1lo01ol1o> ahhhhh
<o1lo01ol1o> thxxx
tobiasBora2 has quit [Quit: WeeChat 2.4]
<clever> pie__: so in the case of async_destroy, once any destroy operations are done, you can just turn it back off
mexisme_ has joined #nixos
schjetne has quit [Ping timeout: 250 seconds]
<clever> pie__: oh, each feature also has a "read only compatible" flag
<clever> async_destroy is read-only compatible, so you can import such a pool read-only, even if you dont know how to handle the flag
<pie__> aha
<clever> multi_vdev_crash_dump can be enabled on linux, and you can import pools where it is active
<clever> but under linux, it will never transisition to active
<pie__> infinisil, ok i find that assert syntax a bit weird with the semicolons but im going to use it
<clever> multi_vdev_crash_dump is basically where the kernel will coredump when it panics
<clever> but linux doesnt support that
<infinisil> pie__: Can also use `if ... == ... then true else throw "Error error!"`
<pie__> hm
<infinisil> Which has the advantage of also giving you an error message
<pie__> can we just make assert a function :P
<clever> infinisil: there is also the assertions "nixos option"
polmaan has joined #nixos
<clever> it takes a list of bool+msg pairs
<clever> and nixos will list all of the failures, rather then just the first one
<pie__> i will just use the first thing infinisil posted lol
<clever> pie__: assertions = [ { assertion = pkgs.zfsUnstable.name == "zfs-user-0.8.0"; message = "zfs version is trying to change"; } ];
<pie__> actually, thats good to know though
<eddyb> lucus16: since `nix-build` seems to be working now, I'm going with `doCheck = true; installTargets = "fail-on-purpose";`
polman has joined #nixos
<clever> amd feature@large_dnode disabled local
<clever> amd feature@edonr disabled local
<clever> pie__: my desktop has 2 other features not yet enabled
<clever> The large_dnode feature allows the size of dnodes in a dataset to be set larger than 512B.
drakonis has quit [Ping timeout: 258 seconds]
<clever> This feature becomes active once a dataset contains an object with a dnode larger than 512B, which occurs as a result of setting the dnodesize dataset property to a value other than legacy.
<clever> will return to being enabled once all filesystems that have ever contained a dnode larger than 512B are destroyed
<clever> pie__: so this flag requires changing properties to non-default values, to activate
<clever> and destroying the entire dataset to de-activate
<pie__> clever, can you set it back to the default value and try to remove all the bad things
<pie__> "bad things"
<clever> pie__: zfs may not be able to track how many "bad things" remain
<clever> and only knows that the entire dataset has become suspect
drakonis has joined #nixos
<pie__> scrub?
<clever> good point, that could maybe update that flag
<clever> `This feature enables the use of the Edon-R hash algorithm for checksum, including for nopwrite`
<clever> the other one is just a hashing algo, which can then be used as the checksum for all blocks in the dataset
<clever> nopwrite is similar but much cheaper then dedup
<clever> for dedup, you have a massive hash table, to see if a block with hash(content) exists, and where it is
<clever> but with nopwrite, your overwritting block X, and can just compare the checksum on-disk, to the checksum(newcontent) to see if it actually changed
<clever> no expensive lookup, no hashtable to power it
Fare has quit [Ping timeout: 272 seconds]
<greenerworld[m]> should I poke distrowatch for including unstable in releases?
<gchristensen> sure
<gchristensen> an updated logo would be nice too
<greenerworld[m]> ok, i'll hit them up
<gchristensen> thanks!
<greenerworld[m]> should I create an issue about it somewhere? or just do it
<gchristensen> up to you :)
<ashkitten> infinisil: fwiw, i've been using zfsUnstable for quite a while (due to a mistake on my part) and had no problems with it even with release candidates
<samueldr> wth is going on with that logo?
<samueldr> right shape, old colours
<gchristensen> mysteries, sa
<infinisil> ashkitten: Maybe you can comment in #61969
<{^_^}> https://github.com/NixOS/nixpkgs/pull/61969 (by aij, 1 week ago, merged): zfsUnstable: 0.8.0-rc5 -> 0.8.0
sonercirit[m] has joined #nixos
<sonercirit[m]> so I'll mention logo and unstable release, anything else?
<ashkitten> nice pr number
<gchristensen> nice
<pie__> is there an easy way to diff man pages
<pie__> ive been reading the zfs 0.7.something man pages :I
<infinisil> You *could* clone zfs and view the `git diff` of the man pages there
selfsymmetric-mu has joined #nixos
<infinisil> (I'm sure there are better ways though)
<pie__> i was rying to do it with github on my phone earlier but disappointingly did not find a good way to do it
selfsymmetric-mu has left #nixos [#nixos]
tobiasBora has quit [Ping timeout: 248 seconds]
<sonercirit[m]> sounds good?
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.1]
<pie__> xpost for continuity; (accidentally posted in side channel)
<pie__> <pie__> infinisil, ugh theres a lot of man page differences, i definitely want some sort of human readable diff :C
<pie__> <pie__> do i have to figure out how to generate man pages as text files and then diff the result ...
zeta_0 has joined #nixos
sir_guy_carleton has quit [Quit: WeeChat 2.4]
<samueldr> pie__: nix-store --realise both, use man with output redirection?
<samueldr> sonercirit[m]: the link for unstable is to a specific release
schjetne has joined #nixos
<sonercirit[m]> samueldr: which link should I provide?
<sonercirit[m]> I've given the github repo link
<samueldr> https://nixos.org/channels/nixos-unstable <- this one is "evergreen", will always redirect to the right release
<o1lo01ol1o> What package would give my derivation access to the OpenGL headers, <OpenGL/gl.h>?
<samueldr> and, sonercirit[m], SVG of the logo with the text below if they prefer a squareish logo https://github.com/NixOS/nixos-artwork/blob/master/logo/nixos-text-below.svg
<samueldr> sonercirit[m]: otherwise this one https://github.com/NixOS/nixos-artwork/blob/master/logo/nixos.svg
<sonercirit[m]> ok i'll send these two
<sonercirit[m]> which one do we prefer?
<sonercirit[m]> I'll mention that in the e-mail
<samueldr> not sure, both are fine and have been made by the same designer with proper care for distance etc.
<sonercirit[m]> samueldr: others seem to use square, I'll just send both but mention we prefer square
Fare has joined #nixos
<pie__> samueldr, hm
<pie__> samueldr, is there something more convenient than using nix repl to get a path i can realise :I
<samueldr> nix-locate maybe
<pie__> and once i have that how do i view the man page
<samueldr> that's how I cheated :)
<samueldr> man /full/path/to/file
<samueldr> e.g. /nix/store/msrcfzv0i9k1dgj9dbpqkm9gnks1q7xy-zfs-user-0.8.0/share/man/man8/zfs.8.gz
<samueldr> or even /nix/store/pf10i5lvzqgg3b1jy00giz84zv05lplf-zfs-user-0.7.13/share/man/man8/zfs.8.gz
<pie__> ah ok
<pie__> hm weird i dont have man pages
<samueldr> though I've just seen that it does a dumb thing of always adding bold
<pie__> just pkgconfig
<samueldr> so it's not the best diffing experience
parsnip has joined #nixos
<pie__> or maybe its because i have the -dev thing
<pie__> yeah yours has them
<sonercirit[m]> samueldr: thanks for the info :)
<sonercirit[m]> I've sent another mail with correct info
<samueldr> pie__: I used nix-locate -r man.*zfs :)
<pie__> oh so channel programs are new in 08
<pie__> samueldr, genius
<samueldr> ain't nobody got time to nix repl
<clever> pie__: run `nix-store` on both the paths samueldr gave
<samueldr> clever: --realise is not needed?
<pie__> to clarify, i got em now
<clever> the trick, is that you already did all of the nix expr stuff, so anybody can just download those 2 versions, and diff them
<pie__> heh
<samueldr> hrm, don't know how to make man not bold stuff
<pie__> samueldr, i piped into more and didnt seem ot have any issues
<clever> samueldr: what happens if you just pipe it thru cat?
<pie__> didnt try without mroe
<pie__> re: bold stuff
<samueldr> piped it through cat, TERM=dumb
<samueldr> it always ends up doing the l^Hle^Het^Hte^Her^Hr bolding
<samueldr> pie__: [n]vim -d and they're readable?
<clever> [clever@system76:~]$ man /nix/store/pf10i5lvzqgg3b1jy00giz84zv05lplf-zfs-user-0.7.13/share/man/man8/zfs.8.gz | grep 'zfs create'
<clever> # zfs create pool/project/production
<clever> no bolt in sight on my end
<clever> [clever@system76:~]$ man /nix/store/pf10i5lvzqgg3b1jy00giz84zv05lplf-zfs-user-0.7.13/share/man/man8/zfs.8.gz | head
<clever> ZFS(8) System Manager's Manual ZFS(8)
<pie__> samueldr, im a nano noob
<samueldr> pie__: don't feel bad, I just like the diff view from [n]vim
<pie__> i just did diff --color=always <(man /nix/store/msrcfzv0i9k1dgj9dbpqkm9gnks1q7xy-zfs-user-0.8.0/share/man/man8/zfs.8.gz | more) <(man /nix/store/pf10i5lvzqgg3b1jy00giz84zv05lplf-zfs-user-0.7.13/share/man/man8/zfs.8.gz | more )
<samueldr> funny, more unboldens it
<pie__> though now im trying to figure out how to get unchanged results to show up too
<pie__> samueldr, i just figured based on less needing a -R flag for some stuff that htis might work
<clever> samueldr: i think its | that unbolds it
<clever> specitically, the istty() function
<pie__> ^ also very possible
<samueldr> nope
<clever> [clever@system76:~]$ diff -u --color=always <(man /nix/store/msrcfzv0i9k1dgj9dbpqkm9gnks1q7xy-zfs-user-0.8.0/share/man/man8/zfs.8.gz) <(man /nix/store/pf10i5lvzqgg3b1jy00giz84zv05lplf-zfs-user-0.7.13/share/man/man8/zfs.8.gz)
<clever> this lacks bold for me
<clever> are you on bash?
<samueldr> yes
<samueldr> clever: look at the bytes man /nix/store/msrcfzv0i9k1dgj9dbpqkm9gnks1q7xy-zfs-user-0.8.0/share/man/man8/zfs.8.gz | head | xxd
<samueldr> it's bolded through use of "writing over"
<pie__> tried to use meld and thats hella broken
<samueldr> you have a bajillion ^H
<samueldr> (backspace)
<pie__> basically the ^^^^^stuff i think
<samueldr> but something's weird
<clever> 00000110 0a 0a 4e 08 4e 41 08 41 4d 08 4d 45 08 45 0a 20 |..N.NA.AM.ME.E. |
<samueldr> it will show up boldened in less, but not anywhere else
Supersonic has joined #nixos
<clever> ah, i wasnt piping the diff output into anything
<clever> so my terminal renders it properly
<samueldr> but still is boldened through liberal application of backspaces
<samueldr> it might be less that handles the bolding
<clever> and diff didnt see any differences on that line, so it was even hidden
<samueldr> yeah, it is
<clever> `less -R` will allow ansii control codes to work
<clever> [clever@system76:~]$ diff -u --color=always <(man /nix/store/msrcfzv0i9k1dgj9dbpqkm9gnks1q7xy-zfs-user-0.8.0/share/man/man8/zfs.8.gz) <(man /nix/store/pf10i5lvzqgg3b1jy00giz84zv05lplf-zfs-user-0.7.13/share/man/man8/zfs.8.gz) | less
<clever> yeah, now it looks like crap :P
<clever> ok, thats STRANGE
<clever> [clever@system76:~]$ diff -u --color=always <(man /nix/store/msrcfzv0i9k1dgj9dbpqkm9gnks1q7xy-zfs-user-0.8.0/share/man/man8/zfs.8.gz) <(man /nix/store/pf10i5lvzqgg3b1jy00giz84zv05lplf-zfs-user-0.7.13/share/man/man8/zfs.8.gz)
<clever> this doesnt bold things
<clever> but | less -R, does bolg them
<samueldr> yes
<clever> and |less just makes a total mess
<clever> less -R, is doing more then just plain tty
<samueldr> printf 'h\x08hi\n' | less
<samueldr> less fancy, only the backspace trick
<samueldr> strike over I think it's called?
<samueldr> like when a teletypewriter would back over and rewrite
<samueldr> oh boy those are not easy search terms
<samueldr> less bold and \x08
<pie__> per random googling you can pipe to col -b
<pie__> it seems shitty that you cant just have man output to plain text but what do i know
<samueldr> pie__: thanks, that does it
<clever> what if you just ungzip it, and diff the raw txt?
<pie__> i was just googling for convert man page to text
<samueldr> yeah, man is built with that expectation... if you don't want it formatted as man formats, you would use groff
<pie__> clever, wait youre telling me the raw text doesnt have this garbage in it
<samueldr> it'll have groff fancyness
<samueldr> so different garbage
<pie__> samueldr, im assuming that means convert to text as opposed to converting the man rendered format or something
<clever> [clever@system76:~]$ diff -u --color=always <(gunzip -c /nix/store/msrcfzv0i9k1dgj9dbpqkm9gnks1q7xy-zfs-user-0.8.0/share/man/man8/zfs.8.gz) <(gunzip -c /nix/store/pf10i5lvzqgg3b1jy00giz84zv05lplf-zfs-user-0.7.13/share/man/man8/zfs.8.gz)
<samueldr> don't forget that man pages were also written to be typeset and printed as pages in volumes
o1lo01ol1o has quit [Remote host closed the connection]
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.1]
Supersonic has quit [Ping timeout: 258 seconds]
drakonis_ has joined #nixos
drakonis1 has quit [Quit: WeeChat 2.4]
schjetne has quit [Ping timeout: 252 seconds]
drakonis has quit [Ping timeout: 252 seconds]
zeta_0 has joined #nixos
domogled has joined #nixos
buffet_ has joined #nixos
<{^_^}> [nixpkgs] @guserav opened pull request #62645 → python37Packages.py3status: Fix prefatch replacements → https://git.io/fjuko
Supersonic has joined #nixos
ghasshee has joined #nixos
<pie__> soooo teeeeeechnically zfs isnt doing full disk encryption
<pie__> "ZFS will not encrypt metadata related to the pool structure,
<pie__> itself is encrypted)."
<pie__> including dataset and snapshot names, dataset hierarchy, properties, file size, file holes, and deduplication tables (though the deduplicated data
domogled has quit [Quit: domogled]
<clever> pie__: then dont make any datasets called illegal-porn and youll be safe :P
slack1256 has quit [Ping timeout: 252 seconds]
sb0 has quit [Quit: Leaving]
InFlames has joined #nixos
<pie__> so many caveats
<pie__> :P
<clever> simpler to just use luks
<pie__> to my naive self all that sounds fine but i dont know about the deduplication tables, and deduplication informatiom might leak some information about file data?
reinhardt has joined #nixos
<clever> pie__: dropbox had a related exploit
<clever> pie__: originally, you sent the hash of a file to the server, and if dropbox already had a copy, its instantly added to your box
<clever> skip the upload!
<clever> then somebody realized, if they try to upload an illegal file, and it doesnt have to upload, somebody is in trouble :P
<pie__> clever, doh lol, thats different ;P
<pie__> oh shi :D
<clever> court order to dropbox, who has the file with hash X!
contrapumpkin has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<clever> this is where it comes into play, is the DDT based on the hash of the plaintext, or the hash of the ciphertext?
<pie__> clever, oh crap i just realized
<pie__> clever, i was just htinking about the arrangement of duplicate blocks
<pie__> but you were talking about somethng completely different
<pie__> the actual data
<clever> yeah
<pie__> if its of the ciphertext that should be fine i guess
<pie__> if its of the plaintext, thats kinda f*****, without a salt. but i expect osmeone would have complained loudly
o1lo01ol1o has joined #nixos
weedloser has joined #nixos
o1lo01ol1o has quit [Ping timeout: 258 seconds]
abathur has quit [Ping timeout: 246 seconds]
* pie__ starts reading
<pie__> ok this is at least a little heartening " I work with Tom at Datto. He presented all of his design decisions at the OpenZFS developer conference here: http://open-zfs.org/wiki/OpenZFS_Developer_Summit_2016#Presentations"
<{^_^}> [nixpkgs] @rail opened pull request #62646 → skopeo: fix man installation path → https://git.io/fjukM
polmaan has quit [Ping timeout: 248 seconds]
polmaan has joined #nixos
clacke_movim has left #nixos [#nixos]
<pie__> so, theres a good diagram...but still no clue what actually goes in the dedup table
<pie__> i thiiink its the crypted data
<pie__> because it talks about needing deterministic crypt results
<clever> that sounds likely
<clever> also, i think the DDT operates at a low level, where you just have a raw block storage
<clever> you give it a block, and it returns a block-id
<clever> if DDT is off, thats the location
<clever> if DDT is on, it does a lookup (based on hash), and may return an old location
clacke_movim has joined #nixos
<clever> filesystems and encryption are then built ontop of that, and dont decide where to write things, just "save this block", "where did you put it?"
<pie__> sure
zeta_0 has quit [Quit: taking break]
<hyper_ch> pie__: there's a talk from Tom Caputi where he first published the encryption. it has pretty good explanation.
<{^_^}> [nixpkgs] @marsam merged pull request #62535 → python37Packages.Nuitka: 0.6.3 -> 0.6.3.1 → https://git.io/fjEKc
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjukQ
<pie__> clever, ...can i put a zfs dev on on a zfs block device and just fully encrypt the outer block device
<clever> pie__: no idea
<clever> definitely dont put a pools vdev onto a volume within the same pool :P
schjetne has joined #nixos
toppler`` has quit [Ping timeout: 245 seconds]
<ashkitten> since yall are talking about zfs, have any of you had issues with nix not being able to allocate memory after a long uptime? (i assume due to zfs)
<ashkitten> sometimes on my laptop i have to reboot before nix will work again..
<pie__> clever, lol
<clever> arcstat.py -f time,read,dmis,dhit,dh%,mrug,mru,mfu,mfug,mread,c,ph%,pm%,mm%,miss,hits,mhit,mh%,mmis,hit%,eskip,arcsz 10
<clever> ashkitten: c is how much ram zfs wants to use, arcsz is how much its actually using
<ashkitten> clever: i'll look next time
<clever> for my system, its sitting at 1.1gig right now
<clever> ashkitten: `arcstat.py -v` explains all the other fields
<ashkitten> near 5 gigs on my desktop of 16gb
<ashkitten> which is normal
<clever> by default, it wont use more then 50%, and it can shrink down to as low as 32mb
<ashkitten> yeah idk, i've mostly had issues w my laptop
<{^_^}> [nixpkgs] @marsam merged pull request #62533 → python37Packages.numericalunits: 1.16 -> 1.23 → https://git.io/fjEKv
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjukx
<hyper_ch> ashkitten: same here with notebook but that's probably due to free diskspace... I remember when free diskspace is < 20% it goes into kind of "panic mode" and I'm constantly below 20%
toppler`` has joined #nixos
<hyper_ch> however, on 5 servers I have no such issues
<ashkitten> hm
<hyper_ch> the notebook just gets slow over time and when I reboot it then (after a week or so), it will first run a lot of txg_commit
<hyper_ch> I tend to think if makes a bit of a difference if you run a 100TB pool or a 10GB pool
<{^_^}> [nixpkgs] @marsam merged pull request #62522 → python37Packages.distributed: 1.27.1 -> 1.28.1 → https://git.io/fjEwm
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjukp
<hyper_ch> but to my knowledge the "panic mode" is still in existance
<ashkitten> it's not that issue
<hyper_ch> well, was just a guess
wfranzini has joined #nixos
wfranzini has quit [Remote host closed the connection]
Rusty1 has quit [Quit: Konversation terminated!]
mexisme_ has quit [Ping timeout: 268 seconds]
tobiasBora has joined #nixos
appleclusters has quit [Quit: Connection closed for inactivity]
sb0 has joined #nixos
o1lo01ol1o has joined #nixos
rauno has quit [Ping timeout: 252 seconds]
wfranzini has joined #nixos
wfranzini has quit [Remote host closed the connection]
o1lo01ol1o has quit [Ping timeout: 258 seconds]
hoijui has joined #nixos
orivej has joined #nixos
schjetne has quit [Ping timeout: 252 seconds]
palo1 has joined #nixos
palo1 is now known as palo
<clever> pie__: the master key part is very much like luks
<clever> pie__: and reveals something mildly scarry
<pie__> scarry or scary
<pie__> are you reading what i linked?
<clever> pie__: since send|recv can cpy encrypted datasets, an attacker with physical access can clone your dataset, and use incremental sends to update his clones if he regains access
<clever> reading the heckel.xyz blog
<pie__> so yes
<pie__> i havent actually started reading the text yet
<clever> but, the attacker would only have the cihpertext, initiallly
<pie__> clever, well..it's data _at rest_ for a reason i guess :/
<clever> if he also copied the (encrypted) master key block each time, and keeps an eye on leaked passwords
<pie__> hm
<clever> and if your passphrase is ever leaked in the future, and the attacker has a copy of the master-key, encrypted with that, he can then break it
<clever> even if you change the password immediately
<clever> they have the old master block, and can effectively undo your password change
<ashkitten> how is that different from sending *any* encrypted data
<clever> ashkitten: thats the difference between changing the main key, vs wrapping the main key with a second passphrase
<ashkitten> ah
<clever> if you change the main key, then any future data is safe, but you have to re-encrypt every single block
<clever> if you just protect the real key with a second passphrase, and your just re-encrypting it with a new passphrase
ghasshee has quit [Ping timeout: 248 seconds]
<clever> then an attacker can undo a password change
<ashkitten> well, i guess they should stress that security caveat
<clever> luks has the same issue
<ashkitten> but if you are compromised you should reencrypt it
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/c4fc74b19ca (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<pie__> clever, ahhh
<clever> ashkitten: the problem, is what if an evil maid cloned your drive 3 years ago
schjetne has joined #nixos
<clever> ashkitten: and then 2 years more down the road (5 years after the clone), your password was leaked, and you immediately changed the phrase in zfs
<pie__> wait *stil thinking*
<clever> an attacker with that initial clone, can just undo the password change next time they gain access
<clever> and read any future data youve written
<clever> you may not even know such a clone exists
<clever> and think that changing the passphrase is enough
<pie__> can you say again how they undo the change?
<ashkitten> i will say you shouldn't be just changing your password if you're compromised, but i understand the premise
<clever> pie__: the real key used for encryption of the entire disk, is encrypted with the passphrase, and stored somewhere on-disk
<pie__> aha
<clever> pie__: when you change your passphrase, your basically just doing encrypt(decrypt(cipher,oldpw),newpw)
<pie__> and how would the correct way to do this be?
<ashkitten> pie__: they "undo" the change by decrypting their dumped master key with your old passphrase, and using it to decrypt the current dataset
<pie__> i dont see how its not master keys all the way down for the correct way
<clever> yep
<clever> the only solution is to change the master key at regular intervals
<ashkitten> the correct way would be to create a new master key and reencrypt the entire dataset
<pie__> right
<clever> but that involves re-writting all data to disk
<pie__> well
<pie__> you gotta do what you gotta do
<clever> for zfs, you could just make a new dataset, which doesnt inherit the key from another dataset
<clever> and then maybe send|recv between the 2
<clever> but that doubles your usage
<ashkitten> i will say, for low-risk scenarios you probably will never run into this threat profile
<pie__> clever, open a zol issue?
<clever> seems like such an obvious problem, and no real cheap way to solve it, same reason luks has this issue
<clever> luks also takes advantage of that, to add more features
schjetne has quit [Ping timeout: 250 seconds]
<clever> rather then just storing a single encrypt(master,pw), it stores a list of them
<pie__> meh, my scenario recently - which i havent actoually thought about yet - is, what if i was a journalist
<pie__> id need to protect my sources n junk
<clever> and any of those passwords can unlock the master key
<pie__> but i dunno
<pie__> well yeah, for the duration of the transfer, but nothing else makes any sense<clever> but that doubles your usage
<ashkitten> if you have a threat profile that includes this, you probably have other issues. however, this is still something that should be addressed (at least an easy way to change the master key of a dataset)
isHavvyGhosting has joined #nixos
isHavvy has quit [Read error: Connection reset by peer]
<pie__> and well, i guess for zfs you cant even say its just random bytes, so i guess the only real solution is to just wrap it in luks (i think you can have the header on a separate device or something, technically?)
<pie__> i get into the crypto yak shave real easily as you might be able to tell
<clever> yeah, luks has a detached header option
<pie__> why leave broken what can be fixed? :P
<clever> but also, with a detached header, the luks partition wont even have a uuid
<clever> so there is no way to reasonably locate it, or even tell if its there
<pie__> thats the point i guess
<clever> so you may try to decrypt the wrong disk with that header, or accidentally format over it
ym555 has quit [Ping timeout: 248 seconds]
clacke_movim has left #nixos [#nixos]
clacke_movim has joined #nixos
<pie__> clever, slightly tired rant:
<pie__> this is the type of stuff that should be modeled in a crypto modeling language and just have it puke out all the possible weaknesses and attack scenarios m i rite?
jasonrm has joined #nixos
<hyper_ch> clever: I wonder if that wouldn't be enough for protecting the master key: create an encrypt dataset: pool/encryption --> then create child sets of it that inherit they key properties pool/encryption/nixos -> however the nixos DS would not contain the master encryption key as it points out that this key in in pool/encryption --> you can then rawsend the nixos dataset but the master key won't be sent with it
Kiren has quit [Quit: Page closed]
<pie__> clever, "Keys and key sources can be changed after the dataset/volume creation, and without re-encrypting the data (as they are never used directly). " so im actually reading the text now, what does that mean
<hyper_ch> and you just have to make sure that you backup the pool/encryption dataset to secure devices (e.g. 2-3 usb thumb drive that are stored in your bank's vault
<clever> pie__: the master key wont change, and it may be possible to undo a pw change
<pie__> right but it says its never used directly
<clever> never revealed to the user
<pie__> oh
<clever> so you cant just run a zfs command to expose it to the world
<pie__> that makes more sense, thats the phrase i didnt really get
<hyper_ch> clever: https://paste.simplylinux.ch/view/raw/913e00f8 --> the "Nixos" dataset does not have the master key but it points to the "encZFS" dataset for the master key
<hyper_ch> at least that's my understanding :)
<clever> hyper_ch: i suspect they share the master key then
<hyper_ch> if my understanding is right, I could now raw send "Nixos" some place and it won't have the master key
<clever> i dont think it would support that mode
<clever> since the remote end has no way to ever unlock it
<hyper_ch> that's why there's raw send
<hyper_ch> raw send just takes the bits and bites as it is on disk and sends it
<hyper_ch> without trying to do anything with it
<hyper_ch> maybe ask in zol GH :)
schjetne has joined #nixos
endformationage has quit [Ping timeout: 252 seconds]
bkchr has quit [Ping timeout: 252 seconds]
Nikita has joined #nixos
nikivi has quit [Read error: Connection reset by peer]
lordcirth__ has quit [Read error: Connection reset by peer]
bkchr has joined #nixos
lordcirth__ has joined #nixos
<{^_^}> nix#2607 (by 0mp, 22 weeks ago, merged): Remove some bashisms from configure.ac
<pie__> something sometihng.
<ashkitten> hm
clacke_movim has left #nixos [#nixos]
<{^_^}> [nixpkgs] @dtzWill merged pull request #62352 → inter: 3.5 -> 3.7 → https://git.io/fjEqN
<{^_^}> [nixpkgs] @dtzWill pushed 3 commits to master: https://git.io/fjuIQ
Fare has quit [Quit: Leaving]
qqlq has joined #nixos
<pie__> clever, the man page actually lists some possible weaknesses
<pie__> " Since compression is applied before encryp‐
<pie__> mation about which blocks are equivalent in a dataset and will incur an extra CPU cost per block written.
<pie__> tion datasets may be vulnerable to a CRIME-like attack if applications accessing the data allow for it. Deduplication with encryption will leak infor‐
<pie__> "
clacke_movim has joined #nixos
<pie__> clever, i do recommend going through the diffed man page with something like meld <(man /nix/store/msrcfzv0i9k1dgj9dbpqkm9gnks1q7xy-zfs-user-0.8.0/share/man/man8/zfs.8.gz | col -b) <(man /nix/store/pf10i
<pie__> 5lvzqgg3b1jy00giz84zv05lplf-zfs-user-0.7.13/share/man/man8/zfs.8.gz | col -b)
<pie__> the screen width is kind of annoying though i should fix that
<{^_^}> [nixpkgs] @Mic92 opened pull request #62648 → aerc: init at 0.1.0 → https://git.io/fjuIp
<pie__> looks like you probably want to actively use -w with encrypted sends
<pie__> Note that if you do not use this flag for sending encrypted datasets, data will be sent unencrypted and may be re-encrypted with a different
<pie__> #
<pie__> encryption key on the receiving system, which will disable the ability to do a raw send to that system for incrementals.
<pie__> Note that if you do not use this flag for sending encrypted datasets, data will be sent unencrypted and may be re-encrypted with a different
<pie__> encryption key on the receiving system, which will disable the ability to do a raw send to that system for incrementals.
<pie__> oops
gratto has joined #nixos
rauno has joined #nixos
xantoz has quit [Remote host closed the connection]
polman has quit [Quit: Conection reset by BEER ( www.nirc.netbynet.ru )]
polman has joined #nixos
tokudan has quit [Quit: ZNC 1.7.2 - https://znc.in]
tokudan has joined #nixos
xantoz has joined #nixos
fusion809 has quit [Remote host closed the connection]
weedloser has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @dtzWill merged pull request #62241 → national-park-typeface: init at 206464 → https://git.io/fj0uQ
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/fjuLU
<{^_^}> [nixpkgs] @dtzWill merged pull request #62240 → libertinus: 6.8 -> 6.9 → https://git.io/fj0u9
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/fjuLT
<pie__> clever, since the man page seems to be caveat-positive, it might be reasonable to ask a mention of the case of needing a master key rekey
<pie__> clever, this master key reencryption stuff seems really pointless 0_o
<{^_^}> [nixpkgs] @dtzWill closed pull request #62181 → newt: 0.52.20 -> 0.52.21 → https://git.io/fj0eN
<pie__> well i guess its good against shoulder surfing maybe :p
<{^_^}> [nixpkgs] @dtzWill opened pull request #62649 → newt: 0.52.20 -> 0.52.21 → https://git.io/fjuLk
<{^_^}> [nixpkgs] @dtzWill merged pull request #62188 → iptables: 1.8.2 -> 1.8.3, libnftnl: 1.1.2 -> 1.1.3 → https://git.io/fj0vC
<{^_^}> [nixpkgs] @dtzWill pushed 3 commits to staging: https://git.io/fjuLI
<{^_^}> [nixpkgs] @dtzWill merged pull request #62189 → e2fsprogs: 1.45.1 -> 1.45.2 → https://git.io/fj0vl
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to staging: https://git.io/fjuLm
polman has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @marius851000 opened pull request #62650 → azimuth: use the builtins install target → https://git.io/fjuLG
weedloser has joined #nixos
wfranzini has joined #nixos
schjetne has quit [Ping timeout: 252 seconds]
iqubic has joined #nixos
polman has joined #nixos
brejoc has joined #nixos
emptyflask has quit [Ping timeout: 272 seconds]
sigmundv has joined #nixos
weedloser_ has joined #nixos
nschoe has joined #nixos
linarcx has joined #nixos
weedloser has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @etu merged pull request #62631 → phpPackages: update php packages → https://git.io/fjEjM
<{^_^}> [nixpkgs] @etu pushed 6 commits to master: https://git.io/fjuLu
mighty_vee has joined #nixos
nschoe has quit [Read error: Connection reset by peer]
mexisme_ has joined #nixos
weedloser_ has quit [Ping timeout: 258 seconds]
mexisme_ has quit [Ping timeout: 268 seconds]
rprije has quit [Remote host closed the connection]
rprije has joined #nixos
roosemberth is now known as Orbstheorem
Tucky has joined #nixos
civodul has joined #nixos
<GlennS> How do NixOS and NixOps handle kernel upgrades? Do they require a reboot? Or are they able to do it in place?
alp has joined #nixos
iqubic` has joined #nixos
orivej has quit [Ping timeout: 248 seconds]
iqubic has quit [Ping timeout: 252 seconds]
<LnL> you need to reboot
davidak has joined #nixos
Ariakenom has joined #nixos
bahamas has joined #nixos
hmpffff has joined #nixos
<GlennS> How do I know when I should be rebooting my servers?
<ar> once they hit 60 days of uptime, they're ripe for a healthy reboot.
<GlennS> OK, that's useful to know. I haven't been rebooting my servers. I think I should put up a second instance and a load balancer before I do.
lsyoyom has joined #nixos
<ar> GlennS: i'm actually somewhat serious here; keeping things running for months or years makes things prone for vulnerabilities and configuration errors
<GlennS> I'm just talking to my colleague here who has a server with over a decade of uptime :o
<andi-> oh boy.. Please tell me it is a pacemaker and not some sort of simple stupid web/mailserver
sestrella has joined #nixos
<GlennS> Anyway, thanks for the advice, hopefully you have saved me from finding out the hard way.
ericsagnes has quit [Ping timeout: 257 seconds]
johanot has joined #nixos
nschoe has joined #nixos
ricekrispie has joined #nixos
Shoubit has joined #nixos
tjay has joined #nixos
Glider_IRC_ has quit [Ping timeout: 248 seconds]
goibhniu1 has joined #nixos
vidbina has joined #nixos
<tjay> hi all i'm kinda new to NixOS and i was wondering how i can enter the configuration.nix file after the install
thc202 has joined #nixos
NinjaTrappeur has joined #nixos
<lucus16> Use a text editor to edit /etc/nixos/configuration.nix
ericsagnes has joined #nixos
<marek> nix-env --list-generation is empty for me, any idea how could that happen?
<{^_^}> [nixpkgs] @peti pushed 6 commits to haskell-updates: https://git.io/fjut5
<johanot> marek: if you want system generations, try: nix-env --list-generations --profile /nix/var/nix/profiles/system
<{^_^}> [nixpkgs] @peti pushed 3 commits to haskell-updates: https://git.io/fjutd
<marek> johanot: thank you! hmm, I was almost sure it did work without -p before
<tjay> @lucus16, thanks for the reply
vidbina has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/fjutA
ricekrispie has quit [Read error: Connection reset by peer]
mkoenig has quit [Ping timeout: 252 seconds]
ricekrispie has joined #nixos
sestrella has quit [Read error: Connection reset by peer]
eskytthe has joined #nixos
mkoenig has joined #nixos
<{^_^}> [nixpkgs] @peti pushed commit from @Infinisil to master « haskellPackages.heap: Fix build »: https://git.io/fjuqT
<{^_^}> [nixpkgs] @volth opened pull request #62651 → websocat: add support for wss:// → https://git.io/fjuqk
<dminuoso> gchristensen: Any particular reason why you say that old version of libjasper has security vulnerabilities? Do you have any resource at hand for me to look at?
<{^_^}> [nixpkgs] @peti pushed 7 commits to haskell-updates: https://git.io/fjuqm
m0rphism has joined #nixos
<{^_^}> [nixpkgs] @peti pushed commit from @Infinisil to haskell-updates « haskellPackages: clean up some overrides »: https://git.io/fjuqs
linarcx has quit [Ping timeout: 248 seconds]
<yorick> how can I use go mod without vgo2nix?
<{^_^}> [nixpkgs] @teto merged pull request #61561 → lua-modules/generated: regen for formatting, luv -> 1.28 → https://git.io/fjloZ
<{^_^}> [nixpkgs] @teto pushed 3 commits to master: https://git.io/fjuqg
fendor has joined #nixos
gratto has quit [Ping timeout: 268 seconds]
ericsagnes has quit [Ping timeout: 258 seconds]
ThatDocsLady has joined #nixos
jasongrossman has joined #nixos
<{^_^}> [nixpkgs] @peti merged pull request #60956 → duplicity: enable tests → https://git.io/fjumm
<{^_^}> [nixpkgs] @peti pushed 3 commits to master: https://git.io/fjumY
camsbury- has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @peti closed pull request #62407 → Haskell override clean up → https://git.io/fjEnE
<kraem> how do i make sure to clean up after `nix-build <nixos/nixpkgs> -A .......` if the command failed and i cant delete the result symlink?
arjen-jonathan has joined #nixos
<kraem> (i can't delete it because it was never created)
<yorick> adisbladis: wait, buildGoModule also exists, what's the advantage of vgo2nix?
<nschoe> kraem, if the result symlink was not created, then there's no root for what build, downloaded and put in the store, so a nix-collect-garbage should clean it.
ericsagnes has joined #nixos
<kraem> nschoe: ok, thanks!
<adisbladis> yorick: I guess nothing at this point
shad has quit [Remote host closed the connection]
<nschoe> kraem, don't use the -d option, though.
shiver has joined #nixos
shad has joined #nixos
<kraem> as it won't remove anything built with the command or as it removes old generations as well?
<nschoe> kraem, the latter.
<kraem> nschoe: ok thanks :)
jaeckel has joined #nixos
gratto has joined #nixos
linarcx has joined #nixos
ericsagnes has quit [Ping timeout: 272 seconds]
<Miyu-saki> Any thoughts on sharing my /nix/store with a transient qemu guest?
<Miyu-saki> Rather, any suggestions
<Miyu-saki> I'm thinking of setting up a temporary user.
WizBright has quit [Ping timeout: 244 seconds]
WizBright has joined #nixos
sgo_ is now known as sgo
j4m3s1 is now known as j4m3s__
<Miyu-saki> Hm, OTOH, I can just generate a privkey and use the same privkey for the same guest.
jaeckel has quit [Remote host closed the connection]
toppler`` has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @dtzWill merged pull request #61929 → txr: 209 -> 216 → https://git.io/fjBJw
<{^_^}> [nixpkgs] @dtzWill pushed 4 commits to master: https://git.io/fjum1
alp has quit [Ping timeout: 244 seconds]
polmaan has quit [Ping timeout: 248 seconds]
polmaan has joined #nixos
Soo_Slow has joined #nixos
civodul has quit [Ping timeout: 252 seconds]
<Miyu-saki> I just realized that doing that would potentially expose my user to being ssh'd into... xd
<marek> how to setup systemwide vim config? I tried all the possibilities I found
<marek> does anyone have a real working example please?
gxt has joined #nixos
<manveru> marek: mine is here: https://github.com/manveru/vimrc
<manveru> i just add that to my imports
<manveru> it's for neovim though
toppler`` has joined #nixos
<marek> manveru: imports within configuration.nix or within environment.systemPackages?
<manveru> in configuration.nix
<manveru> the default.nix in the vimrc repo adds neovim to systemPackages
tobiasBora has quit [Ping timeout: 258 seconds]
<manveru> it's basically making a wrapper that loads nvim with the given config and ignores the config in $HOME
alp has joined #nixos
<Miyu-saki> Hm, is there a setting for SSH privkeys available to nix-daemon?
<{^_^}> [nixpkgs] @makefu opened pull request #62653 → Pkgs/gtts token/init → https://git.io/fjum7
<Miyu-saki> Or "no, because the SSH connection from the user"?
ericsagnes has joined #nixos
<{^_^}> [nixpkgs] @abbradar merged pull request #62628 → python3.pkgs.scandir: 1.7 -> 1.10.0 → https://git.io/fjEpj
<{^_^}> [nixpkgs] @abbradar pushed to staging « python3.pkgs.scandir: 1.7 -> 1.10.0 »: https://git.io/fjumd
<marek> manveru: whoa, that's little bit too complex for me, I just want to do mouse=a systemwide
<manveru> heh
<manveru> that's simpler then
<marek> I did place it in /etc/vimrc but vim ignores it
<manveru> hmm
<{^_^}> [nixpkgs] @marsam merged pull request #62534 → python37Packages.nibabel: 2.3.3 -> 2.4.0 → https://git.io/fjEKq
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjumN
<manveru> you using vim_configurable?
jasongrossman has quit [Ping timeout: 248 seconds]
JosW has joined #nixos
<manveru> that should read /etc/vimrc or /etc/vim/vimrc
tobiasBora has joined #nixos
jaeckel has joined #nixos
<marek> manveru: yeah, it does not
<{^_^}> [nixpkgs] @marsam merged pull request #62526 → python37Packages.h11: 0.8.1 -> 0.9.0 → https://git.io/fjErI
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjumx
gratto has quit [Ping timeout: 268 seconds]
<kuznero[m]> Hi All! How do I figure out where is a package installed in `/nix/store` on my system?
gratto has joined #nixos
fendor has quit [Quit: Leaving]
<dminuoso> kuznero[m]: What do you mean by "a package" exactly?
bahamas has quit [Ping timeout: 244 seconds]
<kuznero[m]> I have let's say a python library installed and I would just like to see what comes with it in my filesystem
<marek> kuznero[m]: readlink -f $(which irssi) maybe?
<marek> will show you the path to the store
<kuznero[m]> That works in case it is executable. But when it is just a library or files, it is not going to work
<manveru> marek: that's strange... did you check what executable vim is?
<kuznero[m]> There is potentially a way through repl: `nix-repl> "${xorg.libXtst}"` but I haven't tested it yet
pareidolia has joined #nixos
<kuznero[m]> Yep, nix repl worked like a charm ;)
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/f7c1ca17121 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<marek> manveru: oh you are right! in my path is not the same as nixos-rebuild outputs
<Miyu-saki> I guess I have to use this?
<Miyu-saki> OPERATION --GENERATE-BINARY-CACHE-KEY
<Miyu-saki> Synopsis
<Miyu-saki> nix-store --generate-binary-cache-key key-name secret-key-file public-key-file
<Miyu-saki> How do I expose my /nix/store without SSH access?
<Miyu-saki> Preferrably to localohsot only, I guess.
jasongrossman has joined #nixos
<manveru> Miyu-saki: nix-serve maybe?
<Miyu-saki> Thanks, taking a look at it.
<Miyu-saki> Oh, yeah, I see.
<Miyu-saki> Holy crap, that's actually a very short program lol
sigmundv has quit [Ping timeout: 248 seconds]
<Miyu-saki> So if I understand correctly, this is just an HTTP server?
Synthetica has joined #nixos
<manveru> yes
<Miyu-saki> How are binary cache signatures checked? Against the entry or upon connection?
<manveru> unfortunately it has no docs i think
<Miyu-saki> Ah. :(
ubert has joined #nixos
<marek> manveru: any idea why it wuld not change to the right vim in the current profile?
<manveru> marek: nix-env installation maybe?
<manveru> or home-manager... anything that puts it into your profile i guess
Lears has joined #nixos
<marek> manveru: man, I had vim twice in my package list, oh sorry
<marek> what a stupid mistake :)
<manveru> lol
sb0 has quit [Quit: Leaving]
<manveru> i always pipe `:!sort -u` that list
<marek> I need to start to do that too
<manveru> would be really nice to have a better cli util that just adds/removes packages from it...
<manveru> and writes a json or something
[Leary] has quit [Read error: Connection reset by peer]
orivej has joined #nixos
<Miyu-saki> I mean, technically, nix profiles.
<Miyu-saki> It's imperative in the sense that it makes a new derivation and replaces the symlink. Everything is written to manifest.nix.
ericsagnes has quit [Ping timeout: 248 seconds]
ThatDocsLady_ has joined #nixos
<manveru> i guess so... was hoping for something that ties into the attrname in nixpkgs instead of just recording the name and path i guess
ThatDocsLady has quit [Ping timeout: 252 seconds]
<Miyu-saki> [myrl@myrl:~]$ nix path-info -sh --store http://localhost:5000 /nix/store/597g87xc1krl0sqa8ywkin7807v8bx8g-emacs-26.1
<Miyu-saki> /nix/store/597g87xc1krl0sqa8ywkin7807v8bx8g-emacs-26.1 144.3M
<Miyu-saki> Seems to work.
<manveru> i should just build me one, can't be that hard :)
<Miyu-saki> (This is nix-serve)
<Miyu-saki> manveru: Thanks!
<manveru> cool
vidbina has joined #nixos
<manveru> in case that's what you're going for
ilmu has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #62518 → python37Packages.bugwarrior: 1.6.0 -> 1.7.0 → https://git.io/fjEa9
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjuY0
shibboleth has joined #nixos
<{^_^}> [nixpkgs] @Profpatsch merged pull request #62580 → purescript: upgrade to 0.13.0 → https://git.io/fjEDK
<{^_^}> [nixpkgs] @Profpatsch pushed commit from @justinwoo to master « purescript: 0.12.5 -> 0.13.0 »: https://git.io/fjuYi
<{^_^}> [nixpkgs] @teto opened pull request #62654 → Lua updater update :) → https://git.io/fjuY1
<{^_^}> [nixpkgs] @marsam merged pull request #62510 → python27Packages.avro: 1.8.2 -> 1.9.0 → https://git.io/fjEaI
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjuYy
<{^_^}> [nixpkgs] @marsam merged pull request #62516 → python37Packages.braintree: 3.53.0 -> 3.54.0 → https://git.io/fjEa2
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjuY5
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjuYd
<{^_^}> [nixpkgs] @marsam merged pull request #62525 → python37Packages.fasteners: 0.14.1 -> 0.15 → https://git.io/fjEwo
zupo has joined #nixos
xelxebar has joined #nixos
InFlames has quit [Ping timeout: 258 seconds]
zupo has quit [Client Quit]
JosW has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<dminuoso> Hiya. I have a derivation parametrized over `{ stdenv, cmake, etc.. }: ...` how do I nix-build it while passing my <nixpkgs> to it?
<{^_^}> [nixpkgs] @Ma27 merged pull request #62641 → grafana-loki: init at 0.1.0 → https://git.io/fjuUy
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fjuYp
<makefu> anyone using logstash? i tried to set logstash.plugins = [ pkgs.logstash-contrib ]; as described in the options, however i get "NameError: `@path.plugins' is not allowable as an instance variable name"
<{^_^}> [nixpkgs] @marsam merged pull request #62537 → python37Packages.pytest-tornado: 0.7.0 -> 0.8.0 → https://git.io/fjEiT
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjuYj
Jetien_ has joined #nixos
<{^_^}> [nixpkgs] @basvandijk opened pull request #62655 → terraform-provider-elasticsearch: 0.6.0 -> 0.7.0 → https://git.io/fjuOq
<infinisil> ,callPackage dminuoso
<{^_^}> dminuoso: If a Nix file foo.nix starts with something like `{ stdenv, cmake }:`, you can build it with `nix-build -E '(import <nixpkgs> {}).callPackage ./foo.nix {}'`
<dminuoso> infinisil: Ah cheers!
<arianvp> Can someone explain to me in simple terms why we need /run/opengl-driver ?
knupfer has joined #nixos
psy3497 has quit [Ping timeout: 246 seconds]
ng0 has joined #nixos
<tilpner> arianvp: AFAICT so that there's a fixed location for the libraries. Having different locations per driver would mean needing to build graphical packages once per driver for barely any benefit
vidbina has quit [Ping timeout: 248 seconds]
jackdk_ has joined #nixos
hoijui has quit [Ping timeout: 252 seconds]
xvnvx has joined #nixos
fendor has joined #nixos
xvnvx has quit [Excess Flood]
linarcx has quit [Quit: WeeChat 2.4]
<Miyu-saki> ... I just decreased the testing time from ~10 minutes to ~2 minutes by using a local binary cache. Why didn't I think about this before. -_-
<{^_^}> [nixpkgs] @marsam merged pull request #62621 → timetrap: restore "t" executable → https://git.io/fjExa
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjuO4
<emilsp> hmm, the npm package that one gets with nodejs_11_x is fairly old - is there a nixy way I can get a newer npm version?
xvnvx has joined #nixos
knupfer has quit [Ping timeout: 248 seconds]
sigmundv has joined #nixos
sveitser2 has joined #nixos
ericsagnes has joined #nixos
[Leary] has joined #nixos
<{^_^}> [nixpkgs] @Profpatsch opened pull request #62656 → purescript: add test that compiles & runs a minimal module → https://git.io/fjuOV
<arianvp> tilpner: but isn't the whole point of libglvnd and vulkan-loader that you can link against those and it is their task to dispatch to the right library?
<arianvp> I would understand if only those would be in /run/opengl-driver but there's a lot more there
<arianvp> Seems to make everything more impure than needed
ottidmes has joined #nixos
Lears has quit [Read error: No route to host]
Cale has joined #nixos
<ottidmes> I have this piece of nodejs software that I can start/restart/stop by passing that keyword to the file, like: node file.js start (it starts a service in the background and exits). Instead of doing this manually I was thinking to have this be managed by a systemd service, what is the best way to achieve this?
<dminuoso> Mmm. So I have a derivation that depends on a library in a different version than supplied by nixpkgs. What's the recommended mechanism to deal with this?
xvnvx has quit [Quit: ZNC 1.7.1 - https://znc.in]
xvnvx has joined #nixos
ggVGc has joined #nixos
<ottidmes> Guess I could just configure all cases like ExecStart and ExecStop and set the type to forking, but seems like a common enough thing to have a nicer solution for
<dminuoso> (The derivation is under my control, so..)
<ottidmes> dminuoso: override the lib at callPackage with the specific version you need
johanot has quit [Ping timeout: 248 seconds]
<dminuoso> ottidmes: Ah so I'd include a lib-in-my-version.nix in my repo and just callPackage it
<Miyu-saki> Wait, what, nixos-rebuild does not honor NIXPKGS_CONFIG?
<Miyu-saki> Actually.
<Miyu-saki> [myrl@myrl:/etc/nixos/nixpkgs]$ sudo bash -c 'echo $NIXPKGS_CONFIG'
<Miyu-saki>
ericsagnes has quit [Ping timeout: 252 seconds]
<ottidmes> dminuoso: you would do something like my-package = callPackage ./path/to/package.nix { lib = callPackage ./path/to/lib/with/custom/version.nix { }; };
<Miyu-saki> Hm, so it works if you used `sudo su`
<dminuoso> ottidmes: Ahh okay. I need to stop doing these `{ pkgs ? import <nixpkgs> {} }: ...` things and start parametrizing my derivations over packages. :)
eskytthe has quit [Ping timeout: 258 seconds]
<Miyu-saki> But `nixos-rebuild switch` doesn't work either way.
<Miyu-saki> :(
<Miyu-saki> So a few things here, I guess. `sudo` doesn't preserve NIXPKGS_CONFIG and `nixos-rebuild` doesn't either, for some reason.
buffet_ is now known as buffet
<ottidmes> Miyu-saki: don't you need sudo -E for that?
<Miyu-saki> ottidmes:I feel like NIXPKGS_CONFIG should be preserved by default.
<Miyu-saki> I mean, it does that for NIX_PATH for example.
<Miyu-saki> Okay, apparently, I was wrong. So why does NIX_PATH get set but not NIXPKGS_CONFIG?
<Miyu-saki> hm.
<Miyu-saki> [myrl@myrl:/etc/nixos/nixpkgs/nixos]$ sudo bash -c 'echo $NIX_PATH'
<Miyu-saki> /etc/nixos:nixos-config=/etc/nixos/configuration.nix:nixpkgs=/etc/nixos/nixpkgs
<Miyu-saki> [myrl@myrl:/etc/nixos/nixpkgs/nixos]$ echo $NIX_PATH
<Miyu-saki> /home/myrl/.nix-defexpr/channels:/etc/nixos:nixos-config=/etc/nixos/configuration.nix:nixpkgs=/etc/nixos/nixpkgs
<ottidmes> Miyu-saki: probably because of it being set as a session variable
davidak has quit [Quit: Leaving]
ng0 has quit [Quit: Alexa, when is the end of world?]
<Miyu-saki> One thing that low-key annoys me is that I don't know what part is handled by the nix-daemon and what part is handled by the executable TBH.
<Miyu-saki> `nix copy` for example.
<Miyu-saki> (This is tangential to the topic, just wanted to say that lol)
<Miyu-saki> Hm. Back to the problem at hand though. Why does `nixos-rebuild` not honor NIXPKGS_CONFIG?
bahamas has joined #nixos
<Miyu-saki> Giff me a few.
<Miyu-saki> [myrl@myrl:/etc/nixos/nixpkgs/nixos]$ nix-build '<nixpkgs/nixos>' -A system
<Miyu-saki> trace: warning: Multiple directories is currently beta
<Miyu-saki> error: undefined variable 'dmenu_sudo' at /etc/nixos/configuration.nix:263:45
<Miyu-saki> So I guess it's in the mechanism of <nixpkgs/nixos> and not the nixos-rebuild tool.
rprije has quit [Read error: Connection reset by peer]
rprije has joined #nixos
ericsagnes has joined #nixos
<joepie91[m]> :P
eskytthe has joined #nixos
<Miyu-saki> Thanks lmao.
<Miyu-saki> Time to make a discourse sometime.
o1lo01ol1o has joined #nixos
alex`` has joined #nixos
<{^_^}> [nixpkgs] @fpletz merged pull request #61970 → Gitlab runner 11.11.0 → https://git.io/fjB4T
<{^_^}> [nixpkgs] @fpletz pushed commit from @bachp to master « gitlab-runner: 11.10.1 -> 11.11.0 »: https://git.io/fju30
hmpffff has quit [Quit: nchrrrr…]
hmpffff has joined #nixos
o1lo01ol1o has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @fpletz merged pull request #62646 → skopeo: fix man installation path → https://git.io/fjukM
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/fju32
<Miyu-saki> I actually have no idea how `pkgs` work now lmao
<Miyu-saki> let extraArgs_ = extraArgs; pkgs_ = pkgs;
<Miyu-saki> _module.args.pkgs = lib.mkIf (pkgs_ != null) (lib.mkForce pkgs_);
copumpkin has joined #nixos
<Miyu-saki> What am I missing. :(
jackdk_ has quit [Remote host closed the connection]
<Miyu-saki> Also
<Miyu-saki> inherit (config._module.args) pkgs;
<Miyu-saki> I'm so confused.
<Miyu-saki> Oh, found it!
<Miyu-saki> nixpkgs.nix
aexoxea has joined #nixos
<Miyu-saki> config = {_module.args = {pkgs = finalPkgs;
<Miyu-saki> :D
glenndavy has joined #nixos
<Miyu-saki> Oh.
<Miyu-saki> defaultPkgs = import ../../.. {inherit (cfg) config overlays localSystem crossSystem;};
<Miyu-saki> So that's why NIXPKGS_CONFIG is not honored.
<{^_^}> [nix] @edolstra pushed to flakes « shell.nix: Use clang by default »: https://git.io/fju3X
<tobiasBora> Hello,
<tobiasBora> I'm trying to play with nix, and I can't find how to load a library in a shell (a binary file I have need the libstdc++.so.6 library). I tried to do nix-shell -p libstdcxx5 and nix-shell -p gcc, but none of them works
<Miyu-saki> tobiasBora: Different search paths. You'll have to emulate an FHS for that.
<{^_^}> [nixpkgs] @kevincox merged pull request #62603 → cargo-web: 0.6.23 -> 0.6.25 → https://git.io/fjE7C
<{^_^}> [nixpkgs] @kevincox pushed 2 commits to master: https://git.io/fju3S
<exarkun> just unsuspended laptop and connected external monitor. something decided the displays should be mirrored this time. joy.
<exarkun> xrandr thinks two displays are active, autorandr thinks one display is active
MmeQuignon has joined #nixos
<Miyu-saki> nixpkgs.config = (x: import /etc/nix/nixpkgs-config.nix x // {allowUnfree = true;});
<Miyu-saki> I just gave up lmao
<Miyu-saki> What's a better way to do this?
<Miyu-saki> I guess change /etc/nix/nixpkgs-config.nix itsefl?
<glenndavy> hey there all, i’m needing shell.nix to be able to provide ‘sh’ to users in that shell. I need to include bash-interactive-5.0-p7 in the build inputs so that the shell installs it, but that ins’t a valid thing to go in build inputs array.. any ideas how i solve this?
civodul has joined #nixos
<exarkun> _and_ my xmodmap configuration got dropped?
<{^_^}> [nixpkgs] @mmahut opened pull request #62657 → kronometer: adding homepage and description → https://git.io/fju39
<exarkun> how does that even
<Miyu-saki> tobiasBora: Also, we're talking about an executable compiled for non-Nix, right?
drakonis has joined #nixos
<tobiasBora> Miyu-saki: hum... yes, I'm talking about non-nix executables. I'm trying to understand the different methods to run them, and I'm interested by the "manual" method as well to understand what's happening. I tried to use LD_LIBRARY_PATH to force the library path, but it also fails:
<tobiasBora> LD_LIBRARY_PATH=/nix/store/12zhmzzhrwszdc8q3fwgifpwjkwi3mzc-gcc-7.3.0-lib/lib/ /nix/store/681354n3k44r8z90m35hm8945vsp95h1-glibc-2.27/lib/ld-linux-x86-64.so.2 thescript
<tobiasBora> => error while loading shared libraries
<{^_^}> [nixpkgs] @Profpatsch merged pull request #62656 → purescript: add test that compiles & runs a minimal module → https://git.io/fjuOV
<{^_^}> [nixpkgs] @Profpatsch pushed to master « purescript: add test that compiles & runs a minimal module »: https://git.io/fju3b
<gchristensen> oh cool PR, Profpatsch ^
domogled has joined #nixos
drakonis_ has quit [Ping timeout: 258 seconds]
<tobiasBora> hum, actually LD_LIBRARY_PATH=... ldd thescript seems to fix the library libstdc++. There is one line alone linux-vdso.so.1 (0x00007ffef3dfa000)
<tobiasBora> maybe I also need to provide it
<joepie91[m]> from the Nix documentation --- builtins.seq e1 e2 : Evaluate e1, then evaluate and return e2. This ensures that a computation is strict in the value of e1.
<joepie91[m]> I have no idea what this is supposed to mean
<Profpatsch> gchristensen: Yeah, jw358 nerd-sniped me.
<joepie91[m]> "that a computation is strict in the value of e1"?
<Profpatsch> But back to work :P
<joepie91[m]> like, I recognize the individual words, but that has no semantic meaning to me as a sentence :0
<bahamas> can anyone confirm that the haskell generic builder bypasses cabal and uses ghc directly?
<joepie91[m]> :)*
<Miyu-saki> tobiasBora: Oh wait. I think I know what's wrong.
<joepie91[m]> so... can anybody translate that to plain English?
<Miyu-saki> tobiasBora: Have you patched the linked loader?
<nyanloutre[m]> hello, did anyone already looked at https://www.gitpod.io ?
<tobiasBora> Miyu-saki: no, I prepend the loader before the script to avoid patch
<nyanloutre[m]> it seems to be a good way to test PR
<Miyu-saki> Oh wait, you just did.
<simpson> joepie91[m]: First, e1 will be evaluated; then, e2 will be evaluated.
<Miyu-saki> Hm.
<joepie91[m]> simpson: right, I got that, that's what the first half says. but what does the second half mean?
<joepie91[m]> it looks like it's trying to explain why this might be useful
<gchristensen> e1 could have an `assert`, blocking the evaluation of e2
<dminuoso> ,locate libQt5EglFSDeviceIntegration.so.5
<simpson> joepie91[m]: You can comfortably discard the second half if you don't normally worry about Nix's lazy evaluation model.
<tobiasBora> Miyu-saki: Hum... Does the ld-linux... forwards the environment?
<{^_^}> Couldn't find in any packages
zupo has joined #nixos
<gchristensen> simpson: why would somebody worry about the model?
werner291 has joined #nixos
<simpson> gchristensen: For example, the fancy knot-tying recursion that we use for package scopes relies on Nix's lazy evaluation.
<joepie91[m]> simpson: but I do. I want to understand the "why", it's just not written in a way that makes any sense to me whatsoever.
hoijui has joined #nixos
eskytthe has quit [Ping timeout: 246 seconds]
<simpson> joepie91[m]: It might make too much sense to me. Do you feel comfortable with lazy vs. strict?
<gchristensen> simpson: I guess I'm (and joepie91[m] is) looking for something more concrete
<joepie91[m]> simpson: I know what 'lazy' means, and I understand the general lazy evaluation model in Nix, but 'strict' does not register to me as something that is an opposite of that, no
<simpson> gchristensen: seq is merely a useful primitive that comes up often in lazy-by-default languages. There's not really any other way to strictify an expression, or to force an evaluation order without a data dependency.
<joepie91[m]> is it just a synonym for 'eager'/'forced' evaluation?
JosW has joined #nixos
<tobiasBora> Miyu-saki: hum, when I patch with patchelf, it actually works O_o What dark magic happens?
<joepie91[m]> okay, so it's about forcing evaluation order by forcibly evaluating something that would otherwise have been evaluated lazily?
vidbina has joined #nixos
<dminuoso> joepie91[m]: It's essentially about evaluation strategies.
<dminuoso> joepie91[m]: call-by-name as opposed to call-by-value
<simpson> joepie91[m]: Yes. However, note that the seq itself is lazy, once created. seq only promises that, once it starts being evaluated, it will evaluate all of e1 before starting on its actual value e2.
acarrico has joined #nixos
<joepie91[m]> simpson: "all of" is only true for deepSeq, right?
<joepie91[m]> with seq only forcibly-evaluating shallowly
<dminuoso> joepie91[m]: In the Haskell world we are very careful to not conflate non-strict with lazy. They are different ideas.
<dminuoso> So non-strict does not mean lazy.
<dminuoso> (Lazyness is a possible implementatoin of non-strictness)
<tobiasBora> Miyu-saki: ok, problem solved. It was a stupid error, I was not using ./ when i was removing the interpreter ^^' sorry, now it works!
<simpson> joepie91[m]: I was hoping to paper over "normal form" with my phrasing. I'm not sure exactly how it works in Nix.
<joepie91[m]> dminuoso: great, but that doesn't really help for my understanding here :)
<joepie91[m]> I'm more interested in an explanation that can be intuitively understood, than one that is 100% compliant with a particular shared jargon
<tobiasBora> Miyu-saki: You where talking about FHS, do you know if it's possible to run a FHS shell without actually writing a shell.nix file?
j4m3s__ has quit [Read error: Connection reset by peer]
<dminuoso> joepie91[m]: strictness/non-strictness is easily explained in terms of graph reduction.
<joepie91[m]> simpson: hmm, right, thanks
<Baughn> Can't explain without explaining normal forms, I think.
<Baughn> Which begs the question of what a 'normal form' is, for Nix.
<joepie91[m]> dminuoso: 'graph reduction' is meaningless to people without an academic background, generally
<joepie91[m]> so that is really not 'easily' at all
<simpson> It's definitely not a concept that I could imagine making intuitive; nothing's intuitive about computer science.
* gchristensen wishes for an explanation motivation
<dminuoso> joepie91[m]: You do not need an academic background.
<gchristensen> I get what seq _does_ I just don't really get _why_ it is wanted.
IuliusCaesar has joined #nixos
<andi-> is that another trivial thing? :)
<Baughn> gchristensen: Because it's fairly easy to get space leaks without it.
<{^_^}> [nix] @JorisE opened pull request #2918 → Minor typo → https://git.io/fjusE
<Baughn> The canonical example would be foldl vs. foldl'.
<{^_^}> [nixpkgs] @basvandijk merged pull request #62655 → terraform-provider-elasticsearch: 0.6.0 -> 0.7.0 → https://git.io/fjuOq
<{^_^}> [nixpkgs] @primeos closed pull request #60894 → wlroots: 0.5.0 -> 0.6.0 → https://git.io/fjusg
<simpson> gchristensen: Because there's not really any other way to get its behavior; it's primitive, and somebody found that they wanted it at some point.
<{^_^}> [nixpkgs] @basvandijk pushed 2 commits to master: https://git.io/fjus2
<joepie91[m]> simpson: can you name a concrete example of a case where a sequential evaluation guarantee is necessary, but there is *not* a data dependency that makes it so?
<dminuoso> joepie91[m]: So if you think of an expression as a graph of application nodes, then something like `foo (bar quux)` has two ways of reduction.
<dminuoso> joepie91[m]: You either reduce `bar quux`, call the resulting value `q`, and then you reduce `foo q`, or you start with the `foo (...)` part.
<gchristensen> simpson: that does not explain why it is wanted
<Baughn> joepie91[m]: Summing a large list with fold. If you don't use seq you'll get an equally large chain of thunks, which may stack-overflow when evaluated.
<simpson> gchristensen: I mean, I'm not going to balk if there's an RFC to remove it. I'm just trying to explain that it's here *now* almost certainly because of a desire in the *past*, and that desire was likely tied to the fact that seq can't be hand-crafted otherwise.
<joepie91[m]> Baughn: how does seq solve this, and why can this not be addressed on a runtime level?
<gchristensen> simpson: this is not progressing :P
<dminuoso> joepie91[m]: the runtime is not an all knowing oracle.
<joepie91[m]> (because that feels like a workaround :P)
srl295 has quit [Quit: Connection closed for inactivity]
<simpson> joepie91[m]: By definition, that necessity would be a data dependency, right? seq isn't needed for computational completeness AFAIK, just for controlling evaluation order.
<Baughn> joepie91[m]: seq lets you say "Before returning (a + b + (...)), first evaluate (a + b).
<marek> any idea how to make profiles to source /etc/profile?
<joepie91[m]> simpson: "gchristensen: seq is merely a useful primitive that comes up often in lazy-by-default languages. There's not really any other way to strictify an expression, or to force an evaluation order without a data dependency."
<joepie91[m]> that is what I'm deriving my question from
rprije has quit [Read error: Connection reset by peer]
inquisitiv3 has joined #nixos
<Miyu-saki> I stumbled across thiss.
<joepie91[m]> you say it's useful to force evaluatioin order without a data dependency, but I'm having difficulties imagining such a usecase
<{^_^}> rfcs#45 (by 7c6f434c, 5 weeks ago, open): [RFC 0045] Deprecating unquoted URL syntax
<Miyu-saki> Why not instead make it actually a non-noop?
<joepie91[m]> precisely because it looks to me like any usecase that requires a particular evaluation order, would inherently have a data dependency
rprije has joined #nixos
<dminuoso> joepie91[m]: Consider this haskell example of `foldl (+) 0 [1...1000000]`
<joepie91[m]> hence asking about a concrete case?
<joepie91[m]> minus the question mark :P
<Baughn> Here you go.
<dminuoso> Well. That.
<simpson> joepie91[m]: Baughn and dminuoso have been trying to explain one such case, where a large chain of additions could explode in heap space usage without it.
<gchristensen> I thought FP was about freeing yourself from the physical computer or whatever
<Baughn> Given the list you're adding can be generated lazily, this could take an O(1) space algorithm to O(n).
<gchristensen> (that was more reductionist than I intended :x)
<Baughn> gchristensen: Oh, sure. This makes no semantic difference.
<dminuoso> gchristensen: In fact `seq` is a dirty little primitive that breaks so many nice properties of Haskell.
<dminuoso> gchristensen: Which is why we even go to great lengths pretending it doesn't exist when applying formal methods.
<Baughn> dminuoso: Let's not tell him about unsafePerformIO.
<gchristensen> hah!
<gchristensen> I know about unsafePerformIO :P
<gchristensen> (I even know a little Haskell, despite pretending not to)
<simpson> gchristensen: We could switch to bounded computation. Let's write everything as a stream processor taking at most quadratic time~
<gchristensen> yes!
<gchristensen> perfect
<dminuoso> gchristensen: The Haskell Report takes great care not to talk about evaluation order in the slightest.
<simpson> (Hope you don't need to multiply matrices!)
<dminuoso> So even the `seq` primitive does not give you the same guarantees as in nix.
<joepie91[m]> Baughn: thanks, that seems like a reasonably accessible explanation. reading it now
<dminuoso> That is, in Haskell `p seq q` does not guarantee p will be evaluated before q.
<gchristensen> lol
<dminuoso> Because that would require talking about evaluation order.
<joepie91[m]> as an aside: there are plenty of people who have never touched Haskell, so it's probably not a great idea to assume Haskell knowledge when explaining concepts of Nix to people :)
<Baughn> I persist in thinking the Nix language was a mistake.
<gchristensen> spicy
<Baughn> It's very similar to google's BCL.
<Baughn> And that's not a compliment. XD
<Baughn> The best that can be said (about both of them) is they _do the job_.
<simpson> Nix is so much nicer than BCL.
<lucus16> Baughn: in what way is it a mistake and how would you have solved that?
<dminuoso> Going back to fixing stupid packages. Sighs, nix can be annoying. :(
* joepie91[m] is actually fairly happy with Nix the language, aside from some papercuts
<simpson> It's like complaining that a vulture is bald; they have a good reason for it!
<Baughn> lucus16: First of all, it lacks static typing -- and that's cost me so very much time. Even adding static types to Nix would be a massive improvement.
<joepie91[m]> please no :)
<Baughn> I'm just not sure that's doable without a redesign. You'd have to use pretty exotic types.
<Baughn> (Row types, structural subtyping... I dunno, I'm not a type theorist.)
acarrico has quit [Ping timeout: 268 seconds]
<dminuoso> Baughn: You can just use Dhall..
<dminuoso> I mean some typing is better than no typing.
<lucus16> Baughn: The typescript type system might be a decent match for Nix
<Baughn> dminuoso: Didn't know about it. Hmm.
<Baughn> I've dreamt of writing something like that.
<Baughn> lucus16: Also my thought, but not a *perfect* match. A custom type system would be best, except...
<dminuoso> Baughn: There's a dhall2nix tool to convert your dhall expressions into nix.
<Baughn> --again, not something I think I could do in a reasonable time.
<Baughn> Anyway, since I'm ranting about Nix, next problem: Performance.
<Baughn> It might be partially due to the lack of typing, but mostly it's the lack of compilation. `nixos-rebuild` takes 30-40 seconds before it even starts downloading packages.
<Baughn> A solution there would have to look like SBCL, though. A partially compiled language that won't bother to compile the files _you_ provide it.
<joepie91[m]> pretty sure there's a lot of low-hanging optimization fruit left in Nix
<niksnut> I think the main issue about the language is that it has functions. It's a mistake to have a DSL with functions.
<niksnut> Because any abstractions you might want to make with functions would be better expressed as DSL constructs.
<niksnut> Also the performance problems stem from having to evaluate a whole purely functional program.
eskytthe has joined #nixos
<dminuoso> niksnut: I doubt that has anything to do with it.
weedloser has joined #nixos
<Synthetica> Are there already tests in place for Wayland compositors, only for Xorg?
<Synthetica> s/only /or only/
<gchristensen> dminuoso: oh?
<{^_^}> [nixpkgs] @joachifm pushed commit from SLNOS to release-19.03 « firefoxPackages.tor-browser: 8.0.9 -> 8.5.0 »: https://git.io/fjuGU
hoijui has quit [Quit: Leaving]
Ariakenom has quit [Quit: Leaving]
<joepie91[m]> Baughn: right, so that article made sense for the most part. to paraphrase in entirely different and intentionally simplified/analogized terminology, it will sort of "prime the cache" by evaluating a Thing before (partially-evaluating) the expression in which the Thing is used, so that the expression will contain the actual value of the Thing, instead of a pile of code that would compute that value later... so that the
<joepie91[m]> internal representation of the expression doesn't become too big.
<joepie91[m]> correct?
<joepie91[m]> (conceptually, that is)
<simpson> If that makes sense to you, then sure. There's no cache or partial evaluation AFAIK, but I don't know anything about this part of Nix internals.
eskytthe has quit [Ping timeout: 248 seconds]
<dminuoso> joepie91[m]: Think of it as `foo (expensive computation)`. If `foo` is strict in its argument, it has to evaluate the `expensive computation` before it can enter `foo`
o1lo01ol1o has joined #nixos
<{^_^}> [nix] @edolstra merged pull request #2918 → Minor typo → https://git.io/fjusE
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/fjuGq
werner291 has quit [Quit: Page closed]
<dminuoso> joepie91[m]: Now keeping this not-evaluated computation around requires some overhead. If we know with absolute certainty that this argument will be used, then its cheaper to just force the evaluation rather than keep some data structure around to represent this unevaluated expression.
<{^_^}> [nixpkgs] @teto merged pull request #62654 → Lua updater update :) → https://git.io/fjuY1
<{^_^}> [nixpkgs] @teto pushed 8 commits to master: https://git.io/fjuGO
<joepie91[m]> dminuoso: right, that seems to match my conceptual understanding
<joepie91[m]> thanks :)
<{^_^}> [nixpkgs] @c0bw3b merged pull request #62564 → rsyslog: 8.1904.0 -> 8.1905.0 → https://git.io/fjE1T
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fjuGn
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/06602f4bc76 (from 16 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
<marek> anyone up for a nixpkgs review? it's an ugly dotnet app :) https://github.com/NixOS/nixpkgs/pull/62629
<{^_^}> #62629 (by mmahut, 18 hours ago, open): walletwasabi: init at 1.1.5
ricekrispie has quit [Ping timeout: 258 seconds]
MmeQuignon has quit [Read error: Connection reset by peer]
hmpffff has quit [Read error: Connection reset by peer]
hmpffff has joined #nixos
aexoxea has quit [Quit: Goodbye!]
ggVGc has left #nixos ["WeeChat 2.4"]
ottidmes has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @ryantm merged pull request #62456 → kubernetes: 1.14.1 -> 1.14.2 → https://git.io/fjERN
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fjuGV
IuliusCaesar has left #nixos [#nixos]
rauno has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @joachifm opened pull request #62658 → eudev: use utillinuxMinimal → https://git.io/fjuG6
<exarkun> I put `VIRTUALENV = /tmp/some/path;` and `shellHook = "export PATH=$VIRTUALENV/bin:$PATH"` into my default.nix (which maybe I am abusing and I should use shell.nix? dunno)
<exarkun> And I got a PATH with a nix store path in it! What's going on?
<{^_^}> [nixpkgs] @jarlg opened pull request #62659 → nixos/undervolt: correct description of numerical input → https://git.io/fjuGP
<{^_^}> [nixpkgs] @joachifm opened pull request #62660 → lvm2: cleanup & fix eval error when systemd=null → https://git.io/fjuGX
drakonis_ has joined #nixos
<dminuoso> This is brilliant. So the authors took all the shared objects from various libraries and all tossed them into the top level directory of this package.
<dminuoso> And then tarballed it.
drakonis has quit [Ping timeout: 248 seconds]
JosW has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<{^_^}> [nixpkgs] @vanschelven opened pull request #62661 → pythonPackages.swagger-spec-validator: init at 2.4.3 → https://git.io/fjuG5
<tilpner> arianvp: You'll have to ask someone else
<tilpner> arianvp: And glvnd isn't that old, maybe it isn't necessary anymore, but still exists because it used to be necessary? I don't know
MmeQuignon has joined #nixos
<o1lo01ol1o> I have a cabal file that needs some darwin frameworks. How can I pass these to a haskell derivation?
<{^_^}> [nixpkgs] @orivej-nixos pushed commit from @orivej to master « croaring: init at 0.2.61 »: https://git.io/fjuZe
ericsagnes has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #62601 → cockroachdb: 1.19.0 -> 1.19.1 → https://git.io/fjEQJ
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjuZL
knupfer has joined #nixos
bahamas has quit [Quit: leaving]
<Miyu-saki> I clicked the sponsor button on GitHub and holy crap, you guys are receiving much much less than I expected.
<Miyu-saki> Oh wait, that data is only until 2017 tho
Glider_IRC has joined #nixos
hmpffff has quit [Quit: nchrrrr…]
hmpffff has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #62583 → urh: 2.5.7 -> 2.6.0 → https://git.io/fjEyk
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjuZR
<marek> is it possible to boot the mininal ISO from PXE?
toppler`` has quit [Ping timeout: 258 seconds]
rprije has quit [Remote host closed the connection]
rprije has joined #nixos
eskytthe has joined #nixos
reinhardt has quit [Quit: Leaving]
ThatDocsLady_ has quit [Read error: Connection reset by peer]
toppler`` has joined #nixos
<Baughn> marek: That's not intended. See https://nixos.org/nixos/manual/index.html#sec-booting-from-pxe for how to do that.
<Baughn> marek: You can customize any of these installers however you like, though. Here's an example: https://github.com/Baughn/machine-config/tree/master/installer
ThatDocsLady_ has joined #nixos
xelxebar has quit [Remote host closed the connection]
xelxebar has joined #nixos
<marek> Baughn: that's so awesome, thank you
camsbury- has joined #nixos
filedesless has quit [Ping timeout: 246 seconds]
zupo_ has joined #nixos
zupo has quit [Ping timeout: 268 seconds]
vidbina has quit [Ping timeout: 252 seconds]
Jackneill has joined #nixos
<dminuoso> Is the `,locate` tool available through some package in <nixpkgs>?
<Taneb> dminuoso: nix-index
<genesis> https://pastebin.com/eeJuUXmJ my shell.nix, but entering shell pip or twine are not in path
<dminuoso> Taneb: Thanks! :)
<genesis> i wonder i'm missing something to get them , "python > from twine import *" works
<{^_^}> [nixpkgs] @ktf opened pull request #62662 → mpssh: init at 1.3.3 → https://git.io/fjunO
silver has joined #nixos
iqubic` has left #nixos ["ERC (IRC client for Emacs 26.1)"]
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/a46f2869838 (from 84 minutes ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
emptyflask has joined #nixos
halfbit has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/b71fa333282 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
MmeQuignon has quit [Ping timeout: 248 seconds]
MmeQuignon has joined #nixos
Orbstheorem is now known as orbstheorem
orbstheorem is now known as Orbstheorem
Orbstheorem is now known as orbstheorem
orbstheorem is now known as Orbstheorem
<genesis> it seems i should use python -m twine
<genesis> if i understand nix way to do.
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
drakonis has joined #nixos
zeta_0 has joined #nixos
drakonis_ has quit [Ping timeout: 258 seconds]
zeta_0 has quit [Client Quit]
ThatDocsLady_ has quit [Remote host closed the connection]
ThatDocsLady_ has joined #nixos
drakonis_ has joined #nixos
hmpffff has quit [Quit: nchrrrr…]
lopsided98 has quit [Remote host closed the connection]
ghasshee has joined #nixos
lopsided98 has joined #nixos
Elon_Satoshi has joined #nixos
npmccallum has joined #nixos
drakonis has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @teto opened pull request #62663 → luaPackages.luadbi: 0.7.1 -> 0.7.2 → https://git.io/fjucE
MmeQuignon has quit [Read error: Connection reset by peer]
drakonis has joined #nixos
zupo has joined #nixos
zupo has quit [Client Quit]
halfbit has quit [Quit: WeeChat 2.4]
Neo-- has joined #nixos
<{^_^}> [nixpkgs] @vanschelven opened pull request #62664 → pythonPackages.flask-swagger-ui: init at 3.20.9 → https://git.io/fjucy
infinee has joined #nixos
<infinee> Good evening, anyone know why when I remote ssh into my nixos, it's not setting up my nix profile? I can't even run 'ls' from the ssh session because it thinks nothing is installed.
werner291 has joined #nixos
<{^_^}> [nixpkgs] @vanschelven opened pull request #62665 → pythonPackages.pytest-flask: init at 0.15.0 → https://git.io/fjucQ
<lordcirth__> infinee, did you enable sshd in configuration.nix with "services.sshd.enable = true;" or some other way?
<infinee> "services.openssh.enable = true;"
<hyper_ch> infinee: configuration.nix helps to figure things out :)
<Baughn> infinee: Are you doing anything special from the client side? Does .ssh/config contain interesting lines?
<Baughn> *Bypassing* the default login profile is possible, given the right flags.
<infinee> Baughn: I don't have a ~/.config/ssh dir
<infinee> should it be openssh or sshd I'm enabling?
<Baughn> sshd is an alias for openssh.
<Baughn> infinee: And it's just ~/.ssh
MmeQuignon has joined #nixos
<Baughn> SSH is much older than the .config convention.
<infinee> Baughn: I only have some public keys in ~/.ssh
Mateon2 has joined #nixos
<infinee> dont' have ~/.ssh/config file either
Mateon1 has quit [Ping timeout: 245 seconds]
Mateon2 is now known as Mateon1
<Baughn> Right. Well, hand us your configuration.nix please.
<Baughn> infinee: Also, is your homedir migrated from a non-NixOS system by any chance? The one on the server, I mean.
<infinee> It shouldn't be. It was nixos installed from scratch
<infinee> all my old dotfiles I grabbed from git, but I'm using fish on this so my .bashrc shouldn't matter
<Baughn> Oh, that might be it. Fish, I mean.
<Baughn> Do you have 'programs.fish.enable = true' in your configuration.nix?
<Baughn> Aka. "
<Baughn> "Please pastebin it for us."
<Baughn> Your shell _needs_ to run /etc/profile, or the equivalent, and if fish doesn't do that by default then there you go. If you have the option of either setting 'programs.foo.enable' or adding 'foo' to environment.systemPackages, always do the former; don't do the latter.
<Baughn> It doesn't look like fish is bash-compatible, so it probably doesn't execute /etc/profile.
<{^_^}> [nixpkgs] @vanschelven opened pull request #62666 → python: azure-keyvault: init at 1.1.0 → https://git.io/fjuCv
<adisbladis> Also: Fish on Nix requires some special massaging (taken care of by programs.fish.enable on NixOS)
<Baughn> Right. Hence, always prefer `programs.foo.enable`.
<adisbladis> Baughn: It does (via fenv)
<Baughn> But not by default?
<Baughn> Either way, I wish we could warn about this somehow.
<Baughn> Maybe... hmm, a nixos-config-lint?
<Baughn> Could make nixos-rebuild run that.
Tucky has quit [Quit: WeeChat 2.4]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
dsx has joined #nixos
<tilpner> Baughn: Theoretically, there could be an assertion that checks if fish.enable = false and any of the user shells is fish
<dsx> fpletz: thank you for approval
Jackneill has quit [Ping timeout: 248 seconds]
<Baughn> tilpner: I'd like for any solution to also account for e.g. Java or mtr, and it shouldn't be absolute.
<Baughn> Seems like a case for lint, more than anything.
<tilpner> Oh, that seems harder or undesirable
<infinee> Baughn: https://pastebin.com/
Neo-- has quit [Ping timeout: 272 seconds]
* infinisil
<adisbladis> tilpner: We should probably have a warning if you try to set a login shell that's not in /etc/shells
warbo has joined #nixos
<Baughn> tilpner: As an assert, yes. As a lint, I think it'd be appropriate.
<{^_^}> [nixpkgs] @madjar merged pull request #62220 → keybase,keybase-gui: 3.2.2 -> 4.0.0 → https://git.io/fj0sj
<{^_^}> [nixpkgs] @madjar pushed 2 commits to master: https://git.io/fjuCq
<Baughn> adisbladis: Remove fish from systemPackages, add `programs.fish.enable = true`.
<Baughn> Er, infinee
o1lo01ol1o has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @c0bw3b merged pull request #62549 → qbs: 1.13.0 -> 1.13.1 → https://git.io/fjEXJ
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @r-ryantm to master « qbs: 1.13.0 -> 1.13.1 (#62549) »: https://git.io/fjuCm
<Baughn> infinee: Also, since that looks like a laptop, you might get some use from https://github.com/Baughn/machine-config/blob/master/modules/powersave.nix
<Baughn> Adjust to taste.
<warbo> hello, I've updated to 19.03 but my custom Emacs (lucid toolkit) is crashing
<warbo> it looks like it might be a known problem, to do with passing "-z nocombreloc" to the linker
<infinee> ahh thanks Baughn, that worked!!
<infinee> no it's not a laptop actually. it's my old development rig
<Baughn> With Optimus? Huh.
<warbo> I'm not sure where to look for that; would it be in the build script, as a gcc arg, or something?
<tilpner> adisbladis: Huh, I thought there was. Guess I misremembered that
<warbo> (I've very rarely used C)
<infinee> Baughn: not sure how that got in there. I'm using a gtx10709
<infinee> -9
MmeQuignon has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @vanschelven opened pull request #62667 → python: sh: fix (patch a test to be able to install again) → https://git.io/fjuCc
vidbina has joined #nixos
<{^_^}> [nixpkgs] @vanschelven opened pull request #62668 → python: python-redis-lock: init at 3.3.1 → https://git.io/fjuCg
<{^_^}> [nixpkgs] @fpletz pushed to staging « pulseaudio: fix alsa due to alsaLib headers move »: https://git.io/fjuC2
Jackneill has joined #nixos
<infinee> where/how do I configure sshd? /etc/static/ssh/sshd_config seems to be readonly (I'm guessing for a reason)
shibboleth has quit [Quit: shibboleth]
<clever> infinee: services.openssh in configuration.nix
linarcx has joined #nixos
<infinee> ahh programs.ssh.forwardX11=true; was what I was looking for
<{^_^}> [nixpkgs] @teto opened pull request #62669 → Add one latex and one lua LSP server → https://git.io/fjuCK
drakonis_ has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @vanschelven opened pull request #62670 → pythonPackages.flask-swagger: init at 0.2.14 → https://git.io/fjuCX
<tjay> So i was wondering if anyone can tell me how Gaming on NixOS is, reason i'm a streamer and i really like NixOS because 1. it's a Dutch Distribution -- 2. I like the Nix approach
drakonis_ has joined #nixos
<clever> tjay: obs and steam both work for me
<slabity> tjay: Steam works fine. Proton too
<Baughn> tjay: Steam works fine, most of the time. Some (C#-based, typically) games may need extra work.
<genesis> assaultcube forever
<Baughn> "NixOS is Dutch" is a poor reason to select an OS, though. ;P
<tjay> Baughn, i have to support my fellow dutch guys tho :P
<slabity> I did not even know NixOS is dutch.
<Taneb> Not the worst reason I've ever heard
thomasd has joined #nixos
<tjay> genesis, Xonotic is also a great game ;)
<thomasd> hi all, I'm wondering how I might implement this patchElf command in my default.nix file for a frontend JS project I'm buidling: https://github.com/flowtype/flow-bin/issues/62#issuecomment-372112278
<genesis> tjay : i don't have gpu
<thomasd> can anyone point me in the right direction of overriding the flow dependency installPhase with this binary patch?
<iceychris[m]> tjay: I use PCI passthrough with a windows vm: https://gist.github.com/techhazard/1be07805081a4d7a51c527e452b87b26
ericsagnes has joined #nixos
o1lo01ol1o has joined #nixos
averell has joined #nixos
<{^_^}> [nixpkgs] @vbgl merged pull request #54282 → ocamlPackages.alcotest: 0.8.2 -> 0.8.5 → https://git.io/fhRy6
<{^_^}> [nixpkgs] @vbgl pushed to master « ocamlPackages.alcotest: 0.8.2 -> 0.8.5 »: https://git.io/fjuWY
jomik has joined #nixos
<jomik> How can I add my own nur packages to my callPackage scope here ? https://gitlab.com/Jomik/nur-expressions/blob/master/default.nix#L14
knupfer has quit [Ping timeout: 248 seconds]
<tilpner> jomik: I suspect you want callPackageWith
alp has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #60349 → check-meta: use system tuple in platforms → https://git.io/fjGON
<{^_^}> [nixpkgs] @matthewbauer pushed 6 commits to master: https://git.io/fjuWW
<tilpner> > lib.callPackageWith (pkgs // { foo = 21; }) ({ foo }: foo * 2) {} # jomik
<{^_^}> 42
<Izorkin> ma27: please check #51902
<{^_^}> https://github.com/NixOS/nixpkgs/pull/51902 (by Izorkin, 24 weeks ago, open): mariadb.galera: 25.3.24 -> 25.3.26
<clever> newScope is also of use
<clever> > (pkgs.newScope { a = 42; }).callPackage ({ a }: a)
<{^_^}> value is a function while a set was expected, at (string):254:1
<clever> > (pkgs.newScope { a = 42; }).callPackage ({ a }: a) {}
<{^_^}> value is a function while a set was expected, at (string):254:1
<Izorkin> ma27: sorrynot to you
<tilpner> > (pkgs.newScope { a = 42; }) ({ a }: a) {} # clever
<Izorkin> matthewbauer: please check #51902
<{^_^}> 42
<{^_^}> https://github.com/NixOS/nixpkgs/pull/51902 (by Izorkin, 24 weeks ago, open): mariadb.galera: 25.3.24 -> 25.3.26
<clever> ah
<clever> the trick here, is that you can callPackage = pkgs.newScope { a = 42; };
<clever> and it will first search your set, then search pkgs
averell has quit [Ping timeout: 252 seconds]
ryantrinkle has joined #nixos
<ryantrinkle> I'm trying to use tikz via texlive, with this command line: nix-shell -p '(texlive.combine { inherit (texlive) scheme-basic tikz-cd; })'
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fjuWE
<{^_^}> [nixpkgs] @matthewbauer merged pull request #51902 → mariadb.galera: 25.3.24 -> 25.3.26 → https://git.io/fp5Ed
<ryantrinkle> getting this: ! LaTeX Error: File `tikz.sty' not found.
<matthewbauer> Izorkin: looks good! thanks for reminding me
<Izorkin> matthewbauer: thanks!
<o1lo01ol1o> I have a shellHook expression that sets 3 environment variables. when I enter the shell, one is correctly set, another is not set at all, and the third, LD_LIBRARY_PATH, is not set at all. What gives?
<ryantrinkle> i'm not too familiar with latex; anyone know how I can get tikz.sty in the right place?
thomasd has quit [Quit: Page closed]
<jomik> Thanks! I'll try that.
<tilpner> ryantrinkle: If you can spare the bandwidth, try scheme-medium instead
<infinee> thanks again Baughn and clever , I can ssh to my nixos and fwd'ing X11 now
<infinee> can get rid of extra keyboard/mouse on my desk lol
averell has joined #nixos
<Izorkin> to all - please check PR #44343 How to need to merge?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/44343 (by Izorkin, 43 weeks ago, open): mariadb: 10.2.17 -> 10.3.15
infinee has quit [Quit: leaving]
endformationage has joined #nixos
eskytthe has quit [Quit: Leaving.]
<ryantrinkle> tilpner: that worked; thanks!
werner291 has quit [Quit: Page closed]
arjen-jonathan has quit [Ping timeout: 248 seconds]
clacke_movim has left #nixos [#nixos]
<{^_^}> [nixpkgs] @kfiz opened pull request #62671 → tasks/networking-interfaces.nix: Enable ip_forwarding for ipv4 and p… → https://git.io/fju8I
clacke_movim has joined #nixos
mmlb6 is now known as mmlb
emptyflask has quit [Ping timeout: 248 seconds]
wfranzini has quit [Remote host closed the connection]
isHavvyGhosting has quit [Read error: Connection reset by peer]
<jomik> tilpner, clever: when I use `callPackage = pkgs.newScope pkgs'`, it does not seem that the callPackage that is passed around also carries this new scope? Some of my expressions use callPackage, and they also need access to pkgs'.
<tilpner> jomik: You can still do it, but I don't know how to cheaply do it. I'd suggest plugging it together manually
<jomik> Hmm, dammit :( Okay :)
<jomik> Seems a bit odd that the `callPackage` attribute isn't just itself though?
<{^_^}> [nixpkgs] @marsam merged pull request #62403 → brook: 20190401 -> 20190601 → https://git.io/fjEZu
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fju8z
Havvy has joined #nixos
Anton-Latukha has joined #nixos
<tilpner> Hmm, it should
<tilpner> No, that's makeScope
acarrico has joined #nixos
d10n-work has joined #nixos
<kraem> Can't find anything in the manual on ZFS. What I'm trying to do is dual boot macOS and nixOS. NixOS being on ZFS + LUKS encryption. Do you think i could follow this (accustomed to my setup of course: https://bpaste.net/show/f22128759758) https://nixos.wiki/wiki/Full_Disk_Encryption#zimbatm.27s_laptop_recommendation - stopping after the cryptsetup commands and continuing here
<kraem> https://nixos.wiki/wiki/NixOS_on_ZFS#Single-disk from the `zpool create..` and have a bootable system?
brejoc has quit [Ping timeout: 245 seconds]
<ar> kraem: you want both macos and nixos on a single pool?
werner291 has joined #nixos
<clever> kraem: this bash script will setup zfs on luks, and due to swap, it will also have lvm, but you could skip the lvm
<Izorkin> nh2[m]: checked?
<jomik> tilpner: How does makeScope work then? I figured callPackage originates from a makeScope call, right?
<tilpner> jomik: I'm not sure, never used it. You can look at the examples, but I'm not even sure it applies to your problem
Glider_IRC has quit [Ping timeout: 248 seconds]
<inquisitiv3> Is `callPackage ../path/to/directory {};` equivalent to `import ../path/to/directory { inherit [all arguments] };`?
<jomik> Maybe not :( Sucks having to pass some packages manually to my vimPlugins overrides tho :(
<tilpner> jomik: FWIW, extend would work, but might be too expensive
Glider_IRC has joined #nixos
<clever> inquisitiv3: close, callPackage also adds a .override function, to let you change the args later
Glider_IRC has quit [Read error: Connection reset by peer]
Glider_IRC has joined #nixos
thomasd has joined #nixos
<jomik> tilpner: extend?
<tilpner> inquisitiv3: It also inherits from the pkgs it kept a reference to, which you might sometimes not have yourself
<tilpner> > (pkgs.extend (self: super: { foo = 42; })).callPackage ({ callPackage }: callPackage ({ foo }: foo) {}) {} # jomik
<{^_^}> 42
<thomasd> I'm trying to override the 'installPhase' of the flow package in my default.nix, but I'm getting an error that the 'installPhase' is an unexpected argument: https://gist.github.com/tdietert/2c2e7544521df27dfaab35c1d7a1f91a
<kraem> clever: Cool - will look into (not super good with nix syntax yet though) - although I don't want to nuke macOS into orbit ;)
<{^_^}> [nixpkgs] @jtojnar merged pull request #62478 → maintainers/scripts/update.nix: various fixes → https://git.io/fjEEn
<{^_^}> [nixpkgs] @jtojnar pushed 10 commits to master: https://git.io/fju8D
<jomik> thomasd: use `overrideAttrs`
<clever> kraem: yeah, youll want to read that script as an example of how it works, and then run parts of it
<jomik> `overrideAttrs (old: { installPhase = ""; })`
<thomasd> jomik: thanks, is that in place of nixpkgs.flow.override?
<jomik> thomasd: inplace of `override`, yes.
<jomik> tilpner: That doesn't seem too bad, expensive how? All of my buildOutputs was immediately resolved at least.
<tilpner> jomik: It might eat more memory, I'm not entirely sure
<jomik> Ahhh.
<jomik> I'll see how it works out, thanks. Dinner time! :)
jomik has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #44343 → mariadb: 10.2.17 -> 10.3.15 → https://git.io/fNKcM
<{^_^}> [nixpkgs] @matthewbauer pushed 5 commits to master: https://git.io/fju8F
<Izorkin> matthewbauer: thanks!
shibboleth has joined #nixos
Glider_IRC has quit [Ping timeout: 248 seconds]
<werner291> Hmmm... So I have this git repo with a single shell script in it. I've been trying to get that script to run periodically, but I'm not quite sure where to start...
<srk> ,timer
<srk> werner291: ^^
<werner291> Ooooh
<tilpner> IME you don't need the timers.*.partOf
Glider_IRC has joined #nixos
<inquisitiv3> clever, tilpner: Thanks for the quick answers!
<werner291> And how do I unstall the python dependencies? I've understand gitFetch can be used to clone the repo.
<{^_^}> [nixpkgs] @teto merged pull request #62265 → Update packet python → https://git.io/fj0MH
<{^_^}> [nixpkgs] @teto pushed 3 commits to master: https://git.io/fju4e
<tilpner> werner291: fetchgit, and you can probably just put them into the services path
drakonis has quit [Quit: WeeChat 2.4]
<tilpner> But we don't know your script, so...
<werner291> Trying to copy the script to show you what I've got so far...
<werner291> (Terminal won't let me, 1 sec)
<tilpner> ,paste werner291
<{^_^}> werner291: Use a website such as [ https://gist.github.com/ http://ix.io/ https://hastebin.com/ http://sprunge.us/ https://paste.ee/ ] or similar services to share anything that's longer than a couple lines.
acarrico has quit [Ping timeout: 272 seconds]
ilmu has quit [Ping timeout: 248 seconds]
drakonis has joined #nixos
<werner291> Nah, I meant copying the script out of my editor, it didn't seem to like the idea of me using my clipboard while using vim over ssh.
<werner291> That's what I have so far, I have no idea if it's even remotely correct syntactically.
<werner291> Just a general idea
<werner291> Basically, where in there (if it's even remotely going in the right direction) should I add the python package stuff)?
<{^_^}> [nixpkgs] @dywedir opened pull request #62672 → cargo-edit: 0.3.1 -> 0.3.2 → https://git.io/fju4L
<werner291> (I honestly don't know what I'm doing, I' pretty new to Nix)
drakonis_ has quit [Ping timeout: 258 seconds]
MmeQuignon has joined #nixos
<tilpner> werner291: I'd put path = [ (python3.withPackages (p: with p; [ ... ])) ]; in there
<werner291> Huh... That looks simple enough.
<tilpner> werner291: And then you can do ExecStart (or script) = "python3 ${...}/...";
<tilpner> werner291: But the timerConfig won't be accepted, compare with the wiki again
<werner291> And that doesn't affect any kind of global state? Does that affect other services on the system?
thomasd has quit [Ping timeout: 256 seconds]
<tilpner> werner291: The path? No, that's local to this service
<werner291> Nice!
zeta_0 has joined #nixos
drakonis has quit [Ping timeout: 248 seconds]
ym555 has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 26.2)]
ghasshee has quit [Ping timeout: 248 seconds]
<marek> can omeone please ask ofbord to build https://github.com/NixOS/nixpkgs/pull/62629 please?
<{^_^}> #62629 (by mmahut, 22 hours ago, open): wasabiwallet: init at 1.1.5
MmeQuignon has quit [Ping timeout: 248 seconds]
ThatDocsLady_ has quit [Remote host closed the connection]
ThatDocsLady_ has joined #nixos
rfold has joined #nixos
mariel__ has joined #nixos
vidbina has quit [Ping timeout: 272 seconds]
ThatDocsLady_ has quit [Read error: Connection reset by peer]
drakonis has joined #nixos
<{^_^}> [nixpkgs] @kfiz closed pull request #62640 → Networking proxy arp fix → https://git.io/fjuU0
hmpffff has joined #nixos
nschoe has quit [Ping timeout: 245 seconds]
pie__ has quit [Ping timeout: 259 seconds]
MmeQuignon has joined #nixos
rprije has quit [Remote host closed the connection]
rprije has joined #nixos
arjen-jonathan has joined #nixos
<inquisitiv3> I'm getting a build error when I try to build my config for Home Manager, and can't figure what I'm doing wrong. Could one of you please take a quick look and see what I've done wrong? The error message is included in the snippet description.
<tilpner> inquisitiv3: "webBrowsers" can't just stand there
<tilpner> Just remove line 11
<tilpner> Hmm, you made the same mistake consistently
<tilpner> What are you trying to achieve?
<tilpner> You may be looking for imports = [ ./your-module.nix ];
<inquisitiv3> I'm trying to implement something similar to the Roles & profile design pattern that is/was used with Puppet
<tilpner> Yes, imports it is
<gchristensen> sounds cool inquisitiv3. I've toyed with that a bit, I look forward to seeing what you do!
<tilpner> (The alternative is importing everything and defining a bunch of options, which is more work. You can do that later)
mariel__ has quit [Quit: Leaving]
<inquisitiv3> Do I need to have `imports = [ ./your-module.nix ];` in the `let` expression? Or can I have it directly in the function body?
mk_modrzew has joined #nixos
<inquisitiv3> gchristensen: Thanks! It's nothing special and advanced, just a lot of imports currently :P
alp has joined #nixos
sigmundv has quit [Ping timeout: 245 seconds]
<tilpner> inquisitiv3: Put it into the set you return
<tilpner> inquisitiv3: So { ... }: { imports = [ ... ]; }
<marek> adisbladis: hmm, I added platforms.linux, wondering if it should be explicitly x86_64
<tilpner> You can of course put a let inbetween there
<adisbladis> marek: In your case it needs to be explicitly x86_64
<adisbladis> marek: `platforms = [ "x86_64-linux" ];`
<marek> adisbladis: ok, now fixed:)
<inquisitiv3> tilpner: Thanks a lot for your help! It builds successfully now :D
MmeQuignon has quit [Read error: Connection reset by peer]
ilmu has joined #nixos
Mateon1 has quit [Ping timeout: 252 seconds]
fusion809 has joined #nixos
acarrico has joined #nixos
ubert has quit [Ping timeout: 248 seconds]
Acou_Bass has joined #nixos
werner291 has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @obadz closed pull request #62484 → networkmanager: 1.18.0 -> 1.18.1 → https://git.io/fjEuq
Mateon1 has joined #nixos
acarrico has quit [Ping timeout: 248 seconds]
Rabautius has joined #nixos
Jetien_ has quit [Ping timeout: 244 seconds]
drakonis has quit [Read error: Connection reset by peer]
drakonis has joined #nixos
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.1]
<ashkitten> fsr my nixos desktop stops resolving dns every time i rebuild the config, i have to reconnect to the network
drakonis has quit [Client Quit]
M-Gregoire4 has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer pushed to master « systems: add missing doubles »: https://git.io/fjuBe
acarrico has joined #nixos
freeman42x has joined #nixos
tjay has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @matthewbauer pushed to master « systems: fixup from last commit »: https://git.io/fjuBt
ilmu has quit [Ping timeout: 258 seconds]
<acowley> I am building an executable for ARM (Raspberry Pi) on an x86_64 machine. I now want to strip the executable on the build platform before copying it to the target machine. This used to work using the regular strip from binutils on the build machine, but it no longer does. Is there a way to build a strip executable that knows how to understand ARM executables?
jluttine has quit [Quit: WeeChat 2.4]
simon_weber has joined #nixos
jasongrossman has quit [Ping timeout: 245 seconds]
<acowley> It cuts about 2MB from this executable, so is a minor nice thing to have working.
<matthewbauer> acowley: yeah binutils is target specific
<matthewbauer> you need `(import <nixpkgs> {crossSystem = {...};}).buildPackages.binutils`
jluttine has joined #nixos
<{^_^}> [nixpkgs] @veprbl merged pull request #62630 → gildas: 20190501_a -> 20190601_b → https://git.io/fjEjX
<{^_^}> [nixpkgs] @veprbl pushed 2 commits to master: https://git.io/fjuBW
<acowley> matthewbauer: Ah, thank you! I had almost gotten there, but then got myself turned around.
<simon_weber> I'm looking to deploy a custom python server application. Currently it's not set up as an installable python package -- the source is just copied to the server. Is there an equivalent approach in nix, or do I have to make it a real package and add versioning, etc?
<acowley> strip is only in binutils-unwrapped for some reason, and it's buried under a platform directory, but it all works now.
<acowley> The cross compilation chapter of the manual tripped me up because it made me want to specifically set buildPlatform, hostPlatform, and targetPlatform
<acowley> But I couldn't do that
<acowley> I already happened to have a crossSystem configured nixpkgs in my .nix file, but I missed the point that the buildPackages attribute would have hostPlatform set to my buildPlatform.
<marek> adisbladis: hm, github is saying changes are requested, but I do not see how to make sure to confirm it is provided
toppler`` has quit [Ping timeout: 248 seconds]
Glider_IRC has quit [Quit: Leaving]
judson has joined #nixos
Glider_IRC has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #62165 → trinity: small clean up → https://git.io/fjRxt
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fjuBr
<{^_^}> [nixpkgs] @romildo opened pull request #62673 → mate.mate-user-share: add dbus-glib dependency → https://git.io/fjuB6
orivej has quit [Ping timeout: 248 seconds]
toppler`` has joined #nixos
orivej has joined #nixos
<{^_^}> [nixpkgs] @primeos merged pull request #62608 → sway: 1.0 -> 1.1.1 → https://git.io/fjEdu
<{^_^}> [nixpkgs] @primeos pushed 4 commits to master: https://git.io/fjuBF
<{^_^}> [nixpkgs] @Ma27 merged pull request #62563 → rspamd: 1.9.2 -> 1.9.4 → https://git.io/fjE1v
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fjuBb
bjpbakker has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #62657 → kronometer: adding homepage and description → https://git.io/fju39
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fjuBA
Jackneill has quit [Ping timeout: 258 seconds]
Rabautius has quit [Remote host closed the connection]
camsbury has quit [Remote host closed the connection]
camsbury- has quit [Remote host closed the connection]
<kraem> clever: in the justdoit.nix script you sent me you're creating a swapdevice, would it be possible to have a swap file within one of the zfs filesystems or create a separate zfs filesystem for it?
shabius has joined #nixos
<gchristensen> are you aware of the hazards of swap on zfs?
Soo_Slow has quit [Remote host closed the connection]
<bjpbakker> Hi, since about a week I get a lot of 'HTTP error 200 (curl error: Failure when receiving data from the peer)' errors during a system rebuild. I am on the unstable channel. Is this some known issue?
<clever> kraem: what gchristensen said ^^
<kraem> gchristensen: i am not
orivej has quit [Ping timeout: 272 seconds]
<kraem> but it's safe to create a swap "partition" or filesystem under the zfs pool as you did in your script? I just thought it would be nice to not determine the amount of swap i want/need while paritioning (i basically just want it to suspend+hibernate = because bad batter in laptop)
<clever> kraem: my swap device on lvm on luks
andymandias has joined #nixos
<clever> so zfs is being bypassed
<clever> but with recent improvements to nixos, you can just make 2 luks devices, one for zfs, one for swap, and share the passphrase
srl295 has joined #nixos
weedloser has quit [Quit: Leaving]
<kraem> ah that's why you're running LVM? was hoping i'd be able to skip that abstraction layer (to remember what i've done later :P)
<kraem> would i be prompted to enter the password for both luks volume on startup in that case (creating 2 LUKS devices)?
<{^_^}> [nixpkgs] @jonringer opened pull request #62674 → lutris: add hicolor theme → https://git.io/fjuRB
<colemickens> Anyone have a fontconfig in nix config that they're particularly proud or or happy with?
ambro718 has joined #nixos
<clever> kraem: thats the recent improvement to nixos
<clever> kraem: it will remember the passphrase, and try it on the 2nd luks device for you
<clever> which is why i previously used lvm
bjpbakker has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #62606 → nixos/grub: Add defaultText for font option → https://git.io/fjE5E
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fjuRV
gml8 has joined #nixos
knupfer has joined #nixos
knupfer has quit [Client Quit]
gentauro has joined #nixos
<simon_weber> I'm confused about how paths are handled: why is it that `./dir` and `./file.foo` are valid, but `./` and `.` give a syntax error? Strangely, `./dir/..` appears to work for referring to the current directory.
<gchristensen> ./. works
<simon_weber> ah
<simon_weber> any idea where those docs are?
Ariakenom has joined #nixos
gml8 has quit [Client Quit]
<samueldr> though it's not exactly written that it must not end with a slash
Orbstheorem has left #nixos ["WeeChat 1.8"]
<simon_weber> gotcha; thanks
shibboleth has quit [Quit: shibboleth]
<samueldr> relatedly, that chapter (15 currently) "Nix Expression Language" has been extremely useful when I was learning how to use and understand Nix
<kraem> clever: you think this would work? https://bpaste.net/show/7f2970de1d58
<{^_^}> [nixpkgs] @matthewbauer pushed to master « systems: fix lib-tests »: https://git.io/fju0f
vidbina has joined #nixos
ym555_ has joined #nixos
<clever> kraem: yep, looks perfect
<infinisil> > ././
<{^_^}> error: path '././' has a trailing slash
<kraem> clever: cool :) wish me good luck
ym555 has quit [Ping timeout: 245 seconds]
<kraem> oh btw; the ashift option, how do i find out what the sector size is on my ssd? or is it standard to use 12?
<clever> kraem: fdisk -l /dev/sda
<slabity> kraem: 12 bytes for a sector does not sound standard
Shoubit has quit [Ping timeout: 245 seconds]
<lordcirth__> slabity, ashift=12 means 2^12
<lordcirth__> It's a bitshift
fendor has quit [Ping timeout: 258 seconds]
<lordcirth__> 12=4k sectors
<IslandUsurper> Alright, from the NixOS manual, I read, "Warning: Unfortunately, Nixpkgs currently lacks a way to query available configuration options." What are my other options? Inspecting the expression in the source repo?
<slabity> IslandUsurper: For NixOS options? Use `man configuration.nix`
<IslandUsurper> Sorry, it's for a package's options, slabity.
johnnyfive has joined #nixos
<slabity> Yea... That's a bit more difficult
Ralith_ has joined #nixos
<kraem> `diskutil info | grep "Block Size"` reports 4096 but this says 8192 https://github.com/zfsonlinux/zfs/blob/master/cmd/zpool/zpool_vdev.c#L108 - what would happen if i go with 12 instead of 13?
<gchristensen> kraem: your disk is lying to you
<gchristensen> kraem: and that list corrects the lie
<IslandUsurper> Looking at https://github.com/NixOS/nixpkgs/blob/06602f4bc76e46fe25e4c6e6e3db3f62714451d7/pkgs/tools/filesystems/snapraid/default.nix#L23, it doesn't look like it has any, so now I need to figure out how to set up its config file and some cron jobs through Nixops.
MmeQuignon has joined #nixos
<kraem> gchristensen: yeah i found it at open-zfs.org - guess i'll just trust that source then :) - but could anything go wrong or would i just lose performance?
<gchristensen> performance
puckipedia has joined #nixos
tg has joined #nixos
puckipedia is now known as puck
Thra11 has joined #nixos
<{^_^}> [nixpkgs] @Synthetica9 opened pull request #62675 → waybar: 0.6.6 -> 0.6.7 → https://git.io/fju0W
<{^_^}> [nix] @edolstra pushed 11 commits to lazy-flakes: https://git.io/fju04
Ariakenom has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @KaiHa opened pull request #62676 → tor-browser-bundle: set default value for XAUTHORITY → https://git.io/fju0E
<{^_^}> [nixpkgs] @fpletz merged pull request #62556 → quantum-espresso: 6.4 -> 6.4.1 → https://git.io/fjEXK
<{^_^}> [nixpkgs] @fpletz pushed commit from @r-ryantm to master « quantum-espresso: 6.4 -> 6.4.1 (#62556) »: https://git.io/fju0u
<{^_^}> [nixpkgs] @fpletz merged pull request #62550 → qjackctl: 0.5.7 -> 0.5.8 → https://git.io/fjEXk
<{^_^}> [nixpkgs] @fpletz pushed commit from @r-ryantm to master « qjackctl: 0.5.7 -> 0.5.8 (#62550) »: https://git.io/fju0z
<{^_^}> [nixpkgs] @adisbladis merged pull request #62629 → wasabiwallet: init at 1.1.5 → https://git.io/fjEhY
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/fju0g
Ariakenom has joined #nixos
<{^_^}> [nixpkgs] @fpletz merged pull request #62565 → sabnzbd: 2.3.8 -> 2.3.9 → https://git.io/fjE14
<{^_^}> [nixpkgs] @fpletz pushed commit from @r-ryantm to master « sabnzbd: 2.3.8 -> 2.3.9 (#62565) »: https://git.io/fju0a
<kraem> clever: i don't need this line in configuration.nix `boot.supportedFilesystems = [ "zfs" ];`
<{^_^}> [nix] @edolstra opened pull request #2920 → Lazy flake input fetching → https://git.io/fju0V
<clever> kraem: boot.supportedFilesystems is based on fileSystems.*.fsType
<clever> so if any fs has the type zfs, it will support zfs automatically
ym555_ is now known as ym555
o1lo01ol1o has quit [Remote host closed the connection]
andymandias has quit [Quit: ZNC 1.7.2 - https://znc.in]
andymandias has joined #nixos
acarrico has quit [Ping timeout: 246 seconds]
<kraem> clever: alright, not sure i follow on that. But can i use this alternative to use systemd-boot instead? https://bpaste.net/show/8b2f62052381
wfranzini has joined #nixos
<clever> kraem: probably, i avoid systemd when possible
<{^_^}> [nixpkgs] @joelthompson opened pull request #62677 → botocore, boto3, awscli: 1.12.152->1.12.160, 1.9.152->1.9.160, 1.16.1… → https://git.io/fju0M
<hyper_ch> clever: systemd even loves you :)
<kraem> i have a couple of options to go with - i'll try and see if i get anywhere - thank you clever! :)
wfranzini has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @dtzWill opened pull request #62678 → ibm-plex: 1.4.1 -> 2.0.0 → https://git.io/fju0F
<{^_^}> [nixpkgs] @dtzWill opened pull request #62679 → vale: 1.4.0 -> 1.4.2 → https://git.io/fju0b
<{^_^}> [nixpkgs] @dtzWill opened pull request #62680 → jdupes: 1.12 -> 1.13 → https://git.io/fju0A
wfranzini has joined #nixos
orivej has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #62681 → fltrdr: 0.2.1 -> 0.3.1 → https://git.io/fjuET
<{^_^}> [nixpkgs] @dtzWill opened pull request #62682 → skype: 8.45.0.41 -> 8.46.0.60 → https://git.io/fjuEk
mexisme_ has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #62683 → tgt: 1.0.77 -> 1.0.78, touchup → https://git.io/fjuEm
drakonis has joined #nixos
<{^_^}> [nixpkgs] @bdesham opened pull request #62684 → trash: 0.9.1 -> 0.9.2 → https://git.io/fjuE3
acarrico has joined #nixos
knupfer has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #62685 → klavaro: 3.05 -> 3.07 → https://git.io/fjuEc
MmeQuignon has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @primeos pushed 2 commits to master: https://git.io/fjuEW
<{^_^}> [nixpkgs] @dtzWill opened pull request #62686 → john: 1.8.0-jumbo-1 -> 1.9.0-jumbo-1 → https://git.io/fjuE8
M-Gregoire4 has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @dtzWill opened pull request #62687 → calibre: 3.42.0 -> 3.44.0 → https://git.io/fjuEB
cyphase has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #62688 → public-sans: 1.003 -> 1.004 → https://git.io/fjuER
Jackneill has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #62689 → networkmanagerapplet: 1.8.20 -> 1.8.22 → https://git.io/fjuEE
<{^_^}> [nixpkgs] @dtzWill opened pull request #62690 → shadowfox: 2.0.1 -> 2.2.0 → https://git.io/fjuEu
<{^_^}> [nixpkgs] @matthewbauer merged pull request #62619 → julia: strip out gfortran refs → https://git.io/fjExk
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fjuEo
<{^_^}> [nixpkgs] @dtzWill opened pull request #62691 → spidermonkey_60: 60.4.0 -> 60.7.0 → https://git.io/fjuE6
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #62692 → trilium: 0.30.8 -> 0.32.3 → https://git.io/fjuEP
hmpffff has quit [Quit: nchrrrr…]
civodul has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #61266 → git-repo-updater: init at 0.5 → https://git.io/fjCS5
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fjuEM
o1lo01ol1o has quit [Ping timeout: 248 seconds]
fendor has joined #nixos
avn_ has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #62693 → harfbuzz: 2.5.0 -> 2.5.1 → https://git.io/fjuE9
<{^_^}> [nixpkgs] @dtzWill opened pull request #62694 → toybox: 0.8.0 -> 0.8.1 → https://git.io/fjuE5
ddellacosta has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #62695 → bro: 2.5.5 -> 2.6.2 → https://git.io/fjuEd
<{^_^}> [nixpkgs] @dtzWill opened pull request #62696 → radamsa: 0.5 -> 0.6 → https://git.io/fjuEN
thomasd has joined #nixos
M-Gregoire4 has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #62697 → pulseview, libsigrok: updates → https://git.io/fjuut
fendor_ has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #62698 → fakechroot: 2.19 -> 2.20.1, prefer patch and official source over "fork" → https://git.io/fjuuc
<CapsLock> is there a tool to find which package provides a given file ?
abaiste^ has joined #nixos
<infinisil> ,locate CapsLock
<infinisil> AH no
<{^_^}> Couldn't find in any packages
<infinisil> ,locate
<CapsLock> for a package not installed
<{^_^}> Use ,locate <filename> to find packages containing such a file. Powered by nix-index (local installation recommended)
<infinisil> CapsLock: ^^
<infinisil> And as a specialty for binaries, `,locate bin <binary name>`
<infinisil> ,locate bin gcc
<{^_^}> Found in packages: gcc, gcj, gcc5, gcc6, gcc7, gcc8, gcc48, gcc49, gccgo, gfortran, gcc_debug, gcc_multi, gfortran5, gfortran6, gfortran48, gfortran49, ccacheWrapper, distccWrapper, gcc-unwrapped, distccMasquerade
<CapsLock> .locate jarsigner
<{^_^}> [nixpkgs] @dtzWill opened pull request #62699 → udocker: 1.1.1 -> 1.1.3 → https://git.io/fjuuR
<CapsLock> .locate bin jarsigner
arjen-jonathan has quit [Ping timeout: 248 seconds]
<CapsLock> thanks infinisil
<{^_^}> [nix] @edolstra pushed to lazy-flakes « Shorter syntax for referencing flake outputs »: https://git.io/fjuuE
<infinisil> (It's a comma, not a period)
<CapsLock> i'll take a look at nix-index
MmeQuignon has joined #nixos
<CapsLock> ,locate bin jarsigner
<{^_^}> Found in packages: zulu, zulu8, jetbrains.jdk, adoptopenjdk-bin, adoptopenjdk-openj9-bin-11
<CapsLock> hannn thanks :)
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
Ariakenom has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @primeos pushed to master « gitRepo: 1.13.2 -> 1.13.3 »: https://git.io/fjuuz
fendor_ has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @dtzWill opened pull request #62700 → thin-provisioning-tools: 0.7.6 -> 0.8.2 → https://git.io/fjuu2
<joepie91[m]> ,locate libgobject-2.0.so.0
<{^_^}> Found in packages: glib
Jackneill has quit [Remote host closed the connection]
vidbina has quit [Ping timeout: 246 seconds]
<joepie91[m]> ,locate libnss3.so
<{^_^}> Found in packages: nss, palemoon, firefoxPackages.tor-browser, firefoxPackages.tor-browser-7-5
<joepie91[m]> ,locate libgtk-3.so.0
realloc has joined #nixos
<{^_^}> Found in packages: gnome3.gtk
<joepie91[m]> ,locate libpangocairo-1.0.so.0
<realloc> hi, can I also define dotfiles for users in the global configuration?
<{^_^}> Found in packages: gnome2.pango
knupfer has quit [Ping timeout: 248 seconds]
<joepie91[m]> realloc: home-manager may be what you're looking for
<joepie91[m]> (I don't think you can do it directly)
<realloc> joepie91[m]: Ok thank you
<{^_^}> [nixpkgs] @c0bw3b merged pull request #62688 → public-sans: 1.003 -> 1.004 → https://git.io/fjuER
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fjuuw
clacke_movim has left #nixos [#nixos]
<realloc> what about system wide configuration? For example i would like to set up icewm which searches configuration files in /etc/icewm
zupo has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #62680 → jdupes: 1.12 -> 1.13 → https://git.io/fju0A
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fjuuK
domogled has quit [Ping timeout: 252 seconds]
<joepie91[m]> ,locate libuuid.so.1
<{^_^}> Found in packages: libuuid, utillinux
domogled has joined #nixos
<joepie91[m]> realloc: a list of all available system/environment config options is at https://nixos.org/nixos/options.html#
<joepie91[m]> it seems to only have an 'enable' option for icewm though
<joepie91[m]> so you'll likely have to use the `environment.etc` option to create a config file for it
<joepie91[m]> at least, until somebody contributes a better module :)
<{^_^}> [nixpkgs] @dtzWill opened pull request #62701 → podman, cni{,-plugins}, cri*: updates → https://git.io/fjuui
clacke_movim has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #62702 → p11-kit: 0.23.15 -> 0.23.16.1 → https://git.io/fjuuX
<{^_^}> [nixpkgs] @dtzWill opened pull request #62703 → z3: 4.8.4 -> 4.8.5 → https://git.io/fjuuD
ris has joined #nixos
thomasd has quit [Ping timeout: 256 seconds]
Izorkin has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #62679 → vale: 1.4.0 -> 1.4.2 → https://git.io/fju0b
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fjuu9
clacke_movim has left #nixos [#nixos]
<{^_^}> [nixpkgs] @dtzWill opened pull request #62704 → gnss-sdr: 0.0.9 -> 0.0.10 → https://git.io/fjuuQ
<realloc> joepie91[m]: environment.etc sounds good, thx
rfold has quit [Quit: WeeChat 2.4]
clacke_movim has joined #nixos
fenedor has joined #nixos
fendor_ has joined #nixos
<realloc> btw. does anyone here use the nextcloud module? If so, could you share your config? I cant get the connection to the (postgresql) database to work
domogled has quit [Ping timeout: 258 seconds]
fendor has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @Infinisil merged pull request #58552 → nixos/deluge: add autFile, config and port options → https://git.io/fjTdu
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fjuze
andymandias has quit [Quit: ZNC 1.7.2 - https://znc.in]
clacke_movim has left #nixos [#nixos]
andymandias has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #62705 → pyotherside: 1.5.4 -> 1.5.5 → https://git.io/fjuzk
warbo has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @dtzWill opened pull request #62706 → buildah: 1.8.2 -> 1.8.3 → https://git.io/fjuzL
MmeQuignon has quit [Ping timeout: 272 seconds]
<tilpner> realloc: https://tx0.co/g3U
ym555 has quit [Ping timeout: 272 seconds]
<tilpner> (reload for full file if you opened it already)
clacke_movim has joined #nixos
<tilpner> Though note that there's a race condition on boot if you have cleanTmpDir on
MmeQuignon has joined #nixos
<klntsky> what is the fastest way to prefetch sha256 of a git repo?
<{^_^}> [nixpkgs] @joachifm merged pull request #62676 → tor-browser-bundle: set default value for XAUTHORITY → https://git.io/fju0E
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/fjuzO
<klntsky> i.e. nixpkgs repo
fendor_ has quit [Ping timeout: 248 seconds]
clacke_movim has left #nixos [#nixos]
<kraem> tilpner, clever, gchristensen Thank you so much for your help. I'm up and running on my macbook with zfs+luks now :) Alot of tweaking left but the hard part is over - so nice to have a reproducable setup!
<kraem> clever: can't remember exactly what the nixos-install command said but i ended up commenting out 'boot.suppertedFileSystems = [ "zfs" ];`
civodul has quit [Quit: ERC (IRC client for Emacs 26.2)]
clacke_movim has joined #nixos
pie__ has joined #nixos
ym555 has joined #nixos
<pie__> anyone been experiencing wifi breakage recently
clacke_movim has left #nixos [#nixos]
obfusk has joined #nixos
linarcx has quit [Quit: WeeChat 2.4]
obfusk has quit [Client Quit]
obfusk has joined #nixos
<glenndavy> hi all, looking for some help with whats probably a simple thing; I can do: `nix-env -i ‘bash-interactive-5.0-p7’ and install an interactive bash shell into my profile.
<{^_^}> [nixpkgs] @thoughtpolice merged pull request #62651 → websocat: add support for wss:// → https://git.io/fjuqk
<{^_^}> [nixpkgs] @thoughtpolice pushed commit from @volth to master « websocat: add support for wss:// »: https://git.io/fjuzK
<glenndavy> i need to acheive the same net effect in nix-shell and can’t workout the correct incantation to insert into my array of buildInputs to make this happen.
<gchristensen> bashInteractive :)
<glenndavy> anyone able to gimme a hint?
<gchristensen> ,iA
lucus16 has joined #nixos
<glenndavy> ohh.. ok, let me give that a whirl
<gchristensen> ,-a glenndavy
<{^_^}> glenndavy: You'll usually want to use nix-env -i with -A. It's faster and more precise. See https://nixos.wiki/wiki/FAQ/nix-env_-iA for details.
<glenndavy> gchristensen: so in the spirit of learning to fish, how would I iner that?
<glenndavy> hm, so nix-env -i is working fine
<gchristensen> how did you find bash-interactive-5.0-p7?
orivej has quit [Ping timeout: 272 seconds]
<glenndavy> i driilled into the source code of nix packages
<glenndavy> 5.0.nix in bash
<gchristensen> oh wow :)
<gchristensen> okay
<gchristensen> try `nix search bash`
<glenndavy> but can’t see how i’d infer what to put into shell.nix
<glenndavy> that nix search didn’t work for me
<gchristensen> what did it do?
<pie__> man i dont really want to downgrade everything to fix my wifi tho
Thra11 has quit [Ping timeout: 248 seconds]
<glenndavy> ```
<glenndavy> warning: using cached results; pass '-u' to update the cache
<glenndavy> error: no results for the given search term(s)!
<gchristensen> what if you pass -u
drakonis has quit [Ping timeout: 268 seconds]
<glenndavy> :)
<glenndavy> error: no results for the given search term(s)!
<gchristensen> oy
<gchristensen> see the attributeName column
toppler`` has quit [Ping timeout: 252 seconds]
<glenndavy> oic, nice thanks
drakonis has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #62559 → reaper: 5.974 -> 5.978 → https://git.io/fjEXS
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fjuzD
ericsagnes has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @c0bw3b merged pull request #62499 → picard-tools: 2.19.2 -> 2.20.2 → https://git.io/fjEg1
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fjuz9
ddellacosta has quit [Ping timeout: 244 seconds]
ericsagnes has joined #nixos
toppler`` has joined #nixos
<{^_^}> [nixpkgs] @roberth merged pull request #62682 → skype: 8.45.0.41 -> 8.46.0.60 → https://git.io/fjuEk
<{^_^}> [nixpkgs] @roberth pushed 2 commits to master: https://git.io/fjuz5
<{^_^}> [nixpkgs] @michaelpj opened pull request #62707 → asciidoctor: update to 2.0.10 → https://git.io/fjuzd
clacke_movim has joined #nixos
abathur has joined #nixos
<glenndavy> gchritensen sorry to bug you again, but bashInteractive* (afaict) doesn’t install any binaries ?
<glenndavy> hmm, though the derivation does specfify output binaries.. i’ll look deeper firsr
<gchristensen> glenndavy: what are you seeing to think that?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<gchristensen> fwiw, bashInteractive should already be in your nix-shell
<gchristensen> since Nix uses bashInteractive as its shell
<glenndavy> oh.. then i shouldn’t have needed to be doing this, ok
<glenndavy> so at the end of my shell.nix i build up a PATH from the build inputs
<glenndavy> which generally seems to work but perhaps it isn’t doing it correctly for bashInterative
<clever> glenndavy: the buildInputs should be added to PATH automatically
clacke_movim has left #nixos [#nixos]
<glenndavy> *blink*
<glenndavy> has that always been the case?
<clever> yes
<gchristensen> yea
<clever> at least since i started using nixpkgs (2+ years ago)
<clever> the source shows signs of an ancient time when buildInputs wasnt a thing
<glenndavy> :/ dang, i guess thats the danger of using googled blog posts
<gchristensen> been that way since before january 2016
<glenndavy> i did this a year or so back and it was only way i could get a useful shell
<glenndavy> ok
<gchristensen> clever: and you were here on the day I first learned of NixOS, so your 2+ years is stale :P
<glenndavy> imagonna remove my path building/mangling and see if that magically thixes all the things
<clever> gchristensen: dang!, i thought you where here before me!
<clever> $ head ~/irclogs/freenode/#nixos.log
<clever> --- Log opened Thu Jun 25 11:13:00 2015
<clever> 2016-01-15 20:56:56-!- gchristensen [~gchristen@unaffiliated/grahamc] has joined #nixos
<gchristensen> yeah, my first join was 2016-01-15 19:56:56 (UTC)
<gchristensen> (maybe not UTC..)
<clever> yeah, i beat you by about 6 months
<clever> 2016-01-15 21:11:11< gchristensen> henrytill: <turning a joking conversation serious> has there been any looking / work at an embedded nixos?
<clever> gchristensen: still need an answer? :P
fendor_ has joined #nixos
<glenndavy> LOL faark.. ok, thanks gchristensen and clever… _not_ explicitly building my PATH has fixed everything
<glenndavy> thansk again
<{^_^}> [nixpkgs] @ktor opened pull request #62708 → bcompare: init at 4.2.10.23938 → https://git.io/fjuzh
<gchristensen> yay :)
<gchristensen> clever: not any longer :)
sestrella has joined #nixos
<glenndavy> would love to understand why `nix search` doesn’t work. my pkg source is a local checkout.. is there a config that should point search there?
<clever> glenndavy: nix search -f . things
alp has quit [Ping timeout: 244 seconds]
<clever> that will load . rather then <nixpkgs>
erudition has joined #nixos
<glenndavy> ooohh.. that worked. thanks!
<clever> glenndavy: can you pastebin the shell.nix file?
drakonis has quit [Ping timeout: 258 seconds]
drakonis has joined #nixos
fendor_ has quit [Ping timeout: 248 seconds]
<glenndavy> thanks, trying now.. though, you know i fixed my problem commenting out the path building ?
<clever> glenndavy: 80% of the things in your buildInputs wherent needed
alp has joined #nixos
<clever> and more could likely be removed, but would depend on what your doing exactly
<glenndavy> got it, thanks.. yep minimal is good
fendor_ has joined #nixos
<DigitalKiwi> how can i make bluetooth auto reconnect? my mouse is such that if i turn it off/on it disconnects bluetoothctl -> connect uuid usually grabs it but that's annoying and no mouse until then, recently I found I can open blueman-assistant and hit enter a few times aand that'll connect it too...
clacke_movim has joined #nixos
o1lo01ol1o has joined #nixos
<glenndavy> clever, seems to work, i guess if anything is now missing, i’ll just discover and re-add, but +1 thanks
clacke_movim has left #nixos [#nixos]
Anton-Latukha has quit [Quit: Leaving.]
Elon_Satoshi has quit [Read error: Connection reset by peer]
fendor_ has quit [Ping timeout: 248 seconds]
ambro718 has quit [Quit: Konversation terminated!]
clacke_movim has joined #nixos
Elon_Satoshi has joined #nixos
clacke_movim has left #nixos [#nixos]
MmeQuignon has quit [Ping timeout: 248 seconds]
clacke_movim has joined #nixos
daGrevis has joined #nixos
simon_weber has quit [Quit: Connection closed for inactivity]
goibhniu1 has quit [Ping timeout: 258 seconds]
clacke_movim has left #nixos [#nixos]
o1lo01ol1o has quit [Remote host closed the connection]
fenedor has quit [Quit: Leaving]
MmeQuignon has joined #nixos
emptyflask has joined #nixos
<{^_^}> [nixpkgs] @danbst merged pull request #53991 → build-support/make-initrd: Don't derive derivation name from file name → https://git.io/fhCrY
<{^_^}> [nixpkgs] @danbst pushed 2 commits to master: https://git.io/fju2C
<simukis_> given a `drv` path in nix-store can I obtain its expected output path (even if it does not yet exist)?
<clever> simukis_: nix show-derivation /nix/store/foo
daGrevis has quit [Quit: daGrevis]
daGrevis has joined #nixos
clacke_movim has joined #nixos
<simukis_> clever: thanks!
clacke_movim has left #nixos [#nixos]
ryantrinkle has quit [Ping timeout: 268 seconds]
clacke_movim has joined #nixos
sigtrm has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #62710 → nodejs-12_x: 12.3.1 -> 12.4.0 → https://git.io/fju22
clacke_movim has left #nixos [#nixos]
st4ll1 has quit [Quit: ZNC 1.7.3 - https://znc.in]
clacke_movim has joined #nixos
st4ll1 has joined #nixos
daGrevis has quit [Quit: daGrevis]
daGrevis has joined #nixos
Allen has joined #nixos
<Allen> Hi all, I am new to nixos. I did not figure out how to install `ag` command
<Allen> Anyone can give me some help? thanks
<lassulus> nix-shell -p ag
<lassulus> will open a temporary shell with ag
<lassulus> nix-env -iA nixos.ag will install it as user
<jackdk> have you found the nixos documentation? https://nixos.org/nixos/manual/index.html
<{^_^}> [nixpkgs] @petabyteboy opened pull request #62711 → lego: 2.2.0 -> 2.6.0 → https://git.io/fju2o
clacke_movim has left #nixos [#nixos]
clacke_movim has joined #nixos
<lassulus> adding pkgs.ag to environment.systemPackages in your configuration.nix will install it to your system
<Allen> ```
<Allen> error: attribute 'nixos' in selection path 'nixos.ag' not found
<lassulus> uff, was it nixpkgs.ag ?
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 258 seconds]
mbrgm_ is now known as mbrgm
<lassulus> I never use this method :d
<lassulus> :D
<Allen> thanks a lot. It works with nixpkgs.ag
<gxt> Allen: Or you could use ripgrep instead :P https://github.com/burntsushi/ripgrep#quick-examples-comparing-tools