gchristensen changed the topic of #nixos to: NixOS 18.03 and Nix 2.0 are released! || Share the output of nix-shell -p nix-info --run nix-info to help us help you. || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat
<fragamus> can anyone point to a pkg that patches a downloaded 32 bit executable to run on 64 bit arch
worldofpeace has quit [Remote host closed the connection]
jperras has joined #nixos
btbytes has joined #nixos
<clever> fragamus: skype
<fragamus> awesome
<clever> fragamus: beware, you need to look at the skype entry in all-packages.nix
<fragamus> yup i know i have been reading that for the past day
sbdchd has joined #nixos
karlguy has quit [Quit: Leaving]
<fragamus> clever: skypeforlinux right?
<clever> fragamus: not sure on that one, they have redone things since i last looked
<clever> fragamus: i think that one is 64bit
Jason_Grossman has quit [Ping timeout: 240 seconds]
<fragamus> yes it is
steell_ has joined #nixos
<clever> zsnes = callPackage_i686 ../misc/emulators/zsnes { };
<clever> fragamus: this one is 32bit, and compiled
<fragamus> ok super nintendo
btbytes has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
btbytes has joined #nixos
btbytes has quit [Client Quit]
<Myrl-saki> Wtf.
<Myrl-saki> What does enable-kernel do?
<Myrl-saki> (glibc)
<Myrl-saki> "compile for compatibility with kernel not older than VERSION"
<Myrl-saki> I guess this is a hard requirement.
<Myrl-saki> The minimum Linux kernel version that this version of the GNU C Library can be used with is 3.2, except on i[4567]86 and x86_64, where Linux kernel version 2.6.32 or later suffices (on architectures that already
<Myrl-saki> So I really have to downgrade to 2.23.
cheater has quit [Ping timeout: 260 seconds]
cheater has joined #nixos
andymandias has quit [Ping timeout: 255 seconds]
<Myrl-saki> Maybe I can LD_PRELOAD the kernel version reporting.
andymandias has joined #nixos
linuxdaemon has quit [Ping timeout: 256 seconds]
roconnor_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @NeQuissimus pushed 5 commits to master: https://git.io/f47hr
patrl has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.03 « linux: 4.9.109 -> 4.9.110 »: https://git.io/f47hi
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.03 « linux: 4.14.51 -> 4.14.52 »: https://git.io/f47hM
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.03 « linux: 4.16.17 -> 4.16.18 »: https://git.io/f47hy
linuxdaemon has joined #nixos
roconnor_ has joined #nixos
ericsagnes has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus pushed 4 commits to release-18.03: https://git.io/f47h9
Drakonis has quit [Remote host closed the connection]
fragamus_ has joined #nixos
aarvar has quit [Ping timeout: 240 seconds]
patrl has joined #nixos
btbytes has joined #nixos
roconnor has joined #nixos
Drakonis has joined #nixos
roconnor__ has joined #nixos
roconnor_ has quit [Read error: Connection reset by peer]
worldofpeace has joined #nixos
fragamus_ has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
roconnor has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @TimPut opened pull request #42635 → darktable: add opencl support → https://git.io/f47j0
<steell_> if i install gparted via nix-env -i, how do i launch it as root? `sudo gparted` says 'command not found'
<clever> steell_: sudo may reset PATH on you, try `sudo ~/.nix-profile/bin/gparted`
<steell_> yup that did it :) thx
oahong has joined #nixos
andreabedini has joined #nixos
btbytes has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
i0-dfn has quit [Ping timeout: 256 seconds]
i0-dfn has joined #nixos
btbytes has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/e01db49bfa4 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
btbytes has quit [Client Quit]
justbeingglad has joined #nixos
blonkhart has joined #nixos
silver has quit [Read error: Connection reset by peer]
steell_ has quit [Ping timeout: 245 seconds]
matthewbauer has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
matthewbauer has quit [Read error: Connection reset by peer]
justbeingglad has left #nixos [#nixos]
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
oahong has quit [Ping timeout: 256 seconds]
stepcut has joined #nixos
oahong has joined #nixos
<{^_^}> [nixpkgs] @aespinosa opened pull request #42636 → nexus: 3.11.0 -> 3.12.1 → https://git.io/f45eP
matthewbauer has joined #nixos
worldofpeace has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @matthewbauer opened pull request #42637 → trivial-builders: disallow sub in requireFile → https://git.io/f45vJ
worldofpeace has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
matthewbauer has quit [Read error: Connection reset by peer]
stepcut has quit [Ping timeout: 240 seconds]
matthewbauer has joined #nixos
newhoggy has quit [Remote host closed the connection]
newhoggy has joined #nixos
matthewbauer has quit [Ping timeout: 240 seconds]
fresheyeball has joined #nixos
phdoerfler has quit [Quit: Leaving.]
ryantrinkle has quit [Ping timeout: 276 seconds]
tput has joined #nixos
matthewbauer has joined #nixos
<ldlework> I have two nixops deployments. They *seem* to share the same keypair... I can't delete the one until all of the assets are destroyed, but that will destroy the keypair for my other deployment too.
<ldlework> What do?
hoshineko has joined #nixos
<ldlework> nevermind
<tput> I've got a package that produces both libraries and binaries. The binaries can't find the libraries, but run fine if I manually append to LD_LIBRARY_PATH. Is there a nice way to wrap a half-dozen binaries to append to their paths?
chessai has quit [Ping timeout: 240 seconds]
<fresheyeball> yo folks
<fresheyeball> I got an actual fun one
chessai has joined #nixos
<fresheyeball> I this was Haskell I would use foldl and fold over (.)
matthewbauer has quit [Ping timeout: 240 seconds]
<fresheyeball> can I do that in nix?
matthewbauer has joined #nixos
matthewbauer has quit [Read error: Connection reset by peer]
matthewbauer has joined #nixos
tzemanovic has quit [Remote host closed the connection]
acarrico has quit [Ping timeout: 256 seconds]
hyper_ch has quit [Quit: ZNC 1.6.5 - http://znc.in]
hyper_ch has joined #nixos
acarrico has joined #nixos
<fresheyeball> oh I got it
<fresheyeball> nice
<fresheyeball> foldl' though? the builtin is the haskell wart? thats kinda not cool
<fresheyeball> if we get but one fold in builtins, it should just be called `fold` not `foldl'`
Adluc has quit [Ping timeout: 245 seconds]
fragamus has quit [Read error: Connection reset by peer]
matthewbauer has quit [Read error: Connection reset by peer]
aither has quit [Ping timeout: 256 seconds]
matthewbauer has joined #nixos
snajpa has quit [Ping timeout: 265 seconds]
tzemanovic has joined #nixos
srk has quit [Ping timeout: 265 seconds]
snajpa has joined #nixos
matthewbauer has quit [Read error: Connection reset by peer]
aither has joined #nixos
matthewbauer has joined #nixos
aw has quit [Remote host closed the connection]
spacefrogg has quit [Remote host closed the connection]
aw has joined #nixos
<adisbladis[m]> tput: You want to use patchelf I think
spacefrogg has joined #nixos
srk has joined #nixos
dbmikus_ has quit [Ping timeout: 240 seconds]
Adluc has joined #nixos
dmc has quit [Quit: WeeChat 2.1]
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/58905881da2 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
<fresheyeball> \q
stepcut has joined #nixos
fresheyeball has quit [Quit: WeeChat 2.0]
<glasserc> Something is showing up in my nix-shell that I don't expect.. how can I figure out why? Is there a way to show the dependency graph for a shell?
matthewbauer has quit [Ping timeout: 268 seconds]
dmc has joined #nixos
<glasserc> I see there's nix-store --graph, but I don't know how to get the hash of my shell
acarrico has quit [Ping timeout: 256 seconds]
lassulus_ has joined #nixos
Have-Quick has joined #nixos
alexteves has quit [Remote host closed the connection]
lassulus has quit [Ping timeout: 256 seconds]
lassulus_ is now known as lassulus
chessai has quit [Remote host closed the connection]
Have-Quick has quit [Remote host closed the connection]
btbytes has joined #nixos
<adisbladis[m]> glasserc: You could graph ls like this:
jperras has quit [Quit: WeeChat 2.1]
<adisbladis[m]> nix-shell -p graphviz imagemagick --run 'nix-store -q --graph $(which ls) | dot -Tpng | display'
<adisbladis[m]> Oh you might wanna try:
<adisbladis[m]> nix-shell -p graphviz --run 'nix-store -q --graph $(which ls) | dot -Tx11'
<adisbladis[m]> glasserc: Or use the nix 2.0 command `nix why-depends`
<worldofpeace> adisbladis[m]: https://github.com/NixOS/nixpkgs/pull/42610 <--- I left my review here for you btw
andreabedini has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
blonkhart has quit [Ping timeout: 268 seconds]
andreabedini has joined #nixos
halfbit has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @Ralith opened pull request #42638 → Vulkan updates → https://git.io/f45Ts
Ariakenom has joined #nixos
andreabedini has quit [Ping timeout: 256 seconds]
steell_ has joined #nixos
<adisbladis[m]> Bah. Gnome is annoying. Doesn't even want to start in qemu because of no accelerated graphics :/
steell_ has quit [Quit: Lost terminal]
patrl has quit [Ping timeout: 240 seconds]
<tput> adisbladis[m]: thanks! All packed up and PRed.
sbdchd has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @peterhoeg opened pull request #42639 → amarok: 2.8.91-20170228 -> 2.9.0-20180618 → https://git.io/f45ke
mariatsji has joined #nixos
<grantwu> So how do I fix my locale problems?
<grantwu> https://github.com/NixOS/nixpkgs/issues/38991#issuecomment-383837383 means that most programs are broken on the Ubuntu 16.04 + nixpkgs-unstable combination
btbytes has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hph^ has quit [Ping timeout: 260 seconds]
<grantwu> That's for NixOS
<grantwu> I'm not running NixOS
<grantwu> At least, that's my assumption
<worldofpeace> hmm, `set version-specific env variables`, i guess find the variables and what to set them. sucks that peti doesn't irc, he'd most likely tell you, if he knew.
<grantwu> He does; he's in #nixos-dev
<grantwu> When I asked about this issue, he said that nobody's working on it.
<grantwu> Really, there needs to be a big warning on Nix on non-NixOS
<grantwu> That it's really not a development priority
<worldofpeace> Right, cross-compiling is :P . Yeah I feel this pain
<grantwu> How exactly is this cross compiling?
<worldofpeace> Sorry, you said this issue wasn't a priority, and I made a joke that wasn't related to this.
<grantwu> Oh, you were saying that cross-compiling was a priority
blonkhart has joined #nixos
mahalel_ has quit [Remote host closed the connection]
Rusty1_ has quit [Quit: Konversation terminated!]
andreabedini has joined #nixos
MercurialAlchemi has joined #nixos
hph^ has joined #nixos
hph^ has quit [Max SendQ exceeded]
reinzelmann has joined #nixos
wchresta has joined #nixos
hph^ has joined #nixos
Lisanna has quit [Remote host closed the connection]
hph^ has quit [Max SendQ exceeded]
hph^ has joined #nixos
hph^ has quit [Max SendQ exceeded]
hph^ has joined #nixos
hph^ has quit [Max SendQ exceeded]
hph^ has joined #nixos
hph^ has quit [Max SendQ exceeded]
hph^ has joined #nixos
hph^ has quit [Max SendQ exceeded]
endformationage has quit [Quit: WeeChat 1.9.1]
Guanin has quit [Ping timeout: 245 seconds]
obadz- has joined #nixos
justbeingglad has joined #nixos
mariatsji has quit [Remote host closed the connection]
justbeingglad has quit [Remote host closed the connection]
reinzelmann has quit [Quit: Leaving]
obadz has quit [Ping timeout: 260 seconds]
obadz- is now known as obadz
justbeingglad has joined #nixos
worldofpeace has quit [Ping timeout: 255 seconds]
robstr has joined #nixos
Guanin has joined #nixos
Biappi has quit [Remote host closed the connection]
liori has quit [Remote host closed the connection]
cheater has quit [Ping timeout: 264 seconds]
mariatsji has joined #nixos
justbeingglad has left #nixos [#nixos]
wchresta has quit [Remote host closed the connection]
hamishmack has quit [Ping timeout: 240 seconds]
Drakonis has quit [Remote host closed the connection]
coot has joined #nixos
phreedom has quit [Ping timeout: 250 seconds]
jbgi has joined #nixos
phreedom has joined #nixos
<gchristensen> grantwu: yeah I mean this is a priority
<gchristensen> I don't have a solution for you, but this is absolutely a priority use case
periklis` has joined #nixos
jbgi has quit [Ping timeout: 245 seconds]
hoshineko has quit [Ping timeout: 256 seconds]
jD91mZM2 has joined #nixos
hyper_ch2 has joined #nixos
justbeingglad has joined #nixos
kreetx has joined #nixos
<thefloweringash[> hello, anyone happen to know why nixpkgs has mysql55 and mysql57, but not mysql56?
<etu> Probably because something in nixpkgs needs mysql55, but nothing really needed mysql56 when mysql57 was introduced
<etu> Is my guess
justbeingglad has left #nixos [#nixos]
kreetx has quit [Ping timeout: 240 seconds]
hamishmack has joined #nixos
boothead has quit [Ping timeout: 260 seconds]
Ariakenom has quit [Quit: Leaving]
tzemanovic has quit []
obadz- has joined #nixos
obadz has quit [Ping timeout: 240 seconds]
obadz- is now known as obadz
dejanr has quit [Ping timeout: 245 seconds]
tilpner has quit [Ping timeout: 265 seconds]
jensens has joined #nixos
dejanr has joined #nixos
tilpner has joined #nixos
mmercier has joined #nixos
reinzelmann has joined #nixos
mmercier has quit [Quit: mmercier]
civodul has joined #nixos
<{^_^}> [nixpkgs] @adisbladis merged pull request #42636 → nexus: 3.11.0 -> 3.12.1 → https://git.io/f45eP
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/f45Yg
i0-dfn has quit [Ping timeout: 248 seconds]
i0-dfn has joined #nixos
agander has joined #nixos
justbeingglad has joined #nixos
myshoe has joined #nixos
jb55 has quit [Ping timeout: 256 seconds]
justbeingglad has left #nixos [#nixos]
rprije has quit [Remote host closed the connection]
rprije has joined #nixos
andreabedini has quit [Read error: Connection reset by peer]
agander has quit [Remote host closed the connection]
agander has joined #nixos
andreabedini has joined #nixos
logzet has joined #nixos
obadz- has joined #nixos
obadz has quit [Ping timeout: 240 seconds]
obadz- is now known as obadz
asuryawanshi has joined #nixos
jackdk has quit [Ping timeout: 256 seconds]
palo has quit [Ping timeout: 256 seconds]
agander_ has joined #nixos
palo has joined #nixos
agander has quit [Ping timeout: 256 seconds]
agander__ has joined #nixos
agander_ has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #42633 → palp: fix runtime error introduced by #28029 → https://git.io/f47Fd
<{^_^}> [nixpkgs] @xeji pushed commit from @timokau to master « palp: fix runtime error introduced by #28029 (#42633) »: https://git.io/f45sv
<{^_^}> [nixpkgs] @xeji merged pull request #42627 → trezord: 2.0.12 -> 2.0.14 → https://git.io/f47zH
<{^_^}> [nixpkgs] @xeji pushed commit from @jb55 to master « trezord: 2.0.12 -> 2.0.14 (#42627) »: https://git.io/f45sl
agander__ has quit [Remote host closed the connection]
agander__ has joined #nixos
agander__ has quit [Remote host closed the connection]
agander__ has joined #nixos
<Mic92> thefloweringash[: probably because of unixODBCDrivers.mysql, which is now marked as broken
<{^_^}> [nixpkgs] @xeji merged pull request #42634 → python2Packages.rpy2: fix python2 compatibility → https://git.io/f47bq
<{^_^}> [nixpkgs] @xeji pushed commit from @timokau to master « python2Packages.rpy2: fix python2 compatibility (#42634) »: https://git.io/f45sd
goibhniu has joined #nixos
dadou has joined #nixos
Jason_Grossman has joined #nixos
agander_ has joined #nixos
<raynold> Ahh it's a wonderful day
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
agander__ has quit [Ping timeout: 256 seconds]
__Sander__ has joined #nixos
fl3 has joined #nixos
thc202 has joined #nixos
<tilpner> In with import (fetchTarball "channel:nixos-unstable-small") {}; python3Packages.vobject.overrideAttrs (old: { doCheck = false; }), shouldn't the tests be disabled?
thc202 has quit [Max SendQ exceeded]
thc202 has joined #nixos
Biappi has joined #nixos
blankhart has quit [Ping timeout: 256 seconds]
astrofog has joined #nixos
crmlt has joined #nixos
<thefloweringash[> tilpner: for reasons I have yet to understand, those tests are coming from the "installCheckPhase", which is controlled by "doInstallCheck"
<fl3> Hi! I have a library, looking for "xlib_xcb" with pkg-config. It needs libX11-xcb.so, which is in nix's xlibs.libX11. But its named x11-xcb for pkg-config. Any tips how to resolve this situation? Probably I should study a bit about pkgconfig, but no clues what exectly :(
<tilpner> thefloweringash[ - Huh, I had not heard of installCheck before, thank you! :)
orivej has joined #nixos
asuryawanshi has quit [Ping timeout: 245 seconds]
roberth has quit [Ping timeout: 260 seconds]
tilpner has quit [Remote host closed the connection]
sigmundv has joined #nixos
__monty__ has joined #nixos
kiloreux has joined #nixos
tilpner has joined #nixos
raving has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @peti pushed 2 commits to master: https://git.io/f458H
Aleksejs is now known as qkwefnqwej
jluttine has quit [Quit: WeeChat 2.1]
mathis[m] has joined #nixos
knupfer has joined #nixos
agander_ has quit [Quit: Leaving]
jluttine has joined #nixos
ma27 has quit [Ping timeout: 256 seconds]
qkwefnqwej is now known as Aleksejs
andreabedini has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aarvar has joined #nixos
ma27 has joined #nixos
roberth has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to release-18.03 « git-annex: update to version 6.20180626 »: https://git.io/f450Z
simukis has joined #nixos
asuryawanshi has joined #nixos
xy2_ has joined #nixos
knupfer has quit [Ping timeout: 260 seconds]
xy2_ has quit [Read error: No route to host]
xy3_ has joined #nixos
judson has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @7c6f434c merged pull request #40418 → lib, nixos: fix module aliases in presence of defaults → https://git.io/vpS5X
<{^_^}> [nixpkgs] @7c6f434c pushed 3 commits to master: https://git.io/f450S
phdoerfler has joined #nixos
alex`` has joined #nixos
philippD has joined #nixos
oida has quit [Ping timeout: 250 seconds]
humanoyd has joined #nixos
humanoyd has quit [Client Quit]
judson has joined #nixos
judson is now known as Guest20586
periklis` has quit [Ping timeout: 255 seconds]
justbeingglad has joined #nixos
crmlt has quit [Remote host closed the connection]
asuryawanshi has quit [Remote host closed the connection]
justbeingglad has quit [Client Quit]
asuryawanshi has joined #nixos
obadz- has joined #nixos
obadz has quit [Ping timeout: 260 seconds]
obadz- is now known as obadz
<Izorkin> How to need to merge PR https://github.com/NixOS/nixpkgs/pull/40686
phdoerfler has quit [Quit: Leaving.]
andymandias has quit [Ping timeout: 264 seconds]
Peaker has joined #nixos
<Peaker> hey, where's the default ghc defined? I'm grepping the nixpkgs repo and finding tons of references to various versions. I want to override the compiler version used in my nix file and don't know how
xy3_ has quit [Read error: No route to host]
andymandias has joined #nixos
<Peaker> how do I update my nix pkgs? git repo has 8.4.3 but "nix-env -f "<nixpkgs>" -qaP -A haskell.compiler" shows just 8.4.2 ?
Plato[m] has joined #nixos
<{^_^}> [nixpkgs] @ajs124 opened pull request #42643 → libvirt: fix iscsi storage support → https://git.io/f45VP
<Plato[m]> I have a simple default.nix just calling "callCabal2Nix" and I get the error: can't load .so/.DLL for: /nix/store/.../libHSiCalendar-0.4.0.4-KilMaWRP58N9bx2DbCVRFc-ghc8.2.2.so (... undefined symbol: iCalendarzm0zi4zi0zi4zmKilMaWRP58N9bx2DbCVRFc_PathszuiCalendar_version1_closure)"
Mateon3 has joined #nixos
lysk has joined #nixos
Mateon1 has quit [Ping timeout: 276 seconds]
Mateon3 is now known as Mateon1
<lysk> Hi! It seems as if I somehow managed to break my nix environment/profile on nixOS. Now I get error messages all the time (for example 'nix-env -i nix-repl' retunrns 'error: selector 'nix-repl' matches no derivations). Is there any easy and clean way to completely reset my profil (and also to delete another profile that I created for testing purposes)?
xy2_ has joined #nixos
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/f45wN
ericsagnes has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @peti pushed to release-17.09 « git-annex: update to version 6.20180626 »: https://git.io/f45r3
jensens has quit [Ping timeout: 276 seconds]
periklis` has joined #nixos
Jason_Grossman has quit [Ping timeout: 240 seconds]
Jason_Grossman has joined #nixos
alex`` has quit [Quit: WeeChat 2.1]
lysk has quit [Ping timeout: 260 seconds]
Ridout has joined #nixos
freeman42x]NixOS has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @volth opened pull request #42644 → [staging] always expose perl.version → https://git.io/f45Kt
<dadou> Hello, I am running on nixos. Whenever I want to use nix-env -iA (for ex), I need to be as root . Otherwise I have this error message: error: opening lock file '/nix/var/nix/profiles/default.lock': Permission denied. Does that mean that my nixos set up is wrong ?
glask has joined #nixos
<glask> Hey folks, for some reason installing packages via nix-env (on NixOs 18.03) doesn't work anymore on my computer. For example "nix-env -i nix-repl" just returns "error: opening lock file '/nix/var/nix/profiles/default.lock': Permission denied". This also happens for any other package I am trying to install. Does anyone of you maybe have an idea what I could do to solve this problem?
phdoerfler has joined #nixos
<etu> Hmm, now two people have asked the same question in a very short window of time (4 minutes apart).
<etu> dadou, glask: Have you updated your systems recently?
<LnL> glask: what does readlink ~/.nix-profile say?
<dadou> etu: not that I can recall. But I always had this behavior. Speaking to a friend helps me realise that it was not the usual way
flyx has quit [Ping timeout: 248 seconds]
aw has quit [Ping timeout: 240 seconds]
<LnL> no it's not, and there's no default profile on nixos by default
aw has joined #nixos
flyx has joined #nixos
iMatejC has quit [Ping timeout: 248 seconds]
makefu has quit [Ping timeout: 248 seconds]
<joepie91> this sounds like it may not be running in multi-user mode?
<{^_^}> [nixpkgs] @zimbatm merged pull request #42406 → (tiny_tds): adding configuration gem → https://git.io/f4yyo
<{^_^}> [nixpkgs] @zimbatm pushed commit from @nyarly to master « Adding config for the tiny_tds gem (#42406) »: https://git.io/f456e
<joepie91> possibly the daemon is broken
<LnL> nah
iMatejC has joined #nixos
<LnL> probably just the profile link, readlink ~/.nix-profile
<joepie91> what does `systemctl status nix-daemon` (as root) show?
<glask> LnL: ~/.nix-profile says /nix/var/nix/profiles/myName
xy2_ has quit [Ping timeout: 260 seconds]
<LnL> huh
<joepie91> specifically, does it show 'running' in green?
<etu> glask: not profile at the end?
<etu> glask: mine says /nix/var/nix/profiles/per-user/etu/profile
<glask> etu: no, that's really strange
<joepie91> ends with /profile for me as well, though i haven't checked if nix-env works here as I don't really use it
m0rphism has quit [Quit: WeeChat 1.9.1]
<glask> is there any way to reset the profile/switch back to normal?
<LnL> it should be something like /nix/var/nix/profiles/per-user/$USER/profile and that user directory should be owned by your user
<dadou> Ho maybe I found my issue: nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs:nixos-config=/etc/nixos/configuration.nix:/nix/var/nix/profiles/per-user/root/channels
<dadou> my nix_path looks like this
<dadou> whereas my username is adfaure
<LnL> just removing ~/.nix-profile should fix it, but then you loose what you had installed ofcorse
fl3 has quit [Remote host closed the connection]
<glask> okay, that shouldn't be a problem since I installed most of the important stuff via config. So just rm -rf ~/.nix-profile? or do I have to rebuild/reboot afterwards?
<LnL> dadou: that's normal, on nixos the channels are managed by root because of the system configuration
<LnL> glask: yeah, the next nix-env command will create a user profile for you if it doesn't exist yet
<glask> hmm no, still the same error after deleting it and trying nix-env --i nix-repl again...
<etu> glask: "nix repl" exists now
<LnL> hmm, this is on nixos right? is there a per-user directly for your user?
<glask> oh, yes, nix repl seems to work now. but installing packages still gives me the same error (opening lock file/permission denied)
knupfer has joined #nixos
<glask> yes, I'm on nixos and there is a directory for my user and for root in /nix/var/nix/profiles/per-user
<{^_^}> [nixpkgs] @volth opened pull request #42645 → perlPackages.BC: 1.54 -> 1.55 → https://git.io/f45iv
<dadou> LnL: same for me
<dadou> LnL: same for me
<etu> glask: I can install for example ipython with nix-env -iA, but I get the error about some db directory if I try to install nix-repl through nix-env
<Peaker> it's a bit funny that almost all the nix code I look at mainly does record updates, but record updates look like pre-lens nested record updates in Haskell (bad)
<LnL> strange, I wonder why it's not using that
<glask> etu: when using -iA instead of -i I get errors like "error: attribute 'neovim' in selection path 'neovim' not found"
<LnL> what about nix-env --switch-profile /nix/var/nix/profiles/per-user/$USER/profile
<LnL> !-A
<{^_^}> 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.
<LnL> you need to prefix those or user -f '<nixpkgs>'
<dadou> LnL: works for me
<dadou> to switch profile
phdoerfler has quit [Quit: Leaving.]
<LnL> you can install stuff now without sudo?
fendor has joined #nixos
<glask> LnL: I switched the profile to /nix/var/nix/profiles/per-user/$USER/profile. now installing via nix-env -i seems to work, however nix-env -A still returns "error: attribute 'neovim' in selection path 'neovim' not found"
mmercier has joined #nixos
<LnL> it's prefixed, use nix-env -f '<nixpkgs>' -iA neovim or nix-env -iA nixos.neovim
dadou has quit [Ping timeout: 260 seconds]
fendor has quit [Ping timeout: 260 seconds]
<LnL> you don't have to use -A ofcorse, but it has some disadvantages as explained on that wiki page
ericsagnes has joined #nixos
makefu has joined #nixos
<glask> LnL: right, I forgot the prefix! I'll have a closer look at the difference between -i and -iA! but now everything seems to be working again, after switching my profile :) so many thanks for your help!
<LnL> any ideas why it might have ended up like that?
<Izorkin> How to need to merge PR https://github.com/NixOS/nixpkgs/pull/40686
<glask> LnL: hmm, probably my own stupidity... I wanted to try out some overlay stuff a couple days ago and since then things have been a little strange. I think I also switched to/created a new profile for testing purposes, so I probably just switched back to the wrong directory (if that's evn possible)
phdoerfler has joined #nixos
rprije has quit [Ping timeout: 260 seconds]
liori has joined #nixos
<{^_^}> [nixpkgs] @volth opened pull request #42646 → perl-packages.nix: collect aliases → https://git.io/f45XY
rardiol1 has left #nixos [#nixos]
glask has left #nixos [#nixos]
raynold has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @Infinisil opened pull request #42647 → idrisPackages: Progress reporting → https://git.io/f451L
Jason_Grossman has quit [Ping timeout: 268 seconds]
iyzsong has joined #nixos
Jason_Grossman has joined #nixos
tzemanovic has joined #nixos
tmaekawa has joined #nixos
Jason_Grossman has quit [Ping timeout: 245 seconds]
chrisaw has joined #nixos
<chrisaw> Hey folks - I realise this is a daft question but I'm struggling to find the answer. What're the steps to install packages from a cloned nixpkgs repo? As in - I want to use the absolute latest packages before they're built (due to needing a fix for a ZFS issue which hasn't yet pushed out through normal channels.)
Jason_Grossman has joined #nixos
<srk> chrisaw: you just need to set NIX_PATH
<chrisaw> srk: Oh, heh - that simple ey? Thanks a lot! :D
<ben> this is not a daft question because theres like five mechanisms to achieve that for different nix tools
<srk> yeah, kind-of, we need a wiki page for that
<srk> I have it set to $ echo $NIX_PATH
<srk> /etc:nixpkgs=/etc/nixpkgs:nixos-config=/etc/nixos/configuration.nix
Ridout has quit [Ping timeout: 240 seconds]
<ben> /etc?
<ben> huh
<srk> but only recently realized that nix-env for users still relied on channel from installion
<srk> yeah, my nixpkgs clone is in /etc
iyzsong-x has joined #nixos
<ben> mh
iyzsong has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @srhb opened pull request #42648 → vimPlugins.dhall-vim: init at 2018-06-04 → https://git.io/f45Mh
<srk> when I remove the channel it breaks some stuff it looks like (e.g. nix-env -iA nixos.srk which is part of .config/nixpkgs/)
<ben> I have like NIX_PATH=/home/ben/.nix-defexpr/channels:nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos:nixos-config=/etc/nixos/configuration.nix:/nix/var/nix/profiles/per-user/root/channels which feels extremely too long
tzemanovic has quit [Remote host closed the connection]
kiloreux has quit [Ping timeout: 260 seconds]
<nyanloutre[m]> Hello, is there someone to review my PR ? It's a new python library so it shouldn't be very long :
<{^_^}> [nixpkgs] @volth opened pull request #42649 → automake111x: fix for perl5.26 ("Unescaped left brace in regex is illegal here") → https://git.io/f45DO
cheater has joined #nixos
agander_ has joined #nixos
agander_ is now known as agander
<chrisaw> srk: Thanks a lot - seems to have done the trick! :)
<srk> yw!
<srk> chrisaw: what kind of zfs patch btw?
<srk> yeah, I've managed to built it yesterday with 4.17
<srk> spl is now merged with zfs so one less autolulz run
cheater has quit [Ping timeout: 240 seconds]
<{^_^}> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/884d8c4d4b5 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
tzemanovic has joined #nixos
<chrisaw> srk: Exactly that - running a quite experimental piece of kit (GPD pocket) so need the latest drivers from 4.17 (preferably 4.18) but also want to run ZFS. :)
kiloreux has joined #nixos
<davidak_> what is the most elegant way to have a stable NixOS install and get SOME packages from unstable specified in configuration.nix?
<srk> heh
<infinisil> ,unstable davidak_
<srk> you're like 3rd person asking this today :)
<srk> infinisil: ! cool
<infinisil> I honestly don't really like the channel way described there though
<infinisil> Ah well, nah that's good
<srk> infinisil: how do you teach that bot new tricks?
<infinisil> ,help srk
<{^_^}> srk: Use `,` to list all commands, `,foo = Foo!` to define foo as "Foo!", `,foo =` to undefine it, `,foo` to output "Foo!", `,foo somebody` to send "Foo!" to the nick somebody
<srk> ty!
<infinisil> :)
<{^_^}> [nixpkgs] @timokau opened pull request #42650 → pynac: 0.7.21 -> 0.7.22 → https://git.io/f45So
__monty__ has quit [Quit: leaving]
<{^_^}> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/884d8c4d4b5 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
<nyanloutre[m]> ,
<{^_^}> All commands: -A IFD areyoualive ask bootfull callPackage channels cloudfront error escape" escape'' escape-special github hardware help hint home-manager karma library logs magic nix-env-r nix-info nix-repl nixcon nixeval notfound outPath overlay paste pills ping pinning pr pure-eval replaceModule runtimeDeps stateVersion stuck tofu unfree unstable whomademe
<infinisil> Feel free to try the bot out in #bottest :)
<infinisil> Spamming all commands I mean
<nyanloutre[m]> ok thank
<logzet> Maybe a dumb question: Is switching to nixos-unstable a bad idea?
<logzet> And does switching back to a normal release cause any problems in your experience? (I'm asking because iirc unstable has slightly newer software and I'm careful about downgrading the configuration in ~)
<davidak_> logzet, unstable is .. sometimes unstable :D
Michael3232 has joined #nixos
<davidak_> but yes, newer software
<davidak_> it might be a problem for some software, when a newer version writes a configuration, that an older version don't understand
<davidak_> for services configured by NixOS, it should be no problem
<srk> I'm running unstable for like a year now without issues
<srk> (master from git)
<{^_^}> [nixpkgs] @peti pushed commit from @PierreR to master « haskell-filecache: disable test suite on Darwin »: https://git.io/f459l
nschoe has joined #nixos
<logzet> My main motivation is to use packages that have not yet trickled down to stable
<logzet> davidak_: Have you encountered such an incompatibility?
<{^_^}> [nixpkgs] @peti closed pull request #42629 → Update configuration-common.nix → https://git.io/f47oO
<davidak_> i use stable
<davidak_> have used unstable on one machine, but not switched to stable again
<davidak_> was pretty usable, but has some more issues than stable (i reported of course)
<tilpner> logzet - In some situations, you can pick unstable software into your stable system. You don't have to switch completely
<logzet> tilpner: That sounds cool, does that work for packages that are not yet in stable?
<tilpner> Sure
<tilpner> ,unstable
xy2_ has joined #nixos
<davidak_> thats exactly what i want with the link i just got
<logzet> tilpner: Thanks, that is exactly what I am looking for :)
<tilpner> This works best for applications. Trying to pick core libraries into your system may cause a lot of rebuilding and wouldn't be worth it
<Peaker> how do I specify a specific version of a transitive Haskell dep I have? specifically, I use ghc 8.4.3, and testing-feat-0.4.3 is incompatible with that, but somehow still chosen as a dep
<Peaker> can I say something like testing-feat = callPackage "testing-feat_1_1_0_0"?
<glasserc> adisbladis[m]: Thanks
<cocreature> Peaker: the easiest way is to use callHackage ime
<logzet> tilpner: The one application I want to try is KAlarm, so this involves mixing KDE releases, let's see if it o
<logzet> works
<Peaker> cocreature, how? I'm a nix noob
<cocreature> Peaker: testing-feat = callHackage "testing-feat" "1.1.0.0" {};
<Michael3232> hey everyone i have a quick question, is it possible to get nixos-rebuild to force a complete rebuild of the configuration?
<cocreature> put that in overrides
andymandias has quit [Ping timeout: 248 seconds]
<Peaker> cocreature, thanks
alexteves has joined #nixos
blonkhart has quit [Ping timeout: 256 seconds]
<tilpner> Michael3232 - I forgot the syntax, but I think it's possible with a NIX_STORE=local?...
Jason_Gr` has joined #nixos
reinzelmann has quit [Remote host closed the connection]
coot has quit [Quit: coot]
reinzelmann has joined #nixos
andymandias has joined #nixos
Jason_Grossman has quit [Ping timeout: 248 seconds]
cheater has joined #nixos
emerson has quit [Quit: leaving]
<Peaker> how do I tell a Haskell package to --allow-newer? Is that what "jailBreak" is?
Jason_Grossman has joined #nixos
tmaekawa has quit [Quit: tmaekawa]
<Michael3232> thanks tilpner that seem to be working
<Taneb> Peaker: yeah, that's what jailBreak is
<{^_^}> [nixpkgs] @timokau opened pull request #42651 → palp: restrict platforms to linux → https://git.io/f45HN
Jason_Gr` has quit [Ping timeout: 240 seconds]
asuryawanshi has quit [Ping timeout: 255 seconds]
Jason_Gr` has joined #nixos
obadz- has joined #nixos
<layus> Any simple way to get a nix-shell with stdenvMulti ?
<Peaker> Taneb, thanks
<layus> I mean, a `nix-shell -p x -p y` with stdenvMulti ?
<Peaker> is there any way to make "nix build" go faster? Sometimes it takes >30 sec before it does anything
<layus> Peaker, have you tried nix-build ? No kidding, but nix-build tends to be more verbose
<layus> If it takes the same time, then you would at least know what's happening during that time.
<Peaker> thanks, I'll try it next time
Jason_Grossman has quit [Ping timeout: 268 seconds]
<layus> And if it is faster, then you can file a bug ;-)
obadz has quit [Ping timeout: 255 seconds]
obadz- is now known as obadz
hiratara has joined #nixos
<Peaker> I see it's building my code with profiling enabled. Is my ~/.cabal/config leaking into the nix build?
<Peaker> (as an unspecified input?)
phreedom has quit [Ping timeout: 250 seconds]
phreedom has joined #nixos
cheater has quit [Ping timeout: 256 seconds]
andreabedini has joined #nixos
<layus> Best way to know is to disable it in your ~/.cabal/config, but it should indeed not happen
jensens has joined #nixos
TweyII has joined #nixos
<TweyII> So we have libglvnd support in nixpkgs now
Michael3232 has quit [Quit: Page closed]
<TweyII> What's the story with using that?
fendor has joined #nixos
cheater has joined #nixos
<TweyII> I have a Nix environment that we run outside of NixOS and I'd like to be able to use the system graphics drivers
<TweyII> My understanding is that libglvnd can let me do that?
<Peaker> My nix build resulted in an executable that segfaults :(
patrl has joined #nixos
fendor has quit [Ping timeout: 245 seconds]
mariatsji has quit [Remote host closed the connection]
mariatsji has joined #nixos
fendor has joined #nixos
TweyII has quit [Ping timeout: 260 seconds]
MercurialAlchemi has quit [Ping timeout: 255 seconds]
freeman42x]NixOS has joined #nixos
agander has quit [Read error: Connection reset by peer]
TweyII has joined #nixos
alexteves has quit [Ping timeout: 260 seconds]
alexteves has joined #nixos
TweyII is now known as Guest93004
obadz- has joined #nixos
agander has joined #nixos
cheater has quit [Ping timeout: 256 seconds]
<hodapp> Peaker: is this for lamdu?
mariatsji has quit [Ping timeout: 260 seconds]
<Peaker> hodapp, yea
<hodapp> how are you doing the build?
obadz has quit [Ping timeout: 240 seconds]
obadz- is now known as obadz
cheater has joined #nixos
<Peaker> hodapp, "nix build && result/bin/lamdu" <- segfaults
fendor has quit [Ping timeout: 256 seconds]
<hodapp> what about doing it in nix-shell?
<Peaker> hodapp, I'm a total nix noob, what's the difference? What's nix-shell?
<hodapp> roughly, nix-shell will build the derivation and drop you into a shell where that and all the dependencies are present
<hodapp> sometimes things in nix-build may not run due to library issues, but they are fine in nix-shell
mariatsji has joined #nixos
<Peaker> same segfault, hmm
blankhart has joined #nixos
<Peaker> maybe I have a poisoned cache, e.g: from something I did concurrently to the nix build?
<Peaker> how do I clean the build results of the final lamdu package (not the deps)?
<Peaker> hmm.. nix-build inside the nix-shell is rebuilding lamdu from scratch despite not changing anything? Why would it do that?
mariatsji has quit [Remote host closed the connection]
logzet has quit [Remote host closed the connection]
<hodapp> I am trying your build myself now
davidak_ has quit [Remote host closed the connection]
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/e037231f765 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
jperras has joined #nixos
m0rphism has joined #nixos
<cocreature> Peaker: do you have something like src = ./.?
<Peaker> cocreature, yeah
<cocreature> Peaker: then something in that directory has probably changed
<cocreature> e.g. the symlink created by nix-build
<Peaker> oy :)
szicari has joined #nixos
logzet has joined #nixos
<Peaker> I have outputs like: shrinking /nix/store/....o ; wrong ELF type
<cocreature> you can use cleanSourceWith to filter the source directory
<{^_^}> [nixpkgs] @xeji merged pull request #42651 → palp: restrict platforms to linux → https://git.io/f45HN
<{^_^}> [nixpkgs] @xeji pushed commit from @timokau to master « palp: restrict platforms to linux (#42651) »: https://git.io/f45dw
ryantrinkle has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #42637 → trivial-builders: disallow sub in requireFile → https://git.io/f45vJ
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/f45dP
cheater has quit [Ping timeout: 276 seconds]
drewr has quit [Remote host closed the connection]
fragamus has joined #nixos
cheater has joined #nixos
dbmikus_ has joined #nixos
<fragamus> Is it true that, if I have a downloaded 32 bit executable, I have to do this: https://superuser.com/questions/912389/how-do-i-install-the-32-bit-dynamic-linker-on-64-bit-nixos#964293
<fragamus> or has there been some advancements in multiarch support that obviate this
<{^_^}> [nixpkgs] @xeji merged pull request #42646 → [staging] perl-packages.nix: collect aliases → https://git.io/f45XY
<{^_^}> [nixpkgs] @xeji pushed commit from @volth to staging « perl-packages.nix: collect aliases (#42646) »: https://git.io/f45FY
ihar has joined #nixos
halfbit has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #42644 → [staging] always expose perl.version → https://git.io/f45Kt
<{^_^}> [nixpkgs] @xeji pushed commit from @volth to staging « [staging] always expose perl.version (#42644) »: https://git.io/f45Fl
* hodapp twiddles thumbs while lamdu compiles...
<hodapp> "[270 of 600] Compiling Graphics.GL.GL.Whatever.Cats.Kittens.TriangleCats.FacetizedFelines..."
<hodapp> fragamus: is there a specific 32-bit executable you had in mind?
stepcut has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @xeji merged pull request #42650 → pynac: 0.7.21 -> 0.7.22 → https://git.io/f45So
<{^_^}> [nixpkgs] @xeji pushed commit from @timokau to master « pynac: 0.7.21 -> 0.7.22 (#42650) »: https://git.io/f45FD
<{^_^}> [nixpkgs] @yesbox opened pull request #42652 → rclone: 1.41 -> 1.42 → https://git.io/f45F5
btbytes has joined #nixos
<Peaker> how do I debug a segfault in the result executable? the "shrinking o files -> wrong ELF type" warnings could be related?
<fragamus> hodapp: yes it is hmetis
<hodapp> Peaker: there are ways to disable some of the shrinking/patching... trying to remember
newhoggy has quit [Remote host closed the connection]
<Peaker> hodapp, did you manage to also build it?
Plato[m] has left #nixos ["User left"]
<fragamus> hodapp: it is not available as source code, hmetis is a 32 bit executable
<hodapp> Peaker: it's still building
<{^_^}> [nixpkgs] @WilliButz opened pull request #42653 → grafana: 5.1.4 -> 5.2.0, replace hard coded version → https://git.io/f45bv
chrisaw has quit [Quit: WeeChat 2.1]
<fragamus> hodapp: it is a very important non-trivial piece of software for partitioning hypergraphs
phdoerfler has quit [Read error: Connection reset by peer]
newhoggy has joined #nixos
<{^_^}> [nixpkgs] @xeji pushed commit from @dotlambda to master « esptool: 2.3.1 -> 2.4.1 (#42632) »: https://git.io/f45bc
<{^_^}> [nixpkgs] @xeji merged pull request #42632 → esptool: 2.3.1 -> 2.4.1 → https://git.io/f477j
agander has quit [Ping timeout: 245 seconds]
__monty__ has joined #nixos
patrl has quit [Ping timeout: 260 seconds]
btbytes has quit [Ping timeout: 264 seconds]
mmercier has quit [Quit: mmercier]
<fragamus> anyhow, I don't really want to do the dpkg hack with patchelf if it can be avoided, but I am starting to think that the 32-bit ELF interpreter ld-linux.so.2 just isn't in the nix environment
astrofog has quit [Quit: Quite]
<fragamus> can somebody say one way or the other
mmercier has joined #nixos
newhoggy has quit [Ping timeout: 256 seconds]
mmercier has quit [Client Quit]
mmercier has joined #nixos
mmercier has quit [Client Quit]
phdoerfler has joined #nixos
pyvpx has joined #nixos
<pyvpx> I have a fresh install of 18.03 and I want to get nixpkg on there. nothing works because /nix/store is mounted read-only
<pyvpx> by nothing I mean single-user or multi-user. at a loss what to do (first time Nix* user)
patrl has joined #nixos
<srk> you have to use nix or related nix-* tools to access store
<srhb> pyvpx: What do you mean, fresh install of 18.03? Read only nix store is normal operation, the nix daemon takes care of any access to the store
<srk> it's read-only on purpose
<Peaker> Are the "shrinking o files" thing just stripping? "--allow-newer" -> "jailbreak", "stripping" -> "shrinking"? What's with nix and renaming the world? :)
ckauhaus has joined #nixos
jtojnar has quit [Remote host closed the connection]
<hodapp> "Main exiting due to exception: user error (initialize failed)"
<hodapp> Peaker: ^ that is what I get when trying to run
<Peaker> hodapp, are you running in a graphic environment? One that can open graphical windows?
<hodapp> uhhhh, no
tzemanovic has quit []
<hodapp> but if I add DISPLAY=:0.0 I see no errors (nor anything else because I'm remote right now...)
Guest93004 has quit [Changing host]
Guest93004 has joined #nixos
Guest93004 is now known as TweyII
<Peaker> ok, so at least we have a seemingly working nix build - and I can go back to building without nix I guess
<Peaker> (Given a "segfault" that doesn't have any debug info / gdb resolve fails is quite hard to debug)
<pyvpx> srhb: I completely misunderstood and thought I needed to install nixpkg separately using the shell script. mea culpa
patrl has quit [Ping timeout: 260 seconds]
<Peaker> hodapp, thanks anyway :)
Drakonis has joined #nixos
<Peaker> would be great if you could try it later when you have a display to hook it on
<hodapp> will try to tonight
<srhb> pyvpx: Great, no such need indeed. :)
<srhb> pyvpx: A standard 18.03 NixOS install will be subscribed to the 18.03 channel.
<pyvpx> I made it to that part of the documentation -- I understand much better now. though unfortunately installing pandoc needs more than 4G of RAM...hrm
cheater has quit [Ping timeout: 268 seconds]
cransom has joined #nixos
ckauhaus_ has joined #nixos
<{^_^}> [nixpkgs] @clefru opened pull request #42654 → Disable fortify and stackprotector hardening for spl/zfs. → https://git.io/f45AC
phdoerfler has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @yesbox opened pull request #42655 → zerotier module: interface names changed; fix no dhcp → https://git.io/f45AV
<{^_^}> [nixpkgs] @Infinisil closed pull request #42647 → idrisPackages: Progress reporting → https://git.io/f451L
ckauhaus has quit [Ping timeout: 276 seconds]
cheater has joined #nixos
<srhb> pyvpx: I believe that is caused by the build actually being broken on 18.03 right now. Otherwise it would not attempt to build it locally but just fetch the binary artifact from the cache.
<srhb> pyvpx: General rule of thumb when you see sudden builds on a regular channel is that that's what's happening (unless it's some unfree package that we cannot build for you)
<pyvpx> okay
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/e037231f765 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
coot has joined #nixos
jensens has quit [Ping timeout: 245 seconds]
<srhb> pyvpx: On "low mem" systems (which, if you're building, is often *quite* a high bar on Nix) it might be useful to limit the number of concurrent jobs and cores that Nix is allowed to use, though that probably won't help you in this case. :)
roconnor__ has quit [Ping timeout: 260 seconds]
ckauhaus_ has quit [Remote host closed the connection]
<Peaker> currently to use nixpkgs <githash> I use fetchTarball "https://github.com/NixOS/nixpkgs/archive/<githash>.tar.gz". Is there a better way? I want to try to fork nixpkgs to see if I can fix something and make a PR. But how do I refer to my fork?
ckauhaus has joined #nixos
ckauhaus has quit [Remote host closed the connection]
<Peaker> or does /archive/<hash> auto-generate the tarball from a git hash -- a github feature?
ThatDocsLady has quit [Remote host closed the connection]
<srhb> Peaker: Yes, it is auto generated.
<Peaker> ah, cool
ThatDocsLady has joined #nixos
reinzelmann has quit [Quit: Leaving]
<srhb> Peaker: fetchFromGitHub will do the same thing for you if you switch out owner and rev.
mmercier has joined #nixos
cheater has quit [Ping timeout: 256 seconds]
<Peaker> srhb, then I need to specify the sha?
<srhb> pyvpx: Looks to me like pandoc on 18.03 is currently available in the cache, maybe you haven't updated your channel yet?
<srhb> Peaker: Right.
<srhb> Peaker: Just a "fyi" that that's what it does :)
jD91mZM2 has quit [Quit: WeeChat 2.0]
<srhb> pyvpx: Hm, looks like pandoc is available and built in 18.03. Was it your nix daemon that ran out of memory?
ajs124 has joined #nixos
hiratara has quit [Quit: ZNC - http://znc.in]
<__monty__> pyvpx: Fwiw, I have pandoc installed on a 2G ram + 4G swap system.
__monty__ has quit [Quit: leaving]
<Mic92> srk: Is there something interesting on the master branch, that motivated you to update zfsUnstable?
cheater has joined #nixos
<srhb> Yeah, it's probably uninstallable due to non-constant-mem nix copy currently.
Guest84699 has joined #nixos
<srk> Mic92: we use it with vpsadminos with few patches for lxc and UID/GID offsets (https://github.com/vpsfreecz/zfs/tree/vpsadminos)
Guest84699 has quit [Client Quit]
<srk> Mic92: kept up to date so upstreaming will be easier
srdqty has joined #nixos
srdqty has quit [Client Quit]
<srk> Mic92: to build it I've added spl = null; to the override and dropped --with-spl. Not really needed I guess but produces warning - https://github.com/vpsfreecz/nixpkgs/commit/9733c545513bd822de53748ac6940925a894f017
<clefru> speaking about ZFS, cherry-pick PR for a ZFS fix for release-18.03 https://github.com/NixOS/nixpkgs/pull/42654
<Mic92> clefru: we have 4.16 also there?
<srk> ok!
<clefru> Mic92: yes. the 4.16 kernel is in release-18.03
<Mic92> yes, I remember to backport the incompatibleKernelVersion also there.
samrose has joined #nixos
<srk> clefru: thanks for figuring out the stackprotector issue btw!
<infinisil> srk: clefru: Oh nice, so zfs is now usable on 4.16? :O
<srk> Linux vpsadminos 4.17.2 #1-NixOS SMP Sat Jun 16 07:18:24 UTC 2018 x86_64 GNU/Linux
<srk> even! :D
<infinisil> Nice
<{^_^}> [nixpkgs] @xeji pushed commit from @volth to staging « perlPackages.BC: 1.54 -> 1.55 (#42645) »: https://git.io/f45hz
<clefru> srk :) yes. felt a bit painful but paid off :)
<{^_^}> [nixpkgs] @xeji merged pull request #42645 → [staging] perlPackages.BC: 1.54 -> 1.55 → https://git.io/f45iv
<clefru> infinisil: yes.
<srk> there are some patches landing for 4.18 as well
<{^_^}> [nixpkgs] @xeji pushed commit from @volth to staging « automake111x: fix for perl5.26 ("Unescaped left brace in regex is illegal here") (#42649) »: https://git.io/f45hw
<{^_^}> [nixpkgs] @xeji merged pull request #42649 → [staging] automake111x: fix for perl5.26 ("Unescaped left brace in regex is illegal here") → https://git.io/f45DO
<samrose> Hi folks, I now have a working hydra setup, and have had success building nixos iso images with it. If I wanted to build an ISO with hydra that was set up by default with system.autoUpgrade.enable = true; and system.autoUpgrade.channel = https://<nyhydrachannel>; where is the best place to put this lines? release-small.nix?
<Izorkin> How to need to merge PR https://github.com/NixOS/nixpkgs/pull/40686
<infinisil> #40686
<{^_^}> https://github.com/NixOS/nixpkgs/pull/40686 (by Izorkin, open): ssh: custom config key types
<Mic92> srk: will be our current stable incompatible with 4.18?
<Mic92> In that case we can already mark it as incompatible
cheater has quit [Ping timeout: 260 seconds]
mmercier has quit [Read error: Connection reset by peer]
mmercier has joined #nixos
<srk> Mic92: not sure
<clefru> Mic92: maybe we should switch this "incompatibleWith" to a "testedTill" logic? ZFS is a bit tricky in general with new kernel versions
<Mic92> clefru: I also thoughed about that.
<clefru> downside: more PRs dealing with this.
<Mic92> clefru: well it is better for users.
<Mic92> prevent systems from becoming not bootable.
erasmas has joined #nixos
andreabedini has quit [Quit: Textual IRC Client: www.textualapp.com]
cheater has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #42648 → vimPlugins.dhall-vim: init at 2018-06-04 → https://git.io/f45Mh
<{^_^}> [nixpkgs] @xeji pushed commit from @srhb to master « vimPlugins.dhall-vim: init at 2018-06-04 (#42648) »: https://git.io/f45jY
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to release-18.03: https://git.io/f45js
<{^_^}> [nixpkgs] @Mic92 merged pull request #42654 → Disable fortify and stackprotector hardening for spl/zfs. → https://git.io/f45AC
<samrose> ok, I see it does live in release-small.nix or equivalent
endformationage has joined #nixos
<Jason_Gr`> Hi hi. My root partition is rather full even after collecting garbage. Is there an easy way for me to see what my gc roots are?
Mr_Keyser_Soze has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #42588 → nixos/ibus: detail workaround for issue #11558 → https://git.io/f4HxX
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/f45jM
<infinisil> Jason_Gr`: All gcroots are symlinked from /nix/var/nix/gcroots
<infinisil> So you'll find all of them in there somewhere
<Jason_Gr`> Thanks!
<infinisil> Hmm..
rardiol1 has joined #nixos
<infinisil> Although It doesn't list generations..
<infinisil> Jason_Gr`: Well profile generations are in /nix/var/nix/profiles
<Jason_Gr`> Right.
<Jason_Gr`> I have a bunch of result directories that I can't remove with sudo rm -r.
<LnL> nix-store --gc --print-roots
ckauhaus has joined #nixos
<Jason_Gr`> Now I know what I've got - thanks - but I can't delete my results directorios. :-?
Sonarpulse has joined #nixos
<cransom> what do you mean, 'cant'?
ckauhaus has quit [Remote host closed the connection]
samrose has quit [Ping timeout: 260 seconds]
ckauhaus has joined #nixos
<Jason_Gr`> Hm. Some of them I *can* delete, I've just discovered, but others give me `read-only file system`.
ma27 has quit [Quit: WeeChat 2.0]
<Jason_Gr`> sudo rm -r result/
<Jason_Gr`> rm: cannot remove 'result/kernel-params': Read-only file system
<Jason_Gr`> rm: cannot remove 'result/extra-dependencies': Read-only file system
<Jason_Gr`>
<LnL> rm result
<LnL> that trailing slash is similar to rm -r /nix/store/...
<Jason_Gr`> Ah. Thank you!
ma27 has joined #nixos
<Jason_Gr`> \o/
stepcut has joined #nixos
sbdchd has joined #nixos
jb55 has joined #nixos
sbdchd has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #42630 → ocamlPackages.ocp-index: 1.1.5 -> 1.1.6 → https://git.io/f47PV
<{^_^}> [nixpkgs] @xeji pushed 8 commits to master: https://git.io/f4dfC
Mr_Keyser_Soze has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #42446 → snes9x-gtk: 1.56.1 -> 1.56.2 → https://git.io/f4SYs
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « snes9x-gtk: 1.56.1 -> 1.56.2 (#42446) »: https://git.io/f4dfR
<{^_^}> [nixpkgs] @xeji merged pull request #42472 → openfst: 1.6.7 -> 1.6.8 → https://git.io/f4SEC
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « openfst: 1.6.7 -> 1.6.8 (#42472) »: https://git.io/f4dfw
<{^_^}> [nixpkgs] @xeji merged pull request #42480 → mate.mate-user-guide: 1.20.0 -> 1.20.1 → https://git.io/f4SuF
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « mate.mate-user-guide: 1.20.0 -> 1.20.1 (#42480) »: https://git.io/f4dfQ
periklis` has quit [Ping timeout: 240 seconds]
ckauhaus has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @dtzWill merged pull request #42456 → llvm4: unconditionally set triples, not just on musl. → https://git.io/f4SZO
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/f4df7
stepcut has quit [Ping timeout: 256 seconds]
ckauhaus has joined #nixos
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to staging: https://git.io/f4dJk
<{^_^}> [nixpkgs] @dtzWill merged pull request #42454 → llvm-{5,6}: unconditionally set triples → https://git.io/f4S39
<{^_^}> [nixpkgs] @xeji merged pull request #42474 → mopidy-iris: 3.21.1 -> 3.21.3 → https://git.io/f4SE9
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « mopidy-iris: 3.21.1 -> 3.21.3 (#42474) »: https://git.io/f4dJt
<{^_^}> [nixpkgs] @xeji merged pull request #42481 → mate.mate-session-manager: 1.20.0 -> 1.20.1 → https://git.io/f4SzU
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « mate.mate-session-manager: 1.20.0 -> 1.20.1 (#42481) »: https://git.io/f4dJO
stepcut has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #42483 → mate.mate-screensaver: 1.20.0 -> 1.20.1 → https://git.io/f4Szc
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « mate.mate-screensaver: 1.20.0 -> 1.20.1 (#42483) »: https://git.io/f4dJc
hyper_ch2 has quit [Ping timeout: 260 seconds]
ckauhaus has quit [Ping timeout: 256 seconds]
<ij> If I want to start docker services declaratively, then the best advice to do that would be to write a systemd startup script?
camsbury has joined #nixos
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/a4e1e9cbd76 (from 40 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
<{^_^}> [nixpkgs] @roberth opened pull request #42657 → Haskell bash completion → https://git.io/f4dUt
phdoerfler has joined #nixos
ThatDocsLady has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #42653 → grafana: 5.1.4 -> 5.2.0, replace hard coded version → https://git.io/f45bv
<{^_^}> [nixpkgs] @xeji pushed commit from @WilliButz to master « grafana: 5.1.4 -> 5.2.0, replace hard coded version (#42653) »: https://git.io/f4dUi
andymandias has quit [Ping timeout: 240 seconds]
cheater has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @roberth opened pull request #42658 → haskellPackages.callCabal2nix: accept extraCabal2nixOptions argument → https://git.io/f4dTO
cheater has joined #nixos
andymandias has joined #nixos
vizz has joined #nixos
vizz has left #nixos [#nixos]
glys has joined #nixos
Guanin has quit [Remote host closed the connection]
<fragamus> I have to unpack two files one is .tar.gz the other is .deb is there an example
<glys> Hey folks, I've got a question about C++ development in NixOS. I'm trying to use the GLFW library in one of my projects. If I install it via "nix-env -i glfw", I can include the headers and compile without any problems. However, if I use environment.systemPackages inside of my config to install glfw, compiling doesn't work because g++ can't find the header. Is there a way to make the compiler find the library when it's installed via confi
<samueldr> ,library glys
<{^_^}> glys: Don't install libraries through nix-env or systemPackages. See https://nixos.wiki/wiki/FAQ/Libraries for details.
<infinisil> fragamus: In a nixpkgs checkout: rg '\.deb\b' -l | xargs rg unpackPhase -A 5
logzet has quit [Remote host closed the connection]
<fragamus> thanks
<infinisil> And tarballs should get unpacked by default
cheater has quit [Ping timeout: 276 seconds]
lo_mlatu has joined #nixos
<lo_mlatu> Maybe this is a stupid question but I really can't figure it out: which package contains `xattr` on darwin?
<lo_mlatu> And, what's the status of compiling openjdk on darwin? zulu is somewhat inefficient
<glys> {^_^}: Thanks, I tried it the way described in the article and now it works :)
<infinisil> lo_mlatu: nix-locate says pythonPackages.xattr
jperras has quit [Quit: WeeChat 2.1]
matthewbauer has joined #nixos
<pyvpx> srhb: yes, it seems I did not update my channel
<{^_^}> [nixpkgs] @volth opened pull request #42659 → [staging] perlPackages -> perl{522,524,526,528}Packages → https://git.io/f4dIc
<pyvpx> srhb: not sure what ran out of memory, precisely. there is 4G allocated to the VM itself
stepcut has quit [Remote host closed the connection]
wpcarro has joined #nixos
viric has quit [Read error: Connection reset by peer]
viric has joined #nixos
phdoerfler1 has joined #nixos
phdoerfler has quit [Read error: Connection reset by peer]
matthewbauer has quit [Read error: Connection reset by peer]
matthewbauer has joined #nixos
glys has quit [Quit: Page closed]
sbdchd has joined #nixos
cheater has joined #nixos
iyzsong-x has quit [Read error: Connection reset by peer]
sbdchd has quit [Ping timeout: 268 seconds]
lo_mlatu has quit [Ping timeout: 260 seconds]
sigmundv has quit [Ping timeout: 260 seconds]
cheater has quit [Ping timeout: 268 seconds]
cheater has joined #nixos
cheater has quit [Client Quit]
<Unode> hi all, what package contains tlc.h ? I'm getting local failures when building newt due to missing tlc.h
ckauhaus has joined #nixos
__Sander__ has quit [Quit: Konversation terminated!]
tos9 has joined #nixos
<tos9> Hi. Is nix(-env) not equipped to install fonts on macOS? I installed one (inconsolata), which it looks like installed the directory in /nix/store, but didn't install the font (i.e. didn't make it available or link it into the Font Book)
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<infinisil> Unode: None, according to nix-locate (you can install it yourself, package is called nix-index. Search like `nix-locate tlc.h`)
<matthewbauer> Unode: I assume you mean tcl?
<matthewbauer> nix-locate '/include/tcl.h'
<infinisil> Ah hah
<TweyII> Where does dlopen() get its paths from under Nix?
<Unode> matthewbauer: when a typo is so consistent that you don't even realise you are typing it incorrectly :S
ckauhaus has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @timor opened pull request #42661 → ceres-solver: clean up cmake configuration, propagate eigen library → https://git.io/f4dmJ
<Unode> matthewbauer: thanks!
ckauhaus has joined #nixos
blankhart has quit [Ping timeout: 265 seconds]
wpcarro has quit [Ping timeout: 268 seconds]
Guanin has joined #nixos
ckauhaus has quit [Ping timeout: 240 seconds]
ajs124 has left #nixos ["Machine going to sleep"]
grantwu has left #nixos ["WeeChat 2.1"]
blankhart has joined #nixos
<nh2[m]> TweyII: I would imagine from LD_LIBRARY_PATH, like everywhere else as well (and possibly the other locations from `man dlopen`)
stepcut has joined #nixos
blonkhart has joined #nixos
mmercier has quit [Quit: mmercier]
stepcut has quit [Ping timeout: 268 seconds]
jperras has joined #nixos
jperras has quit [Client Quit]
jperras has joined #nixos
erratic has quit [Ping timeout: 240 seconds]
rupert has quit [Quit: Connection closed for inactivity]
worldofpeace has joined #nixos
szicari has quit [Quit: Leaving.]
m0rphism has quit [Quit: WeeChat 1.9.1]
szicari has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #42493 → libcouchbase: 2.9.0 -> 2.9.2 → https://git.io/f4SgS
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « libcouchbase: 2.9.0 -> 2.9.2 (#42493) »: https://git.io/f4dsu
<{^_^}> [nixpkgs] @xeji merged pull request #42504 → gromacs: 2018.1 -> 2018.2 → https://git.io/f4SVw
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « gromacs: 2018.1 -> 2018.2 (#42504) »: https://git.io/f4dsV
drewr has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #42499 → gzdoom: 3.4.0 -> 3.4.1 → https://git.io/f4Sao
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « gzdoom: 3.4.0 -> 3.4.1 (#42499) »: https://git.io/f4dsy
<TweyII> nh2[m]: Surely we don't search /lib and /usr/lib
ixxie has joined #nixos
<TweyII> nh2[m]: And we don't set LD_LIBRARY_PATH for library dependencies
<TweyII> nh2[m]: So how do we tell programs that dlopen() where their dependencies come from?
stepcut has joined #nixos
nschoe has quit [Quit: Program. Terminated.]
blonkhart has quit [Quit: WeeChat 1.9.1]
jb55 has quit [Quit: WeeChat 2.1]
stepcut_ has joined #nixos
stepcut has quit [Ping timeout: 256 seconds]
<symphorien> it looks in the RPATH iirc
wpcarro has joined #nixos
<symphorien> but the default fixupphase strips unneeded libs from the RPATH so you have to be careful
szicari has quit [Quit: Leaving.]
stepcut has joined #nixos
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/a627399a84f (from 26 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
stepcut_ has quit [Ping timeout: 248 seconds]
szicari has joined #nixos
erratic has joined #nixos
knupfer has quit [Ping timeout: 265 seconds]
roberth has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @matthewbauer pushed to master « build-gradle-app.nix: mark unfree »: https://git.io/f4dnI
<{^_^}> [nixpkgs] @matthewbauer pushed to master « build-gradle-app.nix: fix eval »: https://git.io/f4dnq
<rardiol1> I got this error trying to run a game on wine: "libGL: dlopen /run/opengl-driver-32/lib/dri/swrast_dri.so failed (/nix/store/wc90gz2h64w6xb59rdavgvwii7wvkq0q-glibc-2.26-131/lib/libm.so.6: version `GLIBC_2.27' not found (required by /run/opengl-driver-32/lib/dri/swrast_dri.so))" Do I need to update wine to one with glibc2.27 or it's something else causing the problem?
<{^_^}> [nixpkgs] @yesbox opened pull request #42662 → bfs 1.2.2 → https://git.io/f4dn8
wchresta has joined #nixos
<rardiol1> nvm, wine updated fix it
<TweyII> symphorien: It looks in the RPATH of the binary it's run in?
troydm has quit [Quit: What is Hope? That all of your wishes and all of your dreams come true? To turn back time because things were not supposed to happen like that (C) Rau Le Creuset]
<symphorien> yes I think so
<symphorien> not completely sure, though
humanoyd has joined #nixos
leotaku has joined #nixos
spear2 has joined #nixos
blankhart has quit [Remote host closed the connection]
blankhart has joined #nixos
andymandias has quit [Ping timeout: 248 seconds]
freeman42x]NixOS has quit [Ping timeout: 260 seconds]
ma27 has quit [Quit: WeeChat 2.0]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/14ca98e51e4 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
sbdchd has joined #nixos
ma27 has joined #nixos
wchresta has quit [Ping timeout: 264 seconds]
<worldofpeace> Aww the hydra nixos.tests.installer.* keep failing all crazy (cuz I/O)
andymandias has joined #nixos
igo95862 has joined #nixos
sbdchd has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #42652 → rclone: 1.41 -> 1.42 → https://git.io/f45F5
<{^_^}> [nixpkgs] @xeji pushed commit from @yesbox to master « rclone: 1.41 -> 1.42 (#42652) »: https://git.io/f4dWH
<{^_^}> [nix] @matthewbauer opened pull request #2258 → Make installer allow preexisting by default → https://git.io/f4dWQ
<pyvpx> is there something I should read thoroughly before attempting to use cabal along side nixpkg? I see there is no pandoc-citeproc in nixpkg, so I'll install via cabal...but I have no idea what I'm doing and I'd rather not mess up this environment
<infinisil> pyvpx: There is
<infinisil> > haskellPackages.pandoc-citeproc
<{^_^}> "<derivation /nix/store/jf7ywlcvzw3vir95yfij5zzk7qbyymji-pandoc-citeproc-0.14.3.1>"
<pyvpx> okay I am using the -qa regex wrong somehow
troydm has joined #nixos
<pyvpx> [root@nixos:~/athena]# nix-env -qa '*.*citeproc'
<pyvpx> error: regex_error
<infinisil> Nah, by default it can't find it
<pyvpx> cluebat, please
<{^_^}> [nixpkgs] @xeji merged pull request #42620 → tvbrowser-bin: init at 4.0.1 → https://git.io/f47ZX
<{^_^}> [nixpkgs] @xeji pushed commit from @jfrankenau to master « tvbrowser-bin: init at 4.0.1 (#42620) »: https://git.io/f4dlR
<infinisil> But yes you should revise how regex works
<infinisil> pyvpx: nix-env -qaPA haskellPackages
<pyvpx> I was not aware of PA flags. I'll read the manual page on that. thank you
jbgi has joined #nixos
<infinisil> And then something like '.*citeproc.*' if you wanna search for it
<infinisil> But I suggest using fzf instead: nix-env -qaPA haskellPackages | fzf
<infinisil> Much easier to find something and you don't have to mess with regex
<pyvpx> ahh, I need to add haskellPackages to my channels?
<infinisil> No, it is it not there for you?
<infinisil> It should be
<infinisil> Oh wait, maybe you need nixpkgs.haskellPackages / nixos.haskellPackages
<pyvpx> my nix-channels is just one line :)
<infinisil> Yeah that's fine, haskellPackages is there by default, is there an error for you?
<pyvpx> [root@nixos:~/athena]# nix-env -qaPA haskellPackages '.*citeproc.*l'
<pyvpx> error: attribute 'haskellPackages' in selection path 'haskellPackages' not found
<infinisil> And with nixos.haskellPackages?
<pyvpx> that was it. nixos.
<{^_^}> [nixpkgs] @xeji merged pull request #42662 → bfs 1.2.2 → https://git.io/f4dn8
<{^_^}> [nixpkgs] @xeji pushed commit from @yesbox to master « bfs: 1.2.1 -> 1.2.2 (#42662) »: https://git.io/f4d8e
<pyvpx> thank you very much
<infinisil> :)
<infinisil> pyvpx: You should really give fzf a go though, it's nice
<pyvpx> will do
<tmplt> I'm to to apply a patch to a program, but it fails. Manually downloading the source and applying it via `patch -p0 < file.patch` works. Does Nix apply patches differently?
<bgamari> If I have a nixpkgs expression, is there any way to get the path of the nixpkgs tree it arose from out of it?
<infinisil> > pkgs.path
<{^_^}> /var/lib/nixbot/state/nixpkgs
<infinisil> bgamari: ^
<bgamari> ahh
<bgamari> infinisil, awesome, thanks!
<tmplt> Applying it after having cd'd into the source, that is
<{^_^}> [nixpkgs] @Pneumaticat opened pull request #42663 → firebird-emu: init at 1.4 → https://git.io/f4d4q
mariatsji has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #42138 → lib/modules: decrease mkOptionDefault priority to 1500 → https://git.io/vhDOE
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/f4d4P
<{^_^}> [nixpkgs] @vbgl opened pull request #42664 → ocaml-top: 1.1.4 -> 1.1.5 → https://git.io/f4d4D
humanoyd has quit [Quit: WeeChat 2.1]
wpcarro has quit [Remote host closed the connection]
__monty__ has joined #nixos
wpcarro has joined #nixos
asuryawanshi has joined #nixos
wpcarro has quit [Ping timeout: 265 seconds]
spear2 has quit [Ping timeout: 256 seconds]
knupfer has joined #nixos
agander has joined #nixos
iMatejC has quit [Remote host closed the connection]
wpcarro has joined #nixos
<{^_^}> [nixpkgs] @ryantm opened pull request #42665 → treewide: http -> https → https://git.io/f4dRB
iMatejC has joined #nixos
iMatejC has quit [Remote host closed the connection]
flox has joined #nixos
<flox> Hi guys, quick question: I want to setup my development env using nix-shell. How can I specify that in that shell I want to be able to add unfree packages to the buildInputs ?
iMatejC has joined #nixos
<ldlework> flox: nixpkgs.config.allowUnfree = true; ?
<ldlework> wild guess :)
<tmplt> hmm, the patch applies now after prefixing the patch entries with 'a/' and 'b/'
roberth has joined #nixos
<samueldr> tmplt: nixpkgs must be assuming -p1 for patches
agander has quit [Ping timeout: 256 seconds]
<flox> ldlework: good guess, but where do I declare that? ;)
wpcarro has quit [Remote host closed the connection]
<samueldr> flox: you probably are somehow importing nixpkgs in your default.nix or shell.nix, right?
<samueldr> import ... {};
<samueldr> the {} is the parameter given to nixpkgs, and IIRC allowUnfree = true; can be passed in that attrset
asuryawanshi has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
<ldlework> flox: in your configuration!
<ldlework> :D
<ldlework> samueldr: neat
<Myrl-saki> android@localhost:/nix/store$ nix-build /nix/store/g8zpg2p2apqbfmy2skbdp29rnqbvybah-nix-1.11.16.drv;
<Myrl-saki> cannot read symlink ‘/nix/store/g8zpg2p2apqbfmy2skbdp29rnqbvybah-nix-1.11.16.drv’ at /usr/local/bin/nix-build line 330.
<{^_^}> [nixpkgs] @xeji merged pull request #42664 → ocaml-top: 1.1.4 -> 1.1.5 → https://git.io/f4d4D
<{^_^}> [nixpkgs] @xeji pushed commit from @vbgl to master « ocaml-top: 1.1.4 -> 1.1.5 (#42664) »: https://git.io/f4d0B
<mpickering> Can I use cachix with the new nix commands?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42666 → units: 2.16 -> 2.17 → https://git.io/f4d0z
<samueldr> Myrl-saki: is it possible for you to instead of installing nix on a local device, use e.g. a cheap VPS?
flox has quit [Quit: Page closed]
<samueldr> or you have no guarantees of being online?
<Myrl-saki> samueldr: The idea is to use this only for nix-copy-closure.
<samueldr> (throwing an idea just in case)
<Myrl-saki> samueldr: No worries. :P Also, the only ARMv7 VPS I know of is Scaleway.
<Myrl-saki> Well, crap. Apparently, no one is experiencing "cannot read symlink" problems.
MercurialAlchemi has joined #nixos
<samueldr> oh, I meant instead of going the ARM route, but I must then think you *want* armv7, right?
<Myrl-saki> samueldr: Kinda. This will serve as an extra testbench for our builds. :P
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/352995d79b9 (from 25 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
ckauhaus has joined #nixos
agander has joined #nixos
deepfire` has quit [Remote host closed the connection]
kiloreux has quit [Quit: Leaving]
ckauhaus has quit [Ping timeout: 248 seconds]
MercurialAlchemi has quit [Ping timeout: 260 seconds]
knupfer1 has joined #nixos
knupfer has quit [Ping timeout: 276 seconds]
knupfer1 is now known as knupfer
<{^_^}> [nixpkgs] @xvapx opened pull request #42667 → pythonPackages.flask-restful: disable broken test → https://git.io/f4dEK
wpcarro has joined #nixos
<Myrl-saki> Well
<Myrl-saki> Apparently, it's because my file is not a symlink.
MercurialAlchemi has joined #nixos
crmlt has joined #nixos
wpcarro has quit [Ping timeout: 248 seconds]
b7r has joined #nixos
<Myrl-saki> Okay...
blonkhart has joined #nixos
<infinisil> worldofpeace: I and many others prefer the `{ mkDerivation\n, extra-cmake-modules\n, kcon...` way
<infinisil> It's also heavily used in Haskell
<tmplt> How come I can do `systemd.services.libvirtd.path = [ pkgs.bash ]` in configuration.nix with effect, but doing it from an imported (listed in imports) file does nothing?
amir has quit [Ping timeout: 265 seconds]
jbgi has quit [Quit: WeeChat 2.1]
<samueldr> weird, it should
<worldofpeace> infinisil: I guess whatever will make sense visually? I guess that tends to be different.
<infinisil> tmplt: Last time I saw that your imported module only set things behind an enable option
<Myrl-saki> Well... crap.
<tmplt> infinisil: yeah, but the file I'm importing now is just `{ config, pkgs, lib, ... }: { systemd.services.libvirtd.path = [ pkgs.bash ]; }`
wpcarro has joined #nixos
<{^_^}> [nixpkgs] @mnacamura opened pull request #42668 → feedgnuplot: init at 1.49 → https://git.io/f4dzY
spear2 has joined #nixos
newhoggy has joined #nixos
wpcarro has quit [Ping timeout: 256 seconds]
spear2 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @matthewbauer opened pull request #42669 → Upstream PLIST handling → https://git.io/f4dzz
newhoggy has quit [Remote host closed the connection]
mariatsji has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @FRidh merged pull request #42667 → pythonPackages.flask-restful: disable broken test → https://git.io/f4dEK
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/f4dzx
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42670 → wolfssl: 3.15.0 -> 3.15.3 → https://git.io/f4dgz
igo95862 has quit [Quit: igo95862]
sbdchd has joined #nixos
sbdchd has quit [Ping timeout: 268 seconds]
amir has joined #nixos
nschoe has joined #nixos
amir has quit [Ping timeout: 248 seconds]
Xiro` has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42671 → safeeyes: 2.0.5 -> 2.0.6 → https://git.io/f4da7
endformationage has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @xeji pushed commit from @ryantm to master « treewide: http -> https (#42665) »: https://git.io/f4daj
<{^_^}> [nixpkgs] @xeji merged pull request #42665 → treewide: http -> https → https://git.io/f4dRB
amir has joined #nixos
robstr has quit [Quit: WeeChat 1.9.1]
stanibanani has joined #nixos
ihar has quit [Quit: WeeChat 2.0]
<{^_^}> [nixpkgs] @tadfisher opened pull request #42673 → cmrt, vaapi-intel-hybrid, vaapiIntel: init at 1.0.6, init at 1.0.2, add enableHybridCodec option → https://git.io/f4dVH
wpcarro has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #42546 → pHash: init at 0.9.4 → https://git.io/f49km
<{^_^}> [nixpkgs] @xeji pushed commit from @imalsogreg to master « pHash: init at 0.9.4 (#42546) »: https://git.io/f4dwk
andymandias has quit [Ping timeout: 240 seconds]
stanibanani has quit [Ping timeout: 255 seconds]
<ldlework> a combination of nixos and alpine qualities would be pretty cool
ixxie has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42674 → smplayer: 18.5.0 -> 18.6.0 → https://git.io/f4dwY
<srk> ldlework: in what sense?
MercurialAlchemi has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @mredaelli opened pull request #42675 → fontin, fontinsans: init → https://git.io/f4dwX
wpcarro has quit [Ping timeout: 256 seconds]
ckauhaus has joined #nixos
andymandias has joined #nixos
simukis has quit [Ping timeout: 240 seconds]
agander has quit [Ping timeout: 248 seconds]
endformationage has joined #nixos
wpcarro has joined #nixos
crmlt has quit [Ping timeout: 245 seconds]
<ldlework> srk: like a really minimal and tiny runtime
<srk> ldlework: there's not-os btw
<srk> which we've used as a basis for vpsadminos
<srk> ,not-os
<srk> ,help
<{^_^}> Use `,` to list all commands, `,foo = Foo!` to define foo as "Foo!", `,foo =` to undefine it, `,foo` to output "Foo!", `,foo somebody` to send "Foo!" to the nick somebody
TweyII has quit [Ping timeout: 240 seconds]
<{^_^}> not-os defined
<srk> some ppl even run initless systems
ckauhaus has quit [Remote host closed the connection]
soysauce has joined #nixos
lualatex has joined #nixos
<soysauce> hello good people, anybody have experience with setting up tlp on thinkpad?
<soysauce> so far i have services.tlp.enable = true;
<hodapp> tlp?
<soysauce> thinkpad power management thingie
<lualatex> Hi all. I'm doing let mytex = texlive.combine { inherit (texlive) scheme-small collection-latexrecommended titlesec multirow; };
<lualatex> nix-shell doesn't complain, but when compiling it doesn't find either titlesec.sty or multirow.sty
<lualatex> any latex suggestions?
tput has quit [Quit: Page closed]
<hodapp> huh, I should look into this since I'm on a Thinkpad now...
<{^_^}> [nixpkgs] @Infinisil opened pull request #42676 → treewide: http -> https sources → https://git.io/f4dKr
<ldlework> I am using NixOps to deploy to AWS EC2. Each time I try, I get the following: https://gist.github.com/dustinlacewell/5b2f0bee00af75bc2bbb1e86a34bf247
<ldlework> I cannot understand what I should do differently or what the nature of the failure is.
<ldlework> "org.freedesktop.DBus.Error.Disconnected: Connection was disconnected before a reply was received" ...?
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/b97b0300f6b (from 10 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<ldlework> "dbus.service is not active, cannot reload." ...?
wpcarro has quit []
<{^_^}> [nixpkgs] @matthewbauer closed pull request #42060 → Remove legacy cross, add aliases → https://git.io/vhP6E
<{^_^}> [nixpkgs] @matthewbauer reopened pull request #42060 → Remove legacy cross, add aliases → https://git.io/vhP6E
soysauce has quit [Ping timeout: 260 seconds]
pushcx has joined #nixos
<pushcx> I've installed nixos and I'm writing my first package. I'm trying to follow the manual, but the step starting "Add the package to the file pkgs/top-level/all-packages.nix." refers to a file I don't have. Does anyone know what this is?
<infinisil> pushcx: You need to clone nixpkgs
<infinisil> If you want to add your package to nixpkgs
<infinisil> And make a PR
<pushcx> I'd like to get it building, first.
<pushcx> Huh. The only mention in the manual is about adding a channel, which I already did when I installed nixos.
<{^_^}> [nixpkgs] @Kmeakin opened pull request #42677 → nixos/xsession: check for env vars → https://git.io/f4d6d
<infinisil> ,callPackage pushcx
<{^_^}> pushcx: If a Nix file ./foo.nix starts with something like `{ bar, baz }:`, you can build it with `nix-build -E '(import <nixpkgs> {}).callPackage ./foo.nix {}'`
<pushcx> How does that relate?
<infinisil> pushcx: If you were writing a package declaration to be contributed to nixpkgs, your file would look like this
matthewbauer has quit [Ping timeout: 248 seconds]
soysauce has joined #nixos
<pushcx> The manual isn't really clear on what all-packages.nix is for and the example given doesn't look like valid syntax, so I'm pretty stumped atm.
<infinisil> Link?
<soysauce> sorry got dcd, yes so services.tlp.enable = true;
<soysauce> that works
<soysauce> but then tlp = to set other options for tlp
<pushcx> I'm trying to work through the hello world example to learn to build a package, this is just the next step. There's nothing about contributing to nixpkgs.
<soysauce> gives me an error name tlp not recognized
<infinisil> pushcx: "In the Nix Packages collection this is done in the file pkgs/top-level/all-packages.nix, where all Nix expressions for packages are imported and called with the appropriate arguments"
<pushcx> So to build my own package I should edit the file in the store? There's a big warning about not doing that.
<infinisil> Nonono
<infinisil> Alright just do the callPackage thing, this will let you build your package
srl295 has joined #nixos
<infinisil> It's essentially the same as import ./path/to/file.nix { foo = bar; ... }, but the foo argument gets filled out automatically for you
<pushcx> This manual seems to assume I already know a lot more about nix than it's explained. Is there another TFM somewhere I could RTFM?
roberth has left #nixos [#nixos]
<soysauce> thank you worldpeace, looking at it now
<infinisil> ,pills pushcx
matthewbauer has joined #nixos
<hodapp> pushcx: for a lot of folks it means checking out nixpkgs from the git repo, and editing your own local copy of it
alexteves has quit [Remote host closed the connection]
<worldofpeace> soysauce: If you didn't already look at it https://nixos.org/nixos/options.html#tlp
lualatex has quit [Ping timeout: 260 seconds]
<pushcx> infinisil: Thanks, I'll try working through this.
<soysauce> k looking... got the options to work, for those on newish thinkpads https://github.com/denten-bin/dotfiles/blob/x1-2018/nixos/configuration.nix
<pushcx> infinisil: is https://github.com/NixOS/nix/issues the right place to file a bug against the docs?
<soysauce> i put folds into my config, next todo is to modularize i guess... anybody have a good example of a modular configuration.nix? not sure what the best practice is
coot has quit [Quit: coot]
<infinisil> pushcx: Nah, use the nixpkgs repo for nixpkgs manual bugs
<infinisil> Oh wait
<infinisil> Ah yes that's the nix manual, then I guess it would be in the nix repo
<infinisil> pushcx: Yes that's the correct one
wchresta has joined #nixos
<worldofpeace> soysauce: Here's a collection of configurations https://nixos.wiki/wiki/Configuration_Collection
phdoerfler1 has quit [Quit: Leaving.]
<soysauce> oh nice, thank you wp
<soysauce> not doing bad for the second day
<worldofpeace> Ahh, I remember my second day. I should write a day by day nix guide. :P
freeman42x]NixOS has joined #nixos
<soysauce> well i might even get some work done today hahah
matthewbauer has quit [Ping timeout: 256 seconds]
Xiro` has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
<slabity[m]> Does anyone know how I can call a function inside my `configuration.nix` without assigning it to a specific variable?
<worldofpeace> soysauce: btw you'll need `{ allowUnfree = true; }` at ~/.config/nixpkgs/config.nix - For it to work with like nix-env and stuff
<infinisil> slabity[m]: What do you mean? Do you have an example?
<slabity[m]> I can do `var = import ./file { args }`, but that assigns it, and `imports = [ ./file ]` doesn't allow for arguments to be passed
<infinisil> slabity[m]: Well it does need to come from somewhere..
<worldofpeace> there's no variable assignment in nix :P
<slabity[m]> So lets say I have a function in a file that returns a set of configuration variables. I'd like to import them directly into my configuration without assigning it to a particular variable
<infinisil> Use options and imports instead, will work much better
szicari has quit [Quit: Leaving.]
<infinisil> Declare a module in the other file, add that to imports, and pass arguments via options
<slabity[m]> Pass arguments via options?
<worldofpeace> slabity[m]: A good part of the manual on that i think https://nixos.org/nixos/manual/index.html#sec-writing-modules
Anthony_Bourdain has quit [Ping timeout: 256 seconds]
stepcut_ has joined #nixos
<slabity[m]> So I can make an option in a module that enables options in different modules?
stepcut has quit [Ping timeout: 268 seconds]
anderslundstedt has quit [Ping timeout: 260 seconds]
b7r has quit [Ping timeout: 256 seconds]
<samueldr> yes
knupfer has quit [Ping timeout: 265 seconds]
<samueldr> parts of nixos already do this behind the scenes
<infinisil> All of nixos works on that basis really
<samueldr> slabity[m]: if you look at <nixos/modules/services/x11/desktop-managers/xfce.nix> you will see how `config` uses mkIf
<samueldr> <nixpkgs/nixos/modules/services/x11/desktop-managers/xfce.nix>
anderslundstedt has joined #nixos
myshoe has quit [Quit: Lost terminal]
<infinisil> samueldr: You know what would be nice, being able to do <xfce.nix> for that instead
<samueldr> a bit risky imho, <default.nix> :)
knupfer has joined #nixos
<infinisil> With some hopefully sane rankings between files with the same name :)
<samueldr> furthermore, using the full path mirrors how you can *actually* use them in the expressions
<infinisil> True
<infinisil> Would be nice to just be able to do <all-packages.nix> though, or <trivial-builders.nix>
<clever> > <nixpkgs/pkgs/trivial-builders.nix<
<{^_^}> error: syntax error, unexpected '<', at (string):150:1
<clever> > <nixpkgs/pkgs/trivial-builders.nix>
<{^_^}> file 'nixpkgs/pkgs/trivial-builders.nix' was not found in the Nix search path (add it using $NIX_PATH or -I), at (string):150:1
<clever> > <nixpkgs/pkgs/build-support/trivial-builders.nix>
<{^_^}> /var/lib/nixbot/state/nixpkgs/pkgs/build-support/trivial-builders.nix
<infinisil> Heh
<clever> why did it report it twice?
<samueldr> both parts are independent
<mpickering> Can I use cachix with the new nix commands?
<infinisil> Yeah, I should change that
<samueldr> <nixpkgs/default.nix> paths are not prefixed by `>`
<infinisil> > builtins.readFile <nixpkgs/.version>
<{^_^}> "18.09\n"
asuryawanshi has quit [Ping timeout: 264 seconds]
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
obadz- has joined #nixos
<slabity[m]> I'm a bit confused on the differences between `option` and `config`.
obadz has quit [Ping timeout: 245 seconds]
obadz- is now known as obadz
stepcut_ has quit [Remote host closed the connection]
<samueldr> options are kind of the "API", they describe the options made available to the end-user. `config` in that context means *using* those options to _do things_.
<slabity[m]> Looking at the manual, I'm not exactly sure what `systemd.services.update-locatedb` is doing
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
<samueldr> → https://nixos.org/nixos/options.html#systemd.services.%3Cname%3E
<leons> I've got a nix derivation which uses fetchFromGithub with a 52 character long SHA256 hash and I need to verify this hash. I've downloaded the tar.gz but can't find any way to reproduce the hash nix gives me
<leons> Is it possible with nix-hash / which options do I need to use?
<samueldr> slabity[m]: some configuration options are composed of submodules, with the name there (update-locatedb) being the name of that submodule
matthewbauer has joined #nixos
Drakonis has quit [Remote host closed the connection]
<samueldr> (the submodule can use the name to do thingsm e.g. create the update-locatedb.service service)
xy2_ has quit [Ping timeout: 260 seconds]
<slabity[m]> Okay, so those values are specific to the `systemd.services.<name>` entries. Got it
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
<samueldr> there are a bunch of options built this way: https://nixos.org/nixos/options.html#.%3C
Peaker has quit [Ping timeout: 264 seconds]
knupfer has quit [Ping timeout: 255 seconds]
<slabity[m]> Just to make sure I'm understanding how this works, I made this module that provides a simple `laptop` boolean option: https://gist.github.com/Slabity/36579ef94d998e07f1bab003a2f9c0c3
<{^_^}> [nixpkgs] @xeji merged pull request #42313 → shadowfox-updater: init at 1.5.2 → https://git.io/fCVKr
<{^_^}> [nixpkgs] @xeji pushed commit from @Infinisil to master « shadowfox: init at 1.5.2 (#42313) »: https://git.io/f4dDP
<slabity[m]> For it to work in my `configuration.nix`, I just need to add it to my `imports` and then set `laptop = true`?
ggp0647 has quit [Quit: ZNC - http://znc.in]
<samueldr> at a glance, looks right
<{^_^}> [nixpkgs] @xeji merged pull request #42674 → smplayer: 18.5.0 -> 18.6.0 → https://git.io/f4dwY
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « smplayer: 18.5.0 -> 18.6.0 (#42674) »: https://git.io/f4dD5
<{^_^}> [nixpkgs] @Moredread opened pull request #42678 → Enable parallel building for rtaudio and rtmidi → https://git.io/f4dDb
<samueldr> I started doing this a bit, a cool idea I had was that machines describe their stats (amount of ram, disk space)
<samueldr> so I can change some settings depending, e.g. for low disk space machines, reduce the total size journald logs can take
jperras has quit [Ping timeout: 248 seconds]
<worldofpeace> I think infinisil does all of that too
<slabity[m]> That's pretty much what I'm looking to do
<slabity[m]> Are the modules public? I'd like to look at them
jperras has joined #nixos
<samueldr> ah, another tip, you may want to prefix all your custom options with a key (e.g. your name) so that you reduce clashes with future and current nixos options
ggp0647 has joined #nixos
<infinisil> Yeah, it's really basic though
<samueldr> there's always this list for reference if you lose a repo https://nixos.wiki/wiki/Configuration_Collection
<samueldr> and as I said, I only *started* doing that, didn't really go crazy
soysauce has quit [Quit: Page closed]
<samueldr> oh, looks like I never did anything with memory :)
<worldofpeace> slabity[m]: The module you're making makes sense as a per-machine basis `hardware profile`.
obadz- has joined #nixos
obadz has quit [Ping timeout: 276 seconds]
obadz- is now known as obadz
<slabity[m]> Let's say I made a second modules like my first that creates a "desktop" option, disabling power top if set to true.
<slabity[m]> What happens if I set both my options to true? What takes precedence?
<samueldr> both the same values, no issues
<samueldr> both different values, depends on the priority
<samueldr> (and the merge behaviour)
<infinisil> Whoa, check out this file: <nixpkgs/pkgs/misc/emulators/rpcs3/default.nix>
<samueldr> merge behaviour is described per-types here https://nixos.org/nixos/manual/index.html#sec-option-types
<slabity[m]> How is priority determined?
<slabity[m]> Oh thanks
<samueldr> if types don't merge, it errors out
<samueldr> so a = true; and a = false; → error
<samueldr> a = lib.mkForce true; a = false; → true
<samueldr> though chapter 34 is a must read to go further into writing modules :)
<infinisil> You know what's special on that file i linked? The first 26 lines of it have space chars.. All filled up to a certain column!
<infinisil> Trailing whitespaces ahoy!
<samueldr> (CTRL+A to have super powers)
<infinisil> Should I make a PR to apply the editorconfig to all files?
<infinisil> This stuff would get removed
<samueldr> I think the answer is always "do the PR", now will it pass?
<samueldr> only after a fair roll of a dice
<infinisil> Heh
<infinisil> Last time I made a huge refactoring PR i messed up and it got merged too quickly
<infinisil> And now it's in the history and I can never get rid of it
<samueldr> :)
<samueldr> you're not alone, automating is hard
<samueldr> I would still create it, but prefix WIP:
<samueldr> it's one neat feature of gitlab, where MRs prefixed WIP cannot be merged
<infinisil> Oh nice
<pushcx> infinisil: https://github.com/NixOS/nix/issues/2259 wrote up a doc bug
newhoggy has joined #nixos
<pushcx> (also, I scrolled past you on lobste.rs/u while I flipped over to do something else, so, hi from a small world)
<infinisil> pushcx: Thanks! Hi there :P
wchresta has quit [Ping timeout: 240 seconds]
<samueldr> pushcx: that's a fine issue there
<worldofpeace> yeah that's pretty nice
<infinisil> samueldr: Btw, I'm currently doing a for loop over all .nix files in nixpkgs and opening each one of them with vim, which automatically applies .editorconfig
<infinisil> Terminal's going crazy
<ldlework> lol
<samueldr> there's no CLI to simply `find -exec`?
<pushcx> samueldr: I have lots of experience being confused by docs. :)
<samueldr> pushcx: oh, experience writing docs ;)
<samueldr> (pulling your leg here)
<infinisil> #2255
<{^_^}> https://github.com/NixOS/nixpkgs/pull/2255 (by jwiegley, closed): The timeparsers library requires convertible == 1.0.*
<pushcx> I was really impresesed by the manual for NixOS and most of the Nix manual is good, especially that the overall structure is mostly to go through the normal things every user wants to do and explain fundamentals along the way.
<samueldr> infinisil: wrong repo :)
<infinisil> nix#2255
<{^_^}> https://github.com/NixOS/nix/issues/2255 (by domenkozar, open): Support zstd compression for binary caches
<infinisil> Whoops
<worldofpeace> that gave me whiplash
<samueldr> pushcx: the nix* manuals are all... impressively furnished, you do know there are three manuals?
<samueldr> nix{,pkgs,os} manuals
ryantrinkle has quit [Ping timeout: 240 seconds]
<pushcx> samueldr: Yes. I started with the NixOS manual to get an install, now I'm stuck on the Nix manual trying to learn to package software before I can start the nixpkgs manual to consider contributing to the project.
blankhart has quit [Read error: Connection reset by peer]
blankhart has joined #nixos
<{^_^}> [nixpkgs] @Moredread opened pull request #42679 → WIP vcvrack: Init at 0.6.1 → https://git.io/f4d9C
<Myrl-saki> Anyone else love the feeling of tabbing to your nix-build exactly as it finishes?
<infinisil> Myrl-saki: Aw yeah, I can agree with that
matthewbauer has quit [Ping timeout: 240 seconds]
<infinisil> Alright how can that be: #42676
<{^_^}> https://github.com/NixOS/nixpkgs/pull/42676 (by Infinisil, open): treewide: http -> https sources
<infinisil> GrahamcOfBorg added the labels: "rebuild-linux-stdenv", and "rebuild-linux: 1-10"
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42680 → simgrid: 3.19.1 -> 3.20 → https://git.io/f4d9M
<infinisil> How can it rebuild the stdenv but only rebuild 1-10 packages?!?
<infinisil> The 1-10 packages is the buildtorrent package the second commit is devoted for, but rebuilding stdenv? Why?
<infinisil> gchristensen: Do you know why? ^^
justanotheruser has quit [Quit: WeeChat 2.0]
justanotheruser has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42681 → redo: 1.2 -> 1.3 → https://git.io/f4dHc
matthewbauer has joined #nixos
<{^_^}> [nixpkgs] @Gerschtli opened pull request #42682 → dwm-status: 1.0.0 -> 1.1.1 → https://git.io/f4dHS
newhoggy has quit [Remote host closed the connection]
nschoe has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @lschuermann opened pull request #42683 → libvmi: init at 0.12 → https://git.io/f4dQe
roconnor__ has joined #nixos
obadz- has joined #nixos
dbmikus_ has quit [Ping timeout: 268 seconds]
blankhart has quit [Ping timeout: 264 seconds]
obadz has quit [Ping timeout: 260 seconds]
obadz- is now known as obadz
blonkhart has quit [Ping timeout: 256 seconds]
__monty__ has quit [Quit: leaving]
<endformationage> I've updated the neo4j service module, and found an existing entry in modules/rename.nix for a previously renamed option.
joelpet has quit [Ping timeout: 240 seconds]
<endformationage> With my new set of options, which mirror neo4j's newer config option names and value types, I'm not sure it makes sense to add to rename.nix, esp. as some of the types have changed..
jperras has quit [Quit: WeeChat 2.1]
Ridout has joined #nixos
jperras has joined #nixos
<endformationage> When is it acceptable to have breaking changes to a module's options?
ckauhaus has joined #nixos
newhoggy has joined #nixos
ckauhaus has quit [Ping timeout: 268 seconds]
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42684 → qpdf: 8.0.2 -> 8.1.0 → https://git.io/f4d7J
tzemanovic has joined #nixos
tzemanov_ has joined #nixos
sbdchd has joined #nixos
alexteves has joined #nixos
blonkhart has joined #nixos
silver has joined #nixos
tzemanovic has quit [Ping timeout: 264 seconds]
wgas has joined #nixos
dtz is now known as dtz2
tzemanov_ has quit [Read error: Connection reset by peer]
tzemanovic has joined #nixos
joelpet has joined #nixos
tzemanovic has quit [Remote host closed the connection]
dtz2 is now known as dtz
erasmas has quit [Quit: leaving]
tzemanovic has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #42685 → pmd: 6.4.0 -> 6.5.0 → https://git.io/f4ddr
chessai has joined #nixos
newhoggy_ has joined #nixos
<{^_^}> [nixpkgs] @Chiiruno opened pull request #42686 → dolphinEmuMaster: 2018-06-22 -> 2018-06-27 → https://git.io/f4dd9
newhoggy has quit [Ping timeout: 245 seconds]
rprije has joined #nixos
<{^_^}> [nixpkgs] @nh2 opened pull request #42687 → nginx: Flag to build with debugging and parallel builds → https://git.io/f4dFI
<gchristensen> infinisil: I think because the src drvs technically did change, causing the drv to change for stdenv, but not the outPath which is actually important
tenten8401_ has joined #nixos
Guanin has quit [Remote host closed the connection]
<tenten8401_> Do you think it'd be very hard to write a module for something provided I already have a configuration like this? https://hastebin.com/uxetixinej.bash
<tenten8401_> Considering writing a NixOS module for the Pterodactyl panel
Sonarpulse has quit [Ping timeout: 245 seconds]
<samueldr> you're halfway there, in a way
Guanin has joined #nixos
<samueldr> you "just" need to add options to configure values
obadz- has joined #nixos
<samueldr> "just" being one of the most loaded words in tech
ericsagnes has quit [Ping timeout: 260 seconds]
<tenten8401_> hmm
obadz has quit [Ping timeout: 240 seconds]
<tenten8401_> I wish I haden't left my NixOps config at home
obadz- is now known as obadz
<samueldr> obviously, it'll be harder than "just" adding options, you have to make sane options and configuration may change depending on those options ;)
<tenten8401_> yeah, it'll definently be a project
<infinisil> gchristensen: that doesn't make any sense, any change to a drv should also change its out path
<tenten8401_> I wonder what the heck is connected under tenten8401
<tenten8401_> I wonder if my desktop is on at home or something
<gchristensen> infinisil: its a fixed output, so the inputs don't change the outPath.
<tenten8401_> might be able to SSH into it and pull my NixOps
<tenten8401_> o dang it is up
<infinisil> gchristensen: yeah, so the drv can't be different
obadz- has joined #nixos
<gchristensen> the drv is different because the inputs are different but the outpath is the same
<infinisil> Ohh
<infinisil> I get it now
<infinisil> gchristensen: Although, why only stdenv?