<ashkitten>
ok but isn't our steam runtime not updated automatically?
<Drakonis[m]>
no
<ashkitten>
okay, then i'm confused
<Drakonis[m]>
normally because it doesn't change frequently
<ashkitten>
oh it isn't
<ashkitten>
then it needs an update i guess?
thc202 has quit [Ping timeout: 260 seconds]
mayhewluke has quit [Ping timeout: 252 seconds]
<Drakonis[m]>
probably should, valve updated the sdl library on the runtime a while ago
<Drakonis[m]>
ah nevermind, they didn't change it themselves
<ashkitten>
oh hmm
mayhewluke has joined #nixos
<ashkitten>
wait, would i need an extra argument for the steam package if i'm using beta?
<Drakonis[m]>
no
<ashkitten>
hm
<ashkitten>
idk then
<Drakonis[m]>
god, the steam package is a house of cards
<{^_^}>
[nixos-homepage] @magnetophon opened pull request #235 → Update the number of packages in index.tt and about.tt → https://git.io/fALjy
<ashkitten>
apparently this issue is with using native libraries but i don't think we're using them?
<ashkitten>
never mind i don't think it's the problem
<ashkitten>
it might be the game after all
<ashkitten>
validating the game files or whatever
ldlework has quit [Remote host closed the connection]
ldlework has joined #nixos
Fare has quit [Ping timeout: 260 seconds]
<Drakonis[m]>
that issue is with amdgpu and fury x
<emily>
has anyone gotten NixOS working with ReasonML/BuckleScript? I've been trying to do so with node2nix but having difficulties to get the BuckleScript part of the toolchain working properly.
<elvishjerricco>
Is it at all possible to run xmonad under gnome 3? I really like the top and side bars that ubuntu has by default, but don't want to lose all my xmonad stuff
<Drakonis[m]>
hmm, nah
jperras has joined #nixos
<Drakonis[m]>
gnome doesn't like it
<Drakonis[m]>
its too tightly coupled to work
<Drakonis[m]>
the top bar is a gnome-shell thing and the sidebar is an addon
taktoa has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fAteK
<[Leary]>
elvishjerricco: runtime errors should be logged in ~/.xsession-errors; if you don't see anything there then the failure probably isn't logged. You can test it by doing e.g. `trace "xmonad test error" >> action` in a keybinding. If you're using `spawn` I think that discards any errors; you should be able to use something else to spawn and get output or log but I've never looked into it.
Guanin_ has quit [Remote host closed the connection]
<ashkitten>
Drakonis[m]: wow i think it's gnutls
zopsi has joined #nixos
<ashkitten>
in the log i get CGnuTLS error: Decryption has failed.
<tertle||eltret>
Drakonis[m]: will you holler at me if u get it workin?
<tertle||eltret>
im interested in the new Vulkan Drivers
<tertle||eltret>
Ima ctually watching DOTA 2 Championships now. Open AI just played against pro humans and the only way humans won is because Open AI had a 2 second response time handicap
<tertle||eltret>
imo Dota 2 is the best game ever and it works on Linux natively
Fare has joined #nixos
torq has joined #nixos
<tertle||eltret>
Gabe seems really be dedicated to making Steam accessible on linux and theyve been at it for a good 10 years now with little to no revenue coming from it
<torq>
Hi all, is there anything special I have to do to get containers provisioned via nixops networked together? I can reach the host machine from both of them just fine, but I can't access the containers from each other.
<tertle||eltret>
even I can imagine that it could be done with a few additions to configuration.nix
<torq>
Currently I'm just doing { target.deployEnv = "container"; } for each, similar to what I've seen in the docs. This is my first foray into nixops, though, so I'm probably missing something.
<tertle||eltret>
Drakonis[m]: it looks like nixos doesnt have 396 nvidia driver in the repos
aarvar has quit [Ping timeout: 268 seconds]
jperras has quit [Ping timeout: 264 seconds]
heinrich5991 has quit [*.net *.split]
heinrich5991 has joined #nixos
cantsin has quit [Remote host closed the connection]
<ashkitten>
tertle||eltret: i haven't tested it yet, doom was hanging before because something about gnutls or whatever so i figured that couldn't hurt
<ashkitten>
nope, still didn't help
<tertle||eltret>
okay, no worries
<tertle||eltret>
I have a windows box, so this is just for fun for me
<ashkitten>
okay
bkchr[m] has quit [*.net *.split]
schmittlauch[m] has quit [*.net *.split]
redj has quit [*.net *.split]
srk has quit [*.net *.split]
orzo has quit [*.net *.split]
mikky has quit [*.net *.split]
epta has quit [*.net *.split]
orzo has joined #nixos
nliadm has quit [*.net *.split]
srk has joined #nixos
srk has quit [Changing host]
srk has joined #nixos
mikky has joined #nixos
leftfold[m] has joined #nixos
bhipple[m] has joined #nixos
redj has joined #nixos
omawnakw[m] has joined #nixos
dtz[m] has joined #nixos
tfc[m] has joined #nixos
bendlas[m] has joined #nixos
sargon[m] has joined #nixos
Dt[m] has joined #nixos
craige[m] has joined #nixos
CoopDot[m] has joined #nixos
kainospur[m] has joined #nixos
epta has joined #nixos
k0d3fr34k[m] has joined #nixos
musicmatze[m] has joined #nixos
hl[m] has joined #nixos
devr[m] has joined #nixos
lkjhgfdsa00xxx[m has joined #nixos
Elephant454[m] has joined #nixos
PlasmaStrike[m] has joined #nixos
TaoHansen[m] has joined #nixos
goibhniu[m] has joined #nixos
xobroll[m] has joined #nixos
U[m] has joined #nixos
schmittlauch[m] has joined #nixos
DavidLeung[m] has joined #nixos
norfumpit has quit [Ping timeout: 240 seconds]
selfsymmetric-pa has quit [Ping timeout: 240 seconds]
MichaelEden[m] has joined #nixos
happyente[m] has joined #nixos
admintgs[m] has joined #nixos
polman has joined #nixos
polman has quit [Max SendQ exceeded]
silver_hook has quit [Ping timeout: 260 seconds]
wolkenbruch[m] has joined #nixos
hendrik[m]1 has joined #nixos
polman has joined #nixos
nliadm has joined #nixos
jperras has quit [Ping timeout: 268 seconds]
philipp[m] has joined #nixos
thblt has quit [Ping timeout: 240 seconds]
wervenyt[m] has joined #nixos
ahbnr[m] has joined #nixos
bkchr[m] has joined #nixos
nmikhailov[m] has joined #nixos
Khorne[m]1 has joined #nixos
norfumpit has joined #nixos
silver_hook has joined #nixos
drakonis_ has joined #nixos
jperras has joined #nixos
<ashkitten>
tertle||eltret: oh i got it working actually
<ashkitten>
tertle||eltret: it was the runtime that was the issue, just i was a dumb and thought i was using the steam with that runtime but i accidentally installed it from the nixpkgs channel instead of my local nixpkgs
lassulus_ has joined #nixos
<cmcdragonkai>
Why does `makeWrapper` have `--suffix-each` but not `--prefix-each`?
thblt has joined #nixos
lassulus has quit [Ping timeout: 260 seconds]
lassulus_ is now known as lassulus
<cmcdragonkai>
Should you use `--set` or `--prefix` when setting the PATH for an output?
<cmcdragonkai>
It seems that `--prefix`would mean you want to take advantage of the commands in the user profile's PATH, and that is bad idea.
<clever>
cmcdragonkai: depends on what it is, and if it can launch child procs that are long-lasting
<cmcdragonkai>
What do you mean?
<cmcdragonkai>
clever: Why does launching child procs matter?
<clever>
teamspeak for example is a gui, that can then launch the web-browser when you click links
<cmcdragonkai>
Ah ok
<clever>
should the web-browser have its path sanitized?
<cmcdragonkai>
But, should teamspeak have then the path to the browser explicitly specified?
<cmcdragonkai>
Or does it use something like `xdg-open`
<clever>
it uses xdg-open i think
<cmcdragonkai>
Which can still just use `--set` instead of `--prefix`
<clever>
but the env vars are inherited the whole way down
<clever>
and the libredirect on teamspeak then tries to apply redirections to chrome
<clever>
and chrome just deadlocks and never opens anything when you apply libredirect
<clever>
cmcdragonkai: i would do a single --prefix, using lib.makeBinPath
<cmcdragonkai>
Because it sets `--prefix` multiple times, which means the outside `PATH` gets interpolated multiple times. And it should't need to do that, instead using `--set` would be better.
<cmcdragonkai>
In my case I have a script that should have all its deps fully specified, no need to use user profile commands
<clever>
then --set may be better
<cmcdragonkai>
so a `--set PATH ${lib.makeBinPath [coreutils openssh gnupg]}` would be the right now
<clever>
or have a `export PATH=@finalpath@` in the script itself, and run substitute-in-place over it
<clever>
and then you dont even need a wrapper
slack1256 has joined #nixos
<cmcdragonkai>
clever: I see lots of stuff doing automatic runtime dependency scanning and automatic creation of wrappers
<cmcdragonkai>
clever: How come nobody has done one for shell scripts?
<cmcdragonkai>
clever: For example `buildPythonPackage` figures it out for distutils setuputils python packages
<clever>
ELF files have a clear list of every .so file they need to start
selfsymmetric-mu has joined #nixos
selfsymmetric-mu has quit [Remote host closed the connection]
<clever>
python packages already have a requirements.txt
<cmcdragonkai>
Hmmm
<clever>
bash just runs things, lol
selfsymmetric-mu has joined #nixos
selfsymmetric-mu has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @Ekleog opened pull request #45534 → pg_top: do not use docbook for longDescription → https://git.io/fAtTc
selfsymmetric-mu has joined #nixos
blankhart has joined #nixos
<mdash>
there's very little you can figure out about shell scripts without running them
selfsymmetric-mu has quit [Remote host closed the connection]
jperras has quit [Ping timeout: 268 seconds]
<cmcdragonkai>
mdash: I understand that it is difficult to automatically analyse a script.
<cmcdragonkai>
One way way to do it faster might be `lib.makeBinPath propagatedBuildInputs`.
thblt has quit [*.net *.split]
polman has quit [*.net *.split]
slack1256 has quit [*.net *.split]
norfumpit has quit [*.net *.split]
srk has quit [*.net *.split]
orzo has quit [*.net *.split]
blankhart has quit [*.net *.split]
lassulus has quit [*.net *.split]
Khorne[m]1 has quit [*.net *.split]
nliadm has quit [*.net *.split]
MichaelEden[m] has quit [*.net *.split]
PlasmaStrike[m] has quit [*.net *.split]
Elephant454[m] has quit [*.net *.split]
epta has quit [*.net *.split]
Dt[m] has quit [*.net *.split]
tfc[m] has quit [*.net *.split]
mikky has quit [*.net *.split]
wervenyt[m] has quit [*.net *.split]
hendrik[m]1 has quit [*.net *.split]
devr[m] has quit [*.net *.split]
craige[m] has quit [*.net *.split]
bendlas[m] has quit [*.net *.split]
endformationage has quit [*.net *.split]
Izorkin has quit [*.net *.split]
tv has quit [*.net *.split]
drakonis_ has quit [*.net *.split]
nmikhailov[m] has quit [*.net *.split]
kainospur[m] has quit [*.net *.split]
hl[m] has quit [*.net *.split]
mayhewluke has quit [*.net *.split]
rprije has quit [*.net *.split]
statusbot has quit [*.net *.split]
IRCsum has quit [*.net *.split]
[0__0] has quit [*.net *.split]
vaninwagen has quit [*.net *.split]
gleber_ has quit [*.net *.split]
oharvey has quit [*.net *.split]
Glenn has quit [*.net *.split]
sc_ has quit [*.net *.split]
petar has quit [*.net *.split]
Myrl-saki has quit [*.net *.split]
jmeredith has quit [*.net *.split]
joepie91 has quit [*.net *.split]
DigitalKiwi has quit [*.net *.split]
genesis has quit [*.net *.split]
nikivi has quit [*.net *.split]
nioncode has quit [*.net *.split]
itscaleb has quit [*.net *.split]
Taneb has quit [*.net *.split]
johbo has quit [*.net *.split]
PyroLagus has quit [*.net *.split]
joncfoo has quit [*.net *.split]
kalbasit[m] has quit [*.net *.split]
Profpatsch has quit [*.net *.split]
grw has quit [*.net *.split]
page has quit [*.net *.split]
mightybyte has quit [*.net *.split]
yurb has quit [*.net *.split]
mt has quit [*.net *.split]
Dezgeg has quit [*.net *.split]
maurer has quit [*.net *.split]
steveeJ has quit [*.net *.split]
Swant has quit [*.net *.split]
ahbnr[m] has quit [*.net *.split]
philipp[m] has quit [*.net *.split]
admintgs[m] has quit [*.net *.split]
goibhniu[m] has quit [*.net *.split]
xobroll[m] has quit [*.net *.split]
k0d3fr34k[m] has quit [*.net *.split]
musicmatze[m] has quit [*.net *.split]
omawnakw[m] has quit [*.net *.split]
dtz[m] has quit [*.net *.split]
fragamus has quit [*.net *.split]
heinrich5991 has quit [*.net *.split]
Fare has quit [*.net *.split]
lewo has quit [*.net *.split]
ThatDocsLady_ has quit [*.net *.split]
Cale has quit [*.net *.split]
Yaniel has quit [*.net *.split]
nixy has quit [*.net *.split]
pingveno has quit [*.net *.split]
benkolera has quit [*.net *.split]
carlosdagos has quit [*.net *.split]
Baughn has quit [*.net *.split]
shabius has quit [*.net *.split]
bpye has quit [*.net *.split]
johnw has quit [*.net *.split]
puck has quit [*.net *.split]
Ankhers has quit [*.net *.split]
Sigma has quit [*.net *.split]
lopsided98 has quit [*.net *.split]
d1rewolf has quit [*.net *.split]
regulus_ has quit [*.net *.split]
fgaz has quit [*.net *.split]
commander has quit [*.net *.split]
woffs has quit [*.net *.split]
aw has quit [*.net *.split]
smolboye has quit [*.net *.split]
Mic92 has quit [*.net *.split]
sphalerite has quit [*.net *.split]
jasom has quit [*.net *.split]
Forkk has quit [*.net *.split]
jophish has quit [*.net *.split]
metalrain has quit [*.net *.split]
cheshircat has quit [*.net *.split]
philipcristiano has quit [*.net *.split]
nahamu has quit [*.net *.split]
CrazedProgrammer has quit [*.net *.split]
timclassic has quit [*.net *.split]
duncan^ has quit [*.net *.split]
hodapp has quit [*.net *.split]
philippD has quit [*.net *.split]
arahael1 has quit [*.net *.split]
adamCS has quit [*.net *.split]
justanotheruser has quit [*.net *.split]
greymalkin has quit [*.net *.split]
deni- has quit [*.net *.split]
lstanley has quit [*.net *.split]
ajs124 has quit [*.net *.split]
amfl_ has quit [*.net *.split]
acarrico has quit [*.net *.split]
lsyoyom has quit [*.net *.split]
jdnavarro has quit [*.net *.split]
ivan has quit [*.net *.split]
rodgort has quit [*.net *.split]
coffeecupp__ has quit [*.net *.split]
sb0 has quit [*.net *.split]
wrl has quit [*.net *.split]
LnL has quit [*.net *.split]
rev_strangehope has quit [*.net *.split]
hyper_ch has quit [*.net *.split]
MinceR has quit [*.net *.split]
barrucadu has quit [*.net *.split]
phry has quit [*.net *.split]
Xal has quit [*.net *.split]
pikajude has quit [*.net *.split]
ZeDestructor has quit [*.net *.split]
Niall has quit [*.net *.split]
roblabla has quit [*.net *.split]
migy_ has quit [*.net *.split]
cbarrett has quit [*.net *.split]
vilhalmer has quit [*.net *.split]
acowley has quit [*.net *.split]
Jackneill has quit [*.net *.split]
techieAgnostic has quit [*.net *.split]
etu has quit [*.net *.split]
jeaye has quit [*.net *.split]
liori has quit [*.net *.split]
Czen has quit [*.net *.split]
Watcher7 has quit [*.net *.split]
Leo` has quit [*.net *.split]
pepesza has quit [*.net *.split]
dejanr has quit [*.net *.split]
Psi-Jack has quit [*.net *.split]
chris| has quit [*.net *.split]
nbathum has quit [*.net *.split]
andersk has quit [*.net *.split]
bart- has quit [*.net *.split]
joko has quit [*.net *.split]
ThatOtherGuy has quit [*.net *.split]
redj has quit [*.net *.split]
Supersonic has quit [*.net *.split]
sbdchd has quit [*.net *.split]
Wharncliffe has quit [*.net *.split]
azdle has quit [*.net *.split]
Mateon2 has quit [*.net *.split]
orivej has quit [*.net *.split]
slyfox has quit [*.net *.split]
disasm has quit [*.net *.split]
obadz has quit [*.net *.split]
michalrus has quit [*.net *.split]
Maxdamantus has quit [*.net *.split]
FireFly has quit [*.net *.split]
c15ade4 has quit [*.net *.split]
jaeckel has quit [*.net *.split]
[Leary] has quit [*.net *.split]
ashkitten has quit [*.net *.split]
copumpkin has quit [*.net *.split]
adamantium has quit [*.net *.split]
timokau has quit [*.net *.split]
lohfu has quit [*.net *.split]
toppler has quit [*.net *.split]
hl has quit [*.net *.split]
cransom has quit [*.net *.split]
Moredread has quit [*.net *.split]
averell has quit [*.net *.split]
makefu has quit [*.net *.split]
lpsmith has quit [*.net *.split]
pjan has quit [*.net *.split]
wildsebastian has quit [*.net *.split]
djhoulihan has quit [*.net *.split]
Asmadeus has quit [*.net *.split]
q3k has quit [*.net *.split]
uwap has quit [*.net *.split]
zemm has quit [*.net *.split]
nbp has quit [*.net *.split]
h30 has quit [*.net *.split]
bollu has quit [*.net *.split]
Enzime has quit [*.net *.split]
JonReed has quit [*.net *.split]
Sigyn has quit [*.net *.split]
Pneumaticat has quit [*.net *.split]
timokau[m] has quit [*.net *.split]
florianjacob has quit [*.net *.split]
mingc has quit [*.net *.split]
cocreature has quit [*.net *.split]
andi- has quit [*.net *.split]
dhess has quit [*.net *.split]
linuxdaemon has quit [*.net *.split]
dgpratt has quit [*.net *.split]
kandinski has quit [*.net *.split]
bmpvieira has quit [*.net *.split]
akaWolf has quit [*.net *.split]
lejonet has quit [*.net *.split]
glasserc has quit [*.net *.split]
AstroBadger has quit [*.net *.split]
shachaf has quit [*.net *.split]
mikeplus64 has quit [*.net *.split]
mdash has quit [*.net *.split]
bkchr[m] has quit [*.net *.split]
wolkenbruch[m] has quit [*.net *.split]
schmittlauch[m] has quit [*.net *.split]
TaoHansen[m] has quit [*.net *.split]
flokli has quit [*.net *.split]
tnias has quit [*.net *.split]
aminb has quit [*.net *.split]
Aexoden has quit [*.net *.split]
abcrawf has quit [*.net *.split]
tokudan[m] has quit [*.net *.split]
ejpcmac has quit [*.net *.split]
aither has quit [*.net *.split]
srl295 has quit [*.net *.split]
mpickering has quit [*.net *.split]
scott has quit [*.net *.split]
bshelden has quit [*.net *.split]
coot has quit [*.net *.split]
ahmedtd has quit [*.net *.split]
gonz_ has quit [*.net *.split]
phreedom has quit [*.net *.split]
klntsky has quit [*.net *.split]
witchof0x20 has quit [*.net *.split]
oida has quit [*.net *.split]
orbekk has quit [*.net *.split]
jackdk has quit [*.net *.split]
Acou_Bass has quit [*.net *.split]
jtojnar has quit [*.net *.split]
seanparsons has quit [*.net *.split]
jcrben has quit [*.net *.split]
cruxeternus has quit [*.net *.split]
nckx has quit [*.net *.split]
gchristensen has quit [*.net *.split]
derchris has quit [*.net *.split]
leothrix has quit [*.net *.split]
layus has quit [*.net *.split]
tilpner has quit [*.net *.split]
ekleog has quit [*.net *.split]
ciil has quit [*.net *.split]
edef has quit [*.net *.split]
viric has quit [*.net *.split]
CcxWrk has quit [*.net *.split]
snajpa has quit [*.net *.split]
karltk has quit [*.net *.split]
ggp0647 has quit [*.net *.split]
demize has quit [*.net *.split]
Unode has quit [*.net *.split]
mbrgm has quit [*.net *.split]
statusfailed has quit [*.net *.split]
NickHu_ has quit [*.net *.split]
MasseR has quit [*.net *.split]
eren has quit [*.net *.split]
srhb has quit [*.net *.split]
keks has quit [*.net *.split]
davidcl has quit [*.net *.split]
silver_hook has quit [*.net *.split]
leftfold[m] has quit [*.net *.split]
ericsagnes has quit [*.net *.split]
zopsi has quit [*.net *.split]
spear2 has quit [*.net *.split]
tertle||eltret has quit [*.net *.split]
troydm has quit [*.net *.split]
sir_guy_carleton has quit [*.net *.split]
ryantm has quit [*.net *.split]
Notkea has quit [*.net *.split]
glowpelt has quit [*.net *.split]
glines has quit [*.net *.split]
johs has quit [*.net *.split]
typetetris has quit [*.net *.split]
rotaerk has quit [*.net *.split]
trebuh has quit [*.net *.split]
MarkOtaris has quit [*.net *.split]
marcinkuzminski has quit [*.net *.split]
hax404 has quit [*.net *.split]
heatm1s3r has quit [*.net *.split]
angerman has quit [*.net *.split]
georgew has quit [*.net *.split]
elvishjerricco has quit [*.net *.split]
Kim has quit [*.net *.split]
Wizek has quit [*.net *.split]
vdemeester has quit [*.net *.split]
grenade has quit [*.net *.split]
alp has quit [*.net *.split]
newhoggy has quit [*.net *.split]
kitemikaze_ has quit [*.net *.split]
larsvm has quit [*.net *.split]
octe has quit [*.net *.split]
avn has quit [*.net *.split]
fyuuri has quit [*.net *.split]
TheAppleMan has quit [*.net *.split]
Shados has quit [*.net *.split]
DerGuteMoritz has quit [*.net *.split]
s4sha has quit [*.net *.split]
dmc has quit [*.net *.split]
zgrep has quit [*.net *.split]
amosbird has quit [*.net *.split]
tg has quit [*.net *.split]
SOO7 has quit [*.net *.split]
emily has quit [*.net *.split]
nisstyre has quit [*.net *.split]
wirew0rm has quit [*.net *.split]
coconnor has quit [*.net *.split]
jonge has quit [*.net *.split]
{^_^} has quit [*.net *.split]
nocoolnametom has quit [*.net *.split]
infinisil has quit [*.net *.split]
grumble has quit [*.net *.split]
thor has quit [*.net *.split]
globin has quit [*.net *.split]
devx has quit [*.net *.split]
Dagger has quit [*.net *.split]
ma27 has quit [*.net *.split]
amir has quit [*.net *.split]
terrorjack has quit [*.net *.split]
akl has quit [*.net *.split]
nikki93 has quit [*.net *.split]
sevcsik has quit [*.net *.split]
gerschtli has quit [*.net *.split]
mog has quit [*.net *.split]
midchildan has quit [*.net *.split]
alfie has quit [*.net *.split]
lluchs has quit [*.net *.split]
swflint has quit [*.net *.split]
tazjin has quit [*.net *.split]
cmcdragonkai has quit [*.net *.split]
sorear has quit [*.net *.split]
mkaito has quit [*.net *.split]
aristid has quit [*.net *.split]
arahael has quit [*.net *.split]
medvid has quit [*.net *.split]
symphorien has quit [*.net *.split]
shad has quit [*.net *.split]
Akii has quit [*.net *.split]
beaky has quit [*.net *.split]
techtangents has quit [*.net *.split]
hhes has quit [*.net *.split]
qyliss^work has quit [*.net *.split]
deanman has quit [*.net *.split]
Khetzal has quit [*.net *.split]
nh2 has quit [*.net *.split]
Rovanion has quit [*.net *.split]
argo has quit [*.net *.split]
alphor has quit [*.net *.split]
hexagoxel has quit [*.net *.split]
qyliss has quit [*.net *.split]
boegel has quit [*.net *.split]
michaelpj has quit [*.net *.split]
mjacob has quit [*.net *.split]
mood has quit [*.net *.split]
kwork has quit [*.net *.split]
dweller has quit [*.net *.split]
DavidLeung[m] has quit [*.net *.split]
U[m] has quit [*.net *.split]
lkjhgfdsa00xxx[m has quit [*.net *.split]
CoopDot[m] has quit [*.net *.split]
sargon[m] has quit [*.net *.split]
bhipple[m] has quit [*.net *.split]
Drakonis[m] has quit [*.net *.split]
benley has quit [*.net *.split]
nwspk has quit [*.net *.split]
eddyb has quit [*.net *.split]
Brains has quit [*.net *.split]
KennosiS has quit [*.net *.split]
_rvl has quit [*.net *.split]
bennofs[m] has quit [*.net *.split]
slabity has quit [*.net *.split]
Yardanico has quit [*.net *.split]
sphalerit has quit [*.net *.split]
colemickens has quit [*.net *.split]
yastero has quit [*.net *.split]
bgamari has quit [*.net *.split]
iviv has quit [*.net *.split]
ocharles has quit [*.net *.split]
eacameron has quit [*.net *.split]
monad_cat has quit [*.net *.split]
sjanssen has quit [*.net *.split]
georgyo has quit [*.net *.split]
ajmcmiddlin has quit [*.net *.split]
sppky has quit [*.net *.split]
mgttlinger has quit [*.net *.split]
lesce has quit [*.net *.split]
pauldub has quit [*.net *.split]
ehamberg has quit [*.net *.split]
mjvoge02 has quit [*.net *.split]
jxf has quit [*.net *.split]
feepo_ has quit [*.net *.split]
taktoa[c] has quit [*.net *.split]
pointfree has quit [*.net *.split]
ghuntley has quit [*.net *.split]
joedevivo has quit [*.net *.split]
manveru has quit [*.net *.split]
zimbatm has quit [*.net *.split]
yurrriq has quit [*.net *.split]
p_l has quit [*.net *.split]
Guest82928_ has quit [*.net *.split]
srid has quit [*.net *.split]
carter has quit [*.net *.split]
thoughtpolice has quit [*.net *.split]
philips has quit [*.net *.split]
nand0p has quit [*.net *.split]
kaychaks has quit [*.net *.split]
Guest37084 has quit [*.net *.split]
ericbmerritt_ has quit [*.net *.split]
luigy has quit [*.net *.split]
mlen has quit [*.net *.split]
niksnut has quit [*.net *.split]
hiro_p has quit [*.net *.split]
ncl28 has quit [*.net *.split]
bitemyapp has quit [*.net *.split]
duckwho has quit [*.net *.split]
y0no has quit [*.net *.split]
ldlework has quit [*.net *.split]
tzemanovic has quit [*.net *.split]
clever has quit [*.net *.split]
fractal has quit [*.net *.split]
shoogz has quit [*.net *.split]
Orbstheorem has quit [*.net *.split]
cross_ has quit [*.net *.split]
eqyiel has quit [*.net *.split]
aminechikhaoui has quit [*.net *.split]
nek0 has quit [*.net *.split]
mutantmell has quit [*.net *.split]
Azaiel has quit [*.net *.split]
blahdodo has quit [*.net *.split]
c_wraith has quit [*.net *.split]
ng0 has quit [*.net *.split]
jluttine has quit [*.net *.split]
shymega has quit [*.net *.split]
_cyril_ has quit [*.net *.split]
WizBright has quit [*.net *.split]
binaryphile has quit [*.net *.split]
ToxicFrog has quit [*.net *.split]
the-kenny has quit [*.net *.split]
shlevy has quit [*.net *.split]
Aleksejs has quit [*.net *.split]
msgctl has quit [*.net *.split]
rgrau has quit [*.net *.split]
szicari has quit [*.net *.split]
adelbertc has quit [*.net *.split]
parseval has quit [*.net *.split]
drewc has quit [*.net *.split]
bigvalen has quit [*.net *.split]
WilliButz has quit [*.net *.split]
eisbaer-north has quit [*.net *.split]
dev2 has quit [*.net *.split]
jonafato has quit [*.net *.split]
ericnoan has quit [*.net *.split]
Guest50286 has quit [*.net *.split]
domenkozar has quit [*.net *.split]
lvmond_ has quit [*.net *.split]
blankhart has joined #nixos
slack1256 has joined #nixos
thblt has joined #nixos
drakonis_ has joined #nixos
wervenyt[m] has joined #nixos
nliadm has joined #nixos
lassulus has joined #nixos
Khorne[m]1 has joined #nixos
philipp[m] has joined #nixos
bkchr[m] has joined #nixos
silver_hook has joined #nixos
nmikhailov[m] has joined #nixos
admintgs[m] has joined #nixos
norfumpit has joined #nixos
ahbnr[m] has joined #nixos
wolkenbruch[m] has joined #nixos
hendrik[m]1 has joined #nixos
polman has joined #nixos
DavidLeung[m] has joined #nixos
U[m] has joined #nixos
TaoHansen[m] has joined #nixos
MichaelEden[m] has joined #nixos
leftfold[m] has joined #nixos
srk has joined #nixos
mikky has joined #nixos
PlasmaStrike[m] has joined #nixos
schmittlauch[m] has joined #nixos
lkjhgfdsa00xxx[m has joined #nixos
orzo has joined #nixos
epta has joined #nixos
tfc[m] has joined #nixos
omawnakw[m] has joined #nixos
Glenn has joined #nixos
k0d3fr34k[m] has joined #nixos
redj has joined #nixos
goibhniu[m] has joined #nixos
Dt[m] has joined #nixos
craige[m] has joined #nixos
bendlas[m] has joined #nixos
dtz[m] has joined #nixos
musicmatze[m] has joined #nixos
sargon[m] has joined #nixos
devr[m] has joined #nixos
kainospur[m] has joined #nixos
fragamus has joined #nixos
Supersonic has joined #nixos
CoopDot[m] has joined #nixos
hl[m] has joined #nixos
ericsagnes has joined #nixos
Elephant454[m] has joined #nixos
bitemyapp has joined #nixos
kaychaks has joined #nixos
Guest37084 has joined #nixos
Guest82928_ has joined #nixos
ericbmerritt_ has joined #nixos
jonafato has joined #nixos
luigy has joined #nixos
Shados has joined #nixos
xobroll[m] has joined #nixos
nand0p has joined #nixos
domenkozar has joined #nixos
DerGuteMoritz has joined #nixos
bhipple[m] has joined #nixos
michaelpj has joined #nixos
ncl28 has joined #nixos
heinrich5991 has joined #nixos
mjacob has joined #nixos
thoughtpolice has joined #nixos
dweller has joined #nixos
kwork has joined #nixos
fyuuri has joined #nixos
WilliButz has joined #nixos
lvmond_ has joined #nixos
avn has joined #nixos
philips has joined #nixos
eisbaer-north has joined #nixos
s4sha has joined #nixos
duckwho has joined #nixos
y0no has joined #nixos
mood has joined #nixos
TheAppleMan has joined #nixos
niksnut has joined #nixos
carter has joined #nixos
larsvm has joined #nixos
bollu has joined #nixos
lesce has joined #nixos
dev2 has joined #nixos
srid has joined #nixos
mjvoge02 has joined #nixos
Asmadeus has joined #nixos
qyliss^work has joined #nixos
nbp has joined #nixos
hhes has joined #nixos
kitemikaze_ has joined #nixos
gonz_ has joined #nixos
feepo_ has joined #nixos
drewc has joined #nixos
Khetzal has joined #nixos
georgyo has joined #nixos
Guest50286 has joined #nixos
davidcl has joined #nixos
pointfree has joined #nixos
alphor has joined #nixos
taktoa[c] has joined #nixos
qyliss has joined #nixos
pauldub has joined #nixos
octe has joined #nixos
mgttlinger has joined #nixos
deanman has joined #nixos
ocharles has joined #nixos
zemm has joined #nixos
Aleksejs has joined #nixos
grenade has joined #nixos
keks has joined #nixos
q3k has joined #nixos
bgamari has joined #nixos
msgctl has joined #nixos
p_l has joined #nixos
sorear has joined #nixos
sjanssen has joined #nixos
lpsmith has joined #nixos
arahael has joined #nixos
dejanr has joined #nixos
chris| has joined #nixos
mpickering has joined #nixos
yastero has joined #nixos
hiro_p has joined #nixos
szicari has joined #nixos
Kim has joined #nixos
rgrau has joined #nixos
makefu has joined #nixos
ghuntley has joined #nixos
NickHu_ has joined #nixos
statusfailed has joined #nixos
srhb has joined #nixos
ThatOtherGuy has joined #nixos
aristid has joined #nixos
tazjin has joined #nixos
akl has joined #nixos
ggp0647 has joined #nixos
heatm1s3r has joined #nixos
newhoggy has joined #nixos
midchildan has joined #nixos
ciil has joined #nixos
joko has joined #nixos
angerman has joined #nixos
lluchs has joined #nixos
Moredread has joined #nixos
amir has joined #nixos
zimbatm has joined #nixos
jeaye has joined #nixos
shad has joined #nixos
andi- has joined #nixos
cocreature has joined #nixos
Xal has joined #nixos
joedevivo has joined #nixos
ericnoan has joined #nixos
alp has joined #nixos
eacameron has joined #nixos
WizBright has joined #nixos
ToxicFrog has joined #nixos
Psi-Jack has joined #nixos
gerschtli has joined #nixos
mkaito has joined #nixos
wrl has joined #nixos
KennosiS has joined #nixos
elvishjerricco has joined #nixos
rodgort has joined #nixos
ashkitten has joined #nixos
maurer has joined #nixos
the-kenny has joined #nixos
jxf has joined #nixos
AstroBadger has joined #nixos
hl has joined #nixos
_rvl has joined #nixos
swflint has joined #nixos
mightybyte has joined #nixos
timokau has joined #nixos
tilpner has joined #nixos
Swant has joined #nixos
CrazedProgrammer has joined #nixos
timokau[m] has joined #nixos
Dagger has joined #nixos
ehamberg has joined #nixos
barrucadu has joined #nixos
ekleog has joined #nixos
leothrix has joined #nixos
argo has joined #nixos
adamantium has joined #nixos
Czen has joined #nixos
bart- has joined #nixos
ajmcmiddlin has joined #nixos
alfie has joined #nixos
edef has joined #nixos
Leo` has joined #nixos
abcrawf has joined #nixos
nbathum has joined #nixos
Jackneill has joined #nixos
ivan has joined #nixos
timclassic has joined #nixos
glasserc has joined #nixos
bshelden has joined #nixos
linuxdaemon has joined #nixos
hyper_ch has joined #nixos
djhoulihan has joined #nixos
uwap has joined #nixos
coffeecupp__ has joined #nixos
metalrain has joined #nixos
wildsebastian has joined #nixos
ahmedtd has joined #nixos
sb0 has joined #nixos
trebuh has joined #nixos
ma27 has joined #nixos
mlen has joined #nixos
mt has joined #nixos
acowley has joined #nixos
copumpkin has joined #nixos
marcinkuzminski has joined #nixos
binaryphile has joined #nixos
kandinski has joined #nixos
lohfu has joined #nixos
duncan^ has joined #nixos
georgew has joined #nixos
scott has joined #nixos
Aexoden has joined #nixos
nikki93 has joined #nixos
florianjacob has joined #nixos
MasseR has joined #nixos
rev_strangehope has joined #nixos
parseval has joined #nixos
adelbertc has joined #nixos
CcxWrk has joined #nixos
pepesza has joined #nixos
infinisil has joined #nixos
acarrico has joined #nixos
thor has joined #nixos
akaWolf has joined #nixos
dhess has joined #nixos
iviv has joined #nixos
mingc has joined #nixos
aminb has joined #nixos
karltk has joined #nixos
LnL has joined #nixos
coconnor has joined #nixos
_cyril_ has joined #nixos
symphorien has joined #nixos
cmcdragonkai has joined #nixos
vilhalmer has joined #nixos
lsyoyom has joined #nixos
glines has joined #nixos
Enzime has joined #nixos
cransom has joined #nixos
mog has joined #nixos
manveru has joined #nixos
bmpvieira has joined #nixos
snajpa has joined #nixos
Akii has joined #nixos
slabity has joined #nixos
monad_cat has joined #nixos
hax404 has joined #nixos
nocoolnametom has joined #nixos
yurb has joined #nixos
Unode has joined #nixos
medvid has joined #nixos
Dezgeg has joined #nixos
dgpratt has joined #nixos
pjan has joined #nixos
techtangents has joined #nixos
eren has joined #nixos
flokli has joined #nixos
colemickens has joined #nixos
[Leary] has joined #nixos
{^_^} has joined #nixos
Yardanico has joined #nixos
steveeJ has joined #nixos
shachaf has joined #nixos
grumble has joined #nixos
MinceR has joined #nixos
srl295 has joined #nixos
rotaerk has joined #nixos
etu has joined #nixos
eddyb has joined #nixos
techieAgnostic has joined #nixos
jdnavarro has joined #nixos
ng0 has joined #nixos
hexagoxel has joined #nixos
MarkOtaris has joined #nixos
beaky has joined #nixos
viric has joined #nixos
lejonet has joined #nixos
phry has joined #nixos
boegel has joined #nixos
jluttine has joined #nixos
philipcristiano has joined #nixos
shlevy has joined #nixos
tnias has joined #nixos
vdemeester has joined #nixos
cheshircat has joined #nixos
mbrgm has joined #nixos
mikeplus64 has joined #nixos
bigvalen has joined #nixos
terrorjack has joined #nixos
ejpcmac has joined #nixos
Pneumaticat has joined #nixos
averell has joined #nixos
bennofs[m] has joined #nixos
andersk has joined #nixos
liori has joined #nixos
layus has joined #nixos
demize has joined #nixos
sppky has joined #nixos
h30 has joined #nixos
Rovanion has joined #nixos
yurrriq has joined #nixos
coot has joined #nixos
Wizek has joined #nixos
jophish has joined #nixos
Sigyn has joined #nixos
nh2 has joined #nixos
Forkk has joined #nixos
globin has joined #nixos
aither has joined #nixos
mdash has joined #nixos
sevcsik has joined #nixos
glowpelt has joined #nixos
devx has joined #nixos
lstanley has joined #nixos
vaninwagen has joined #nixos
page has joined #nixos
nioncode has joined #nixos
jasom has joined #nixos
Acou_Bass has joined #nixos
Profpatsch has joined #nixos
ryantm has joined #nixos
Izorkin has joined #nixos
statusbot has joined #nixos
gchristensen has joined #nixos
Cale has joined #nixos
jonge has joined #nixos
typetetris has joined #nixos
nixy has joined #nixos
ajs124 has joined #nixos
c_wraith has joined #nixos
adamCS has joined #nixos
bpye has joined #nixos
grw has joined #nixos
fractal has joined #nixos
aw has joined #nixos
lewo has joined #nixos
greymalkin has joined #nixos
oharvey has joined #nixos
migy_ has joined #nixos
pikajude has joined #nixos
tv has joined #nixos
shabius has joined #nixos
sphalerit has joined #nixos
johbo has joined #nixos
justanotheruser has joined #nixos
amosbird has joined #nixos
aminechikhaoui has joined #nixos
benkolera has joined #nixos
emily has joined #nixos
c15ade4 has joined #nixos
wirew0rm has joined #nixos
shymega has joined #nixos
Baughn has joined #nixos
nek0 has joined #nixos
itscaleb has joined #nixos
nahamu has joined #nixos
carlosdagos has joined #nixos
woffs has joined #nixos
seanparsons has joined #nixos
tertle||eltret has joined #nixos
sphalerite has joined #nixos
ThatDocsLady_ has joined #nixos
SOO7 has joined #nixos
jaeckel has joined #nixos
fgaz has joined #nixos
[0__0] has joined #nixos
Sigma has joined #nixos
Mateon2 has joined #nixos
commander has joined #nixos
jackdk has joined #nixos
mayhewluke has joined #nixos
disasm has joined #nixos
rprije has joined #nixos
pingveno has joined #nixos
orivej has joined #nixos
spear2 has joined #nixos
Drakonis[m] has joined #nixos
Orbstheorem has joined #nixos
roblabla has joined #nixos
witchof0x20 has joined #nixos
jcrben has joined #nixos
Watcher7 has joined #nixos
endformationage has joined #nixos
Fare has joined #nixos
phreedom has joined #nixos
cross_ has joined #nixos
d1rewolf has joined #nixos
smolboye has joined #nixos
michalrus has joined #nixos
regulus_ has joined #nixos
deni- has joined #nixos
slyfox has joined #nixos
IRCsum has joined #nixos
ZeDestructor has joined #nixos
arahael1 has joined #nixos
zopsi has joined #nixos
FireFly has joined #nixos
klntsky has joined #nixos
kalbasit[m] has joined #nixos
puck has joined #nixos
oida has joined #nixos
PyroLagus has joined #nixos
ldlework has joined #nixos
nckx has joined #nixos
JonReed has joined #nixos
cbarrett has joined #nixos
sc_ has joined #nixos
philippD has joined #nixos
toppler has joined #nixos
derchris has joined #nixos
Notkea has joined #nixos
amfl_ has joined #nixos
nisstyre has joined #nixos
Yaniel has joined #nixos
blahdodo has joined #nixos
mutantmell has joined #nixos
nwspk has joined #nixos
hodapp has joined #nixos
Ankhers has joined #nixos
Brains has joined #nixos
cruxeternus has joined #nixos
Taneb has joined #nixos
gleber_ has joined #nixos
Myrl-saki has joined #nixos
dmc has joined #nixos
shoogz has joined #nixos
Niall has joined #nixos
jtojnar has joined #nixos
clever has joined #nixos
lopsided98 has joined #nixos
Mic92 has joined #nixos
Azaiel has joined #nixos
Maxdamantus has joined #nixos
johs has joined #nixos
zgrep has joined #nixos
orbekk has joined #nixos
DigitalKiwi has joined #nixos
petar has joined #nixos
tg has joined #nixos
sir_guy_carleton has joined #nixos
nikivi has joined #nixos
obadz has joined #nixos
tokudan[m] has joined #nixos
joncfoo has joined #nixos
joepie91 has joined #nixos
benley has joined #nixos
tzemanovic has joined #nixos
sbdchd has joined #nixos
johnw has joined #nixos
jmeredith has joined #nixos
eqyiel has joined #nixos
Wharncliffe has joined #nixos
azdle has joined #nixos
troydm has joined #nixos
genesis has joined #nixos
<clever>
propagatedBuildInputs has nothing to do with the normal runtime deps
<cmcdragonkai>
Oh in this case, it's a python package that has both shell scripts and python scripts
<cmcdragonkai>
the propagatedBuildInputs feed into the `buildPythonPackage`
lord| has quit [Max SendQ exceeded]
<clever>
python bends the rules a bit
<cmcdragonkai>
clever: What do you mean?
<clever>
the normal rules for propagatedBuildInputs, is that it is only in the inputs of other derivations
<clever>
so if package A has propagatedBuildInputs = [ hello ];
<clever>
and then package B has buildInputs = [ A ];
<clever>
B will behave as-if you had done buildInputs = [ A hello ];
lord| has joined #nixos
<clever>
but its only a compile-time thing, and has no impact on the runtime
<sir_guy_carleton>
how do you run nix-shell with packages from another channel than your main one? (e.g. i'm on a stable channel and i want packages on the unstable channel)
pikajude has quit [*.net *.split]
ZeDestructor has quit [*.net *.split]
Niall has quit [*.net *.split]
roblabla has quit [*.net *.split]
migy_ has quit [*.net *.split]
cbarrett has quit [*.net *.split]
vilhalmer has quit [*.net *.split]
acowley has quit [*.net *.split]
Jackneill has quit [*.net *.split]
techieAgnostic has quit [*.net *.split]
etu has quit [*.net *.split]
jeaye has quit [*.net *.split]
liori has quit [*.net *.split]
Czen has quit [*.net *.split]
Watcher7 has quit [*.net *.split]
Leo` has quit [*.net *.split]
pepesza has quit [*.net *.split]
dejanr has quit [*.net *.split]
Psi-Jack has quit [*.net *.split]
chris| has quit [*.net *.split]
nbathum has quit [*.net *.split]
andersk has quit [*.net *.split]
bart- has quit [*.net *.split]
joko has quit [*.net *.split]
ThatOtherGuy has quit [*.net *.split]
hodapp has quit [*.net *.split]
philippD has quit [*.net *.split]
arahael1 has quit [*.net *.split]
adamCS has quit [*.net *.split]
justanotheruser has quit [*.net *.split]
greymalkin has quit [*.net *.split]
deni- has quit [*.net *.split]
lstanley has quit [*.net *.split]
ajs124 has quit [*.net *.split]
amfl_ has quit [*.net *.split]
acarrico has quit [*.net *.split]
lsyoyom has quit [*.net *.split]
jdnavarro has quit [*.net *.split]
ivan has quit [*.net *.split]
rodgort has quit [*.net *.split]
coffeecupp__ has quit [*.net *.split]
sb0 has quit [*.net *.split]
wrl has quit [*.net *.split]
LnL has quit [*.net *.split]
rev_strangehope has quit [*.net *.split]
hyper_ch has quit [*.net *.split]
MinceR has quit [*.net *.split]
barrucadu has quit [*.net *.split]
phry has quit [*.net *.split]
Xal has quit [*.net *.split]
bart- has joined #nixos
liori has joined #nixos
LnL has joined #nixos
shiver has joined #nixos
nbathum has joined #nixos
Czen has joined #nixos
sigtrm has joined #nixos
<cmcdragonkai>
Right, and in Python, the "build inputs" are the runtime inputs as well
<cmcdragonkai>
clever: Because they are interpeted
<clever>
cmcdragonkai: python then bends the rules a bit, and uses this to generate $PYTHONPATH at buildtime, and then copies the build-time value of PYTHONPATH into the wrapper
MinceR has joined #nixos
barrucadu has joined #nixos
Watcher7 has joined #nixos
Xal has joined #nixos
PLPD-Bot has joined #nixos
roblabla has joined #nixos
monokrome has joined #nixos
coffeecupp__ has joined #nixos
techieAgnostic has joined #nixos
pikajude has joined #nixos
joko has joined #nixos
andersk has joined #nixos
deni_ has joined #nixos
cbarrett has joined #nixos
greymalkin has joined #nixos
etu has joined #nixos
liori has quit [Changing host]
liori has joined #nixos
wrl has joined #nixos
amfl_ has joined #nixos
ivan has joined #nixos
catern has joined #nixos
Leo` has joined #nixos
jeaye has joined #nixos
<clever>
cmcdragonkai: a common mistake i see people making, is that they shove things into propagatedBuildInputs, and then wonder why it didnt magically appear in PATH
shiver is now known as Guest31713
dejanr has joined #nixos
phry has joined #nixos
jdnavarro has joined #nixos
migy_ has joined #nixos
hodapp has joined #nixos
acarrico has joined #nixos
justanotheruser has joined #nixos
joshie has joined #nixos
arahael1 has joined #nixos
Guest31713 has quit [Changing host]
Guest31713 has joined #nixos
acowley has joined #nixos
<cmcdragonkai>
yea, that's what i was confused about. The python builder does this automatically, but only for python scripts, if there are also shell scripts, these are left unwrapped
rodgort has joined #nixos
<clever>
yeah
jperras has joined #nixos
MinceR has quit [Changing host]
MinceR has joined #nixos
shachaf has quit [Quit: Reconnecting]
shachaf has joined #nixos
barrucadu has quit [Changing host]
barrucadu has joined #nixos
<cmcdragonkai>
sir_guy_carleton: You can use `-I` or `nix-shell '<nixpkgs>' ...`
cbarrett has quit [Changing host]
cbarrett has joined #nixos
jeaye has quit [Changing host]
jeaye has joined #nixos
LnL is now known as Guest1773
pikajude has quit [Changing host]
pikajude has joined #nixos
deni_ has quit [Changing host]
deni_ has joined #nixos
etu has quit [Changing host]
etu has joined #nixos
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ivan has quit [Changing host]
ivan has joined #nixos
justanotheruser is now known as Guest69402
Guest69402 has quit [Quit: WeeChat 2.0]
shachaf has quit [Changing host]
shachaf has joined #nixos
justan0theruser has joined #nixos
jperras has quit [Quit: WeeChat 2.2]
<ekleog>
Hmm… ISTR having seen an example somewhere of how to drop in a nix-shell with all the packages necessary to eg. build firefox, but… anyone here knows what the command line is?
<ekleog>
nvm, nix-shell '<nixpkgs>' -A firefox
<ekleog>
(had to figure it out just after asking, as usual)
<sir_guy_carleton>
i guess i should change that ...
<elvishjerricco>
I tried xmonad under kde. Seemed to start up just fine, but all the menus you can have pop up from the task bar became full sized windows rather than floating menus. Then xmonad eventually crashed...
<cmcdragonkai>
is there a version of `substituteInPlace` that allows regular expressions?
spear2 has quit [Remote host closed the connection]
spear2 has joined #nixos
<vmandela>
Is there a way to reduce qemu VM creation time for NixOS tests ? I am running NixOS in virtualbox and one configuration in installer test takes ~ 1 hr.
<clever>
vmandela: you need to get kvm working inside the virtualbox vm, look up nested virtualization
<vmandela>
clever, thanks I will take a look. I am running virtualbox on windows. Does that matter ?
<clever>
not sure
sbdchd has quit [Remote host closed the connection]
<vmandela>
clever, I will try it out.
sbdchd has joined #nixos
sbdchd has quit [Remote host closed the connection]
trcc has joined #nixos
erickomoto has joined #nixos
Wharncliffe has quit [Ping timeout: 240 seconds]
tertle||eltret has quit [Quit: Connection closed for inactivity]
trcc has quit [Ping timeout: 252 seconds]
vidbina has quit [Ping timeout: 252 seconds]
<blankhart>
more specifically, with this https://lpaste.net/5669764328627109888 how do i tell nix-shell that libhunspell is in /usr/lib/x86_64-linux-gnu/
<blankhart>
it complains that when invoking cabal2nix shell.nix, f is missing an argument hunspell
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}>
[nixpkgs] @ryantm pushed commit from R. RyanTM to master « remmina: 1.2.31.2 -> 1.2.31.3 »: https://git.io/fAttR
<typetetris>
blankhart: I don't know how to make cabal from nixpkgs find your non-nixpkgs hunspell library, but to use hunspell from nixpkgs, you need to use just `hunspell` not `libhunspell`
<typetetris>
`nix-env -f '<nixpkgs>' -qaP '.*unspell.*'` shows all nixpkgs packages which mention `unspell`, the first column of the output is the attribute name inside nixpkgs, which is the relevant thing for "addressing" it from nix files. Best read the nix manual (completely) and the nixpkgs manual (at least the haskell section).
erickomoto has joined #nixos
aarvar has joined #nixos
<blankhart>
okay. if i do that nix finds hunspell but now cabal can't find it
Ralith has joined #nixos
<Ralith>
where's the release schedule documented?
<blankhart>
thanks for your help. i will pursue this when i am more awake
<[Leary]>
elvishjerricco: someone in #xmonad was recently asking about xmonad with KDE and they seemed to get it working fine. They did have to add managehooks to float (or ignore?) the KDE pop-ups. A crash is unexpected.
<elvishjerricco>
[Leary]: Yea I have no idea how to do the managehooks thing to float these specific windows :P
<[Leary]>
There's an xmonad FAQ somewhere that will document it well enough. But the gist is that you get the class name of a window from (I think) the second string returned by `xprop | grep WM_CLASS`, and then mappend `className =? "the class name" --> doFloat` to your manageHook to float windows that match (on creation).
trcc has joined #nixos
<[Leary]>
Well nevermind an FAQ, the XMonad.ManageHook hackage docs are probably good enough.
<[Leary]>
If a little sparse.
<[Leary]>
BBL, was in the middle of baking.
vmandela_ has joined #nixos
vmandela has quit [Read error: Connection reset by peer]
orivej has quit [Ping timeout: 240 seconds]
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}>
[nixpkgs] @xeji pushed commit from @r-ryantm to master « s4cmd: 2.0.1 -> 2.1.0 (#45536) »: https://git.io/fAtcH
<tim_nixos>
hey guys, how can I create a 'shell.nix' file and use it with 'nix-shell' that will just install one package in the current context? And how would I do that?
xeji has joined #nixos
<jonge>
tim_nixos: is `nix-shell -p myPackage` not sufficient for your usecase?
<tim_nixos>
jonge: it is sufficient, I would like to make it persistent with the project though
DigitalKiwi has joined #nixos
<jonge>
tim_nixos: ok, a default.nix file with roughly the following content would work: `let pkgs = import <nixpkgs> {}; in pkgs.stdenv.mkDerivation { name = "bla"; buildInputs = [ pkgs.myPackage ]; src = ./.; }`
<tim_nixos>
sphalerite: thanks! works like a charm :)
<jonge>
oh sphalerite was faster and shorter. :)
<tim_nixos>
jonge: thanks for your reply :)
<sphalerite>
*ninja*
<jonge>
sphalerite: i didn't know about the mkShell function...! gotta study that.
<sphalerite>
hasn't been around for all that long
jackdk has quit [Ping timeout: 260 seconds]
<tim_nixos>
sphalerite: is there documentation for that? the nix manual shows nothing..
<sphalerite>
tim_nixos: it's supposed to be in the nixpkgs manual I think… but it seems to have gone missing
<sphalerite>
tim_nixos: you can read the doc sources though
<sphalerite>
,find shell.md
<{^_^}>
Couldn't find any such files
duncan^ has quit [Quit: K-lined: Don't email support.]
<sphalerite>
,find doc/shell.md
<{^_^}>
Couldn't find any such files
<sphalerite>
weird
<tim_nixos>
sphalerite: alright, I was checking the nixpgks manual initially but didn't find anything there..
<tokudan[m]>
I'm trying to make a derivation that takes an SD card image as source and modifies some files on it. I can extract the partitions into their own files, but is there any way to actually modify the files in the nix sandbox?
mayhewluke has quit [Ping timeout: 252 seconds]
<Dezgeg>
woulldn't it be much easier to just have the image hold the correct files in the first place?
mayhewluke has joined #nixos
<tokudan[m]>
in theory yes, in practice I've got to download the official raspbian image and add some files to it
<Dezgeg>
I guess you can use cptofs and cpfromfs to extract and modify stuff
NightTrain has joined #nixos
<tokudan[m]>
that sounds promising, i'll have a closer look at that. never heard of the linux kernel library before
<{^_^}>
[nixpkgs] @jtojnar opened pull request #45571 → gnome3.gconf: re-add as a pointer to the removal PR → https://git.io/fAtga
<tokudan[m]>
Dezgeg: yep, that's exactly what I needed. thank you :)
<Taneb>
What do I need to do to make a local hydra server usable as a binary cache?
<srhb>
tazjin: Have you been able to actually use the statsd server in datadog-agent? It doesn't appear to be listening for me, and the logs aren't helpful.
sb0 has joined #nixos
logzet has quit [Remote host closed the connection]
<lewo>
Taneb: I think hydra is doing it by default. Did you try to curl /http://your-hydra/a-hash.narinfo ?
<{^_^}>
[nixos-hardware] @yegortimoshenko pushed 5 commits to 20180824.021016/swanky: https://git.io/fAtau
knupfer has quit [Ping timeout: 264 seconds]
<hyper_ch2>
srhb: online?
<Taneb>
lewo: thanks for the help
<srhb>
hyper_ch2: I am
<jonge>
is there a single command to calculate the total closure size of a package? currently i do only see that one could sum up the result of `du -sm $(nix-store -qR /nix/store/foopackage)`
<srhb>
jonge: nix path-info might have something
<hyper_ch2>
srhb: so, I cloned nixpkgs.... I did change flexget to newer version, I made PR.... so far so good.... then in my cloned I did change now plex also to a newer version. When I try to make a PR now, it will include both, flexget and plex... how can I only make a PR for plex since I already made one for flexget?
<srhb>
hyper_ch2: Always use different branches :)
<srhb>
hyper_ch2: So the easiest way is to simply start off by branching off eg. nixos-unstable: git checkout nixos-unstable && git checkout -b my-feature-branch
<srhb>
The only thing you ever push will be your feature branches, and just pr those.
<hyper_ch2>
srhb: hmmm.... ok
<jonge>
infinisil: perfect, that does exactly what i want. thank you!
<hyper_ch2>
what to do now? :)
<srhb>
hyper_ch2: cherry pick the commit you want to PR onto a new branch based off nixos-unstable
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<hyper_ch2>
srhb: its based on master... not unstable
<hyper_ch2>
srhb: I did checkout the pre-changes commit, then I branched, I added the changes and put it to my clone.... but I can't find the branch on github
<srhb>
It's empty, so you can just squash it away.
<hyper_ch2>
dunno how
<infinisil>
Look it up online!
<srhb>
search for something like rebase remove commit :)
magnetophon has joined #nixos
<magnetophon>
I'm working on a package that uses git describe and I'm getting: "fatal: No names found, cannot describe anything.". Any ideas?
<happyente[m]>
Whats the use for the branchName parameter in fetchgit? Shouldn't the rev always be enough?
humanoyd has quit [Quit: WeeChat 2.2]
<infinisil>
magnetophon: fetchFromGitHub and such remove the .git directory, so it's not a git repo anymore after that
<tazjin>
srhb: yes, but I'm currently on vacation; don't have a real keyboard available
<infinisil>
magnetophon: The best option usually is to make it not use git describe, pass in the version some other way
<infinisil>
magnetophon: Alternatively (but not recommended if you can avoid it), is to use keepDotGit = true
<srhb>
tazjin: OK, no problem! :)
<srhb>
tazjin: Have a nice vacation
<tazjin>
thanks ☺️
<magnetophon>
infinisil: I already have keepDotGit,otherwise I get anpother error
<infinisil>
Oh hmm.. Then make it not use git describe :)
tzemanovic has quit [Remote host closed the connection]
<infinisil>
Not exactly sure what's the problem
<magnetophon>
infinisil: the git descibe part is upstream. I was just wondering if there's anything else that nixos does to the repo, similar to how it deletes the .git by default
<infinisil>
Yeah I mean to make upstream not use git describe. Some projects provide a way to override it
infinisil has quit [Quit: Configuring ZNC, sorry for the joins/quits!]
infinisil has joined #nixos
rihards has quit [Ping timeout: 252 seconds]
sb0 has quit [Quit: Leaving]
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
nadley has joined #nixos
blankhart has joined #nixos
primeos has joined #nixos
rprije has quit [Ping timeout: 252 seconds]
<genesis>
i finnally get this mbrola works \o/
Freechicks has joined #nixos
timj1 has joined #nixos
<magnetophon>
hi timj1! :)
<timj1>
magnetophon: hey. *why* does "git describe" not work inside a build environment? how are packages supposed to build from git if taht's not working?
knupfer has joined #nixos
<magnetophon>
timj1: I don't know why. This is the first package that I know of that uses it.
<timj1>
e.g. git.git/GIT-VERSION-GEN uses git describe
<magnetophon>
timj1: I don't know what that is, sorry
<magnetophon>
infinisil: timj1 is the upstream author of the package with the "git describe" issue.
lawlesseel has joined #nixos
<magnetophon>
infinisil: can you explain why you suggest not using it?
mzan has left #nixos [#nixos]
<infinisil>
Nix builds shouldn't rely on where the package is fetched from. It could be an archive, a git repo, whatever
<infinisil>
Namely github provides very convenient tarballs that just contain the sources at a specific git revision
<infinisil>
Without a .git
<infinisil>
What some builds allow you to do is to use `export VERSION=...` to make the build use this version, and fall back to the git way if that's not set
<magnetophon>
infinisil: timj1 is using those tarbals for his releases, but we are trying to fix another issue, so I have to build from master. that's when we ran into the describe issue
Fare has joined #nixos
<infinisil>
The tarballs don't depend on release or not, they work for any revision
johanot has quit [Remote host closed the connection]
<timj1>
infinisil: our tarballs contain files generated from git (e.g. version number, configure, etc); but when buiding from git no generated files are present, so autogen.sh needs to be called, version extracted from git, author information for man pages is extracted from git, etc. i.e. if building from git, git needs to actually work, also autoconf, automake, etc
<magnetophon>
infinisil: ah, right. I knew, but forgot
<{^_^}>
[nixpkgs] @bignaux opened pull request #45580 → mbrola: init at 3.0.1h → https://git.io/fAt6n
<timj1>
infinisil: the tarballs generated by github are incomplete, it's not a good idea to use those unless a project specifically blesses their use
philippD has joined #nixos
<magnetophon>
timj1: automake, autoconf etc is working. like I said:I got the release version to build quite far: at least it was well into compiling. and I was using your autogen.sh to do it.
<infinisil>
timj1: Pretty much all nixpkgs packages use these tarballs to build stuff
<timj1>
infinisil: see what magnetophon said above. of course we have working releae tarballs. but development can't work throug tarballs, i.e. builds from the git master branch need full developer tool functionalits
<timj1>
functionality
<infinisil>
What's the project anyways? I haven't looked at the source
<timj1>
the latest release tarball doesn't build under nixos, because e.g. /bin/pwd is hardcoded in scripts
<infinisil>
Ah yeah that's no problem, gets usually patched
<infinisil>
And the git describe problem can get patched too
<timj1>
so I'm trying to fix cases like these up and have magnetophon report other issues, but going through a release tarball would make things too painfully slow
trcc has quit [Remote host closed the connection]
<infinisil>
git describe is only used to get a version?
<timj1>
infinisil: as i said above there's more info extracted from git during a build than just describe
<infinisil>
Such as?
trcc has joined #nixos
<infinisil>
I see
<timj1>
you'd have to grep for 'git' in the makefiles to get a comprehensive list
<timj1>
off the top of my head, author infor for man pages
<infinisil>
Hmm I see, that's pretty neat
<infinisil>
Seems justified
<timj1>
the file list for various tests. i.e. we run some unit tests on based on what files we know are kept in git, not just found in a directory
<infinisil>
So I think the solution is to figure out why git fails with nix, there's no inherent reason that shouldn't work
<infinisil>
magnetophon: You can enter the build environment with nix-shell and run the build like that
<magnetophon>
infinisil: sure. I just need to refresh my memory on how to do that
trcc has quit [Ping timeout: 268 seconds]
Dedalo has joined #nixos
<{^_^}>
[nixops] @Chakerbh opened pull request #993 → Add a resource for GCE routes →
<magnetophon>
ok, found it, thanks to the wiki! ;)
<blankhart>
if i have a nixpkgs dependency on hunspell, and want to direct cabal's attention to it in a haskell project, how do i figure out the path to use once it is in the nix store?
<magnetophon>
infinisil: OK, I'min nix-shell, and am getting the same errors. now what?
<magnetophon>
s/min/m in/
<infinisil>
magnetophon: Dunno, run the commands yourself, figure out what's different to the normal git repo
<srhb>
iirc we rather aggressively prune the history in order to keep the output hashes more or less sane (which is hard in fetchgit's case)
<magnetophon>
srhb: that's what I thought was happening. any way to work around that? (similar to keepDotGit)
<srhb>
magnetophon: For _arbitrary_ data, probably not sanely. We need to know the output before we even download it, morally.
<srhb>
For specific history -- probably, with sufficient hacks :-)
nuncanada has joined #nixos
<magnetophon>
srhb: OK, thanks
<srhb>
Or if it's for a dev workflow, just clone it locally and point src at that directory.
<srhb>
I don't think anyone has a good story for keeping determinism and allowing arbitrary git shenanigans yet.
<magnetophon>
srhb: that's a great workaround! thanks!
<srhb>
And yes, that sadly makes some fairly awesome automated builds (under other circumstances) very hostile to nix, or nix very hostile to them.
<srhb>
Someone should fix git. :-)
<srhb>
Then everyone's happy!
<magnetophon>
srhb: I think I found oneof those cases...
<magnetophon>
srhb: fix git? what's broken?
<srhb>
I want to, morally, "get the graph from this patch and all history ever" and then "offline do things with this history I asked for"
<magnetophon>
srhb: got an example of how to point src to a local copy?
<srhb>
src = path/to/thing
<magnetophon>
cool, thanks!
<srhb>
Actually ./path/to/thing, probably ^^
<timj1>
srhb: what exactly is the issue with git for deterministic builds? git isn't inserting random timestamps, fwiw, a git checkout can be treated as stable as a particular release tarball versoin, no?
<srhb>
timj1: As far as I know (and my git knowledge is limited) yes -- but I'm not sure that the hash of .git doesn't change arbitrarily despite a given checkout
<srhb>
timj1: And by hash I mean something like actually running sha256sum on it recursively
<timj1>
srhb: it doesn't that's the whole point of git hashes. git hashes the file contents, then file attributes and file pathnames, that's the tree hash, then the commit message + parent hash + related tree hash, that gives the git commit hash.
<{^_^}>
[nixpkgs] @xeji opened pull request #45582 → nixos/tests/wordpress: fix test → https://git.io/fAtPp
<timj1>
if that was flaky, git would need to be fixed, badly ;-)
<srhb>
timj1: I'm not talking about the git commit hash though, but the actual hash of .git. Are you saying that I can predict that to always be the same for a given checkout?
<srhb>
Meaning, can I check out a given revision in such a way that sha256sum on the directory always produces the same hash?
<manveru>
i've also had the pleasure of dealing with repos that aren't clonable if you don't disable fsck
tzemanovic has quit [Remote host closed the connection]
alexteves has joined #nixos
arianvp has joined #nixos
<arianvp>
Hi
<arianvp>
I'm trying to deploy to a remote nixos machine, but I get weird errors
<timj1>
srhb: afaik, sha256sum only works on file contents, how do you use it on directories?
<arianvp>
> error: cannot add path '/nix/store/5aakgivm9i9c3wwhclgr9lrrqllffip6-keyutils-1.5.10.tar.bz2.drv' because it lacks a valid signature
<{^_^}>
error: syntax error, unexpected $undefined, expecting ')', at (string):171:24
<arianvp>
and idea what that could be?
<sphalerite>
timj1: applying it to the NAR serialisation of the directory
Azaiel has quit [Ping timeout: 268 seconds]
<srhb>
timj1: I'm just talking morally here. It doesn't matter how it's actually implemented. The point is that we need to get the .git dir for a certain ref in a way where it will always have the same bits, really.
<srhb>
The other argument you could make is that we should just escape hatch out and say "oh, well, we trust git to not do anything wrong here" and rely on the git hash instead of our own hash
<srhb>
But that's an entirely different can of worms and very philosophical :-P
<srhb>
And it's fundamentally a purity breaking lie iff anyone ever uses some of that mutable history to produce differing builds in any way.
<srhb>
But.. I don't know much about git. Maybe there's a way to do it!
<arianvp>
do I need to sign artifacts before I can copy them over first?
<timj1>
srhb: the .git/ dir literally? or the actual checkout? I'm talking about the checkout. if you're concerned about .git/, you miht want to consider keeping the .git dir *outside* the actual checkout, so you just have to deal with the hashes of the actual working directory. git supports that with e.g. GIT_DIR=...
<sphalerite>
arianvp: I think if you use --no-require-sigs you don't have to
<srhb>
timj1: the repo/.git dir literally
<sphalerite>
arianvp: not sure exactly where to stick that in the nixos-rebuild invocation though
<srhb>
timj1: That doesn't help us though. We must be able to know its contents ahead of time regardless of whether we keep it out of the build dir or not.
<arianvp>
"unknown option --no-require-sigs"
<gchristensen>
timj1: `git describe` is not a stable function over time, because the tags can change over time.
<srhb>
timj1: If we ever intend to use it
<srhb>
timj1: This is a fundamental promise of Nix.
<arianvp>
but how is it supposed to work normally with --target-host?
<arianvp>
signing the packages is not a problem (Though im not sure why they arent signed in the first place? they're copied from cache.nixos.org)
<arianvp>
im even more confused because from the manpage: error: cannot add path '/nix/store/5aakgivm9i9c3wwhclgr9lrrqllffip6-keyutils-1.5.10.tar.bz2.drv' because it lacks a valid signature
<timj1>
srhb: hmmm, still trying to wrap my head around your set of nixos requirements there ;-) do you have a wiki page or so to read up on those details?
<arianvp>
If --build-host is not explicitly specified, --build-host will implicitly be set to the same value as --target-host. So, if you only specify --target-host both building and activation will take place remotely (and no build artifacts will be copied to the local machine).
<arianvp>
so it shouldn't be copying anything in the first place...
<srhb>
timj1: I think the nix manual and nixpkgs manual are the places to go here, but it's quite a mouthful! Glad you're interested :)
Acou_Bass has quit [Ping timeout: 272 seconds]
<sphalerite>
arianvp: might be a behaviour change :/
<srhb>
timj1: But given what gchristensen said above: We need a pure build. If the user were allowed to use impure history from the commit hash *in the build process* the commit hash might be stable, but the build sure isn't. :)
<srhb>
s/from the commit hash/from the .git directory
<arianvp>
I'll report as a bug I guess?
<srhb>
And hence, the build *may* not be deterministic
<gchristensen>
a git commit ID is morally pure if you delete the .git directory.
<gchristensen>
sorry arianvp
<gchristensen>
arianvp: the "arian" user needs to be a "trusted-user" on the target host
jtojnar has quit [Quit: jtojnar]
<infinisil>
srhb: gchristensen: Wouldn't it be possible to just remove all tags and all irrelevant commits, do a git gc, to remove hopefully everything non-constant?
<timj1>
infinisil: no, git gc may very well change packing over time. the only thing that git guarantees you is that file *contents*, names and attributes always deterministically lead to a hash
chessai has joined #nixos
jtojnar has joined #nixos
<arianvp>
gchristensen: even when I specify --build-host=<remote-host>
<arianvp>
it still builds everything locally and copies everything over
<arianvp>
:/
<gchristensen>
you would still need to be a trusted user
<arianvp>
I am now
<gchristensen>
can you SSH as root?
<arianvp>
yeh I can ssh as root as well. but the point is, the --build-host option seems to be ignored
<arianvp>
oh wait no. it's just copying over .drv files
<arianvp>
nvm
<gchristensen>
aye
<arianvp>
I think it's working as intended
<gchristensen>
cool :)
<arianvp>
yeh it's probably going to be neccessery to do this as root anyway, as the arian user can't activate the profile
<arianvp>
only I dont get why it stopped all those services... the same config is on the machine as remote
<yorick>
Mic92: what do you think of the wireguard PR that turns it into a networkd thing?
<yorick>
I don't think our machines run networkd :/
<typetetris>
blankhart: hunspell in nixpkgs does things I deem strange.
<arianvp>
most machines that run something like NetworkManager dont
<arianvp>
would really make using networkd to setup wireguard optional preferably
<arianvp>
okay last question. Why does, when building remote, nixos-rebuild print three times " Yo did not specify --add-root"
rihards has joined #nixos
<arianvp>
I thought it will create a gcroot automatically right?
<typetetris>
blankhart: and hunspell-hs depends on libhunspell, but it is libhunspell-1.6 so the cabal file of hunspell-hs at least in the version fetched by nixpkgs master is defective at the moment.
<Mic92>
yorick: I think if you don't have dhcp then it would stop after configuring the device. The bigger problem I see is this privateKeyFile thing. I think for the meantime it would be better to just add wireguard support to networkd itself.
<Mic92>
*networkd module
ng0 has quit [Read error: Connection reset by peer]
blankhart has quit [Quit: WeeChat 1.9.1]
<Mic92>
actually in longterm networking-scripted should be replaced anyway, because it has so many small bugs and race conditions
<yorick>
wireguard failure means we have to get a plane ticket to fix the device, sadly
Acou_Bass has joined #nixos
jperras has joined #nixos
<Mic92>
Well the current module will fail if wg has no network when resolving the endpoints hostname.
<sphalerite>
(probably naive and unhelpful here) but I'd think for that sort of thing I'd always set up two boxes together that can access each other via seriala console, and update them one at a time
<Mic92>
I fixed that issue in systemd-networkd, when I wrote it.
<yorick>
sphalerite: the boxes have a builtin lte-modem, 2 sims would be costly
<yorick>
but probably the only way to stop us from buying plane tickets
<sphalerite>
Mic92: does that actually somehow work without at least one node that's accessible externally? (I use tinc and have such a node so I don't actually need it, but that would be really awesome and I don't really understand how it would work)
<Mic92>
yorick: what do you mean?
<yorick>
Mic92: oh, that means that the wireguard private key ends up in the nix store
<gchristensen>
yorick: may I PM?
<Mic92>
yorick: yes.
<yorick>
gchristensen: yes
<{^_^}>
[nixos-hardware] @yegortimoshenko pushed to 20180824.021016/swanky « Add toshiba-swanky to CI »: https://git.io/fAtyj
<Mic92>
sphalerite: you need at least one node reachable to exchange information, but then you can directly connect two nodes that are behind a firewall.
<infinisil>
Ah neat, I might do that in the future
mayhewluke has quit [Ping timeout: 268 seconds]
mayhewluke has joined #nixos
Drakonis has joined #nixos
tzemanovic has quit [Ping timeout: 268 seconds]
nadley has quit [Remote host closed the connection]
nadley has joined #nixos
bart- has quit [Changing host]
bart- has joined #nixos
chrisaw has joined #nixos
npmccallum_ has quit [Ping timeout: 272 seconds]
<chrisaw>
Can anyone help me with an overlay issue I'm facing? I'm trying to install the "applespi" module (macbook stuff - outside of mainline kernel) but the nixos-install is bombing out with: "error: attribute 'kernel' missing, at /mnt/etc/nixos/ecs0371/pkgs/applespi/default.nix:5:35"
<chrisaw>
Thanks folks - much appreciated! Knew I was missing something dumb. >_<
<Taneb>
Is there a way to use callHackage from outside nixpkgs?
Piece_Maker has joined #nixos
<infinisil>
> pkgs.haskellPackages.callHackage
<{^_^}>
<LAMBDA>
<infinisil>
Taneb: Of course, why wouldn't that be possible?
<Taneb>
Ah, I couldn't see that being exported
<chrisaw>
Actually - bit of a follow-up issue. When I use ${super.pkgs.linuxPackages.kernel} it's fetching that reference from the installed OS (i.e. the LiveCD) so it's trying to build the module against the livecd kernel instead of the kernel I'm building in /mnt - any ideas?
<chrisaw>
*running OS, not installed OS.
<qyliss^work>
pkgs.linux exists also
<gchristensen>
chrisaw: have you set boot.kernelPackages to something special?
<gchristensen>
also, it would be super.linuxPackages not super.pkgs
<Taneb>
infinisil: thanks
<chrisaw>
gchristensen: Yeah - it's set to pkgs.linuxPackages_4_17 - guess I should be using that instead?
<gchristensen>
yeah, so use super.linuxPackages_4_17... I think
Acou_Bass has quit [Ping timeout: 272 seconds]
<chrisaw>
gchristensen: Looking good so far - thanks a lot! Hadn't thought of that. :)
Drakonis has quit [Read error: Connection reset by peer]
infinisil has quit [Quit: Configuring ZNC, sorry for the joins/quits!]
endformationage has joined #nixos
Acou_Bass has joined #nixos
erasmas has joined #nixos
infinisil has joined #nixos
jasongrossman has quit [Ping timeout: 264 seconds]
<acowley>
I use services.locate.locate = pkgs.mlocate in my system configuration, but when I then enter a nix-shell, the findutils locate is on my PATH.
<acowley>
This is problematic because my locate db doesn't work with the findutils locate, so locate doesn't work in a nix-shell.
<acowley>
In the event that this is intended behavior, what can I do to make this work better for myself?
<samueldr>
infinisil: yes
<acowley>
Other than add mlocate as a buildInput to every nix-shell I use
<catern>
can I speak again at last?
<catern>
hooray
Acou_Bass has quit [Ping timeout: 272 seconds]
<catern>
here's a basic question: when I add clang to a derivation, how then do I ensure that clang is used for compilation rather than gcc?
hyper_ch2 has quit [Quit: Page closed]
<symphorien>
use clangStdenv instead of stdenv
<sphalerite>
acowley: judging from nix-shell source, it sources ~/.bashrc so if you do something like export PATH="$(dirname $(readlink -f /run/current-system/sw/bin/locate)):$PATH" in there that might do the trick
<catern>
symphorien: ah, thank you!
<aminb>
hi all, would anyone be able to help me with building notmuch and its dependencies using nix? i'd like to hack away on notmuch but install its dependencies using nix
<aminb>
and i got as far as running nix-shell like so: nix-shell --pure -p xapian gmime talloc zlib pythonPackages.sphinx pythonPackages.python texinfo
<aminb>
running ./configure and make seems to work fine, but running ./notmuch --version after results in an error
<aminb>
notmuch: error while loading shared libraries: libgmime-2.6.so.0: cannot open shared object file: No such file or directory
<aminb>
any thoughts?
<sphalerite>
aminb: nix-shell '<nixpkgs>' -A notmuch should give you all the build deps as defined by nixpkgs
<acowley>
sphalerite: That didn't work. It seems that stdenv is putting findutils on PATH before whatever I have
<aminb>
sphalerite: thanks i'll give that a shot. does that cover runtime deps as well? it seems like the gmime library is missing at runtime
<sphalerite>
acowley: ok this is hacky but how about alias locate=/run/current-system/sw/bin/locate ? :D
<acowley>
sphalerite: Hah! Well, that does work, except running something like `which locate` still returns findutils
<glasserc>
Is there a way to see a list of NixOS generations without rebooting to the bootloader?
Acou_Bass has joined #nixos
<sphalerite>
aminb: I'm not sure it'll help, I also don't see any relevant patching happening in the expression for it (nix edit nixpkgs.notmuch) so I don't know where the difference is
<acowley>
sphalerite: I encountered this when trying out direnv with emacs. When looking at a file with an associated shell.nix, findutils ends up on PATH, and when an emacs command tries to use locate to search for a query it bombs out because the locate on PATH can't read the database.
<sphalerite>
acowley: can you point emacs to /run/current-system/sw/bin/locate as well?
<glasserc>
srhb: Thanks!
winem_ has quit [Ping timeout: 252 seconds]
<srhb>
glasserc: Or just ls that directory :-P
<aminb>
ok, ty. i'll report back
<sphalerite>
Is it possible to remount the store read-write in the installer (specifically a netbooted one in this case)?
<sphalerite>
mount -o remount,rw /nix/store complains Chdir to /mnt-root failed: No such file or directory ! Aborting!
<gchristensen>
sphalerite sounds like you have a broken unionfs
<gchristensen>
sphalerite: can you provide more info?
<timj1>
is less broken on nixos? searching in less with / and then 'n' doesn't honor the scroll position. i.e. scrolling up across a previously found search result doesn't find it again, search just continues after the last psotion found regardless of scroll position
<acowley>
sphalerite: Yes, that is an effective fix for the direnv problem, thanks for pointing out the obvious to me :)
<srhb>
timj1: Hm, works here. So not just less in general at least
<sphalerite>
gchristensen: 18.03.133154.f094fd6379b (Impala); nix-info bombs out because of a bunch of missing NIX_PATH entries
Acou_Bass has quit [Ping timeout: 252 seconds]
<sphalerite>
acowley: it's not elegant but it'll work I guess? :p
<acowley>
Yeah, still seems unfortunate to me that setting the system configuration to use mlocate gets overridden so easily.
<sphalerite>
timj1: I don't have that problem either
<gchristensen>
sphalerite: works for me?
<timj1>
fwiw, I'm running nixos/nix from the docker hub
<srhb>
Broken terminal perhaps?
<timj1>
also git log outputs color escape sequences verbatim. git log | less at least works without the sequences...
<sphalerite>
timj1: ah that's not nixos then. Yeah my guess would be TERM problems
<gchristensen>
yeah the terminfo is "busted"
<sphalerite>
gchristensen: which bit? The remounting?
arianvp has quit [Quit: Page closed]
<aminb>
sphalerite: ah i think i know why: pkgconfig seems to be missing from my env, which is listed in the nixpkgs notmuch nix file as a nativeBuildInputs
<aminb>
if i add that to my -p list, would it work?
<gchristensen>
sphalerite: if you have problems with nix-info, please file a good bug report. I can't replicate.
Acou_Bass has joined #nixos
<gchristensen>
sphalerite: w.r.t. the netboot disk being rw, that works for me too
Piece_Maker has joined #nixos
<samueldr>
timj1: that less behaviour I seem to remember it happens not only on nixos (n going to the next match outside the buffer)
<sphalerite>
timj1: does `export TERMINFO_DIRS=$(nix-build --no-out-link '<nixpkgs>' -A ncurses)/share/terminfo` fix it?
<sphalerite>
gchristensen: where do I report it?
<gchristensen>
nixos/nixpkgs :)
<gchristensen>
(and please try to debug as much as possible)
ekleog has quit [Quit: WeeChat 2.0]
<timj1>
sphalerite: no, less still behaves the same
Acou_Bass has quit [Ping timeout: 252 seconds]
Piece_Maker is now known as Acou_Bass
ekleog has joined #nixos
Ariakenom has quit [Ping timeout: 268 seconds]
<timj1>
hm, autoconf produces a configure script that hardcodes "/usr/bin/file" in many places and that just fails under nixos. how do other packages fix that?
<srhb>
timj1: We generally patch those paths during the build :)
<gchristensen>
srhb: seems not so bad to me
<gchristensen>
sphalerite: seems not so bad to me
<gchristensen>
not ideal, but the primary goal being "show some quick details to point a debugger to a problem" it is achieving that with flying colors hehe
<sphalerite>
gchristensen: fair enough haha. Might be nice to collect all the information first, then print it on a single line at the end, that way we don't get the mess. Then again it might happen rarely enough that it doesn't really matter? :p
jD91mZM2 has joined #nixos
<gchristensen>
yeah, not sure. it could definitely be better
<gchristensen>
but seems pretty low priority to me
<srhb>
timj1: In fact, if you have a checkout of nixpkgs, try grep -r "/usr/bin/file" in the pkgs subdirectory :)
<ekleog>
`error: cannot open connection to remote store 'daemon': unexpected end-of-file` sounds not good, /nix partition full…
<ekleog>
nothing in journalctl -f
<jonge>
hi there. i am building a docker image from my application derivation. for SOME reason the resulting docker image includes gcc, and i don't know why. certainly it is no runtime dependency. how can i check why it is included/or forbid that?
<ekleog>
(well, the standard “accepted connection from pid 24752, user ekleog”)
chreekat has quit [Ping timeout: 252 seconds]
<ekleog>
looks like it's a problem of disk full, removing a directory from /nix/var/log/nix/drvs/ solves the issue :)
* ekleog
wonders if this deserves reporting, or if that's to be expected on disk-full
<ekleog>
oooh no. doesn't solve. “error (ignored): aborting transaction: SQL logic error (in '/nix/var/nix/db/db.sqlite')” now this sounds really not good
<ekleog>
hmm, looks like a second nix-collect-garbage fixed the issue… meh
<sphalerite>
gchristensen: it's mostly just the `nix build` bug that I accidentally discovered that led me to write here, then clever and I went off on a tangent :p
<sphalerite>
gchristensen: reported a new issue for the misdetection of multi-user. Remounting the nix store read-write fails in the netboot mentioned there as well.
<clever>
sphalerite: i fixed that a while ago
<sphalerite>
clever: which bit?
<clever>
failing to remount the store to nixos-install
<sphalerite>
clever: no I mean to remount the installer's store read-write
<sphalerite>
I want to do `mount -o remount,rw /nix/store` for some nasty hacks, but it fails
<sphalerite>
symphorien: that works nicely, thank you >:)
<sphalerite>
although arguably a bug x)
<symphorien>
It is already reported somewhere
<symphorien>
This also makes (used to make ?) nixos-rebuild generate a bogus grub config
<sphalerite>
nice
rfold has joined #nixos
<nbathum>
if `nix-channel --upate` says this, "error: ... unable to open database file (in '/nix/var/nix/db/db.sqlite')
<nbathum>
is there a way to fix that?
<clever>
nbathum: nixos or another distro? single or multiuser install?
<nbathum>
nixos, 18.03
<clever>
nbathum: what does `type nix-store` report?
<nbathum>
nix-store is /run/current-system/sw/bin/nix-store
<nbathum>
does it matter if I run that as root?
<clever>
each user has its own set of channels, not sure why its breaking for non-root
<clever>
but you probably want to update roots channels anyways
<nbathum>
its breaking for root, I should have said
<rfold>
Hi, on NixOS on a Dell XPS when I enable audio and pulseaudio in configuration.nix, rebuild, and then reboot, I cannot login. Instead of the GUI login screen I get the console one, and after entering my username nothing happens (not even asking me for my password). Since I cannot login I also cannot look at dmesg. If I reboot and select the previous configuration then it works (albeit no audio). journalctl
<rfold>
says something about a missing user "pulse".
<clever>
nbathum: dmesg | tail, does it mention anything about ro or read-only?
<clever>
rfold: can you pastebin configuration.nix?
<nbathum>
clever: nothing about read-only or 'ro'
<nbathum>
df -h
<nbathum>
whoops -_-
<clever>
nbathum: can you pastebin the output of mount and df -h?
<clever>
sphalerite: not sure, but i think that the php-fpm daemon is able to run multiple pools with unique configs on its own, and nixos just lacks the ability to start 2 of those daemons
<joepie91>
I'm surprised it supports multiple pools at all
<joepie91>
multiple-service support is generally extremely poor in NixOS right now :P
<sphalerite>
clever: yes, that's the impression I had. It creates a separate systemd service for each one, so…
worldofpeace has joined #nixos
ixxie has quit [Ping timeout: 268 seconds]
<clever>
rfold: nothing obviously wrong there :(
HarpoRoeder has quit [Remote host closed the connection]
<nbathum>
clever: mount is showing that /nix/store is mounted 'ro'
<nbathum>
guess I need to re-mount it?
<clever>
nbathum: thats normal, the db is not in store
<nbathum>
okay, I'll paste the full output
<clever>
nbathum: the db is in /nix/var/
<slabity>
Does anyone know when the NixCon program is going to be published?
<rfold>
clever: With systemWide true, I could login. But no audio, and from time to time everything freezes. :D I'll have to look more into this another time, thanks though!
<{^_^}>
[nixpkgs] @globin pushed commit from @alyssais to staging « makeWrapper: document --set-default »: https://git.io/fAqtm
<pedroabreu>
hi! I ran am having trouble to install nix on my MacOs. I ran `curl https://nixos.org/nix/install | sh`, added `source /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh` to .bash_profile and still it doesn't recognize `nix-env` or `nix-shell` commmands.
<gchristensen>
did your installer finish successfully, pedroabreu?
<pedroabreu>
if by finish successfully you mean the message "Alright! We're done!" then yes
<gchristensen>
great
<gchristensen>
and you open a new terminal and no nix?
<pedroabreu>
yes
<gchristensen>
can you pastebin the output of `sw_vers` and `uname -a`?
<gchristensen>
run `bash --login -i -x -c exit` and pastebin the results from that? BEFORE YOU PASTE: make sure no secrets are in the output :)
<elvishjerricco>
How usable is vulkan on NixOS at the moment?
<pedroabreu>
Doesn't seem like there is any secret there
<pedroabreu>
is there anything in particular that I should look for∑
<pedroabreu>
?*
jD91mZM2 has quit [Quit: WeeChat 2.0]
<gchristensen>
one time I had someone paste that and they accidentally pasted a lot of API keys and secret passwords, you'd probably recognize secrets if they were there
<pedroabreu>
just to make sure: how these stuff end up there?
<gchristensen>
they put a lot of API secrets in their bashrc or bashprofile
<qyliss^work>
Can I put something in a shell.nix to disable SOURCE_DATE_EPOCH inside the shell? `shellHook = ''unset SOURCE_DATE_EPOCH''` works, but wondering if there's something better
derchris_ has joined #nixos
derchris has quit [Read error: Connection reset by peer]
<gchristensen>
pedroabreu: how is it looking?
<pedroabreu>
well, it's still building my project. I want to see how that goes before saying the final word :)
derchris_ has quit [Read error: Connection reset by peer]
<gchristensen>
sounds like the big things are fixed at least
<pedroabreu>
yep
<pedroabreu>
thanks!!
worldofpeace has joined #nixos
<gchristensen>
so glad to hear it. You're welcome!
<worldofpeace>
Anyone here familar with xfce packaging in nixpkgs?
Fare has joined #nixos
Zajcev has joined #nixos
derchris has joined #nixos
derchris has quit [Read error: Connection reset by peer]
<ixxie>
clever: sorry asking again but I am confused: for kexec install, I first run kexec, then after sshing back in, in what order to I unmount/mount/format/stuff?
derchris has joined #nixos
<ixxie>
is it that I mount the normal fs to /mnt, then repartition and format it, and then install?
hyper_ch has quit [Remote host closed the connection]
<genesis>
in a wrapper for example ?
<elvishjerricco>
genesis: NixOS just sets it on your system. Otherwise I think it's expected to be set by your distro
derchris_ has quit [Ping timeout: 252 seconds]
<genesis>
i'm on nixos
<genesis>
$ echo $LOCALE_ARCHIVE
<genesis>
i've it.
rardiol has left #nixos [#nixos]
<symphorien>
glibc2.27 (unstable) has an inconpatible locale format with glibc2.26 (18.03)
<elvishjerricco>
well that's annoying
<samueldr>
:/
<mdash>
linux is hard
<symphorien>
so it's not the right locale archive
chrisaw has quit [Ping timeout: 268 seconds]
<samueldr>
you could work around that for what you're packaging by setting it to a glibc2.27 version path in the shell you're using to updating unstable/master packages
<nbathum>
sphalerite: I've got /nix/var/nix/db/db.sqlite open in sqlite3. What do you want to see?
<exarkun_>
nixops was happy to boot an ec2 instance for me but it managed to do so in a way that made it unreachable via ssh. anyone know anything about that? The config is pretty simple, just based on the nixops manual intro: https://gist.github.com/exarkun/a37bc775609f4cf5c7ba21cfbf8fff22
<sphalerite>
nbathum: mostly just to see if it opens
<Myrl-saki>
exarkun_: SSH security groups.
<nbathum>
oh, okay. yep it opens okay
<exarkun_>
Myrl-saki: It seems to have launched the instance with a security group that allows all inbound and outbound traffic
<exarkun_>
Oh. Maybe only all traffic from the security group, oops.
<Henson>
Is there a way to search nixpkgs for the derivation a particular file belongs to? Somebody told me about nix-index, but that program doesn't complete successfully for me.
<Henson>
I'm trying to find out which derivation, if any, contains the file libgdkglextmm-x11-1.2.so.0
<jonreeve>
symphorien: I guess I must be. But as a total newbie I guess I'm not sure how to change the channels of my profile and whatever profile home-manager uses. Do you know how to do that?
<jonreeve>
I'd love to get everything all on unstable, but don't know how
<symphorien>
I don't know about home-manager
<symphorien>
for nixos, in a root shell, use nix-channel to change your channel
<jonreeve>
That's how to change it for root, I think, but what about for my profile?
<symphorien>
by default on nixos, users have no channels and use the default (root's) instead
rycee[m] has joined #nixos
<rycee[m]>
Howdy.
<symphorien>
you can check with nix-channel --list: it should be empty
<rycee[m]>
jonreeve: Yeah, I as well suspect it is something like symphorien says.
<jonreeve>
Hm I must've done something wrong to get on two channels, cause my nix-info says: `system: "x86_64-linux", multi-user?: yes, version: nix-env (Nix) 2.0.4, channels(root): "nixos-18.09pre149415.8395f9aa85e", channels(jon): "nixpkgs-18.03.133086.c1ef96ebdbd", nixpkgs: /home/jon/.nix-defexpr/channels/nixpkgs`
<jonreeve>
Any ideas about how to make my regular user just follow the root channel?
<rycee[m]>
Unfortunately some packages installed to the user profile rely on the system packages :-/
<symphorien>
just remove every channel you have as a user
<jonreeve>
Hm, I did `nix-channel --remove nixos` as my regular user, and now `nix-channel --list` as my regular user is blank. But running nix-info still gives me: `system: "x86_64-linux", multi-user?: yes, version: nix-env (Nix) 2.0.4, channels(root): "nixos-18.09pre149415.8395f9aa85e", channels(jon): "nixpkgs-18.03.133086.c1ef96ebdbd", nixpkgs: /home/jon/.nix-defexpr/channels/nixpkgs`
<rycee[m]>
Maybe a `nix-channel --update` would change this.
<rycee[m]>
And maybe a relog as well?
<rycee[m]>
Just a guess though. I don't know so much about channels.
<rycee[m]>
But I figure `--remove` just removes the channel from the list of subscribed channels and the `--update` is necessary for it to actually have an effect.
mayhewluke has quit [Ping timeout: 272 seconds]
<jonreeve>
Hm, removing that part from the NIX_PATH seems to break stuff. Nix-info then fails with `error: file 'nixpkgs' was not found in the Nix search path (add it using $NIX_PATH or -I), at (string):1:9`
<symphorien>
then /nix/var/nix/profiles/per-user/root/channels/nixos should exist
<nbathum>
where does `nix-channel --update` unpack data too? asking because I'm getting "no space left on device"
<magnetophon>
doesn anyone know why https://howoldis.herokuapp.com/ shows that nixos-unstable is 8 hours old, but it's the same hash that has been there all week?
<jonreeve>
Hm, I ran `nix-channel --update` and `sudo nix-channel --update`
<jonreeve>
But nix-info still fails. I think I'll set NIX_PATH to what it was before?
<symphorien>
nbathum: precisely in /nix/var/nix/profiles/per-user/*/channels/
<symphorien>
this is a symlink in the store
<symphorien>
jonreeve: does /nix/var/nix/profiles/per-user/root/channels/nixos exist ?
<jonreeve>
symphorien: Yep. And has lots of stuff in it.
<symphorien>
then this is pussling
<symphorien>
*puzzling
<symphorien>
is it readable by your user ?
<jonreeve>
I think so? It seems to have a lot of permissions: lrwxrwxrwx 1 root root 55 Dec 31 1969 /nix/var/nix/profiles/per-user/root/channels/nixos -> /nix/store/9c5z6l8wvbjifkz92jf6h1g1ahb1nfgq-nixos/nixos
<jonreeve>
Don't know why the file was created in 1969, though.
<symphorien>
everything in the store is so
dbmikus__ has joined #nixos
<jonreeve>
And on New Year's eve, no less.
<nbathum>
indeed
<symphorien>
for reproducibility's sake
<jonreeve>
Ah cool
<nbathum>
so that different dates don't impact things
<jonreeve>
Here are some weird things I noticed: 1) I've been seeing this error sometimes: `warning: Nix search path entry '$HOME/.nix-defexpr/channels' does not exist, ignoring`
<jonreeve>
2) The folder ~/.nix-defexpr/channels/nixpkgs is apparently a link to itself
<jonreeve>
Strangely when I run `sudo nix-channel --update` I get "warning: Nix search path entry '$HOME/.nix-defexpr/channels' does not exist, ignoring"
<jonreeve>
But running `ls ~/.nix-defexpr/channels` gives: `binary-caches manifest.nix nixpkgs`
witchof0x07 has joined #nixos
witchof0x20 has quit [Ping timeout: 250 seconds]
witchof0x07 is now known as witchof0x20
Fare has joined #nixos
<symphorien>
it's because $HOME is not expanded by nix
<jonreeve>
Ah. How can I change that?
<clever>
jonreeve: use `sudo -i` and then `nix-channel --update`
<jonreeve>
Oh weird, that worked
<clever>
it runs bash in a different mode
<jonreeve>
Should I not be running `sudo nix-channel --update`?
<clever>
i avoid that, and just keep a root shell open
<clever>
darwin even sets the wrong $HOME and acts on the wrong user
<gchristensen>
specifically, it doesn't update HOME
<jonreeve>
Oh wow
<jonreeve>
So it seems I'm still on two different channels: `nix-info` gives: system: "x86_64-linux", multi-user?: yes, version: nix-env (Nix) 2.0.4, channels(root): "nixos-18.09pre149415.8395f9aa85e", channels(jon): "nixpkgs-18.03.133086.c1ef96ebdbd", nixpkgs: /home/jon/.nix-defexpr/channels/nixpkgs
<jonreeve>
But `nix-channel --list` as a regular user doesn't list anything
<jonreeve>
I updated channels in the root terminal, too
Xyliton has joined #nixos
vilhalmer has joined #nixos
<Xyliton>
Where do I get opencl libs from on nixos? I can't seem to find anything on this
aanderse has joined #nixos
<kalbasit[m]>
I'm getting a weird error trying to use Bazel on Mac (works on NIxOS): `external/com_google_protobuf/src/google/protobuf/util/delimited_message_util.h:7:10: fatal error: 'ostream' file not found`
<jonreeve>
clever: Cool, the command is still running. I'm guessing it's supposed to take quite a while?
mayhewluke has quit [Ping timeout: 272 seconds]
<clever>
jonreeve: yeah
Xyliton has quit [Quit: Lost terminal]
bigvalen has joined #nixos
<nikki93>
does anyone here develop in commmon lisp on nixos?
mayhewluke has joined #nixos
<jonreeve>
clever: That command seemed to complete with no errors (or other outputs).
<clever>
jonreeve: what about the output of `echo $NIX_PATH` and `nix-instantiate --find-file nixpkgs` ?
<jonreeve>
NIX_PATH is `/home/jon/.nix-defexpr/channels:nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos:nixos-config=/etc/nixos/configuration.nix:/nix/var/nix/profiles/per-user/root/channels`
<jonreeve>
(Replaced ~/.nix-defexpr because it was causing errors)
<jonreeve>
And `nix-instantiate --find-file nixpkgs` returns `/home/jon/.nix-defexpr/channels/nixpkgs`
<clever>
jonreeve: ls -l ~/.nix-defexpr
<jonreeve>
lrwxrwxrwx 1 jon users 43 Aug 24 16:59 channels -> /nix/var/nix/profiles/per-user/jon/channels
<jonreeve>
lrwxrwxrwx 1 jon users 44 Aug 24 16:32 channels_root -> /nix/var/nix/profiles/per-user/root/channels
rauno has quit [Ping timeout: 264 seconds]
<clever>
ls -l /nix/var/nix/profiles/per-user/jon/channels
<jonreeve>
lrwxrwxrwx 1 jon users 15 Aug 24 16:59 /nix/var/nix/profiles/per-user/jon/channels -> channels-5-link
<clever>
ls -l /nix/var/nix/profiles/per-user/jon/channels/
<clever>
jonreeve: yeah, i would just rm channels like you said above
growpotkin has joined #nixos
<{^_^}>
[nixpkgs] @etu opened pull request #45608 → nixos/gitea: Always copy gitea locales to match running gitea version → https://git.io/fAq09
<growpotkin>
Hey this is a dumb one, i forgot how to convert ints to strings
<clever>
> toString 42
<{^_^}>
"42"
<growpotkin>
ty
<growpotkin>
lol
<growpotkin>
can't believe I needed that refresher >.<
<gchristensen>
no worries
<nikki93>
hey all -- i'm running sbcl with quicklisp and trying to load (for example) cl-sdl2 in it raises an error that basically boils down to "could not find libSDL2-2.0.so.0"
<nikki93>
which makes sense -- it isn't in any of the usual directories
<nikki93>
what i'm wondering is how i could set up something like a nix-shell to run sbcl in where it can find these libs
aanderse-laptop has joined #nixos
aanderse has quit [Ping timeout: 264 seconds]
<nikki93>
it's not like a C/C++ compiler so i don't think i can use the usual stdEnv mkDerivation stuff?
<jonreeve>
clever: Awesome, that seemed to work. Now nix-info shows `system: "x86_64-linux", multi-user?: yes, version: nix-env (Nix) 2.0.4, channels(root): "nixos-18.09pre149415.8395f9aa85e", nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos`
<infinisil>
nikki93: It migth just work, worth a try
<nikki93>
infinisil: ok cool -- `nix-shell -p SDL2` and then try it?
<infinisil>
I usually prefer writing a shell.nix file, will be easier to extend later
<infinisil>
But sure, that might work
<nikki93>
any quick example of such a shell.nix file?
<nikki93>
for exampl ei've done something like this before
<nikki93>
this was the env for a C/C++ project i was working on that i would do a `nix-shell` into and then just manuall cmake / make etc.
<nikki93>
would i just be saying buildInputs in this shell.nix file
<infinisil>
nikki93: A basic one can be just "with import <nixpkgs> {}; stdenv.mkDerivation { name = "foo"; buildInputs = [ SDL2 ]; }'
<nikki93>
sweet
<philipp[m]>
Trying to close down on an issue: Anybody here that already player around wifh proton (new steam play) and had issues with the games not capturing the input properly on nixos?
<jonreeve>
How should I update the packages handled by home-manager? (I.e. those listed in `home-manager packages`?)
<jonreeve>
I've tried `nix-env -p home-manager -u` but nothing really seems to happen
<nikki93>
infinisil: doesn't work unfortunately :(
Denommus` has quit [Read error: Connection reset by peer]
<clever>
mkShell is just a helper function to call mkDerivation, and give giant errors if you try to nix-build it
<nikki93>
infinisil: i figurd it out
<nikki93>
this is what i needed: with import <nixpkgs> {}; stdenv.mkDerivation rec {name = "sbcl-env"; LD_LIBRARY_PATH = stdenv.lib.makeLibraryPath [SDL2 libGLU_combined];}
<nikki93>
the LD_LIBRARY_PATH is what matters to it
<kalbasit[m]>
clever: yea, I'm aware of that but I did not expect bazel to break on Mac but work on NixOS :)
<nikki93>
infinisil: how would you suggest i just have a command `sbcl` now that has this LD_LIBRARY_PATH?
__monty__ has quit [Quit: leaving]
<nikki93>
could i just do an overrideAttrs in my configuration.nix
<clever>
kalbasit[m]: its more that darwin nixpkgs doesnt have gcc by default, and you must obey $CC to use clang
<kalbasit[m]>
I see
rnhmjoj[m] has joined #nixos
<rnhmjoj[m]>
i want to set the permission of a directory from the systemd configuration. is there a proper way or should i just write a service that does that?
<rnhmjoj[m]>
*system
<infinisil>
nikki93: I think LD_LIBRARY_PATH is usually a last resort and has some problems, but if it works that's nice :)
<nikki93>
yeah i think here it's maybe ok cuz it's just a runtime search of .sos thing
<nikki93>
will run with it for now :O
<clever>
rnhmjoj[m]: if you set PermissionsStartOnly, then the User= only applies to ExecStart, and ExecPreStart wont obey User=
<infinisil>
nikki93: You could instead of installing the original package, wrap it with this LD_LIBRARY_PATH env var set
<clever>
rnhmjoj[m]: so the pre-start has root and can do chown/chmod
<{^_^}>
[nixpkgs] @wucke13 opened pull request #45609 → apmplanner2: fixed wrong path in .desktop file → https://git.io/fAqVe
wucke13 has quit [Quit: WeeChat 2.0]
emacsomancer has quit [Quit: WeeChat 2.2]
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
Fare has joined #nixos
<growpotkin>
hey im playing around in nix repl, I want to run a mkMerge test. once I call mkMerge I end up with a '{ _type= "merge"; contents = [...]; }'
<growpotkin>
How can i get it to actually apply the merge?
<growpotkin>
is there an eval function or something?
<fresheyeball>
growpotkin: good question
<clever>
growpotkin: you need to put them into a nixos module, and run the module framework over it
<clever>
its usually simport to just put them into a configuration.nix, and run `nix repl '<nixpkgs/nixos>' -I nixos-config=./configuration.nix`
chrisaw has joined #nixos
emacsomancer has joined #nixos
derped has joined #nixos
<growpotkin>
thank you <3
peel has quit [Quit: Connection closed for inactivity]