gchristensen changed the topic of #nixos to: NixOS stable: 18.09, beta: 19.03 https://discourse.nixos.org/t/nixos-19-03-feature-freeze/1950 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2018
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/2a7c3484fd2 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<{^_^}> [nixpkgs] @biggs opened pull request #57883 → Update python.section.md → https://git.io/fjvb2
Guest2847 has quit [Read error: Connection reset by peer]
sinner has joined #nixos
sinner is now known as Guest44693
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
erictapen has quit [Ping timeout: 245 seconds]
habbah has left #nixos [#nixos]
erictapen has joined #nixos
Guest44693 has quit [Ping timeout: 244 seconds]
doyougnu has quit [Ping timeout: 245 seconds]
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
npmccallum has joined #nixos
i1nfusion has quit [Remote host closed the connection]
i1nfusion has joined #nixos
klntsky has quit [Ping timeout: 256 seconds]
klntsky has joined #nixos
camsbury has quit [Remote host closed the connection]
camsbury has joined #nixos
o1lo01ol1o has joined #nixos
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
InFlames has quit [Ping timeout: 246 seconds]
rycwo has joined #nixos
mbrgm has quit [Ping timeout: 258 seconds]
mbrgm_ has joined #nixos
stepcut has joined #nixos
mbrgm_ is now known as mbrgm
o1lo01ol1o has quit [Remote host closed the connection]
philipp[m] has quit [Remote host closed the connection]
WilliamHamilton[ has quit [Read error: Connection reset by peer]
yangm97 has quit [Read error: Connection reset by peer]
rnhmjoj has quit [Remote host closed the connection]
bkl[m] has quit [Remote host closed the connection]
benwaffle[m] has quit [Remote host closed the connection]
domenkozar[m] has quit [Remote host closed the connection]
john3[m] has quit [Remote host closed the connection]
Rich[m] has quit [Remote host closed the connection]
florianjacob has quit [Remote host closed the connection]
torched[m] has quit [Read error: Connection reset by peer]
dkellner[m] has quit [Remote host closed the connection]
codyopel has quit [Remote host closed the connection]
makaveli[m] has quit [Read error: Connection reset by peer]
therealwaphire[m has quit [Remote host closed the connection]
attero[m] has quit [Remote host closed the connection]
nbardiuk has quit [Read error: Connection reset by peer]
gudea[m] has quit [Remote host closed the connection]
isgy[m] has quit [Remote host closed the connection]
jyvrmn2[m] has quit [Remote host closed the connection]
moope[m] has quit [Read error: Connection reset by peer]
theseriousadult[ has quit [Remote host closed the connection]
corpix[m] has quit [Remote host closed the connection]
jonreeve[m] has quit [Remote host closed the connection]
kevincox[m] has quit [Remote host closed the connection]
Moredread[m] has quit [Remote host closed the connection]
timokau[m] has quit [Remote host closed the connection]
cejota[m] has quit [Remote host closed the connection]
pleeplop has quit [Remote host closed the connection]
weebull[m] has quit [Read error: Connection reset by peer]
snupples[m] has quit [Read error: Connection reset by peer]
wolfman12345[m] has quit [Read error: Connection reset by peer]
melchips[m] has quit [Remote host closed the connection]
jmchapman[m] has quit [Remote host closed the connection]
olejorgenb[m] has quit [Remote host closed the connection]
abbafei[m] has quit [Remote host closed the connection]
wak-work has quit [Remote host closed the connection]
jak[m] has quit [Remote host closed the connection]
haslersn[m] has quit [Remote host closed the connection]
Purple-mx has quit [Remote host closed the connection]
aaronduino[m] has quit [Remote host closed the connection]
matthewbauer has quit [Remote host closed the connection]
leons has quit [Remote host closed the connection]
infinisil-m has quit [Remote host closed the connection]
clacke[m] has quit [Remote host closed the connection]
offlinehacker has quit [Remote host closed the connection]
ninjatrappeur[m] has quit [Read error: Connection reset by peer]
laas has quit [Remote host closed the connection]
BinkyTheClown has quit [Remote host closed the connection]
copy` has quit [Remote host closed the connection]
otini has quit [Read error: Connection reset by peer]
uvnikita[m] has quit [Read error: Connection reset by peer]
sjy[m] has quit [Read error: Connection reset by peer]
gallexme[m] has quit [Read error: Connection reset by peer]
Flip[m]1 has quit [Read error: Connection reset by peer]
Seb[m]1 has quit [Read error: Connection reset by peer]
atgo[m] has quit [Remote host closed the connection]
timclassic has quit [Remote host closed the connection]
sm[m] has quit [Write error: Connection reset by peer]
fearlessKim[m] has quit [Remote host closed the connection]
grahamc[m] has quit [Remote host closed the connection]
linarcx[m] has quit [Write error: Connection reset by peer]
spacekitteh[m] has quit [Remote host closed the connection]
Noughtmare[m] has quit [Remote host closed the connection]
exarkun has quit [Remote host closed the connection]
vaibhavsagar has quit [Read error: Connection reset by peer]
nh2[m] has quit [Read error: Connection reset by peer]
Vskilet has quit [Read error: Connection reset by peer]
neonfuz__ has quit [Read error: Connection reset by peer]
hylshols7qui[m] has quit [Read error: Connection reset by peer]
tbenst[m] has quit [Remote host closed the connection]
peter2121[m] has quit [Remote host closed the connection]
momack2[m] has quit [Remote host closed the connection]
kaychaks[m] has quit [Write error: Connection reset by peer]
capslock3[m] has quit [Remote host closed the connection]
sphalerit has quit [Read error: Connection reset by peer]
contrun[m] has quit [Read error: Connection reset by peer]
d_g[m] has quit [Remote host closed the connection]
simbergm has quit [Remote host closed the connection]
bachp has quit [Read error: Connection reset by peer]
bbigras has quit [Read error: Connection reset by peer]
bobvanderlinden_ has quit [Remote host closed the connection]
macerbi[m] has quit [Remote host closed the connection]
balsoft[m] has quit [Remote host closed the connection]
Criena[m] has quit [Remote host closed the connection]
lurpahi has quit [Read error: Connection reset by peer]
thequux[m] has quit [Remote host closed the connection]
dmitry-zen[m] has quit [Read error: Connection reset by peer]
stammon has quit [Remote host closed the connection]
mara[m] has quit [Read error: Connection reset by peer]
marko[m]1 has quit [Read error: Connection reset by peer]
alj[m] has quit [Read error: Connection reset by peer]
siraben has quit [Read error: Connection reset by peer]
ststefa[m] has quit [Read error: Connection reset by peer]
Josh[m] has quit [Remote host closed the connection]
benkerry[m] has quit [Remote host closed the connection]
badmutex[m] has quit [Remote host closed the connection]
bkchr has quit [Read error: Connection reset by peer]
zurdo has quit [Read error: Connection reset by peer]
thefloweringash has quit [Read error: Connection reset by peer]
billsun has quit [Read error: Connection reset by peer]
schmittlauch[m] has quit [Read error: Connection reset by peer]
bobmolson[m] has quit [Remote host closed the connection]
sitischu[m] has quit [Read error: Connection reset by peer]
thaddeusmaddeus[ has quit [Read error: Connection reset by peer]
Ralith has quit [Read error: Connection reset by peer]
YanMinari[c][m] has quit [Remote host closed the connection]
attente[m] has quit [Remote host closed the connection]
slabity has quit [Remote host closed the connection]
tokudan[m] has quit [Remote host closed the connection]
am3on[m] has quit [Remote host closed the connection]
ejpcmac has quit [Remote host closed the connection]
bricewge has quit [Read error: Connection reset by peer]
Barnabas[m] has quit [Remote host closed the connection]
henrytill[m] has quit [Read error: Connection reset by peer]
IslandUsurper has quit [Remote host closed the connection]
sputny[m] has quit [Remote host closed the connection]
aquarial has quit [Read error: Connection reset by peer]
rycee has quit [Read error: Connection reset by peer]
icetan has quit [Remote host closed the connection]
ptotter[m] has quit [Remote host closed the connection]
smolboye[m] has quit [Remote host closed the connection]
nokomprendo[m] has quit [Remote host closed the connection]
roberth has quit [Remote host closed the connection]
Dandellion[m] has quit [Remote host closed the connection]
ponpinu[m] has quit [Remote host closed the connection]
M0ddba11[m] has quit [Remote host closed the connection]
bee[m]1 has quit [Remote host closed the connection]
nyanloutre[m] has quit [Remote host closed the connection]
lycium[m] has quit [Remote host closed the connection]
rdes[m] has quit [Read error: Connection reset by peer]
das-g[m] has quit [Remote host closed the connection]
tfc[m] has quit [Read error: Connection reset by peer]
bb010g has quit [Remote host closed the connection]
fgaz has quit [Remote host closed the connection]
worldofpeace has quit [Remote host closed the connection]
Brio[m] has quit [Remote host closed the connection]
tuxubuntu[m] has quit [Remote host closed the connection]
juliendehos[m] has quit [Remote host closed the connection]
iraems[m] has quit [Remote host closed the connection]
alienpirate5 has quit [Remote host closed the connection]
aissat[m] has quit [Remote host closed the connection]
MayeulC has quit [Remote host closed the connection]
MerlinGttlinger[ has quit [Remote host closed the connection]
musicmatze has quit [Write error: Connection reset by peer]
klDen[m] has quit [Write error: Connection reset by peer]
nocent has quit [Remote host closed the connection]
JaredM[m] has quit [Remote host closed the connection]
Ericson2314 has quit [Write error: Connection reset by peer]
jpo-joyent has quit [Remote host closed the connection]
dtz has quit [Remote host closed the connection]
bennofs[m] has quit [Remote host closed the connection]
cornu has quit [Read error: Connection reset by peer]
bpye has quit [Read error: Connection reset by peer]
hiroshi[m] has quit [Read error: Connection reset by peer]
<clever> we got matrixed!
<clever> noonien: do you see discord.desktop under /run/current-system/sw/ ?
<noonien> `find` did not seem to find it
<clever> noonien: find doesnt follow symlinks, just look in the usual place, under share
<noonien> ah, ok, will do
irdr has quit [Remote host closed the connection]
irdr has joined #nixos
rycwo has quit [Ping timeout: 258 seconds]
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/1222e289b50 (from 9 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
nh2[m] has joined #nixos
<noonien> he's gone to sleep, will check tomorrow, thanks for getting back!
i1nfusion has quit [Remote host closed the connection]
i1nfusion has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #57884 → libssh2: 1.8.0 -> 1.8.1 (SECURITY) → https://git.io/fjvb5
alex`` has quit [Ping timeout: 246 seconds]
slack1256 has quit [Remote host closed the connection]
doyougnu has joined #nixos
slack1256 has joined #nixos
rcshm has quit [Remote host closed the connection]
evanm_ has quit [Ping timeout: 256 seconds]
rcshm has joined #nixos
rcshm has quit [Remote host closed the connection]
rcshm has joined #nixos
o1lo01ol1o has joined #nixos
camsbury has quit [Remote host closed the connection]
slack1256 has quit [Ping timeout: 250 seconds]
erictapen has quit [Ping timeout: 244 seconds]
bemeurer has joined #nixos
<bemeurer> Hi, NixOS newbie here. What's the difference between pkgs.neovim and pkgs.neovim-unwrapped?
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
erictapen has joined #nixos
stepcut has quit [Remote host closed the connection]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
stepcut has joined #nixos
slack1256 has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
Ericson2314 has joined #nixos
cornu has joined #nixos
bennofs[m] has joined #nixos
bachp has joined #nixos
dtz has joined #nixos
florianjacob has joined #nixos
clacke[m] has joined #nixos
fgaz has joined #nixos
Dandellion[m] has joined #nixos
BinkyTheClown has joined #nixos
WilliamHamilton[ has joined #nixos
zurdo has joined #nixos
bpye has joined #nixos
d_g[m] has joined #nixos
attero[m] has joined #nixos
bb010g has joined #nixos
benwaffle[m] has joined #nixos
copy` has joined #nixos
attente[m] has joined #nixos
Barnabas[m] has joined #nixos
Noughtmare[m] has joined #nixos
bobvanderlinden_ has joined #nixos
bbigras has joined #nixos
abbafei[m] has joined #nixos
aquarial has joined #nixos
cejota[m] has joined #nixos
mara[m] has joined #nixos
dkellner[m] has joined #nixos
alj[m] has joined #nixos
M0ddba11[m] has joined #nixos
laas has joined #nixos
alienpirate5 has joined #nixos
am3on[m] has joined #nixos
bkchr has joined #nixos
das-g[m] has joined #nixos
aissat[m] has joined #nixos
capslock3[m] has joined #nixos
simbergm has joined #nixos
leons has joined #nixos
sphalerit has joined #nixos
rycee has joined #nixos
yangm97 has joined #nixos
timclassic has joined #nixos
nyanloutre[m] has joined #nixos
schmittlauch[m] has joined #nixos
vaibhavsagar has joined #nixos
ptotter[m] has joined #nixos
tokudan[m] has joined #nixos
Ralith has joined #nixos
roberth has joined #nixos
timokau[m] has joined #nixos
philipp[m] has joined #nixos
ejpcmac has joined #nixos
kaychaks[m] has joined #nixos
olejorgenb[m] has joined #nixos
john3[m] has joined #nixos
siraben has joined #nixos
ststefa[m] has joined #nixos
melchips[m] has joined #nixos
exarkun has joined #nixos
wak-work has joined #nixos
Seb[m]1 has joined #nixos
contrun[m] has joined #nixos
Moredread[m] has joined #nixos
thequux[m] has joined #nixos
MerlinGttlinger[ has joined #nixos
momack2[m] has joined #nixos
slabity has joined #nixos
jak[m] has joined #nixos
bee[m]1 has joined #nixos
lycium[m] has joined #nixos
moope[m] has joined #nixos
matthewbauer has joined #nixos
spacekitteh[m] has joined #nixos
worldofpeace has joined #nixos
thefloweringash has joined #nixos
jmchapman[m] has joined #nixos
klDen[m] has joined #nixos
codyopel has joined #nixos
rdes[m] has joined #nixos
nocent has joined #nixos
dmitry-zen[m] has joined #nixos
hiroshi[m] has joined #nixos
infinisil-m has joined #nixos
makaveli[m] has joined #nixos
isgy[m] has joined #nixos
therealwaphire[m has joined #nixos
billsun has joined #nixos
bkl[m] has joined #nixos
jpo-joyent has joined #nixos
balsoft[m] has joined #nixos
thaddeusmaddeus[ has joined #nixos
badmutex[m] has joined #nixos
MayeulC has joined #nixos
fearlessKim[m] has joined #nixos
neonfuz__ has joined #nixos
ponpinu[m] has joined #nixos
musicmatze has joined #nixos
snupples[m] has joined #nixos
benkerry[m] has joined #nixos
aaronduino[m] has joined #nixos
sitischu[m] has joined #nixos
jyvrmn2[m] has joined #nixos
nbardiuk has joined #nixos
Criena[m] has joined #nixos
pleeplop has joined #nixos
corpix[m] has joined #nixos
icetan has joined #nixos
otini has joined #nixos
atgo[m] has joined #nixos
domenkozar[m] has joined #nixos
macerbi[m] has joined #nixos
sm[m] has joined #nixos
tfc[m] has joined #nixos
offlinehacker has joined #nixos
hylshols7qui[m] has joined #nixos
haslersn[m] has joined #nixos
grahamc[m] has joined #nixos
gallexme[m] has joined #nixos
Purple-mx has joined #nixos
Flip[m]1 has joined #nixos
Brio[m] has joined #nixos
gudea[m] has joined #nixos
lurpahi has joined #nixos
YanMinari[c][m] has joined #nixos
rnhmjoj has joined #nixos
Vskilet has joined #nixos
sputny[m] has joined #nixos
tuxubuntu[m] has joined #nixos
IslandUsurper has joined #nixos
peter2121[m] has joined #nixos
Josh[m] has joined #nixos
kevincox[m] has joined #nixos
jonreeve[m] has joined #nixos
uvnikita[m] has joined #nixos
smolboye[m] has joined #nixos
tbenst[m] has joined #nixos
weebull[m] has joined #nixos
bobmolson[m] has joined #nixos
theseriousadult[ has joined #nixos
wolfman12345[m] has joined #nixos
henrytill[m] has joined #nixos
ninjatrappeur[m] has joined #nixos
torched[m] has joined #nixos
sjy[m] has joined #nixos
juliendehos[m] has joined #nixos
iraems[m] has joined #nixos
JaredM[m] has joined #nixos
nokomprendo[m] has joined #nixos
linarcx[m] has joined #nixos
marko[m] has joined #nixos
stammon has joined #nixos
bricewge has joined #nixos
<clever> and we got matrixed again
<bemeurer> Hm?
calbrecht[mb] has quit [Remote host closed the connection]
calbrecht[mb] has joined #nixos
<ddellacosta> wow, does that happen often?
<{^_^}> [nixpkgs] @aszlig pushed to master « lastwatch: Remove no longer maintained package »: https://git.io/fjvNY
<tobiasBora> Hello,
<tobiasBora> I'd like to run a server service as an unpriviledged user
<tobiasBora> how could I do so?
<tobiasBora> I was thinking to do something like that: http://paste.debian.net/1073698
<tobiasBora> with users.extraUsers.{isNormalUser = false; isSystemUser = true;}
<tobiasBora> and then set "User = 'myuser'"
<tobiasBora> users.extraUsers.myuser*
drakonis_ has joined #nixos
<tobiasBora> but I don't know if it's the good way to create users
<tobiasBora> (for services)
<aszlig> tobiasBora: btw.: it's users.users, users.extraUsers is obsolete
<maurer> consider something like that in your module
<aszlig> tobiasBora: you could also use serviceConfig.DynamicUser = true
<maurer> Oh god dynamic users are scary
<maurer> they haven't yet, but I swear they're gonna cause a secvuln
<tobiasBora> what is that?
<maurer> tl;dr you can have uids assigned dynamically to your service
<maurer> and then deallocated when it doesn't have any stuff
<tobiasBora> ok.
<tobiasBora> useDefaultShell = true; ==> can I just remove the shell as I don't need any?
drakonis has quit [Ping timeout: 258 seconds]
<aszlig> tobiasBora: by default you get "nologin" as the shell
<tobiasBora> aszlig: ok thanks. that's the pkgs.shadow I guess
<aszlig> tobiasBora: yep
rcshm has quit [Remote host closed the connection]
<aszlig> maurer: well, it's as scary as our way of reviving user accounts
rcshm has joined #nixos
<maurer> aszlig: Yes, but that's scary too
<maurer> basically I don't like the assumption it makes about "uids will not be used for anything other than shms/sockets/files"
<maurer> Someone's gonna store a uid somewhere since it's been "OK" for years
<aszlig> maurer: what do you mean by "somewhere"?
<{^_^}> [nixpkgs] @veprbl merged pull request #57048 → tayga: init at 0.9.2 → https://git.io/fhpNG
<{^_^}> [nixpkgs] @veprbl pushed 2 commits to master: https://git.io/fjvN8
<clever> ddellacosta: every time matrix has stability problems
<maurer> aszlig: Database, saved config file, acl
<maurer> heck, maybe even in memory somewhere for an rpc system
<aszlig> okay, maybe let me rephrase this: what do you mean by "store" ;-)
<aszlig> like file permissions?
<aszlig> i mean, basically you want to use DynamicUser in a separate user namespace anyway
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjvN4
schneid3306 has joined #nixos
<aszlig> but in this case you don't even need DynamicUser, so never mind
<tobiasBora> I've a question: if I install this on a server, will it install as well all the graphical dependencies? https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/graphics/drawpile/default.nix
<maurer> aszlig: As an example, you could see a database doing db user to system user mapping via database username -> system uid mapping
<maurer> systemd would be blissfully unaware of this, and not unmap them when the service was destroyed
o1lo01ol1o has quit [Remote host closed the connection]
xkapastel has quit [Quit: Connection closed for inactivity]
rcshm has quit [Remote host closed the connection]
mmlb977 has joined #nixos
<maurer> tl;dr, I think dynamic user ids could be good in greenfield dev
<maurer> but this isn't how uids h ave been used for years
<maurer> so there's bound to be software that makes the old "uids won't be reused" assumption
rcshm has joined #nixos
rcshm has quit [Read error: Connection reset by peer]
rcshm has joined #nixos
<aszlig> maurer: well, systemd just assumes (and that's also documented) that uids in the dynamic user range aren't allocated elsewhere
<aszlig> of course, if you use one of these uids, it will be a problem
<aszlig> or maybe that's not what you meant?
<maurer> I mean:
o1lo01ol1o has joined #nixos
<maurer> 1.) Systemd hands out uid to service foo
drakonis has joined #nixos
<maurer> 2.) Service foo talks to db, gets mapping set up
infinee has joined #nixos
<maurer> 3.) systemd kills foo, fress ud
<maurer> *uid
<maurer> 4.) Systemd hands out same uid to service bar
<maurer> 5.) User uses bar to talk to db, getting service foo's rights
kvda has joined #nixos
drakonis1 has joined #nixos
<aszlig> maurer: well, usually the same uid is allocated for the same service, so while it's not impossible that something like this could happen there is the possibility, yes
<maurer> I mean, the whole point of dyn uids is to reuse them right?
<aszlig> but something like this is not the scope of DynamicUser
<maurer> So if this situation *cannot* happen
drakonis_ has quit [Ping timeout: 252 seconds]
stepcut has quit [Remote host closed the connection]
<maurer> then it doesn't help much
stepcut has joined #nixos
<aszlig> i think DynamicUser is meant for services that don't interact with other services locally, so you just need "some extra user that just isn't used anywhere else"
<maurer> So, if used carefully, that could work
<maurer> I think that it's going to get overused and/or cargo culted, and will cause a vuln via the path I described above
drakonis has quit [Ping timeout: 264 seconds]
<maurer> Can you honestly say that you've never seen someone cargo cult a systemd unit file?
drakonis has joined #nixos
freeman42x has quit [Ping timeout: 252 seconds]
o1lo01ol1o has quit [Ping timeout: 255 seconds]
<aszlig> maurer: nah, i can't
<aszlig> i've seen lots of unit files like that
<aszlig> even using DynamicUser for databases
<CMCDragonkai> If you have installed a nix package that uses java, and the wrapper executable calls java, is there a way to increase the heap size when executing the wrapper?
stepcut has quit [Ping timeout: 246 seconds]
<aszlig> CMCDragonkai: the heap size of the wrapper itself?
<CMCDragonkai> no the wrapper is a nix shell script
<aszlig> aka, during clone()
<CMCDragonkai> that execs java
<aszlig> CMCDragonkai: ah, wait... you mean the JVM heap size?
<CMCDragonkai> yes
<aszlig> isn't there a flag for that?
<CMCDragonkai> yes, but how does it get passed via the shell warpper
<CMCDragonkai> yes, but how does it get passed via the shell wrapper
o1lo01ol1o has joined #nixos
infinee has quit [Ping timeout: 246 seconds]
<aszlig> well, if the wrapper is created via makeWrapper you should be able to just pass it to the wrapper and it gets passed along
<CMCDragonkai> the wrapper uses `"$@"`at the very end, so java isn't interpreting the heap option
<aszlig> CMCDragonkai: ah, that arg is position dependent?
<CMCDragonkai> `selenium-server -Xms1024M` doesn't work
silver has quit [Quit: rakede]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<aszlig> CMCDragonkai: does it work if you put that flag at the front of the call to java?
<aszlig> like copying the command line from the wrapper and injecting that flag in front
goibhniu1 has quit [Ping timeout: 246 seconds]
<CMCDragonkai> it probably does, i haven't tried, but i'd hope that such wrappers would support jvm options since these can be critical to how the app functions
<aszlig> CMCDragonkai: well, IFF java args are not positional, then it should work
<CMCDragonkai> I think the wrapper would have to do something like `$@` instead of `"$@"`
<aszlig> CMCDragonkai: nah, that would cause problems with spaces in args
<aszlig> like eg. calling something like: wrapper 'foo bar' will pass 'foo' and 'bar' seperated
<aszlig> s/d$/ly/
<aszlig> so "$@" is fine
slack1256 has quit [Remote host closed the connection]
<aszlig> my guess is rather that those arguments are indeed positional
<aszlig> CMCDragonkai: you did actually verify that -Xms1024M is even valid *at* *all*, right?
stepcut has joined #nixos
<CMCDragonkai> those are the jvm options, i'll tell my colleague to try later
<aszlig> CMCDragonkai: so maybe it's "-Xml 1024M"?
<aszlig> which error do you get?
<CMCDragonkai> no its definitely `-Xms`
<aszlig> sorry, i meant "-Xms 1024M"
<CMCDragonkai> no spaces
<aszlig> okay, maybe the upper-case M is the problem, but anyway, you should test whether it works outside of that wrapper just to be sure
thc202 has quit [Ping timeout: 245 seconds]
<samueldr> aszlig: confirmed with a local test, it is position dependent
<samueldr> CMCDragonkai: :/ not sure what the best solution for that is, but it is an annoying thing I can see
<aszlig> samueldr: geesh...
<aszlig> JAVA_OPTS=-Xms1024M <command>
work_ has quit [Quit: Connection closed for inactivity]
<aszlig> that could work, but haven't tested
<samueldr> from a small search looks like JAVA_OPTS is dependent on the thing starting
<samueldr> though might be a good idea to add that in our java-using things
<samueldr> (I'm verifying using -Xmx1M to crash the app)
<aszlig> ah, yeah, that's actually something commonly used in wrappers
thomashoneyman has joined #nixos
<thomashoneyman> is anyone here using home-manager with neovim?
<samueldr> _JAVA_OPTIONS=-Xmx1M selenium-server # this works though CMCDragonkai
<samueldr> (works as in crashes as expected with a max of 1M)
<samueldr> and JAVA_TOOL_OPTIONS too seems to be fine
<samueldr> >> JAVA_TOOL_OPTIONS is included in standard JVMTI specification, does better handling of quoted spaces and should be always preferred instead of undocumented Hotspot-specific _JAVA_OPTIONS
<{^_^}> [nixpkgs] @ryantm merged pull request #57844 → dune: 1.6.2 -> 1.8.2 → https://git.io/fjvVZ
<{^_^}> [nixpkgs] @ryantm closed pull request #56632 → dune: 1.6.2 -> 1.7.3 → https://git.io/fhAwo
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fjvNd
aaronjanse[m] has joined #nixos
<thomashoneyman> i'm trying to simply enable neovim with:
<thomashoneyman> programs.neovim = { enable = true; };
<thomashoneyman> but I get the following error:
<thomashoneyman> error: 'wrapper' at /nix/var/nix/profiles/per-user/root/channels/nixos/pkgs/applications/editors/neovim/wrapper.nix:12:13 called with unexpected argument 'withNodeJs', at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/customisation.nix:69:12
<thomashoneyman> i can see the option is there, with a default:
rcshm has quit [Remote host closed the connection]
<thomashoneyman> added in this commit:
rcshm has joined #nixos
<thomashoneyman> ...but clearly it ain't working the way i'd expect
<thomashoneyman> i'm not sure how to begin debugging this (fairly brand-new to nix / nixos)
sigmundv__ has quit [Ping timeout: 272 seconds]
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
rcshm_ has joined #nixos
<{^_^}> [nixpkgs] @acowley opened pull request #57885 → linux: Enable AMD's amdkfd kernel driver in >= 4.20 → https://git.io/fjvAU
rcshm has quit [Ping timeout: 246 seconds]
thomashoneyman has quit [Remote host closed the connection]
<tobiasBora> Any idea why drawpile for ARM is not visible on hydra? https://hydra.nixos.org/search?query=drawpile
jasongrossman is now known as jasongrossman[m`
<clever> > pkgs.drawpile.meta.platforms
<{^_^}> attribute 'platforms' missing, at (string):222:1
<clever> > pkgs.drawpile.meta
<{^_^}> { available = <CODE>; description = "A collaborative drawing program that allows multiple users to sketch on the same canvas simultaneously"; downloadPage = "https://drawpile.net/download/"; homepage ...
<clever> > pkgs.drawpile.meta.hydraPlatforms
<{^_^}> attribute 'hydraPlatforms' missing, at (string):222:1
<clever> tobiasBora: that might be why
rcshm_ has quit []
<tobiasBora> clever: you mean that without platforms, it's built on x86_64 but not on arm?
<clever> tobiasBora: thats my guess
hlolli has quit [Remote host closed the connection]
slack1256 has joined #nixos
<tobiasBora> clever: interesting. platforms = platforms.unix; should be enough?
<clever> tobiasBora: that would include darwin, platforms.linux doesnt
<tobiasBora> clever: ok thanks. I think it should build on darwin as well.
erasmus has quit [Read error: Connection reset by peer]
infinee has joined #nixos
aaronjanse[m] has left #nixos ["User left"]
simukis has quit [Quit: simukis]
cyphase has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @ryantm pushed to ryantm-copying « COPYING: include 2019 »: https://git.io/fjvA0
slack1256 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @ryantm opened pull request #57886 → COPYING: include 2019 → https://git.io/fjvAE
npmccallum has quit [Remote host closed the connection]
countingsort has joined #nixos
Fare has joined #nixos
jasongrossman[m` has quit [Quit: ERC (IRC client for Emacs 26.1)]
jasongrossman has joined #nixos
doyougnu has quit [Ping timeout: 250 seconds]
cyphase has joined #nixos
buffet has quit [Ping timeout: 246 seconds]
realrokka_ has quit [Ping timeout: 245 seconds]
stepcut_ has joined #nixos
stepcut has quit [Ping timeout: 255 seconds]
hellrazo1 has joined #nixos
hellrazor has quit [Ping timeout: 246 seconds]
stepcut_ has quit [Ping timeout: 245 seconds]
<CMCDragonkai> samueldr: I will try `JAVA_TOOL_OPTIONS`
<CMCDragonkai> samueldr: I recognise this would be inherited by any jvm invocations then.
stepcut has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace pushed 5 commits to master: https://git.io/fjvA7
<{^_^}> [nixpkgs] @worldofpeace merged pull request #57886 → COPYING: include 2019 → https://git.io/fjvAE
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjvAF
<{^_^}> [nixpkgs] @worldofpeace pushed 0 commits to ryantm-copying: https://git.io/fjvAb
<tobiasBora> Hum I've an annoying problem
<tobiasBora> I don't have much space on /boot
<tobiasBora> (like 120M on my rasp)
<clever> tobiasBora: grub or systemd-boot?
<tobiasBora> I tried to remove everything in /boot/nixos in order to keep only the next kernel. But for some reason, nixos-rebuild creates back a folder for linux 4.20, and 5.0, while I just want the latest kernel.
<tobiasBora> clever: hum I think it's based on extlinux
<tobiasBora> (it's on the raspeberry pi 3)
<clever> tobiasBora: every time you run nixos-rebuild switch, it will copy all the kernels from your system generations
<clever> [root@amd-nixos:~]$ nix-env --profile /nix/var/nix/profiles/system --list-generations
<clever> tobiasBora: this lists all system generations
<clever> [root@amd-nixos:~]$ nix-env --profile /nix/var/nix/profiles/system --delete-generations 453
<clever> and that gets rid of one
<clever> removing generation 453
<tobiasBora> clever: I ran nix-store --gc, isn't it supposed to remove old generation as well?
<clever> `nix-collect-garbage --delete-older-than` and `-d` will also wipe them globally
<clever> tobiasBora: --gc wont get rid of generations, and the things they depend on
<clever> you need one of `-d`, `--delete-older-than` or `--delete-generations` to get rid of a generation
<tobiasBora> clever: I see. So I need both -d and nix-store --gc?
<clever> only -d is needed
<tobiasBora> (to clean up space the latest one I guess)
<tobiasBora> so what is the latest one for?
<clever> since `nix-collect-garbage -d` will also do a GC afterwards
<clever> `nix-env --delete-generations` wont do a gc, so you have to then manually run `nix-collect-garbage`
<clever> but also, nixos-rebuild and /boot, doesnt care if you do a gc or not
<clever> nixos-rebuild only cares about the generations themselves
<tobiasBora> ok I see.
<{^_^}> [nixpkgs] @worldofpeace pushed 4 commits to release-19.03: https://git.io/fjvxe
<tobiasBora> clever: but there is something I don't get: for now I can't both switch and remove older generation right?
<tobiasBora> so I have no way to avoid both kernel 4.20 and 5.0 at the same time right?
<clever> nixos-rebuild doesnt have any built-in command to get rid of old generations
<clever> grub also has an option to limit how many things it copies to /boot/
<clever> but extlinux and systemd-boot dont
<tobiasBora> clever: hum it seems to work so far :)
<tobiasBora> clever: thanks ;)
<clever> yep
Fare has quit [Ping timeout: 245 seconds]
stepcut_ has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
stepcut_ has quit [Read error: Connection reset by peer]
stepcut__ has joined #nixos
stepcut has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @tobiasBora opened pull request #57888 → drawpile: add architecture unix → https://git.io/fjvxT
domogled has quit [Quit: domogled]
bemeurer has quit [Quit: WeeChat 2.4]
domogled has joined #nixos
stepcut__ has quit [Remote host closed the connection]
stepcut has joined #nixos
o1lo01ol1o has joined #nixos
vidbina has joined #nixos
drakonis has quit [Quit: WeeChat 2.3]
stepcut has quit [Ping timeout: 244 seconds]
o1lo01ol1o has quit [Ping timeout: 272 seconds]
vidbina has quit [Ping timeout: 244 seconds]
<sb0> I'm trying to package a Python library that needs a binary executable (yosys) including in its check phase. this fails as the executable isn't in PATH
<sb0> adding the yosys package to propagatedBuildInputs does not solve the problem
<sb0> what is the proper way to deal with this?
<clever> sb0: you just want normal buildInputs, there is no need for it to propagate
<sb0> using the library also needs that executable
<sb0> so, I do want to propagate it
<clever> sb0: propagatedBuildInputs wont make it available at runtime
<sb0> hmm, is there a way to make it available at runtime?
<clever> wrapProgram
<sb0> I've put it in both buildInputs and propagatedBuildInputs, and the check phase still fails from the missing executable
vidbina has joined #nixos
<clever> putting it in both wont help any
<sb0> it's a Python library - not a Python application
<clever> can you pastebin the nix expression and the exact error?
<sb0> well, putting it in buildInputs alone also does not work...
<sb0> nmigen.back.verilog.YosysError: Could not find Yosys in PATH. Place `yosys` in PATH or specify path explicitly via the YOSYS environment variable
<clever> sb0: have you tried YOSYS = "${yosys}/bin/yosys"; ?
<sb0> I guess I can try that, but why is it not in PATH?
<clever> not clear yet
pie___ has joined #nixos
<clever> sb0: i think buildPythonPackage handles buildInputs differently
<sb0> YOSYS = "${yosys}/bin/yosys" does solve the issue
<sb0> it's a bit clumsy, though
<clever> and wrapProgram can also set the YOSYS var
<clever> yeah
<sb0> it's a library, I can't use wrapProgram
vidbina has quit [Ping timeout: 246 seconds]
<clever> this is a problem that all python libraries have
<clever> the final shell script that uses the library, must wrapProgram
pie__ has quit [Ping timeout: 272 seconds]
<clever> or you must patch the library to use an asbolute path
<sb0> patching the library is doable
vidbina has joined #nixos
<sb0> do you mean, injecting the path to yosys in the nix store into the installed library?
<clever> yeah
<sb0> and then put it in propagatedBuildInputs?
<clever> thats how all the c/c++ libraries do it
<clever> nope
<clever> it doesnt need to be in any of the inputs
<clever> any storepath that appears in your output, is something you depend on at runtime
<sb0> ok
<sb0> thanks!
ilya-fedin has joined #nixos
vidbina has quit [Ping timeout: 246 seconds]
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/e0e29a5996e (from 12 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
thedavidmeister has joined #nixos
<thedavidmeister> hey, i'm trying to get a nix shell working on mac/darwin
<thedavidmeister> i managed to with the `frameworks = nixpkgs.darwin.apple_sdk.frameworks;`
<thedavidmeister> but now linux is broken because of unsupported builds
<thedavidmeister> is there a way to conditionally add in the darwin stuff on darwin systems only?
Rusty1 has quit [Quit: Konversation terminated!]
<clever> > stdenv.isDarwin
<{^_^}> false
<clever> > lib.optional stdenv.isDarwin [ nixpkgs.darwin.apple_sdk.frameworks ]
<{^_^}> [ ]
<clever> oh, without the []
kvda has joined #nixos
<clever> > lib.optional stdenv.isLinux nixpkgs.darwin.apple_sdk.frameworks
<{^_^}> [ <CODE> ]
<clever> obviously, the last one has the check backwards
<thedavidmeister> well not obvious heh
<thedavidmeister> new syntax for me
<thedavidmeister> googling lib.optional...
<clever> lib.optional is just a function that takes a bool, and an item
<clever> and then either returns [item] or []
<thedavidmeister> interesting
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/e4c9a026c19 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
endformationage has quit [Quit: WeeChat 2.4]
<thedavidmeister> hmm, undefined variable lib
<thedavidmeister> do i need to import something?
<clever> tobiasBora: stdenv.lib.optional
<clever> oops, ^^
<thedavidmeister> undefined variable stdenv
<clever> tobiasBora: then you want pkgs.lib
<thedavidmeister> undefined variable stdenv
<thedavidmeister> hangon
<clever> i need to stop tab-completing the wrong nick, lol
<thedavidmeister> frameworks = nixpkgs.lib.optional nixpkgs.stdenv.isDarwin nixpkgs.darwin.apple_sdk.frameworks;
<thedavidmeister> so that seems to do something
<clever> it would help to see the rest of the file
<clever> i would start by changing line 3 fro nixpkgs= to pkgs=, since thats what nearly everything else calls it
<clever> and putting the optional on line 7 will cause it to fail hard down on 160
<clever> the frameworks variable becomes an list, in either case, and then it fails
<clever> curl circleci-cli hc-codecov ci ] ++ lib.optionals stdenv.isDarwin [ frameworks.Security frameworks.CoreFoundation frameworks.CoreServices ];
<clever> that will make the whole list optional
<thedavidmeister> ooooh
<thedavidmeister> nice
<thedavidmeister> lemme try that
<{^_^}> [nixpkgs] @mat8913 opened pull request #57889 → flatpak: Fix bubblewrap paths for icon-validator → https://git.io/fjvx2
<{^_^}> [nixpkgs] @dtzWill opened pull request #57890 → nnn: 2.3 -> 2.4 → https://git.io/fjvxV
<thedavidmeister> lemme try that
<{^_^}> [nixpkgs] @dtzWill opened pull request #57891 → catch2: 2.6.0 -> 2.7.0 → https://git.io/fjvxw
<{^_^}> [nixpkgs] @dtzWill opened pull request #57892 → xtruss: init at 20181001-82973f5 → https://git.io/fjvxr
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/8e21b831f64 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
thedavidmeister has quit [Ping timeout: 245 seconds]
thedavidmeister has joined #nixos
ddellacosta has quit [Ping timeout: 245 seconds]
Dr8128 has joined #nixos
fusion809 has joined #nixos
oida has quit [Ping timeout: 256 seconds]
erasmus has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
oida has joined #nixos
vonfry has joined #nixos
<{^_^}> [nixpkgs] @matklad opened pull request #57893 → jumpapp: init at 1.0 → https://git.io/fjvxx
gagbo has quit [Quit: I'm out !]
thedavidmeister has quit [Ping timeout: 246 seconds]
thedavidmeister has joined #nixos
<Myrl-saki> Is there a cptofs equivalent that works with luks?
<Myrl-saki> I'm actually surprised that there's not a lot of references to cptofs..
<Myrl-saki> 1870 results
<colemickens> I was just looking for that a while ago and was also surprised by the same thing.
<Myrl-saki> colemickens: I learned about this because of reading Nix files, FWIW.
<colemickens> Closest thing I found were some old abandonded LUKS/FUSE implementations.
<colemickens> Same here actually :)
<Myrl-saki> And of course, the one who commented on the bountysource is someone from NixOS.
palo1 has joined #nixos
kvda has joined #nixos
kvda has quit [Client Quit]
<thedavidmeister> clever++
<{^_^}> clever's karma got increased to 119
thedavidmeister has quit [Quit: WeeChat 2.4]
palo has quit [Ping timeout: 246 seconds]
palo1 is now known as palo
manjaroCinnamon has joined #nixos
pie_ has joined #nixos
vonfry has quit [Quit: WeeChat 2.4]
manjaroCinnamon has quit [Remote host closed the connection]
dashkal has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @dtzWill opened pull request #57894 → ffsend: 0.2.36 -> 0.2.37 → https://git.io/fjvp0
hyper_ch2 has joined #nixos
<hyper_ch2> hi sphalerit
lejonet has quit [Ping timeout: 245 seconds]
joepie91___ has joined #nixos
joepie91___ has joined #nixos
joepie91___ has quit [Changing host]
mkovacs has joined #nixos
<mkovacs> hi all, i'm running into problems getting Nix work with private Git repos via the ssh-agent setup
joepie91 has quit [Ping timeout: 252 seconds]
Swant has quit [Ping timeout: 608 seconds]
<mkovacs> trying to fetch a private git repo using fetchgitPrivate fails, says "Permission denied (publickey)"
<mkovacs> but ssh -T git@github.com works fine
lejonet has joined #nixos
Swant has joined #nixos
freeman42x has joined #nixos
<mkovacs> i have in my NIX_PATH both the ssh-config-file and ssh-auth-sock variables set
<Myrl-saki> Uh, I'd like to file a bug report. https://imgur.com/a/jFcLV6g
rauno has joined #nixos
pie_ has quit [Ping timeout: 268 seconds]
vk3wtf has quit [Ping timeout: 264 seconds]
<clever> mkovacs: you want to use builtins.fetchGit now
kvda has joined #nixos
kvda has quit [Client Quit]
<clever> mkovacs: the ssh-agent wont allow another user to connect to the ssh-auth-sock, and builtins.fetchGit is just simpler
<hyper_ch2> clever: do you use dnsmasq on nixos?
<clever> hyper_ch2: plain old bind
<hyper_ch2> clever: :( just wanted to test dnsmasq for blacklisting ad/tracker domains
<hyper_ch2> after installing it an reboot, the computer couldn't resolv any domains :)
<clever> hyper_ch2: that could also be done with bind
<hyper_ch2> how do you easily at 70k domains to bind?
<clever> hyper_ch2: due to the sheer number of tabs i have open, just restarting chrome can crash the machine, so i sometimes have to blacklist the domain for half of them lol
<hyper_ch2> clever: lol :)
<Havvy> Firefox's lazy tab loading might work better for you?
<clever> Havvy: too lazy to switch :P
<clever> (back)
<{^_^}> [nixpkgs] @andir merged pull request #57861 → [18.09] firefox 65.0.2 -> 66, 60.5.2esr -> 60.6.0esr, firefox-bin: 65.0.2 -> 66.0 → https://git.io/fjv9f
<{^_^}> [nixpkgs] @andir pushed 7 commits to release-18.09: https://git.io/fjvp1
<clever> Havvy: also, i have had enough tabs in firefox, that just loading the dummy about:blank in each tab, would cripple the machine
<Myrl-saki> clever: Are you sure? Imagine starting in 10 seconds with 500 tabs. With Firefox, you don't have to imagine!
<hyper_ch2> but why only www.youtube.com and not youtube.com and *.youtube.com? that's where dnsmasq is really nice: address=/domain.tld/0.0.0.0 -> also why redirect to 127.0.0.1 instead of 0.0.0.0?
<clever> Havvy: even with the lazy loading, it crashed the machine :P
<clever> Myrl-saki: ^^^
<Myrl-saki> Jesus, how many tabs do you have open?
<hyper_ch2> Myrl-saki: some people like to "collect" open tabs
<Myrl-saki> Also, I actually managed to crash my Android Chromium lmao
<clever> Myrl-saki: you dont want to know how many i had open in firefox back then :P
<Myrl-saki> hyper_ch2: Yeah, me too. But I have not managed to crash my Firefox.
<mkovacs> clever: unfortunately i need a git fetch that works with submodules, and as far as i can tell, builtins.fetchGit doesn't
<hyper_ch2> clever: in case you didn't see but why only www.youtube.com and not youtube.com and *.youtube.com? that's where dnsmasq is really nice: address=/domain.tld/0.0.0.0 -> also why redirect to 127.0.0.1 instead of 0.0.0.0? [08:21] <clever> Havvy: even with the lazy loading, it crashed the machine :P
<clever> mkovacs: one min
<hyper_ch2> ctrl-c fail :)
<clever> hyper_ch2: that was enough to stop them from loading
<clever> hyper_ch2: none of the tabs are on the tld or any other subdomain
<clever> mkovacs: you must use socat to proxy the unix socket, so ssh-agent cant detect that uid git clone is running as
<hyper_ch2> clever: well, the reason why I'd prefer dnsmasq is because the according hosts file with all known subdomains (since /etc/hosts does not support wildcards) is 170k entries :)
<hyper_ch2> so adding address=/domain.tld/0.0.0.0 blacklists also *.domain.tld
<mkovacs> clever: what's strange is that i got this setup working on Ubuntu fine without socat, but having troubles on Arch now
<clever> mkovacs: if you are using single-user nix, then all builds happen as the current user, and ssh-agent doesnt get upset
<clever> mkovacs: but if nix-daemon is at play, they run as seperate users
<mkovacs> gotcha!
<hyper_ch2> I guess I need to check who created the dnsmasq nix expression :)
drakonis1 has quit [Remote host closed the connection]
<hyper_ch2> that's what I added to my configuration.nix and it broke dns resolving https://paste.simplylinux.ch/view/raw/377b8100
drakonis1 has joined #nixos
<hyper_ch2> clever: thx for your configs
dycan has joined #nixos
schneid3306 has quit [Quit: ZZZzzz…]
mkovacs has quit [Quit: Page closed]
malteof[m] has joined #nixos
knupfer has joined #nixos
Glider_IRC__ has joined #nixos
Makaveli7 has joined #nixos
danbst has joined #nixos
Glider_IRC_ has quit [Ping timeout: 250 seconds]
<danbst> hello. Is there any reason why makeFlags = [ "PREFIX=$(out)" ]; isn't in mkDerviation? I see prefix is set in configureFlags, why not set in make flags as well?
xkapastel has joined #nixos
reinhardt has joined #nixos
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
reinhardt has quit [Remote host closed the connection]
reinhardt has joined #nixos
reinhardt has quit [Remote host closed the connection]
m0rphism has joined #nixos
reinhardt has joined #nixos
freeman42x has quit [Ping timeout: 258 seconds]
knupfer has quit [Remote host closed the connection]
goibhniu has joined #nixos
wfranzini has joined #nixos
Ariakenom has joined #nixos
dycan has quit [Remote host closed the connection]
johanot has joined #nixos
reinhardt has quit [Quit: Leaving]
jackdk has quit [Ping timeout: 245 seconds]
agander has joined #nixos
reinhardt has joined #nixos
rauno has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @danbst merged pull request #57893 → jumpapp: init at 1.0 → https://git.io/fjvxx
<{^_^}> [nixpkgs] @danbst pushed commit from @matklad to master « jumpapp: init at 1.0 (#57893) »: https://git.io/fjvhR
reinhardt has quit [Client Quit]
civodul has joined #nixos
reinhardt has joined #nixos
danbst has quit [Quit: Page closed]
pie_ has joined #nixos
<{^_^}> [nixpkgs] @Kaali opened pull request #57895 → Fix websocat on macOS → https://git.io/fjvhE
reinhardt has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @vbgl merged pull request #57738 → ocaml-syslog: init at 1.5 → https://git.io/fjvJB
<{^_^}> [nixpkgs] @vbgl pushed commit from @rixed to master « ocaml-syslog: init at 1.5 »: https://git.io/fjvhg
reinhardt has joined #nixos
johanot has quit [Quit: WeeChat 2.4]
<sphalerit> hyper_ch2: hi
jasongrossman has quit [Remote host closed the connection]
<hyper_ch2> sphalerit: still fail to see the problem: couldn't you just attach a 4TB drive to teh 2TB-Drive mirror, after resilveing is done, remote 1 2TB drive, attach another 4TB drive and when resilvering is done, remove 2TB drive and autoexpand?
<hyper_ch2> or add both 4TB drives at the same time for resilvering
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/e6ccb67e23b (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<sphalerit> hyper_ch2: that would give me striping with the 2 4TB drives, not a mirror
kvda has joined #nixos
kvda has quit [Client Quit]
<hyper_ch2> sphalerit: what stripping? zfs attach is adding another disk to the mirror
<hyper_ch2> zpool attach I mean
<hyper_ch2> sphalerit: you have a single disk zpool named a and the disk is /dev/sda. You can turn that into a 2-disk mirror by issuing zpool attach a /dev/sda /dev/sdb
<hyper_ch2> zpool attach [pool name] [1 existing device in pool] [new device]
<clever> hyper_ch2: ive done exactly that when messing with the drives in my main desktop
<clever> at one point, my system was a mirror between a magnetic and ssd
kvda has joined #nixos
<clever> at another point, it was a 3-way mirror with 2 ssd's and an nvme
<hyper_ch2> clever: sphalerite wants to expand 2x2TB mirror to 2x4TB mirror if I correctly understand
<clever> yeah, and the above sounds sane
<hyper_ch2> so, just attach the 4TB disks to the existing mirror, remove the 2tb devices
<hyper_ch2> and then set autoexpand=on
<clever> start by using attach to make it into a 3 way mirror, with 2tb, 2tb, 4tb (half wasted)
Tucky has joined #nixos
<hyper_ch2> (never tried auto-expand though but that it should work)
<clever> then drop one of the 2tb's, and repeat
<clever> hyper_ch2: ive found auto-expand never works, but there is a flag for import that solves it
<hyper_ch2> clever: good to know
<hyper_ch2> maybe autoexpand needs to be on before you attach new devices?
<clever> i think it doesnt trigger when detach makes things expandable
<hyper_ch2> don't know :) as said, never tried it... just read about it
<hyper_ch2> but attaching works just fine
<hyper_ch2> expand 2-disk mirror to 3-disk or even 4-disk if you want
jasongrossman has joined #nixos
<hyper_ch2> (if you have enough slots to add more disks)
<clever> hyper_ch2: back when i used lvm on pata, i also used nbd to get the drives from another box back into the array
<clever> but today, i would use iscsi to do that
<hyper_ch2> never really used lvm...
<hyper_ch2> and attaching is really nice for making a copy onto external usb :)
<hyper_ch2> get 4TB usb 3.0 external disk
<hyper_ch2> attach it to existing pool
<hyper_ch2> let it finish, remove it
<hyper_ch2> and you have a nice backup copy
<clever> hyper_ch2: have you confirmed you can import that usb drive on another machine?
grizwako has joined #nixos
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/8751edf7b84 (from 89 minutes ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<hyper_ch2> clever: haven't tried on a different machine... but will do so :)
sigmundv has joined #nixos
<clever> hyper_ch2: thats one of the first rules of backup, ive heard a few horror stories where people discover the backup isnt actually readable
<hyper_ch2> clever: well, the usb drives are just additional backups :)
<jasongrossman> I've done something similar ... but not using USB. Isn't ZFS very unreliable on USB? It always has been for me.
<hyper_ch2> all is backed up onto two servers using zfs send/recv also
<hyper_ch2> but I always thought especially for my notebook, to have it ready on usb... is nice
<Myrl-saki> Reasons like this are why programmers don't live long. `yes n # repeatedly output no`
<hyper_ch2> so when notebook breaks or I lose it or gets stolen... get new notebook, boot up from usb and work while it's resilvering
<hyper_ch2> jasongrossman: why would zfs be unreliable on usb?
<{^_^}> [nixpkgs] @dotlambda opened pull request #57896 → python.pkgs.asyncio: remove → https://git.io/fjvh5
<Myrl-saki> OTOH, I just realized I can't write that as `yes n#t` if I wanna be meme-y.
<Myrl-saki> s/can't/can
<{^_^}> [nixpkgs] @dotlambda merged pull request #57724 → python.pkgs.pyalgotrade: fix build → https://git.io/fjvei
<{^_^}> [nixpkgs] @dotlambda pushed 3 commits to master: https://git.io/fjvhd
linarcx has joined #nixos
reinhardt has quit [Ping timeout: 245 seconds]
<sphalerit> hyper_ch2: yes. But my target setup involves no striping, just a mirror between the two 4TB drives
<clever> hyper_ch2: also, zfs attach wont update the boot sectors, so the drive likely wont be bootable on its own
<sphalerit> Before: stripe(mirror(2TB, 2TB), mirror(2TB, 2TB))
<sphalerit> After: mirror(4TB, 4TB)
<hyper_ch2> clever: and also no /boot partition though
<sphalerit> <sphalerit "Before: stripe(mirror(2TB, 2TB),"> Pretty sure I need to create a new pool and send the data in for that
<hyper_ch2> sphalerit: we're not doing any striping.... zpool attach is mirror
<sphalerit> Nah, boot is covered, it's not on those disks
<sphalerit> hyper_ch2: yes but currently I am striping
<hyper_ch2> sphalerit: ah....
<hyper_ch2> sphalerit: the boot was between clever and me for our discussion :)
<clever> sphalerit: can you pastebin `zpool status -v` ?
<hyper_ch2> clever: I'm pretty sure he's capable of doing that :)
<Myrl-saki> Okay, this is pretty nice.
<Myrl-saki> system.build = {
<Myrl-saki> inherit nixos-install nixos-generate-config nixos-option nixos-rebuild nixos-enter;
<Myrl-saki> I thought I was going to have to restort to filtering environment.systemPackages
<clever> Myrl-saki: there was an entry on the old wiki, about how to install those utils with nix-env under a rescue env
pie_ has joined #nixos
pie_ has quit [Changing host]
<Myrl-saki> a07e90d6f38dfc18a3dc3f1614cd802176f56151
<Myrl-saki> Titled
<Myrl-saki> Update the documentation:
<{^_^}> [nixpkgs] @dotlambda pushed 2 commits to release-19.03: https://git.io/fjvhj
<hyper_ch2> sphalerite: I guess you need to zfs send/recv to the new 4TB mirror
<sphalerite> hyper_ch2: yes, that's what I was saying.
<clever> sphalerite: yeah, currently, zfs has no (released) way to remove a vdev, so that pool is forever 2 vdevs (the mirrors can be downgraded to non-mirror status though)
<clever> there is an unfinished feature, that turns 'removed' vdevs into indirect things
agander has quit [Ping timeout: 244 seconds]
<clever> one way to think of that unfinished feature, is that it copies a given device (like mirror-1) to a zvol (that is sepcially flagged to not allocate on mirror-1)
<clever> and then it flags that vdev is read/delete only
<clever> so all reads, will bounce off the old mirror-1 vdev, then lookup within a zvol on mirror-0
timor has joined #nixos
<clever> and over time, GC will remove blocks, till its gone
thc202 has joined #nixos
reinhardt has joined #nixos
Makaveli7 has quit [Quit: Leaving]
rauno has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #57890 → nnn: 2.3 -> 2.4 → https://git.io/fjvxV
<{^_^}> [nixpkgs] @xeji pushed commit from @dtzWill to master « nnn: 2.3 -> 2.4 (#57890) »: https://git.io/fjvjI
<{^_^}> [nixpkgs] @dotlambda merged pull request #57855 → python.pkgs.cairocffi: make withXcffib work again → https://git.io/fjvPh
<{^_^}> [nixpkgs] @dotlambda pushed to master « python.pkgs.cairocffi: make withXcffib work again (#57855) »: https://git.io/fjvjq
<{^_^}> [nixpkgs] @dotlambda pushed to release-19.03 « python.pkgs.cairocffi: make withXcffib work again (#57855) »: https://git.io/fjvjE
ThatDocsLady_ has joined #nixos
sneknek[m] has joined #nixos
linarcx has quit [Ping timeout: 255 seconds]
linarcx has joined #nixos
ubert has joined #nixos
linarcx has quit [Quit: WeeChat 2.4]
linarcx has joined #nixos
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sigmundv has quit [Ping timeout: 246 seconds]
<Myrl-saki> I get a "creating symlink from /mnt/nix/var/nix/gcroots/profiles" operation not permitted
<Myrl-saki> Should I strace that?
vk3wtf has joined #nixos
<Myrl-saki> "could not set permissions on.."
<Myrl-saki> I think I mounted a vfat instead of an ext4 lmao
<Myrl-saki> Of course I did.
sneknek[m] has left #nixos ["User left"]
sneknek[m] has joined #nixos
countingsort is now known as buffwt
buffwt is now known as buffet
sigmundv has joined #nixos
domogled has quit [Ping timeout: 246 seconds]
shabius has quit [Ping timeout: 258 seconds]
realrokka has joined #nixos
<{^_^}> [nixpkgs] @rnhmjoj opened pull request #57897 → nixos/containers: create veths if only IPv6 is configured → https://git.io/fjfeJ
shabius has joined #nixos
domogled has joined #nixos
<{^_^}> [nixpkgs] @roberth merged pull request #57536 → Ngrok update + update script → https://git.io/fhjQy
<{^_^}> [nixpkgs] @roberth pushed 4 commits to master: https://git.io/fjfeI
rycwo has joined #nixos
<{^_^}> [nixpkgs] @rnhmjoj opened pull request #57899 → [backport] nixos/containers: create veths if only IPv6 is configured → https://git.io/fjfet
shabius has quit [Ping timeout: 252 seconds]
simukis has joined #nixos
<pie_> samueldr, wow this gdk pixbuf thing is breaking everything :P if I hadnt gone back to read the one line of backtrace I got I almost went on a wild segfault goose chase ;~;
rauno has quit [Remote host closed the connection]
hyper_ch has quit [Quit: ZNC 1.7.1 - https://znc.in]
<{^_^}> [nixpkgs] @roberth pushed 4 commits to release-19.03: https://git.io/fjfeu
<rnhmjoj> can i run a nixos test for a different architecture than the vm host?
<{^_^}> [nixpkgs] @roberth pushed 2 commits to release-18.09: https://git.io/fjfer
<linarcx> Hi. i want to create a font package. i clone the nixpkgs git repo. and in fonts directory, there are lots of methods to create font packages. How should i create a font package that fetch its source from github?
<Myrl-saki> linarcx: Do you know how to create a normal package?
<linarcx> Myrl-saki: Yes, i create a package before.
__monty__ has joined #nixos
philippD has joined #nixos
<betaboon> linarcx: there is `fetchFromGitHub`
<arianvp> rnhmjoj: euhm i remember Mic92 showing me something like this on 35C3
<arianvp> So I think it's possible
<Myrl-saki> betaboon: IIRC, fetchGit is way more recommended than fetchFromGitHub.
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @pSub merged pull request #57772 → wmfocus: 1.0.2 -> 1.1.2 → https://git.io/fjvsN
<{^_^}> [nixpkgs] @pSub pushed 2 commits to master: https://git.io/fjfeQ
init_6 has joined #nixos
<arianvp> Myrl-saki: I had the idea it was the other way around
erasmus has quit [Quit: END-AUMF]
sigmundv has quit [Ping timeout: 245 seconds]
rauno has joined #nixos
linarcx has quit [Ping timeout: 246 seconds]
linarcx has joined #nixos
hyper_ch has joined #nixos
jasongrossman has quit [Remote host closed the connection]
<noonien> hmm, how does nix search work?
<noonien> where is the index stored?
jtojnar has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Mic92 merged pull request #57896 → python.pkgs.asyncio: remove → https://git.io/fjvh5
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/fjfvO
<{^_^}> [nixpkgs] @Mic92 pushed to master « dino: 2019-02-06 -> 2019-03-07 »: https://git.io/fjfvn
<Mic92> noonien: .cache/nix/package-search.json
<noonien> oh, nice, thanks!
sigmundv has joined #nixos
hyper_ch has quit [Quit: ZNC 1.7.2 - https://znc.in]
jasongrossman has joined #nixos
troydm has quit [Ping timeout: 246 seconds]
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/b6050c5f438 (from 41 minutes ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<noonien> how can i disable colors in `nix search` output?
hyper_ch has joined #nixos
<sphalerite> noonien: funnily enough, I don't think that's possible. You can use the --json flag to get JSON output though.
<noonien> hmm, `nix-search search --json .` returns the package list, but also `error: no results for the given search term(s)!` and a non-zero exit code
rprije has quit [Ping timeout: 250 seconds]
<linarcx> Guys. i'm creating a package and used `fetchFromGithub`. when i want to build it, it says: `hash mismatch in fixed-output derivation '/nix/store/ybma9b4dgpnd6hwqknr9hqrqfnh53j7x-source':`
<linarcx> wanted: sha256:0rdf39dkim41ic842bfa9ybzyql9njzwm34b66svi3711qlgrj8r
<linarcx> got: sha256:0p96y4q20nhpv7hxca6rncfcb14iqy2vacv0xl55wkwqkm4wvzgr
<linarcx> though i add first one in sha part in default.nix.
<jasongrossman> noonien: You can get rid of the colours by piping the output through something. I'm not sure what's best though. Personally I pipe it through lolcat.
<buffet> noonien: little hacky but `nix search | sed 's/\0x1b\[[0-9;]*m//g'` kind of works
fusion809 has quit [Remote host closed the connection]
<jasongrossman> buffet: Awesome.
<buffet> jasongrossman: not at all, should be an option on nix search
<buffet> also: nix searches color sequences are really fucked
adetokunbo has quit [Quit: This computer has gone to sleep]
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/f00bd2260a9 (from 63 minutes ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
linarcx has quit [Ping timeout: 246 seconds]
linarcx has joined #nixos
adetokunbo has joined #nixos
slyfox has quit [Ping timeout: 246 seconds]
<rnhmjoj> arianvp: thank you, i've found the mic92's slides: i'll take a look
slyfox has joined #nixos
<Mic92> rnhmjoj: If you access to the hardware the easiest would be to add a remote builder that can handle the binaries.
<rnhmjoj> Mic92: i don't have any (recent) arm devices, unfortunately. i'm trying to fix some nixos tests that are failing for 19.03
<Mic92> rnhmjoj: you could also get access on the community aarch64 builder
<rnhmjoj> cool, i didn't know about it
<Mic92> grahamc[m]: maybe it would be time again to deploy the new users: https://github.com/nix-community/aarch64-build-box/pulls
linarcx has quit [Ping timeout: 268 seconds]
timokau has quit [Ping timeout: 245 seconds]
linarcx has joined #nixos
zupo has joined #nixos
<gchristensen> Mic92: ack! sure enough!
<Mic92> rnhmjoj: hurry up to get in :)
<rnhmjoj> mic92: i'll do, thank you!
silver has joined #nixos
Avaq has joined #nixos
joepie91___ is now known as joepie91
<linarcx> Gyus. how to get `sha256` when we using `fetchFromGithub`?
<jasongrossman> ,tofu
<{^_^}> To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000) then replace it with the correct hash Nix expected.
<Avaq> Hello. Is it possible to work with dynamic, relative paths in Nix Expressions?
<Avaq> I've tried using a String, but then an error arises about the path ot being absolute.
<Avaq> Then I tried embedding a previously assigned directory in my String, and the absolute path somehow got expanded to a hash in the store, where the file I'm trying to read does not reside.
<Mic92> Avaq: you mean a path relative to the current expression file?
<Avaq> Yes.
_linarcx has joined #nixos
<Mic92> Avaq: toString ./. gives you the current directory
<Mic92> there was also a hack to get the filename itself.
<Avaq> Ahh
<Avaq> I tried "." and "./".
<Mic92> linarcx: checkout nix-prefetch in case you are on unstable.
<gchristensen> what do you mean dynamic, Avaq?
linarcx has quit [Ping timeout: 246 seconds]
<gchristensen> Avaq: and, what for?
<Mic92> gchristensen: a path relative to the current expression file?
<Avaq> What I'm trying is to define a function that reads a file relative to the .nix file where the function was defined.
<Avaq> And the path is taken as an argument
winem_ has joined #nixos
<gchristensen> no string is required, just ./foo
<gchristensen> or ./.
<Avaq> > name : readFile "./stuff/${name}.ext"
<{^_^}> <LAMBDA>
<Mic92> > readFile /etc/passwd
<{^_^}> access to path '/etc/passwd' is forbidden in restricted mode
<gchristensen> > name: readFile "${./.}/${name}"
<{^_^}> <LAMBDA>
<Avaq> Aha
<gchristensen> but, why readFile?
<Avaq> gchristensen: I'm doing a toy project to familiarize myself with the Nix Expression language, mostly because I really like the language. In this case I'm trying to embed the contents of a file into a property of a record.
<gchristensen> right on
<Avaq> gchristensen: With the approach given "${./.}", the path somehow refers to an object in the Nix Store. I need it to point to a file in my home directory.
<_linarcx> Gyus. i succesfully create a font package and build and install it locally on my machine. But i can't see it in font-manager. what should i do?
<gchristensen> Avaq: it sounds like you're doing something that is not really encouraged in Nix
<gchristensen> Avaq: but if you acknowledge that you're doing a weird thing you probably shouldn't do... ${toString ./.}
<Avaq> gchristensen: Yeah, I am totally doing a weird thing.
rycwo has quit [Ping timeout: 245 seconds]
rauno has quit [Remote host closed the connection]
<Avaq> gchristensen: I'm abusing Nix to be a kind of "programmable JSON" using `nix-instantiate --eval --strict --json`. I got to a point where I explored the possibility for embedding some file's contents in one of the JSON properties.
<gchristensen> cool
<hodapp> programmable JSON? O_O
<Athas> Have you considered Dhall instead?
<hodapp> I thought Dhall was purposely not programmable either
<Athas> Dhall is programmable; it's just not Turing-complete.
rycwo has joined #nixos
<Athas> It's a language for configuration files (in the broad sense of the word).
<Avaq> Athas: I was just browsing through my starts on GitHub to find Dhall. I wanted to provide it as an example of what I'm trying to do with Nix Expressions.
<Avaq> stars*
fusion809 has joined #nixos
<Avaq> I really Enjoy Nix's syntax, in particular the multiline strings with "smart indentation". I wanted to know if it can do a similar thing to what Dhall does.
<__monty__> You can write your nix expressions in dhall with dhall2nix : )
<__monty__> Though dhall does sound like it might be right for your use case.
dnlkrgr has joined #nixos
<Avaq> What I'm doing concretely is translating a large README file for my open source project into Nix, essentially using Nix as a content management system. Using this approach, I can reuse pieces of content, inject variables via functions, and compile to multiple markup languages.
<Avaq> I know it's not the most fitting use for Nix, but I'm just playing around.
vidbina has joined #nixos
<buffet> Avaq: i hate how you escape $ with '' in multiline scripts though
<{^_^}> [nixpkgs] @aepsil0n opened pull request #57901 → adr-tools: init at 3.0.0 → https://git.io/fjffL
<{^_^}> [nixpkgs] @dtzWill opened pull request #57902 → gnupg: 2.2.13 -> 2.2.14 → https://git.io/fjffG
vidbina has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @dtzWill opened pull request #57903 → strace: 4.26 -> 5.0 → https://git.io/fjffc
<_linarcx> I've created a package. but after 3 days before i can't see it in: https://nixos.org/nixos/packages.html. why?
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<gchristensen> _linarcx: that page lists packages in the release-18.09 branch
Notkea has quit [Read error: Connection reset by peer]
work_ has joined #nixos
<_linarcx> gchristensen: It mean wh shoul wait until next major release?
<_linarcx> And if somebody else wana to use my package, what should he/she do?
Notkea has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/03050e9749e (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
drakonis1 has quit [Ping timeout: 246 seconds]
drakonis1 has joined #nixos
Rusty1 has joined #nixos
<srhb> _linarcx: THey can look into overlays to add it into their local package set. Technically, if it's 3 days old, it'll only be automatically included in 19.09 (the next time master branches off to a stable branch)
jtojnar has joined #nixos
vidbina has joined #nixos
<{^_^}> [nixops] @AmineChikhaoui merged pull request #1115 → Allow Azure VMs to be reached by private IP address if specified → https://git.io/fjvul
<{^_^}> [nixops] @AmineChikhaoui pushed 2 commits to master: https://git.io/fjffP
<_linarcx> srhb: Thank you :)
<{^_^}> [nixpkgs] @NeQuissimus pushed 5 commits to master: https://git.io/fjffM
<{^_^}> [nixpkgs] @NeQuissimus pushed 5 commits to release-19.03: https://git.io/fjffH
xkapastel has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @NeQuissimus pushed 3 commits to release-18.09: https://git.io/fjff7
johanot has joined #nixos
fusion809 has quit [Remote host closed the connection]
camsbury has joined #nixos
fusion809 has joined #nixos
reinhardt has quit [Ping timeout: 250 seconds]
zupo has quit [Ping timeout: 258 seconds]
<_linarcx> Gyus. i succesfully create a font package and build and install it locally on my machine. But i can't see it │ adetokunbo
<_linarcx> | in font-manager. what should i do? Y
fusion809 has quit [Remote host closed the connection]
<__monty__> Avaq: I have a similar thing going using dhall : )
waleee has joined #nixos
i1nfusion has quit [Remote host closed the connection]
i1nfusion has joined #nixos
<sphalerite> _linarcx: how did you install it? If you used nix-env, you may need to run fc-cache -f
Neo-- has joined #nixos
adetokunbo has quit [Quit: This computer has gone to sleep]
<_linarcx> sphalerite: Yes, i install it with `nix-env`. run the `fc-cache -f`. nothing changed.
<sphalerite> _linarcx: are the font files there in ~/.nix-profile/share/fonts ?
<sphalerite> Oh, and which OS are you on?
<Avaq> __monty__: Dhall has interested me for quite a long time. I would like to use it one day for a real thing. This README thing for me was just about exploring Nix in particular, though.
<_linarcx> sphalerite: Oh, sorry. my bad. it's correct right now. thank you so much.
fusion809 has joined #nixos
alex`` has joined #nixos
agander has joined #nixos
vidbina has quit [Ping timeout: 272 seconds]
orivej has quit [Ping timeout: 272 seconds]
reinhardt has joined #nixos
johanot has quit [Quit: WeeChat 2.4]
alex`` has quit [Ping timeout: 255 seconds]
OllieB has joined #nixos
<OllieB> ?
OllieB has quit [Client Quit]
<gchristensen> hah
alex`` has joined #nixos
evanm has joined #nixos
agander_ has joined #nixos
agander__ has joined #nixos
agander has quit [Ping timeout: 245 seconds]
agander_ has quit [Ping timeout: 250 seconds]
agander_ has joined #nixos
agander__ has quit [Ping timeout: 250 seconds]
agander_ is now known as agander
alex`` has quit [Ping timeout: 272 seconds]
camsbury has quit [Remote host closed the connection]
alex`` has joined #nixos
xkapastel has joined #nixos
alex`` has quit [Ping timeout: 250 seconds]
rauno has joined #nixos
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/2a7c3484fd2 (from 17 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
<{^_^}> [nixops] @AmineChikhaoui pushed to master « run TravisCI builds with a release branch. »: https://git.io/fjfJx
Tucky has quit [Quit: WeeChat 2.2]
stepcut has joined #nixos
hlolli has joined #nixos
rycwo has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @ryantm merged pull request #57334 → now-cli: 13.1.2 -> 14.0.3 → https://git.io/fhjU9
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fjfUf
stepcut has quit [Remote host closed the connection]
<_linarcx> srhb: Are you still around here?
stepcut has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #57889 → flatpak: Fix bubblewrap paths for icon-validator → https://git.io/fjvx2
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/fjfUG
stepcut has quit [Ping timeout: 268 seconds]
jtojnar has quit [Read error: Connection reset by peer]
jtojnar has joined #nixos
<{^_^}> [nixpkgs] @jtojnar closed pull request #57619 → gnome3.totem: Add codecs to Nautilus extension → https://git.io/fjeWW
hlolli has quit [Quit: Leaving]
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/3aa6408a8c2 (from 87 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
<Taneb> If I get a chance tonight I'm going to try to make some heavy-handed patches to get Agda working in 19.03
<{^_^}> [nixpkgs] @dtzWill merged pull request #57884 → libssh2: 1.8.0 -> 1.8.1 (SECURITY) → https://git.io/fjvb5
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/fjfUN
leat1 has joined #nixos
rycwo has joined #nixos
endformationage has joined #nixos
<{^_^}> [nixpkgs] @dotlambda opened pull request #57904 → python.pkgs.mecab-python3: fix build → https://git.io/fjfUp
<{^_^}> [nixpkgs] @LinArcX opened pull request #57905 → vazir-fonts: init at 19.2.0 → https://git.io/fjfTv
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/c94f6f22d89 (from 25 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
__monty__ has quit [Quit: leaving]
stepcut has joined #nixos
reinhardt has quit [Quit: Leaving]
civodul has joined #nixos
<{^_^}> [nixpkgs] @dotlambda opened pull request #57906 → python.pkgs.joblib: 0.12.4 -> 0.13.2 → https://git.io/fjfTG
domogled has quit [Quit: domogled]
Makaveli7 has joined #nixos
o1lo01ol1o has joined #nixos
agander has quit [Ping timeout: 244 seconds]
rembo10 has quit [Quit: ZNC 1.7.2 - https://znc.in]
slack1256 has joined #nixos
aanderse-work has joined #nixos
timor has quit [Ping timeout: 245 seconds]
rembo10 has joined #nixos
leat1 has quit [Ping timeout: 250 seconds]
stepcut has quit [Ping timeout: 245 seconds]
Anton-Latukha has joined #nixos
agander has joined #nixos
stepcut has joined #nixos
init_6 has quit [Ping timeout: 244 seconds]
init_6 has joined #nixos
asymmetric has joined #nixos
<asymmetric> hi, my laptop freezes every time i use nix commands, specifically when evaluating /nix/store/xhlaj0ym83v3jcll7wbd7ybippr8p1fm-source/pkgs/tools/archivers/unzip/default.nix
<asymmetric> i'd like to rollback to a generation before that file was introduced in my store - how do i find out when it was introduced?
<{^_^}> [nixpkgs] @lheckemann pushed commit from @ryantm to release-19.03 « COPYING: include 2019 »: https://git.io/fjfTr
orivej has joined #nixos
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/84903aa3545 (from 20 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
rcshm has joined #nixos
Makaveli7 has quit [Quit: Leaving]
rauno has quit [Remote host closed the connection]
schneid3306 has joined #nixos
neminis has joined #nixos
<_linarcx> Gyus, how to add local packages and install them via overlays?
<illegalprime> _linarcx: I think you just have to add them to the top level of your overlay
ikitat has joined #nixos
<ikitat> Can you remove a parameter to a derivation using an overlay? pylint won't build on macos because enchant fails to build. This seems to be only needed for testing pylint, so I'd like to remove it in an overlay until I can get around to attempting to fix enchant
<_linarcx> illegalprime: I don't use them before. where is the default overlay?
<illegalprime> so { overlays = [(self: super: my_package = super.callPackage ./mine.nix {}; ) ]
<_linarcx> illegalprime: add it in configuration.nix in /etc?
<illegalprime> _linarcx: are you on NixOS?
<_linarcx> illegalprime: Yes
<illegalprime> _linarcx: this is the option I believe https://nixos.org/nixos/options.html#overlays
<illegalprime> then in the example, instead of overriding another package, just add your own between the curly braces and (I believe) it should get added
detran has joined #nixos
boothead has joined #nixos
<boothead> Anyone using python's invoke tool from within nix-shell? subprocess module is trying to use /bin/bash...
<_linarcx> haslersn[m]: haslersn[m]: Thank you so much.
<_linarcx> illegalprime: Thank you too.
<boothead> def global_defaults(): ewww gross!
<boothead> :-/
<gchristensen> boothead: how are you getting the source of invoke?
<detran> I'm currently on the nixos-18.09 channel, but I need to use a version of a package that's only on unstable - what's the best way to do that?
<illegalprime> detran: don't know of the best way but I've done this in the past: https://nixos.wiki/wiki/FAQ/Pinning_Nixpkgs
scientist has joined #nixos
<{^_^}> [nixpkgs] @dotlambda pushed 4 commits to master: https://git.io/fjfku
erasmas has joined #nixos
knupfer has joined #nixos
<{^_^}> [nixpkgs] @zimbatm opened pull request #57908 → pythonPackages.invoke: patch the default bash path → https://git.io/fjfka
<detran> illegalprime: thanks for the link, do you do this in configuration.nix under environment.systemPackages?
<ikitat> Is there a way to remove an attribute from the input set of a derivation? Specifically, I'm trying to adapt a broken derivation through an overlay.
asymmetric has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @dotlambda pushed to master « python.pkgs.msrest: cleanup »: https://git.io/fjfko
asymmetric has joined #nixos
Makaveli7 has joined #nixos
<laas> is there any issue for zfs not working with linuxPackages_latest? (5.0)
<laas> couldn't find any
wfranzini has quit [Remote host closed the connection]
<scientist> can someone explain to me why my configuration.nix is not running my xserver.nix module ? here is the code: https://hastebin.com/xehabotede.xml https://hastebin.com/ikijavogib.bash
<gchristensen> laas: it works from here
<gchristensen> laas: what does nixos-version say?
wfranzini has joined #nixos
timokau has joined #nixos
<scientist> ?
init_6 has quit []
<laas> 19.09pre172943.da1a2b1eeaf (Loris)
<laas> gchristensen
<laas> is it old?
<laas> the kernel won't compile for me
Fare has joined #nixos
<gchristensen> no, I have 19.03beta and ZFS stable and 5.0 and it works fine :/
<srhb> scientist: What makes you think it's not being used?
iqubic has joined #nixos
<laas> welp lol
<laas> don't know what to do
<laas> maybe something else in my configuration.nix is causing it to not work
<laas> oh yeah, I do zfs.enableUnstable, could this be it gchristensen ?
<laas> don't remember why I enabled it
<gchristensen> that might be it
<gchristensen> laas: do you use encryption?
submoo[m] has joined #nixos
<iqubic> What is libnss3?
<_linarcx> haslersn[m]: Rebuild successfully. But this package is a font package. and i can't see it in my font-manager. how to apply it globally?
<iqubic> And why can't I find that in the Nixos package repo?
<laas> gchristensen: no, does that require unstable?
<gchristensen> yes
<laas> I was planning on using it
<laas> so that may be why I enabled it
<laas> hmm I'll probably just disable it then
<laas> thanks!
<iqubic> So how does one install libnss3 on Nixos? Or is that just there by default?
<scientist> srhb: good morning, nixos-rebuild switch works and nixos reboots fine but it is not switching to my custom keyboard layout, heres the instructions i am following, my configuration.nix, and my xserver.nix module : https://github.com/periklis/nix-config/blob/master/machines/alphaomega/services/xserver.nix#L21-L35 https://hastebin.com/xehabotede.xml https://hastebin.com/ikijavogib.bash
evanm has quit [Ping timeout: 256 seconds]
knupfer has quit [Remote host closed the connection]
<slack1256> scientist: you can meanwhile set it as `setxkbmap -layout eng`
<{^_^}> [nixpkgs] @dotlambda pushed 5 commits to release-19.03: https://git.io/fjfkb
<laas> yeah that worked, nice
<laas> iqubic: I don't know about libnss3, but in general, you don't install libraries
<laas> you install programs
<laas> if you need a library to build a program, you can make a nix expression with mkShell that includes libnss3 in buildInputs
<scientist> slack1256: do i paste this in my configuration.nix, or xserver.nix module ?
<srhb> scientist: Since the driving force behind this is still sessionCommands, and you're still using plasma, I would expect it to fail in exactly the same manner as yesterday.
Fare has quit [Ping timeout: 268 seconds]
<scientist> srhb: so if i completely remove plasma and replace it with xmonad , will it work ?
<srhb> scientist: I would expect so.
<srhb> scientist: I haven't verified this though.
xkapastel has quit [Quit: Connection closed for inactivity]
agander has quit [Ping timeout: 246 seconds]
timokau has quit [Ping timeout: 258 seconds]
<slack1256> scientist: no, run in on your shell
josiah_sama has joined #nixos
<slack1256> it is a stopgap measure
hyper_ch2 has quit [Quit: Page closed]
asymmetric has quit [Ping timeout: 268 seconds]
drakonis has joined #nixos
<slack1256> scientist: Do you have services.xserver.layout = "es"; set?
<scientist> slack1256: what do mean on `run in on your shell` and for the setting do you mean `us` or `es` ?
<slack1256> open xterm and run that command, set the layout to the one on your keyboard
<slack1256> for my case that would be "es", I don't know yours.
i1nfusion has quit [Remote host closed the connection]
st4ll1_ has joined #nixos
i1nfusion has joined #nixos
<scientist> i already set it in my xserver.nix module
iqubic has quit [Ping timeout: 256 seconds]
<scientist> srhb++
<{^_^}> srhb's karma got increased to 36
<scientist> slack1256++
<{^_^}> slack1256's karma got increased to 1
stepcut_ has joined #nixos
stepcut has quit [Ping timeout: 245 seconds]
ThatDocsLady_ has quit [Remote host closed the connection]
<scientist> guys i am going to remove kde plasma, and replace it with xmonad, i have never used xmonad before is it hard to use and setup ?
ThatDocsLady_ has joined #nixos
<scientist> ?
stepcut_ has quit [Ping timeout: 255 seconds]
<sphalerite> scientist: it sounds like you don't actually know why you'd want to switch.
timokau has joined #nixos
<sphalerite> what's wrong with plasma?
<neminis> kde plasma is a full blown desktop environment, xmonad is "just" a window manager
<neminis> why would you like to use actually ? a tiling window manager ?
<neminis> what*
<simpson> scientist: XMonad's difficulty appears to be directly related to whether or not one knows Haskell syntax, AFAICT.
<scientist> sphalerite: i want to get rid of kde plasma to so that my custom keyboard will work and i was reading about xmonad earlier and it seems useful
<{^_^}> [nixpkgs] @dotlambda pushed commit from @Mic92 to release-19.03 « python3.pkgs.python-engineio: 3.0.0 -> 3.4.3 »: https://git.io/fjfI9
<scientist> simpson: thanks for the tips
<scientist> simpson++
<{^_^}> simpson's karma got increased to 4
timokau has quit [Ping timeout: 246 seconds]
<jasongrossman> scientist: Alternative simple window managers that work well with NixOS, in case you don't like Haskell, include i3, stumpwm, awesome, and qtile.
Jetien__ has quit [Quit: Leaving]
<mdash> i can recommend awesome
<{^_^}> [nixpkgs] @ankhers opened pull request #57909 → [WIP] Fix rebar3 release → https://git.io/fjfId
<simpson> I have put up with Awesome for many years. It's a local maximum.
<scientist> simpson: that's good to know, does xmonad work well with nixos ? because kde plasma doesn't want to let xserver load my custom keyboard layout when i bootup.
asymmetric has joined #nixos
<simpson> scientist: I haven't used XMonad on NixOS. No idea. I hear that it's usable.
<scientist> simpson: ok, i'll give it a try
stepcut has joined #nixos
<scientist> simpson++
<{^_^}> simpson's karma got increased to 5
<asymmetric> hi, i can't seem to be able to add a swap partition to my hardware-configuration.nix
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/bf3c1955824 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<Lears> It works better with NixOS than any other OS, since it can be provided the libraries it needs without interfering with anything else.
<asymmetric> i added swapDevices = [ { device = "/dev/disk/by-label/swap"; ];
<asymmetric> but it still doesn't do a swapon for some reason
<asymmetric> if i do it manually, it works
<scientist> Lears: was this message for me ?
<Lears> Yes.
<scientist> Lears: thanks for the tip
<scientist> Lears++
<{^_^}> Lears's karma got increased to 1
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
<scientist> alphaomega: are you there ?
<asymmetric> i'm using luks and btrfs if that matters
scientist has quit [Quit: WeeChat 2.2]
<glasserc> Is there an easy way to use nix-shell to get a build environment for a package in nixpkgs? I'm trying `nix-shell -A hello` and I get an error about the function having arguments without a default value
mariel__ has joined #nixos
stepcut has quit [Ping timeout: 245 seconds]
<slack1256> glasserc: nix-shell -A hello '<nixpkgs>'
i1nfusion has quit [Remote host closed the connection]
stepcut has joined #nixos
i1nfusion has joined #nixos
ThatDocsLady_ has quit [Ping timeout: 252 seconds]
<glasserc> slack1256: Fantastic, thank you
ddellacosta has joined #nixos
boothead has quit [Quit: Page closed]
novakovic has quit [Remote host closed the connection]
<slack1256> glasserc: generally nix-shell tries to pick up the nixpkgs revision from the environment (your current directory can have a shell.nix file and will use that)
<slack1256> to make it use the current revision of your system you have to pass the '<nixpkgs>' string at which points to it.
<glasserc> slack1256: Oh, I see, the problem was I happened to be in a directory with a default.nix, and it was trying to use that. My mistake. Thank you very much
<{^_^}> [nixpkgs] @dotlambda merged pull request #57908 → pythonPackages.invoke: patch the default bash path → https://git.io/fjfka
<{^_^}> [nixpkgs] @dotlambda pushed commit from @zimbatm to master « pythonPackages.invoke: patch the default bash path (#57908) »: https://git.io/fjfLs
<sphalerite> which can be very confusing, what with the very different behaviour of -p :)
neminis has quit [Quit: WeeChat 2.2]
asymmetric has quit [Remote host closed the connection]
asymmetric has joined #nixos
orivej has quit [Ping timeout: 245 seconds]
mmlb977 has quit [Ping timeout: 245 seconds]
stepcut has quit [Ping timeout: 272 seconds]
Jackneill has quit [Ping timeout: 255 seconds]
scientist has joined #nixos
_linarcx has quit [Ping timeout: 246 seconds]
<scientist> does anyone know when alphaomega gets on, i have a question about the instructions he showed me yesterday
<scientist> ?
<scientist> i want to know that way i am not stuck waiting on weechat all day for him to get on
<scientist> ?
<sphalerite> scientist: no, we don't tend to stalk each other :)
_linarcx has joined #nixos
<sphalerite> scientist: the best approach is usually to ask your actual question and wait a couple of hours rather than targetting a specific person with the question.
<scientist> sphalerite: if you send a private message, will he get it the next time he logs on to weechat ?
<{^_^}> [nixpkgs] @shmish111 opened pull request #57910 → prometheus: fix version 2 errors → https://git.io/fjfLc
<scientist> if i send it, typo
<sphalerite> scientist: no, IRC messages only get delivered to people who are currently online. If you don't want to stay connected all the time, maybe you should post on discourse instead.
<scientist> sphalerite: what is discourse ?
<scientist> sphalerite: thanks
<scientist> sphalerite++
<{^_^}> sphalerite's karma got increased to 46
azdle has quit [Read error: Connection reset by peer]
stepcut has joined #nixos
asymmetric_ has joined #nixos
scientist has quit [Quit: WeeChat 2.2]
neminis has joined #nixos
asymmetric_ has quit [Read error: Connection reset by peer]
hamishmack has joined #nixos
simukis has quit [Quit: simukis]
asymmetric has quit [Ping timeout: 264 seconds]
sigmundv has quit [Ping timeout: 245 seconds]
Fare has joined #nixos
<srhb> joachifm: Did you intentionally unpin the 19.03 ZHF issue? :)
<{^_^}> Channel nixos-18.09 advanced to https://github.com/NixOS/nixpkgs/commit/8751edf7b84 (from 10 hours ago, history: https://channels.nix.gsc.io/nixos-18.09)
zupo has joined #nixos
Panke has joined #nixos
winem_ has quit [Ping timeout: 255 seconds]
Jackneill has joined #nixos
ng0 has joined #nixos
scientist has joined #nixos
chreekat has joined #nixos
agander has joined #nixos
slack1256 has quit [Remote host closed the connection]
scientist has quit [Client Quit]
jtojnar_ has joined #nixos
jtojnar has quit [Ping timeout: 268 seconds]
jtojnar_ is now known as jtojnar
Fare has quit [Ping timeout: 246 seconds]
wfranzini has quit [Remote host closed the connection]
Neo-- has quit [Ping timeout: 252 seconds]
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/f00bd2260a9 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
Panke has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @srhb opened pull request #57912 → pythonPackages.elasticsearch-curator: Jailbreak click → https://git.io/fjfL7
Fare has joined #nixos
ddellacosta has quit [Ping timeout: 246 seconds]
ddellacosta has joined #nixos
domogled has joined #nixos
chreekat has quit [Remote host closed the connection]
chreekat has joined #nixos
shibboleth has joined #nixos
Ariakenom has quit [Ping timeout: 245 seconds]
stepcut has quit [Remote host closed the connection]
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/3aa6408a8c2 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
stepcut has joined #nixos
neminis has quit [Ping timeout: 245 seconds]
ddellacosta has quit [Remote host closed the connection]
neminis has joined #nixos
ddellacosta has joined #nixos
orivej has joined #nixos
<gchristensen> all the bumps!
i1nfusion has quit [Remote host closed the connection]
<gchristensen> aminechikhaoui: ping?
ubert has quit [Quit: Leaving]
i1nfusion has joined #nixos
scientist has joined #nixos
<srhb> gchristensen: It's glorious :) howoldis is very green.
<scientist> alphaomega: are there ?
evanm has joined #nixos
mmlb977 has joined #nixos
<scientist> i just installed ghc and cabal, how do i set there path env var in nixos ?
<srhb> scientist: Is this in order to use xmonad?
alex`` has joined #nixos
<scientist> srhb: yes, i want to see if my custom keyboard layout works with xmonad
<vaibhavsagar> what does "install mean"
<srhb> scientist: Then you probably don't want to fiddle with path, ghc or cabal manually
<vaibhavsagar> *what does "install" mean
<srhb> scientist: See instead the xmonad options
<srhb> Which I think is what vaibhavsagar was going to say too :-)
Fare has quit [Ping timeout: 255 seconds]
<scientist> srhb: so now that i have ghc and cabal installed, i don't have to have to set the path env var for them ? so i can go straight to the xmonad instructions ?
Panke has joined #nixos
<vaibhavsagar> :thumbsup:
<srhb> scientist: The xmonad options will take care of everything you need for a basic xmonad setup. No need to manually juggle any dependencies. And this should go for most things in NixOS.
<srhb> scientist: So you can "uninstall" ghc and cabal and still be fine.
<srhb> scientist: The options will be sure that they are locally present for xmonad.
<srhb> er, will ensure*
<scientist> srhb: thanks for the tip
<scientist> srhb++
<{^_^}> srhb's karma got increased to 37
timokau has joined #nixos
scientist has quit [Quit: WeeChat 2.2]
Fare has joined #nixos
<Panke> got a newbe question. I've got the nix package manager installed under arch linux and try to upgrade cmake. However I have conflicting packages and it tells me to change the priority. Is there any way to do this for the new cmake version prior to installation. Here is the session: https://pastr.io/view/EL10tK
Avaq has quit [Ping timeout: 245 seconds]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/03050e9749e (from 7 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
waleee has quit [Quit: WeeChat 2.4]
scientist has joined #nixos
erasmas has quit [Quit: Lost terminal]
<scientist> srhb: i removed plasma5, do i need to remove sddm as well ?
<srhb> scientist: I don't know. I use lightdm. I don't think I have an opinion on whether it's nice or not though
<scientist> what is sddm ?
<Panke> a graphical login manager like gdm
<srhb> scientist: I imagine it's the display manager / graphical login screen.
erasmas has joined #nixos
neminis has quit [Quit: WeeChat 2.2]
<rnhmjoj> Mic92: i have access to the aarch64 box (thanks grahamc) and i setup the builder but i'm not sure how to run nixos tests remotely. this doesn't work: nix-build -A nixosTests.predictable-interface-names.predictable --option system aarch64-linux
<scientist> srhb: ok i guess, i will just leave it, you said it was plasm5(kde) was the reason for my custom kyb layout was not working so i am removing it
<scientist> what display manager works best with nixos, i am currently using sddm
<Mic92> rnhmjoj: nix-build nixos/release.nix -A tests.predictable-interface-names.predictable.aarch64-linux
timokau has quit [Ping timeout: 272 seconds]
<Mic92> should work
<srhb> scientist: It's only a theory
<srhb> scientist: I don't know that that's what's happening.
<scientist> nix-env -e `package` is this the correct command to remove packages in nixos ?
evanm has quit [Ping timeout: 256 seconds]
<scientist> srhb: well i'll try it out just to make sure
<srhb> nix-env -e packagename will remove that package from your user profile.
<scientist> srhb: what about globally ?
<srhb> scientist: Depends how you installed it. And what you meant by removed :)
<srhb> scientist: The notion of "installed" is not so simple in Nix land.
<srhb> Heck, even the notion of "package" is difficult.
<scientist> ya, confusion, but i am geyying the hangof it
<srhb> scientist: Sure, it takes a while. :)
<rnhmjoj> Mic92: thank you, seems to work
ddellacosta has quit [Ping timeout: 246 seconds]
dashkal has joined #nixos
<_linarcx> Gyus. How to implement i3blocs.conf in home manager?
<{^_^}> [nixpkgs] @LnL7 merged pull request #57868 → Add CoreAudio to sox on macOS → https://git.io/fjvH1
<{^_^}> [nixpkgs] @LnL7 pushed 2 commits to master: https://git.io/fjftR
timokau has joined #nixos
scientist has quit [Quit: WeeChat 2.2]
ddellacosta has joined #nixos
Fare has quit [Ping timeout: 246 seconds]
grizwako has quit [Remote host closed the connection]
jtojnar has quit [Ping timeout: 250 seconds]
timokau has quit [Ping timeout: 244 seconds]
Myhlamaeus has joined #nixos
JosW has joined #nixos
grizwako has joined #nixos
timokau has joined #nixos
Ariakenom has joined #nixos
alex`` has quit [Ping timeout: 245 seconds]
<NemesisD> how do y'all handle importing nix expressions that you'd store in a private git repository and share between work projects? do you just submodule it into the project or is there something in nix itself?
<gchristensen> builtins.fetchgit usually
scientist has joined #nixos
Fare has joined #nixos
ikitat has quit [Ping timeout: 245 seconds]
<scientist> how do i set wpa_supplicant in my configuration.nix , i want to enable wifi ?
timokau has quit [Ping timeout: 268 seconds]
jtojnar has joined #nixos
<scientist> ?
grizwako has quit [Remote host closed the connection]
scientist has quit [Client Quit]
<JosW> scientist: take a look at https://github.com/drush-ops/drush/archive
freeman42x has joined #nixos
timokau has joined #nixos
<rnhmjoj> Mic92: ...i can't get it right. can you tell me if this is correct? https://hastebin.com/raw/epaquriqun
<gchristensen> rnhmjoj: you wrote nixos-tests, but nixos-test is required
rycwo has quit [Ping timeout: 245 seconds]
rcshm has quit [Remote host closed the connection]
ikitat has joined #nixos
jtojnar has quit [Ping timeout: 246 seconds]
jtojnar_ has joined #nixos
rcshm has joined #nixos
jtojnar_ is now known as jtojnar
timokau has quit [Ping timeout: 246 seconds]
wfranzini has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<rnhmjoj> gchristensen: thank you! it was driving me insane
<gchristensen> :)
<gchristensen> it didn't even do most of that error for a long time, just error: a 'aarch64-linux' is required to build '/nix/store/dnk2dhq1ziz7h088pdixqb7fqzxmjz89-vm-test-run-predictableInterfaceNames.drv', but I am a 'x86_64-linux'
alex`` has joined #nixos
[Leary] has joined #nixos
o1lo01ol1o has joined #nixos
Lears has quit [Read error: Connection reset by peer]
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
_linarcx has quit [Ping timeout: 246 seconds]
stepcut has quit [Read error: Connection reset by peer]
scientist has joined #nixos
_linarcx has joined #nixos
scientist has quit [Client Quit]
stepcut has joined #nixos
_linarcx has quit [Ping timeout: 255 seconds]
rcshm has quit [Read error: Connection reset by peer]
pie_ has quit [Ping timeout: 246 seconds]
rcshm has joined #nixos
<eyJhb> Where is curses.h included?
_linarcx has joined #nixos
<_linarcx> noonien: How you configure i3blocks finally?
stepcut has quit [Ping timeout: 244 seconds]
<noonien> _linarcx: you mean, what i put in `command`?
<noonien> `command=/run/current-system/sw/libexec/i3blocks/$BLOCK_NAME`, and i also added `modules/desktop.nix: environment.pathsToLink = [ "/libexec" ];` to my configuration.nix
leat1 has joined #nixos
_kwstas has joined #nixos
zupo_ has joined #nixos
Panke has quit [Quit: Lost terminal]
<_linarcx> noonien: I don't have that path: `/run/current-system/sw/libexex`
<noonien> are you on nixos?
zupo has quit [Ping timeout: 245 seconds]
<_linarcx> noonien: Yes, i'm on nixos. In sw directory, i just have bin, etc, lib, sbin, share.
<noonien> yes, that's why i added `environment.pathsToLink = [ "/libexec" ];` in my configuration.nix
stepcut has joined #nixos
<_linarcx> noonien: What that line doing?
<_linarcx> and is this best approach to use i3blocks in nixos?
<noonien> it links /libexec from derivations to /run/current-system/sw
<noonien> i'm unsure, that's what I do and what works for me.
<_linarcx> Oh, yes. thank you. i will add this tips to wiki too for other persons. :)
_kwstas has quit [Quit: _kwstas]
fusion809 has quit [Remote host closed the connection]
_linarcx has quit [Quit: WeeChat 2.4]
linarcx has joined #nixos
tdammers has joined #nixos
<{^_^}> [nixpkgs] @pjones opened pull request #57913 → nsq: 0.3.5 -> 1.1.0, add nixos/nsq → https://git.io/fjfq3
<noonien> np, glad it solves it for you
knupfer has joined #nixos
rcshm has quit [Read error: Connection reset by peer]
rcshm has joined #nixos
rcshm_ has joined #nixos
rcshm has quit [Read error: Connection reset by peer]
rcshm has joined #nixos
rcshm_ has quit [Read error: Connection reset by peer]
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
domogled has quit [Quit: domogled]
<elvishjerricco> Is there something like bind mounts that lets you hide some paths from the target dir, or only show a certain set of paths?
linarcx has quit [Quit: WeeChat 2.4]
rcshm has quit [Read error: Connection reset by peer]
linarcx has joined #nixos
rcshm has joined #nixos
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<eyJhb> Is there any policy on forking a Github repo which hasn't been updated in quite some time, merging some PRs, and then changing the package to point at your own fork?
rcshm has quit [Read error: Connection reset by peer]
_kwstas has joined #nixos
rcshm has joined #nixos
Ralith_ has joined #nixos
jtojnar has quit [Read error: Connection reset by peer]
<gchristensen> that is not typically wanted if it can be avoided
<gchristensen> sometimes PRs will be "merged" in Nixpkgs by using fetchpatch on the PRs, if there are not many
<eyJhb> gchristensen: the repo was last updated 2017, and I have included some additional stuff in my own, and I think his is already a fork of something else.. :p
<gchristensen> ugly. what project is this?
mariel__ has quit [Ping timeout: 255 seconds]
<eyJhb> gchristensen: you are NOT going to like it.. It is sl, the steam locomotive!
<gchristensen> lol.
<gchristensen> if the fixes are not *very* important, I would prefer we not
<eyJhb> It is additional features, like.. Almost 100% additional features
zupo has joined #nixos
<gchristensen> yeah. I'm not inclined to want to do that
leat1 has quit [Ping timeout: 250 seconds]
<goibhniu> eyjhb: maybe you could become the new maintainer?
<gchristensen> haha
leat1 has joined #nixos
<eyJhb> goibhniu: I would not have anything against being the new maintainer :p
rcshm has quit [Read error: Connection reset by peer]
detran has quit [Ping timeout: 272 seconds]
stepcut has quit [Ping timeout: 268 seconds]
<eyJhb> gchristensen: but I can tell you, sl is a MUST HAVE for anyone ;)
rcshm has joined #nixos
<gchristensen> <3
timokau has joined #nixos
scientist has joined #nixos
rcshm has quit [Read error: Connection reset by peer]
<scientist> srhb: you there ?
<{^_^}> [nixpkgs] @bobvanderlinden opened pull request #57914 → ngrok-2: use updateScript → https://git.io/fjfqE
rcshm has joined #nixos
<eyJhb> Soon ^ will be me ;) ;) :p
leat1 has quit [Remote host closed the connection]
<scientist> can someone help me with xmonad ?
leat1 has joined #nixos
<{^_^}> [nix] @LnL7 opened pull request #2737 → build: add setting to extend the default darwin sandbox profile → https://git.io/fjfq2
scientist has quit [Client Quit]
<gchristensen> :/
stepcut has joined #nixos
rcshm_ has joined #nixos
rcshm has quit [Read error: Connection reset by peer]
evanm has joined #nixos
<goibhniu> eyjhb: I'm sure the NixOS marketing department would also be delighted if sl was maintained by a nixer :D
timokau has quit [Ping timeout: 246 seconds]
<DigitalKiwi> eyjhb: just make sl-ng!
Glider_IRC_ has joined #nixos
<DigitalKiwi> or change the name to...diesel-locomotive :D
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/9055e34fe17 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
goibhniu has quit [Ping timeout: 258 seconds]
<JosW> hi
Glider_IRC__ has quit [Ping timeout: 244 seconds]
<JosW> trying to install nix on a fresh installed Debian vps
goibhniu has joined #nixos
<eyJhb> Haha, DigitalKiwi I am not a fan of any diesel engine after my car is making a bad habbit of hurting my money pocket.. :p
<eyJhb> What is the command for rebuilding manpages?
rcshm_ has quit [Remote host closed the connection]
<JosW> as my regular user i get the error: cloning builer process
rcshm has joined #nixos
<JosW> Operation not permitted
<JosW> nix is owned by user.root
disasm has quit [Quit: WeeChat 2.0]
<JosW> should /nix be owned by root and the nix installed as root?
slack1256 has joined #nixos
rcshm has quit [Ping timeout: 246 seconds]
imdoor has joined #nixos
adetokunbo has joined #nixos
<eyJhb> gchristensen: heeelp, why does it download .tar.gz from github instead of using the sha ?
<JosW> what am i doing wrong?
<JosW> error: unable to start build process
<JosW> /tmp/nix-binary-tarball-unpack.YZOKKQN5p8/unpack/nix-2.2.1-x86_64-linux/install: unable to install Nix into your default profile
rcshm has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<simpson> JosW: Maybe executing stuff from /tmp isn't permitted? Not exactly sure how to read that error message.
o1lo01ol1o has joined #nixos
<JosW> yeah it seems so but it should be possible to intstall Nix on Debian as a regular user,
<JosW> if done as root the intaller complains
ddellacosta has quit [Quit: WeeChat 2.2]
<{^_^}> nix#2633 (by x80486, 8 weeks ago, closed): Error: cloning builder process: Operation not permitted installing Nix 2.2.1 in (Arch) Linux
shabius has joined #nixos
<tdammers> I gave up at that point, and just installed nixos into a VM
<simpson> JosW: I agree with both that issue and tdammers: Try out the sysctl. What's the worst that could happen on a fresh VM? And then figure out how to get NixOS on there, unless you really like Debian.
* tdammers really likes debian
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<JosW> it is not that much of a problem, running nixos on kvm vm's on my test pc
ddellacosta has joined #nixos
<JosW> but i have an vps that I would like to run Nixos on but the hoster isn' t providing Nixos iso' s as an install option...
aanderse-work has quit []
<JosW> so I thought to try it this way instead of the kexec or Nixos inplace options
<{^_^}> [nixpkgs] @eyJhb opened pull request #57915 → sl: 5.02 -> 5.04 → https://git.io/fjfqh
<eyJhb> gchristensen: I know you love it!
<gchristensen> =)
zupo has joined #nixos
irimi1 has joined #nixos
<JosW> well sysctl kernel.unprivileged_userns_clone=1 did the trick
<JosW> Installation finished!
Glider_IRC_ has quit [Ping timeout: 255 seconds]
<JosW> Now see if i can nuke Debian and replace it with NixOS
Glider_IRC has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
linarcx has quit [Quit: WeeChat 2.4]
<simpson> Remember to read the whole thing before doing the first step.
<JosW> simpson: yes i am trying to follow that
<simpson> Oh, and remember to save your SSH keys and networking information. There's various guides and blogposts out there if you're on any of the popular VPS providers.
linarcx has joined #nixos
<JosW> Will try :) the provider is popular in the Netherlands..
irimione has joined #nixos
<tdammers> tilaa?
<JosW> Nearly, TransIp
irimi1 has quit [Ping timeout: 246 seconds]
dashkal has quit [Read error: Connection reset by peer]
<tdammers> ah, yes
mkoenig_ has joined #nixos
goibhniu has quit [Ping timeout: 272 seconds]
<tdammers> thought their cash cow was shared hosting though
<tdammers> (which, bafflingly, is still a thing in 2019)
goibhniu has joined #nixos
dashkal has joined #nixos
mkoenig has quit [Ping timeout: 245 seconds]
timokau has joined #nixos
<JosW> might be, still get stuff going on their vps
<JosW> dedicated is a bit too far right now
troydm has joined #nixos
disasm has joined #nixos
pie_ has joined #nixos
ixxie has joined #nixos
<sphalerite> tdammers: I don't find it baffling..?
timokau has quit [Ping timeout: 250 seconds]
stepcut_ has joined #nixos
stepcut has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @vaibhavsagar opened pull request #57916 → smlnjBootstrap: 110.84 -> 110.85 → https://git.io/fjfmG
shabius has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @roberth merged pull request #57914 → ngrok-2: use updateScript → https://git.io/fjfqE
<{^_^}> [nixpkgs] @roberth pushed 4 commits to master: https://git.io/fjfmC
<tdammers> given the prices of low-end VPS these days, and the practical and technical disadvantages of shared hosting, I do find it a bit baffling
<tdammers> then again, PHP is alive and kicking, and that weirds me out even more
zupo has joined #nixos
disasm has quit [Quit: WeeChat 2.0]
<JosW> tdammers: you're from Germany?
<JosW> what kind of provider do you use?
<bgamari> Does the fetchGit primitive rely on the git executable being in PATH?
<bgamari> this seems to suggest that it does: https://gitlab.haskell.org/ghc/homepage/-/jobs/46587
dnlkrgr has quit [Ping timeout: 272 seconds]
<bgamari> but I find it hard to believe that this could really be true
<bgamari> This is using the nixos/nix docker image
spikebike has left #nixos [#nixos]
<pie_> bgamari, if it did require it, it shoudl fetch it when you need it?
<pie_> also theres fetchGit and fetchgit i think
<tdammers> JosW: originally, but living in the Netherlands now. I have a €15/yr VPS from some weird garage company somewhere in NL, and two servers under my staircase, no further personal hosting needs
<bgamari> I would have thought that nix would just gain a runtime dependency
<tdammers> I've worked with tilaa, aws, transip, digital ocean and linode
<ryantm> bgamari: It shouldn't because git is a nativeBuldInput to it:
<tdammers> not really a strong preference either way
timokau has joined #nixos
<bgamari> I'm using fetchgit to fetch nixpkgs
o1lo01ol1o has quit [Remote host closed the connection]
<bgamari> I could bootstrap with <nixpkgs> but I'd prefer not to
<ryantm> bgamari: I recommend using builtins.fetchTarball
<JosW> 15 euro/yr??!!
<pie_> its fun to have to randomly guess which nix manual flags are in...
<bgamari> it's just unfortunate that then I need to provide both the commit SHA and the output SHA
<bgamari> but oh well
<JosW> tsss, not living in the North of the Netherlands perhaps?
<tdammers> nope. the hague
<JosW> Seeking for people up North to get some kind of meeting
<sphalerite> bgamari: builtins.fetchGit?
<bgamari> sphalerite, yes
<sphalerite> bgamari: you don't need the output hash for that
<JosW> that's 2.5 hours drive..
<bgamari> sphalerite, right, which is why I'm using it
<tdammers> north is always tricky that way, but afaik train service has improved in recent years
<bgamari> in contrast to fetchTarball, which does require an output hash
<sphalerite> bgamari: ooh right, yeah as ryantm says builtins.fetchTarball doesn't
<tilpner> fetchTarball can bue used without
<tilpner> *can be used
<pie_> oh its nix build not nix-build
<JosW> in the meanwhile, take two..
<ryantm> One example in the nix manual doesn't use an output hash for fetchTarball
<bgamari> tilpner, right, but then you lose caching
<bgamari> IIRC
<tilpner> You have less caching, yes
<tilpner> (But it still caches for an hour by default)
<ryantm> Yes. Aren't you losing caching with the fetchGit way too?
<bgamari> ryantm, I wouldn't have thought so
<bgamari> but perhaps
<sphalerite> ryantm: nope
<bgamari> the commit should fully determine the output hash
<sphalerite> ryantm: it caches in a git repo, ~/.cache/nix/git or something
<ryantm> Oh, that's cool.
<elvishjerricco> bgamari: I imagine the fact that the closure size of git is 3x bigger than that of nix is the reason they don't build the path in
<bgamari> yeah, that's what I would have expected
<bgamari> elvishjerricco, fair enough I suppose
<elvishjerricco> bgamari: I'd personally be ok with a build time flag for building it in. I'd probably enable it by default too
<bgamari> right
timokau has quit [Ping timeout: 244 seconds]
irimione has quit [Remote host closed the connection]
<bgamari> right, I had found that
<bgamari> my confusion was in part due to the fact that this dependency appears not to be documented anywhere
<vikingman> someone can help me i try to get my laptop gpu working
<bgamari> and it seems like this means that fetchGit will likely be broken by default in NixOS
disasm has joined #nixos
<ryantm> Vikingman: Please ask a question about your problem instead of asking to ask.
<ryantm> bgamari: Yeah, that seems pretty bad.
<vikingman> i got a gt335 i know its old i simply dont understand how to get it activated
<vikingman> im running on the intel one for now
<NemesisD> how do you all handle development dependencies that don't actually get used in the nix build? i've got some frontend code to build but i don't necessarily want to teach nix how to build it in a derivation, i just want the tools to be available to the shell
grizwako has joined #nixos
<NemesisD> my best idea so far is to just produce an expression that's a list of those tools and then merge that into my main package's nativeBuildInputs
<vikingman> i made it work with nouveau driver and bumblebee
<elvishjerricco> what does building with nix do if not build your frontend?
<{^_^}> [nixpkgs] @LinArcX opened pull request #57917 → mcos-xfce-edition: init at 8d90e10 → https://git.io/fjfmM
vk3wtf has quit [Ping timeout: 245 seconds]
<vikingman> but with optimus its a no go
<{^_^}> [nixpkgs] @dotlambda pushed to master « python.pkgs.msrest: fix build on python2 »: https://git.io/fjfmy
<srhb> bgamari: Hmm, what goes into the output hash for a builtins.fetchGit with a rev?
<NemesisD> elvishjerricco: i have a haskell backend i'm using nix to build using shellFor. i also have a purescript frontend. right now i'm managing that frontend build with shake, so i'm provisioning the purescript compiler and sundry via nix
linarcx has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @dotlambda pushed to release-19.03 « python.pkgs.msrest: fix build on python2 »: https://git.io/fjfmH
<NemesisD> elvishjerricco: i guess i could figure out a derivation so nix can build the frontend too. i think i don't understand what nix' role should be in the project. ok so it builds the final compiled frontend, but what about development? i guess if i include all the dev tools in the derivation's inputs that would do the trick
<bgamari> srhb, that's a good question
<srhb> Ideally it'd be just the rev I guess.
<bgamari> ideally
shabius has joined #nixos
linarcx has joined #nixos
jtojnar has joined #nixos
<{^_^}> [nixpkgs] @bobvanderlinden opened pull request #57918 → alsa-{oss,tools}: 1.1.6 -> 1.1.8 → https://git.io/fjfmF
<tokudan[m]> is someone successfully using services.rspamd? I'm facing some issues configuring it and it looks like /etc/rspamd is completely ignored
<{^_^}> [nixpkgs] @dotlambda pushed commit from @zimbatm to release-19.03 « pythonPackages.invoke: patch the default bash path »: https://git.io/fjfmb
<devalot> tokudan[m]: I use rspamd and have some custom config. Let me look up how I'm doing that.
realrokka has quit [Ping timeout: 255 seconds]
<devalot> tokudan[m]: Okay, what I do is: environment.etc."rspamd/override.d/actions.conf".source = ...
<tokudan[m]> ah...
<tokudan[m]> do you use rspamadm configdump? i tried a strace on it to figure out which configuration files it uses and it always uses /nix/store/*-rspamd-*
grizwako has quit [Remote host closed the connection]
orivej has quit [Ping timeout: 268 seconds]
<srhb> tokudan[m]: If you really want to manage it imperatively, I guess you can add an includes that points where you want it. But why would you want that?
<srhb> tokudan[m]: fwiw it's normal for NixOS services to point to the generated, immutable config inside the store.
<devalot> I have, yes. And it was correctly pulling files from /etc/
<srhb> (And quite deliberate)
<tokudan[m]> srhb: I don't want any imperatively involved, i just wanted to see what it thinks of the configuration
tdammers has left #nixos ["WeeChat 1.6"]
grizwako has joined #nixos
<tokudan[m]> srhb: the reason for that is that it seems to completely ignore what I write in the exta-config
<tokudan[m]> devalot: thanks! I'll have a look :)
<srhb> tokudan[m]: I see. :)
bobvanderlinden has joined #nixos
shibboleth has quit [Quit: shibboleth]
<bobvanderlinden> It seems some packages that have their version embedded in the name are not automatically updated. How useful/viable would it be to replace all `name = "package-1.2.3";` with `name = "package-${version}"; version = "1.2.3";`? Would the automatic updater pick these packages up?
tmaekawa has joined #nixos
realrokka has joined #nixos
rycwo has joined #nixos
<srhb> bobvanderlinden: Automatically updated by what? ryantms bot?
<bobvanderlinden> srhb: yes
knupfer has quit [Ping timeout: 264 seconds]
<srhb> bobvanderlinden: Hmm, I didn't think that was how it worked...
<bobvanderlinden> srhb: I noticed that some packages were outdated (in repology) and those packages had their version embedded in the name. I thought maybe that was an indication why ryantms bot did not pick them up. I have no idea whether that's actually how it works, but it seems like a quick-win to get higher % of fresh packages.
Shouou has joined #nixos
wfranzini has quit [Remote host closed the connection]
<bobvanderlinden> (_if_ that is actually how it works)
wfranzini has joined #nixos
tmaekawa has quit [Quit: tmaekawa]
<srhb> I thought it looked at just the name, but I may be mistaken.
<bobvanderlinden> ryantm: could you shed some light on your magificent bot? ;D
<{^_^}> [nixpkgs] @dotlambda merged pull request #57808 → python36Packages.hpack: fix build → https://git.io/fjvBv
<{^_^}> [nixpkgs] @dotlambda pushed commit from @alyssais to master « python36Packages.hpack: fix build (#57808) »: https://git.io/fjfYI
<ryantm> bobvanderlinden: It can update packages that have the version embedded in the name.
<JosW> tdammers: I am in as root on the vps!
<bobvanderlinden> ryantm: one example of packages that the bot missed was https://github.com/NixOS/nixpkgs/pull/57918
<{^_^}> #57918 (by bobvanderlinden, 17 minutes ago, open): alsa-{oss,tools}: 1.1.6 -> 1.1.8
<{^_^}> [nixpkgs] @dotlambda merged pull request #57807 → python3Packages.priority: fix build → https://git.io/fjv4j
<ryantm> 2019-03-15T16:15:54 alsa-plugins 1.1.6 -> 1.1.8
<{^_^}> [nixpkgs] @dotlambda pushed commit from @alyssais to master « python3Packages.priority: fix build (#57807) »: https://git.io/fjfYq
<ryantm> 2019-03-15T16:16:03 FAIL Old version not present in master derivation file.
jtojnar has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @dotlambda pushed to master « python.pkgs.mt-940: 4.13.0 -> 4.13.2 »: https://git.io/fjfYY
jtojnar has joined #nixos
<ryantm> It succeeded in updating it here https://github.com/NixOS/nixpkgs/pull/38745
<{^_^}> #38745 (by r-ryantm, 48 weeks ago, merged): alsaPlugins: 1.1.5 -> 1.1.6
<bobvanderlinden> ah hmm, ok so that rules out my idea. What does "FAIL Old version not present in master derivation file" mean?
Glider_IRC has quit [Ping timeout: 246 seconds]
scientist has joined #nixos
<ryantm> It means it couldn't find "1.1.6" in whatever file it was looking in, which doesn't make much sense.
<{^_^}> [nixpkgs] @dotlambda pushed 3 commits to release-19.03: https://git.io/fjfY3
<scientist> where are the instructions to install gnome on nixos ?
Glider_IRC has joined #nixos
<bobvanderlinden> ryantm: hmm that's weird. How does it look that version up?
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/0cbe2fa18cd (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<scientist> ?
<ryantm> scientist: services.xserver.desktopManager.gnome3.enable = true;
<scientist> ryantm: thanks
ixxie has quit [Ping timeout: 245 seconds]
<scientist> ryantm++
<{^_^}> ryantm's karma got increased to 3
<ryantm> bobvanderlinden: It first uses some nix-env query command to figure out the attrpath of the package, then it uses "nix edit attrPath" to find which file the attrPath corresponds to, then it greps that file for the version.
stepcut_ has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @rasendubi opened pull request #57920 → acpilight: add to module-list → https://git.io/fjfYc
<bobvanderlinden> ryantm: aah ok. that sounds logical. i'll try to emulate that locally
<ryantm> lookupAttrPath and getDerivationFile
<elvishjerricco> scientist: FYI, the answer to the question "how do I install <X> on NixOS" is almost always by searching one of these :) https://nixos.org/nixos/options.html https://nixos.org/nixos/packages.html
rcshm has quit [Remote host closed the connection]
rcshm has joined #nixos
<sphalerite> "a system where the config depends entirely on what you specify, not on what it was before"
<JosW> Ok great! just managed to get Nixos installed on a vps with Debian
<ryantm> bobvanderlinden: I tried reproducing it myself and it seems like it should have worked, so I'm not sure what went wrong.
<sphalerite> JosW: \o/
<JosW> addes a regular user but after logging out as root and a login as the user i get this error:
domogled has joined #nixos
<{^_^}> [nixpkgs] @rnhmjoj opened pull request #57921 → monero-gui: fix missing qml imports → https://git.io/fjfYR
<JosW> WARNING: the per-user profile dir /nix/var/nix/profiles/per-user/jos should belong to user id 1000
<JosW> WARNING: the per-user gcroots dir /nix/var/nix/gcroots/per-user/jos should belong to user id 1000
slack1256 has quit [Remote host closed the connection]
stepcut has joined #nixos
<{^_^}> [nixpkgs] @aszlig pushed 2 commits to release-19.03: https://git.io/fjfYu
<JosW> what to do now?
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #57820 → tree: use $CC instead of cc to build → https://git.io/fjvRP
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fjfYa
ilya-fedin has quit [Quit: Connection closed for inactivity]
<sphalerite> JosW: who do they belong to?
<sphalerite> JosW: it won't cause any immediate problems, but nix-env and nix-channel probably won't work for jos
<JosW> sphalerite: I am so glad I managed to get Nixos on this vps, but exhausted right now and no idea how to get the id 1000
rcshm has quit [Read error: Connection reset by peer]
<bobvanderlinden> ryantm: strange that that infix of (probably) "1.1.6" was failing. If you run it right now it succeeds? or is it hard-ish to run it for this particular package ad-hoc?
rcshm has joined #nixos
<JosW> how do i check the permissions again?
<sphalerite> JosW: ls -l
drakonis has quit [Quit: WeeChat 2.3]
<bobvanderlinden> ryantm: oh wait!
<bobvanderlinden> ryantm: `oldVersionPattern = "\"" <> oldVersion updateEnv <> "\""`
<bobvanderlinden> ryantm: it checks the _old_ version for one with surrounding quotes, even though updating the version works for embedded versions, the old-version-check is not compatible it seems
<JosW> sphalerit: profiles/per-user and gcroots/per-user is root.root
<sphalerite> JosW: and the jos dir in each of those?
<JosW> chown jos.jos?
<JosW> ye
<JosW> yes
<ryantm> bobvanderlinden: Ah, thanks for catching that. I could make it only check for the ending "
<{^_^}> [nixpkgs] @dotlambda opened pull request #57922 → mopidy-iris: 3.32.5 -> 3.33.0 → https://git.io/fjfYr
<sphalerite> JosW: per-user *should* be owned by root, but per-user/jos should be owned by jos
<makefu> https://old.reddit.com/r/archlinux/comments/b2jkrp/anyone_tried_nixos_what_are_your_thoughts/ < a lot of feedback about NixOS from (previous) archlinux users
drakonis has joined #nixos
<bobvanderlinden> ryantm: of check just the contents of `nix eval alsaPlugins.name -f .`? not sure what the best solution is here. Just ending with " could catch other cases as well, but i guess there are enough checks to fail when it is updating incorrectly
scientist has quit [Quit: WeeChat 2.2]
<JosW> sphalerite: thought so, will try and login after that
<bobvanderlinden> there are 661 files that have the version embedded in the name of the derivation. It might be a good idea to do a recheck for those files.
timokau has joined #nixos
drakonis1 has quit [Ping timeout: 272 seconds]
Ariakenom has quit [Quit: Leaving]
<ryantm> bobvanderlinden: Checking that old version is in there might be redundant, since when it uses `nix-env -qa ...` in lookupAttrPath it looks it up via the old version being in the name.
scientist has joined #nixos
<bobvanderlinden> ryantm: ah right, that makes sense
<scientist> when trying to install gnome3 i get this error https://hastebin.com/qinitesiho.rb
<scientist> how do i fix this ?
<JosW> sphalerite: jos.users and the errors ar gone
drakonis has quit [Read error: Connection reset by peer]
<sphalerite> JosW: perfect :)
drakonis has joined #nixos
<bobvanderlinden> ryantm: the names (package names, not attribute names) of the packages that have a version embedded in their name: https://gist.github.com/bobvanderlinden/fdf438ec72321839f928da01b02d4328
<scientist> when trying to install gnome3 i get this error https://hastebin.com/qinitesiho.rb
<scientist> help !!
<scientist> where are the instructions to fix this ?
Dr8128 has quit [Ping timeout: 255 seconds]
<JosW> although nix-channel --list gives me nothing?
timokau has quit [Ping timeout: 245 seconds]
<bobvanderlinden> scientist: I guess you have `networking.wireless` defined in your configuration.nix. you can remove that because you already have networkmanager enabled (networkmanager is on its own able to manage your wireless cards and thus the option is conflicting with wireless options)
<scientist> displayManager.sddm = {
ikitat has quit [Ping timeout: 246 seconds]
<scientist> enable = true;
<scientist> };
<scientist> bobvanderlinden: that is all i changed, i don't have networking wireless defined anywhere ?
Myhlamaeus has quit [Quit: WeeChat 2.2]
<scientist> wrong paste:
<scientist> desktopManager.gnome3 = {
<scientist> enable = true;
<scientist> };
<bobvanderlinden> could you paste your configuration on https://gist.github.com ?
<DigitalKiwi> makefu: the first complaint i had about that was that the arch wiki is still useful for a lot of things even on nixos
<scientist> bobvanderlinden: gnome3 is throwing the error
<bobvanderlinden> (or whereever)
<bobvanderlinden> ah ok, that's sneaky
jtojnar_ has joined #nixos
<JosW> sphalerite: thank you for your help, gotta go now will try again tomorrow
<sphalerite> gnight¬!
<bobvanderlinden> scientist: https://github.com/nixos/nixpkgs/blob/017f0e8043da8865ca318dbb37351c2c1bbc8ad3/nixos/modules/services/x11/desktop-managers/gnome3.nix#L147 is where gnome3 enables networkmanager. Not sure about the wireless option yet though
jtojnar has quit [Ping timeout: 255 seconds]
jtojnar_ is now known as jtojnar
schneid3306 has quit [Quit: ZZZzzz…]
vk3wtf has joined #nixos
everybodyHertz has quit [Ping timeout: 256 seconds]
agander has quit [Ping timeout: 250 seconds]
rprije has joined #nixos
JosW has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<scientist> bobvanderlinden: link is not working
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
lopsided98_ has quit [Quit: Disconnected]
ng0 has quit [Quit: Alexa, when is the end of world?]
<bobvanderlinden> scientist: what helps best is if you could send the configuration.nix that you're currently trying
Shouou has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @WilliButz opened pull request #57923 → grafana: 6.0.1 -> 6.0.2 → https://git.io/fjfYb
<scientist> bobvanderlinden++
<{^_^}> bobvanderlinden's karma got increased to 1
<duoi> bobvanderlinden++
<{^_^}> bobvanderlinden's karma got increased to 2
<duoi> i feel like a few of us could game the system and take all the karma
<bobvanderlinden> thanks for the karma :P is that a new thing?
<DigitalKiwi> how new?
Myhlamaeus has joined #nixos
<DigitalKiwi> pretty sure karma is a few thousand years old
<bobvanderlinden> haha, yes you might be right
Makaveli7 has quit [Quit: Leaving]
<bobvanderlinden> but making it that concrete with numbers in this specific channel seems new ;)
<ddellacosta> once you make it to 100 karma you can redeem your karma for NixBucks(TM) and purchase Nix-themed gear with it like the famous Nix travel kit, Nix cookies, and of course the famous Nix frozen pizza
<ddellacosta> </absolute nonsense>
<duoi> bobvanderlinden in this channel you want to stay as close to 0 as possible
<DigitalKiwi> i'm not sure when it first was added but i know it's been around for at least a few months
<duoi> we do biannual purges
<{^_^}> [nixpkgs] @rycee opened pull request #57924 → openshift: remove obsolete comment → https://git.io/fjfYp
<bobvanderlinden> wow Nix cookies, that sounds awesome
<bobvanderlinden> duoi: dang it.
<ddellacosta> bobvanderlinden: black licorice flavor now available, along with the original vegemite flavor
<{^_^}> [nixpkgs] @rnhmjoj opened pull request #57925 → nixos/tests/predictable-interfaces: fix failure on aarch64 → https://git.io/fjfOf
<{^_^}> [nixpkgs] @rycee pushed to master « openshift: remove obsolete comment »: https://git.io/fjfOU
<ddellacosta> I think I've been messing around with monad transformers for too long today
<bobvanderlinden> those are some fine choices ;P especially for cookies
<ddellacosta> heh
rcshm has quit [Remote host closed the connection]
rcshm has joined #nixos
goibhniu has quit [Read error: Connection reset by peer]
erictapen has quit [Quit: leaving]
<{^_^}> [nixpkgs] @rycee pushed to release-19.03 « openshift: remove obsolete comment »: https://git.io/fjfOI
erasmus has joined #nixos
erasmas has quit [Quit: leaving]
adetokunbo has quit [Quit: This computer has gone to sleep]
josiah_sama has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @rycee closed pull request #57924 → openshift: remove obsolete comment → https://git.io/fjfYp
<jtojnar> Mic92: any objsections to merging https://github.com/NixOS/nixpkgs/pull/51382#issuecomment-474157104 as is?
rcshm has quit [Remote host closed the connection]
rcshm has joined #nixos
<{^_^}> [nixpkgs] @dotlambda opened pull request #57926 → python.pkgs.hglib: use patch to specify hg path → https://git.io/fjfOO
goibhniu has joined #nixos
kvda has joined #nixos
<scientist> gnome3 is causing and error and i don't know why ? https://hastebin.com/esuwunulop.bash https://hastebin.com/qinitesiho.rb
<{^_^}> [nixpkgs] @justinwoo opened pull request #57927 → purescript: fix purescript derivation using easy-purescript-nix → https://git.io/fjfO3
<scientist> i haven't set any networking settings
<jtojnar> scientist: weird, what commit are you on?
<Ralith> any other direnv users on 19.03? I'm finding it resetting my nix shells every minute or so since the update
<scientist> it is just a pastebin
<jtojnar> scientist: I mean nixpkgs commit
<scientist> idk
<jtojnar> scientist: you can try --show-trace
<jtojnar> hmm, that was not very helpful
<jtojnar> what is your full configuration?
<jtojnar> scientist: are you using iwd?
<scientist> no what isiwd ? i am using xmonad
<{^_^}> [nixpkgs] @averelld opened pull request #57928 → plex: 1.14.1.5488 -> 1.15.1.791 → https://git.io/fjfOZ
jackdk has joined #nixos
<scientist> i mean iwd
<jtojnar> scientist: it is replacement for wpa_supplicant, I remember there was some bug that it set networking.wireless
rcshm has quit [Read error: Connection reset by peer]
rcshm has joined #nixos
<scientist> jtojnar: i don't think it is a problem on my end, i don't have my wifi setup is that it ?
<scientist> imusing ethernet cable
<jtojnar> scientist: well something must be setting it
domogled has quit [Quit: domogled]
<jtojnar> nothing changed in GNOME module AFAIK
<scientist> AFAIK ?
<jackdk> As Far As I Know
domogled has joined #nixos
_kwstas has quit [Quit: _kwstas]
<jtojnar> scientist: does `nixos-option networking.wireless.enable` command tell you something?
slack1256 has joined #nixos
<tobiasBora> Hello,
rcshm has quit [Read error: Connection reset by peer]
<tobiasBora> So I'm trying to package wstunnel for nix, so I downloaded wstunnel, ran cabal2nix on it, giving me two files:
rcshm has joined #nixos
<tobiasBora> however when I run nix-build default.nix, it fails with an error Can't make a derived instance of ‘Generic PortNumber'
<tobiasBora> (this happened during the compilation of the file src/Types.hs)
<tobiasBora> however if I manually compile it with "stack init && stack install", it works
<tobiasBora> so do you know if it's because stack uses an older version of ghc (lts-9.9), or is it for a more subtle nix-related reason?
adetokunbo has joined #nixos
<elvishjerricco> tobiasBora: That's almost guaranteed to be an issue with wstunnel or a difference in GHC versions. There's virtually no way Nix would be responsible for an error like that
<elvishjerricco> my money is on GHC version
<tobiasBora> elvishjerricco: ok thanks. And does nix provides a way to compile it with an older ghc, like lts-9.9?
grizwako has quit [Remote host closed the connection]
<elvishjerricco> tobiasBora: Yea, in that default.nix you can change the `ghc863` to some older GHC version if nixpkgs still has it kicking around. If not, you may need to find an older nixpkgs
<elvishjerricco> (sidenote, that's why I think nixpkgs should never drop GHC versions, or there should be a separate repo with all of them)
<tobiasBora> elvishjerricco: ok I'll try... that's too bad that nix can't build older versions...
chreekat has quit [Ping timeout: 264 seconds]
<elvishjerricco> tobiasBora: Yea we used to have a lot more but it was decided that we should reduce to IIRC only the last three major versions, and only one minor version of each major version
<linarcx> Gyus, i create some packages and send pull-requests on github. How long does it take to merge them finally?
chreekat has joined #nixos
<elvishjerricco> mistake IMO, but I think the main maintainer didn't really have time for it anymore
<{^_^}> [nixpkgs] @rnhmjoj opened pull request #57929 → [backport] nixos/tests/predictable-interfaces: fix failure on aarch64 → https://git.io/fjfOz
<tobiasBora> elvishjerricco: so when you remove one GHC version, it removes as well all the packages that do no build against the latest version right?
<elvishjerricco> linarcx: It varies depending on who sees the PR and when. Sometimes hours. I usually find the most relevant maintainer and ping them after a week
grizwako has joined #nixos
<jackdk> I've had stuff take over a week, I've had stuff take minutes. Most maintainers are good, but they're human.
<noonien> what does nix-collect-garbage consider garbage?
<elvishjerricco> tobiasBora: Yea if a package only builds with 8.0, but not 8.6, then removing 8.0 means there's no way to build that package in nixpkgs
<jtojnar> scientist: what about `nixos-option -I nixos-config=/etc/nixos/configuration.nix networking.wireless.enable`
<linarcx> jackdk: indeed.
<linarcx> elvishjerricco: How can i find which maintainer is the most appropriate for a specific PR?
<noonien> it is see unclear what "garbage" means, what are "garbage collector roots"?
<elvishjerricco> linarcx: Not sure, honestly. You can at least look here: https://github.com/NixOS/nixpkgs/blob/master/.github/CODEOWNERS
<linarcx> elvishjerricco: Thank you.
<noonien> for example, if i do `nix-shell -p pkg`, how and do nix-collect-garbage -d while thee shell is still active, will pkg be collected?
orivej has joined #nixos
<clever> noonien: any path present in an env var will be protected
<noonien> all env vars for all processes?
<clever> yep
simukis has joined #nixos
<noonien> that's pretty cool, awesome!
<elvishjerricco> I assume that with non-daemon installs, that doesn't work for processes launched by other users from your store?
<noonien> where can i find the source code for the gc roots? in `nix` i suppose, right?
<elvishjerricco> or can any user read any user's processes' environment?
<{^_^}> [nixpkgs] @andir opened pull request #57930 → [19.03] firefox 65.0.2 -> 66, 60.5.2esr -> 60.6.0esr, firefox-bin: 65.0.2 -> 66.0 → https://git.io/fjfO6
<noonien> elvishjerricco: i'm guessing non-deamon installs don't have direct access to /nix/store
<noonien> in't the nix store somewhere in $HOME?
<elvishjerricco> noonien: Nah, non-daemon installs use /nix/store by default.
<jtojnar> scientist: I think you missed a space before the option name
ikitat has joined #nixos
<elvishjerricco> It's possible to change it but I don't think anyone's made a convenient way to do that without losing the binary cache yet
imdoor has quit [Quit: imdoor]
<noonien> hmm, i guess that makes sense, since the binary cache is compiled for /nix/store by default, yeah
<elvishjerricco> you can use chroot stores if your distro enables user namespaces to keep the store anywhere, but I dunno if Nix can be installed to use one by default.
<clever> elvishjerricco: only root can view the env vars of another user
Fare has quit [Ping timeout: 250 seconds]
<jtojnar> scientist: then you have it set in /etc/nixos/configuration.nix
<noonien> hmm, i think also cwd and open fds are considered, not just env vars
<clever> elvishjerricco: this will install nix to ~/.nix-install/nix/store, and chroot automatically so you can still benefit from the cache
<noonien> also ld maps
<noonien> also kernel modules
<elvishjerricco> noonien: I think it even checks for processes launched from store paths.
<jtojnar> scientist: if nixos-option works correctly, do you have any imports?
<elvishjerricco> clever: That's cool
<clever> noonien: `nix-store --query --roots /nix/store/foo` will list all roots for a given path
<elvishjerricco> noonien: Do you already know how Nix traverses from gc roots so that runtime dependencies of roots aren't deleted?
<noonien> well, there was a small portion describing that in the manual, yes. basically like any other GC i'm guessing
ikitat has quit [Ping timeout: 255 seconds]
<scientist> jtojnar: i import an xserver module
<noonien> start from root to see what's actually used, mark as used, then mark dependencies recursively as well
<elvishjerricco> noonien: Yea, but the issue is determining what paths a path references. It has to scan the output for references to other store path's hash components. Sometimes doesn't work, e.g. compressed files
<jtojnar> scientist: do you mean <nixos/modules/services/x11/xserver.nix>?
<noonien> what do you mean? derivations depend on other derivations, what does this have to do with paths?
<elvishjerricco> that way not all build inputs have to be considered runtime deps; e.g. gcc shouldn't be a runtime dep of bash, but it must be a build input
<noonien> paths are resolved from derivations, not the other way around, i'm guessing
<bobvanderlinden> (scientist: it would really help to share your configuration.nix. if that's not possible, please say so)
<noonien> is that not why all the different *inputs and *dependencies exist?
<elvishjerricco> noonien: Yea, so if your derivation writes the path of another derivation to a file in its output, Nix will see that the output contains the other derivation's path and consider that a runtime dep.
linarcx has quit [Quit: WeeChat 2.4]
<elvishjerricco> noonien: The various types of inputs for stdenv are actually mostly for cross compilation; i.e. choosing the native or cross version of the input
<noonien> hmm, that sounds leaky
<elvishjerricco> runtime inputs are scanned for the way that they are because coders are dumb and will produce derivations that don't declare runtime deps correctly, which can lead to non reproducible builds
<noonien> i agree, stil, it sounds leaky
<elvishjerricco> leaky?
<noonien> yes, it sounds like it's really easy to get false positives AND false negatives
<elvishjerricco> it's definitely faulty, in that it's possible to make derivations that don't get their runtime deps correctly determined, but it should never result in something being a runtime dep that isn't
i1nfusion has quit [Remote host closed the connection]
<elvishjerricco> er, it should never result in Nix determining that something is a runtime dep when in fact it is not, is how I should put that
i1nfusion has joined #nixos
<noonien> it might
<elvishjerricco> how?
<noonien> also, i'm not completely sure how .so paths are stored, before resolved by ld, are they treadet specially?
<noonien> trated&
<{^_^}> [nixpkgs] @worldofpeace pushed to master « lightdm: drop run-dir.patch »: https://git.io/fjfOb
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<noonien> well, some programs might choose to store the path to the compiler in the binary
<noonien> i'm unsure if gcc stores the complete path though, for example
<scientist> jtojnar++
<{^_^}> jtojnar's karma got increased to 9
<elvishjerricco> Nixpkgs makes sure that GCC emits executables with hard coded paths to libraries.
<scientist> bobvanderlinden++
<{^_^}> bobvanderlinden's karma got increased to 3
<noonien> heh, nix contains more complexity than i initially thought
bobvanderlinden has quit [Ping timeout: 256 seconds]
<elvishjerricco> noonien: Another derivation depending on a derivation with such a binary could scan the binary for the path and use it, all without having to guess any hashes.
<elvishjerricco> so in that sense, it's still a runtime dep of that binary, just in odd use cases of that binary
scientist has quit [Quit: WeeChat 2.2]
srl295 has joined #nixos
<noonien> fair enough
<elvishjerricco> e.g. if you accidentally link against a lib you don't need, and something else wants to validate that all your libs exist, you're in trouble
<elvishjerricco> though I guess launching that binary would fail anyway :P
random_yanek has quit [Ping timeout: 245 seconds]
jasongrossman has quit [Ping timeout: 264 seconds]
<noonien> pretty interesting
<noonien> and, how are the outputs scanned?
wfranzini has quit [Remote host closed the connection]
<noonien> just matches for `/nix/store/<hash>-`?
wfranzini has joined #nixos
<elvishjerricco> noonien: It will literally just find any binary string matching the hash part of any build input. So it doesn't have to find the whole path, just the hash
<noonien> ah, interesting
<elvishjerricco> since that's the unit that's least likely to be broken up
<noonien> is there a way of specifying dependencies manually?
<elvishjerricco> as in manually adding runtime deps, in case those hashes e.g. get compressed? I think the only way is to just create dummy files in the output that contain them
<noonien> aha, so outputs are scanned after the derivation realisation is coplete?
<elvishjerricco> yea
<elvishjerricco> then recorded in the db
Anton-Latukha has quit [Quit: Leaving.]
rcshm has quit [Remote host closed the connection]
rcshm has joined #nixos
<noonien> awesome!
grizwako has quit [Remote host closed the connection]
grizwako has joined #nixos
grizwako has quit [Remote host closed the connection]
grizwako has joined #nixos
<worldofpeace> jtojnar: why does gtksourceview use vala 0.40?
<noonien> an aquantaince of mine is working on a game that's also targetting linux, i've asked him to provide a curl-able way of fetching the demo and full game but he said it's not worth the time. so i've created a program that allows downloads for users that have bought the game via steam, hopefully i can convince him to use the tool, so i can create a nix expression for the game :D
<noonien> it's pretty amazing to see how many games there are in nixpkgs
random_yanek has joined #nixos
<clever> noonien: steam also just works on nixos
jasongro` has joined #nixos
<jtojnar> worldofpeace: I think I added it when we had policy of using fixed vala version and then forgot to bump it
<worldofpeace> jtojnar: Right, I'll push a fix for that
<worldofpeace> Wait does `platforms.unix` not include x86_64-darwin?
joebobjoe3 has joined #nixos
<clever> > lib.platforms.unix
<{^_^}> [ { kernel = { families = { bsd = <CODE>; }; }; } { kernel = { families = { darwin = <CODE>; }; }; } { kernel = { _type = "kernel"; execFormat = { _type = "exec-format"; name = "elf"; }; families = { ...
domogled has quit [Ping timeout: 250 seconds]
<samueldr> :)
<joebobjoe3> hi guys I just reinstalled nix but whenever I run a nix-shell command I get error: unexpected end-of-file
<joebobjoe3> I'm pretty sure the daemon is running but I don't understand enough about nix to troubleshoot (on mac)
<joebobjoe3> can anyone help?
jasongro` has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to gnome-3.32: https://git.io/fjf3O
<worldofpeace> clever: really confused why the borg refused to build a certain package then
<noonien> clever: yup, i still prefer nix though, i do wonder if they have any steam-specific integrations though
<noonien> i quite like that i was able to run factorio so easily in nixos
sigmundv has joined #nixos
rycwo has quit [Ping timeout: 252 seconds]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #51382 → Networkmanager: rename service to match upstream → https://git.io/fpK3Y
<{^_^}> [nixpkgs] @flokli pushed 4 commits to staging: https://git.io/fjf3c
rcshm_ has joined #nixos
rcshm has quit [Read error: Connection reset by peer]
joebobjoe3 has quit [Quit: Page closed]
rycwo has joined #nixos
rcshm_ has quit [Read error: Connection reset by peer]
rcshm has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
i1nfusion has quit [Remote host closed the connection]
i1nfusion has joined #nixos
grizwako has quit [Ping timeout: 250 seconds]
work_ has quit [Quit: Connection closed for inactivity]
grizwako has joined #nixos