gchristensen changed the topic of #nixos to: The Nix Ecosystem, https://nixos.org | NixOS: https://nixos.org/nixos/download.html | Nix: https://nixos.org/nix/download.html | Logs: https://logs.nix.samueldr.com/nixos/ | #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat
jluttine has quit [Ping timeout: 246 seconds]
tyrion-mx has quit [Remote host closed the connection]
crupier has joined #nixos
lunik1 has quit [Read error: Connection reset by peer]
lunik1 has joined #nixos
kleisli has joined #nixos
crupier has quit [Remote host closed the connection]
nyx_ has joined #nixos
<nyx_> hello how do i override nvidia driver patches?
<nyx_> i have this in my overlay but it doesn't work: https://paste.sh/lW9Y2B6b#rmkriYZq-JF3KmNYza3WvF85
ekleog has quit [Quit: back soon]
ng0 has quit [Quit: Alexa, when is the end of world?]
justanotheruser has quit [Ping timeout: 240 seconds]
esporic has joined #nixos
alex`` has joined #nixos
ekleog has joined #nixos
<alex``> tilpner: It passed!
jgt1 has joined #nixos
<alex``> --option max-jobs 1 --option cores 1 was the solution
<kleisli> how can i start a nix-shell with packages from a local clone of nixpkgs?
<kleisli> nvm got it
jgt1 has quit [Ping timeout: 246 seconds]
<m15k> kleisli: How?
<kleisli> nix-shell <path-to-nixpkgs> -A <attr-path>
<kleisli> hmm i guess that's not exactly what i wanted
wildtrees has quit [Quit: Leaving]
<clever> kleisli: do you want a shell suitable for using X or building X?
<kleisli> a shell for using X
<clever> kleisli: then you want -p, which needs -I nixpkgs=/path to change it
<kleisli> i've just attempted a fix at an ocaml package, for example. and i want to test if it works
<kleisli> ah, thanks!
<clever> or do nix-build /path/to/nixpkgs -A foo
<clever> and then ./result/bin/foo
xkapastel has joined #nixos
jluttine has joined #nixos
judson_ has quit [Ping timeout: 245 seconds]
judson_ has joined #nixos
evanjs- has joined #nixos
mexisme has joined #nixos
mexisme has quit [Ping timeout: 240 seconds]
vonfry has joined #nixos
<nyx_> hello anyone know a solution to properly overriding nvidia drivers
kleisli has quit [Ping timeout: 245 seconds]
steshaw has joined #nixos
evanjs- has quit [Ping timeout: 276 seconds]
slyfox has joined #nixos
esporic has left #nixos [#nixos]
jgt1 has joined #nixos
jgt1 has quit [Ping timeout: 276 seconds]
alex`` has quit [Quit: WeeChat 2.6]
Okinan has quit [Quit: Konversation terminated!]
alex`` has joined #nixos
Okinan has joined #nixos
dbyte has quit [Read error: Connection reset by peer]
dbyte has joined #nixos
vonfry has quit [Quit: WeeChat 2.4]
t58 has quit [Quit: Leaving]
vonfry has joined #nixos
alex`` has quit [Quit: WeeChat 2.6]
iyzsong has joined #nixos
Okinan has quit [Quit: Konversation terminated!]
Okinan has joined #nixos
Okinan has quit [Client Quit]
Okinan has joined #nixos
ShaRose has joined #nixos
thc202 has quit [Ping timeout: 245 seconds]
felixfoertsch23 has joined #nixos
srl295 has quit [Quit: Connection closed for inactivity]
Okinan has quit [Quit: Konversation terminated!]
Okinan has joined #nixos
felixfoertsch has quit [Ping timeout: 265 seconds]
ToxicFrog has quit [Ping timeout: 246 seconds]
_ris has quit [Ping timeout: 258 seconds]
jgt1 has joined #nixos
jgt1 has quit [Ping timeout: 246 seconds]
vonfry has quit [Quit: WeeChat 2.4]
nikola_i has joined #nixos
evanjs- has joined #nixos
<detran> hello, I'm using i3 and it looks like all my gnome applications are missing some sort of icon library. Does anybody know how to fix that?
dbyte has quit [Read error: Connection reset by peer]
mexisme has joined #nixos
dbyte has joined #nixos
dbyte has quit [Read error: Connection reset by peer]
dbyte has joined #nixos
nikola_i has quit [Ping timeout: 245 seconds]
growpotkin has quit [Ping timeout: 245 seconds]
growpotkin has joined #nixos
mexisme has quit [Ping timeout: 276 seconds]
sk8forether has quit [Quit: Connection closed for inactivity]
ToxicFrog has joined #nixos
zacts has joined #nixos
felixfoertsch has joined #nixos
felixfoertsch23 has quit [Ping timeout: 246 seconds]
jgt1 has joined #nixos
jgt1 has quit [Ping timeout: 276 seconds]
xkapastel has quit [Quit: Connection closed for inactivity]
slyfox has quit [Quit: :)]
<li_matrix> is `nix copy-signs` supposed to work?
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
nyx_ has quit [Remote host closed the connection]
<sethetter> is there any easy way to set up a go env for a project with a go.mod file?
steshaw has quit [Quit: Connection closed for inactivity]
zacts has quit [Quit: WeeChat 2.4]
learningc has joined #nixos
<iqubic> What's the standard way to start a shell.nix file?
dbyte has quit [Read error: Connection reset by peer]
<clever> li_matrix: ive had it working
dbyte has joined #nixos
<clever> NIX_REMOTE=local?root=$UNPACK nix copy-sigs --all -s http://cache.nixos.org/
<clever> li_matrix: this is something ive done in the past
<clever> li_matrix: it downloads the sigs for everything currently in $UNPACK/nix/store, from cache.nixos.org
<m15k> I wonder if there's a way to get more information about: `warning: error(s) occurred while switching to the new configuration`?
<li_matrix> clever: yea thanks, its working now
fusion809 has joined #nixos
jgt1 has joined #nixos
lunik1 has quit [Quit: :x]
<iqubic> What's the right place to go to ask questions about Lorri?
<iqubic> Is it #lorri?
jgt1 has quit [Ping timeout: 245 seconds]
gentauro has quit [Ping timeout: 240 seconds]
mac10688 has joined #nixos
shibboleth has quit [Quit: shibboleth]
kleisli has joined #nixos
gentauro has joined #nixos
gentauro has quit [Ping timeout: 268 seconds]
vonfry has joined #nixos
vonfry has quit [Client Quit]
nuh^ has quit []
gentauro has joined #nixos
nehtrtns^ has joined #nixos
jaeckel has quit [Ping timeout: 245 seconds]
learningc has quit [Ping timeout: 276 seconds]
emptyflask has quit [Ping timeout: 268 seconds]
drakonis has quit [Quit: WeeChat 2.4]
polman has quit [Ping timeout: 245 seconds]
nikola_i has joined #nixos
Rusty1 has quit [Quit: Konversation terminated!]
polman has joined #nixos
jgt1 has joined #nixos
jaeckel has joined #nixos
<li_matrix> so nix-serve doesnt serve copied-over signatures?
<li_matrix> iv copied the sigs over, restart nix-daemon and nix-serve, the keys are trusted, and the client complains about missing sigs
<li_matrix> cleared the nix cache
<clever> li_matrix: correct, nix-serve pre-dates nix-daemon being able to store signatures
<clever> li_matrix: it will always re-sign things, as it serves them
jgt1 has quit [Ping timeout: 276 seconds]
<li_matrix> hu so how should i create a cloud cache?
<clever> li_matrix: nix copy can create a directory that contains signatures and can be served with any dumb http server
<li_matrix> youre saying i should reinvent my own cache server
<clever> li_matrix: what is your end goal?
<li_matrix> serve a store with copied-over signatures
<li_matrix> i dont trust the cache, which is the whole point of signatures
<clever> li_matrix: do you want to only serve things from cache.nixos.org, or also things that you built in your own /nix/store/ ?
<li_matrix> no its a private network, so theres no 'web access'
<li_matrix> but i dont trust the serving host
<clever> li_matrix: is all internet access thru a gateway? or is it 100% cut off?
<li_matrix> the point is that I have to deploy 100% of the services myself
<clever> li_matrix: sounds like you just want `nix copy --to local?root=/foo`
NightTrain has quit [Ping timeout: 240 seconds]
<clever> li_matrix: that lets you put a closure onto a usb stick, and then use it as a cache, or `nix copy` out of it again
<clever> it could also be an nfs mount
<li_matrix> this is all done through network
<li_matrix> the cache shouldnt have any ssh access to the pulling client
<li_matrix> but the client could have ssh access to the cache
<li_matrix> if `nix copy --from` would work
<li_matrix> basically the builders are to be consideder offline,
<li_matrix> so its only the untrusted cache serving on a private network
<clever> li_matrix: a second problem, is that if you want to build most things, you need internet to download the source to build it
<li_matrix> youre off the point
<li_matrix> im building things
<li_matrix> actually im hosting all the source
<li_matrix> im not talking about the builderst
<li_matrix> im trying to get clients to download their new closure
<li_matrix> from a cloud server which cant sign it
<li_matrix> but can reuse the builder's sigs
endformationage has quit [Quit: WeeChat 2.5]
<clever> the ssh://user@host based cache, should be able to read signatures from the nix database
<li_matrix> ok so i need to use ssh
<li_matrix> wel thats gonna be expensive
<li_matrix> i already encrypt the connection
<li_matrix> nix is still in the dark ages
<li_matrix> sigh thank thou clever for all the inputs
evanjs- has quit [Quit: ZNC 1.7.4 - https://znc.in]
<clever> the other option is to fix nix-serve, to have support for the new signature stuff
<li_matrix> ha, someone else can fix a perl piece of crap
<li_matrix> lol
felixfoertsch has quit [Quit: ZNC 1.7.3 - https://znc.in]
evanjs- has joined #nixos
<li_matrix> maybe ill write something one day,
felixfoertsch has joined #nixos
<clever> li_matrix: or re-write it in a better language
<li_matrix> it wont be http if i write it
<li_matrix> probably ipfs
<clever> that has other problems
<li_matrix> wheres the intensional store91
<clever> ipfs needs to know the hash of the product
<li_matrix> store!*
<clever> but the nix binary cache isnt using the hash of the product, its using the hash of the build directions
<clever> > "${hello}"
<li_matrix> yea yea i know
<clever> oh right, bot is down
<clever> so you need some kind of index, to map the hashes
<li_matrix> intensional store
<li_matrix> what i just said
<clever> yeah
<li_matrix> ok ill try ssh pulls for now
learningc has joined #nixos
learningc has quit [Ping timeout: 240 seconds]
vonfry has joined #nixos
m15k has quit [Ping timeout: 260 seconds]
<li_matrix> clever: doesnt the signature sign the output hash? it would be pretty useless otherwise. so therse no problem in using ipfs
<li_matrix> get the sigs, which can giv us the ipfs hash
evanjs- has quit [Ping timeout: 268 seconds]
<clever> li_matrix: the signature is over the narhash
<clever> li_matrix: which is just the hash of `nix-store --dump /nix/store/foo`
<aleph-> Stupid question, looking at the restic service definition. Where would I pass in env variables? For example my Backblaze bucket id and key? Doesn't look like it would be passed in under extraOptions and there's no specific entry for it.
<aleph-> Hmm, guess I can probably overlay it.
batzy has joined #nixos
<batzy> Hi I'm trying to install discord with nix-env -iA discord and I have added allowUnfree = true; do my config.nix file but I am still getting the same error to added allowUnfree = true; to the file
<batzy> what do I do
jgt1 has joined #nixos
<clever> Batzy: what path is config.nix at?
<clever> Batzy: what does `nix eval nixpkgs.config` return?
<batzy> { allowUnfree = true; }
<clever> Batzy: what about nix-env -iA nixos.discord?
<batzy> OH
<batzy> I was running it under sudo
<batzy> woops
<clever> Batzy: if you use sudo, then it uses the config.nix in /root/ instead
<batzy> clever, for some reason though I have discord in the configuration file, but it doesn't seem to be installed already?
<clever> if discord is in configuration.nix, then you want nixpkgs.config.allowUnfree = true;
<clever> and then nixos-rebuild switch to apply it
<batzy> Do I need to be sudo'd for that?
<clever> Batzy: also, the binary is called Discord
palo1 has joined #nixos
<clever> they like to make the guessing games hard
jgt1 has quit [Ping timeout: 246 seconds]
<clever> you may already have it installed, and have just been running the wrong command
<batzy> so do i want discord or Discord in my config?
<clever> discord in the config, but then run Discord to actually start it
<batzy> ok
<batzy> but you run nixos-rebuild switch as root usually, yes?
wfranzini has quit [Remote host closed the connection]
<clever> yes
wfranzini has joined #nixos
palo has quit [Ping timeout: 246 seconds]
palo1 is now known as palo
gagbo has quit [Ping timeout: 244 seconds]
orivej has quit [Ping timeout: 240 seconds]
phreedom_ has joined #nixos
<li_matrix> <clever "Li: which is just the hash of `n"> do you think thats secure?
<clever> li_matrix: what part of that isnt secure?
<li_matrix> i dont know enough to understand what that hash is
<li_matrix> you answered me
<li_matrix> you think it is
<clever> li_matrix: the nar is basically a tar, containing every file in the directory
<clever> and its then just the hash over that whole thing
<li_matrix> ok so thats what we put in ips
<li_matrix> ipfs*
<clever> there is still minor issues, like how ipfs uses a merkle hash, and nix uses a single hash
<li_matrix> actually thats what i would have done anyway
<clever> and needing a lookup table, between store-path hash, and ipfs hash
<li_matrix> sure there might be some conversion there
<clever> the hash cant really be converted
phreedom has quit [Ping timeout: 260 seconds]
<clever> you need to have the full nar file to generate either hash
<clever> my $fingerprint = fingerprintPath($storePath, $narHash, $narSize, $refs);
<clever> my $sig = signString($secretKey, $fingerprint);
<clever> $res .= "Sig: $sig\n";
<clever> thats how nix-serve is generating the signatures
<li_matrix> id probably redo the signature part
<li_matrix> thats what my main next project is all about
<li_matrix> signed messages
nehtrtns^ has quit []
justbeingglad has left #nixos [#nixos]
<li_matrix> i think this'll be my first subproject
<clever> this will return a string in the form of "1;/nix/store/hash-foo;<narhash>;<narsize>;<dependencylist>"
<batzy> hey clever one more: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
<clever> li_matrix: and the signing happens in c++, using libsodium
domogled has joined #nixos
<clever> Batzy: sounds like the package is broken, and youll need to wait for somebody to fix it, maybe file an issue on nixpkgs
<li_matrix> ill probably just sign a table mapping the nix path to an ipfs obj
<batzy> oh okay :C
<clever> li_matrix: have you looked at a narinfo file yet?
<li_matrix> not fresh
<li_matrix> my nix took a big leap lately
<li_matrix> so id look at it again
<clever> li_matrix: run this
<li_matrix> im getting sick of nix im doing so much of it :P
<li_matrix> thanks
<li_matrix> really see the lack of explicit types
<clever> the signature is over the string: "1;/nix/store/n9z80xrc7bidx5hcap2wvb5l9r2vk6y0-hello-2.10;1b80qjckhfhpfmjd8gr8zrkicvika8523hpids707fpj8wf4rw3c;205720;n9z80xrc7bidx5hcap2wvb5l9r2vk6y0-hello-2.10 xqs95fqkjb1kd102yjv5h5q57gcsafb3-glibc-2.27"
<clever> i think
<li_matrix> is it yaml?
<clever> li_matrix: a custom format
<clever> fairly simple
<li_matrix> lol
<li_matrix> yea just a colon per line
<clever> just a series of "key: value" pairs
<li_matrix> ill just reinvent my own signature scheme
<clever> li_matrix: my idea on what needs to be done for ipfs, is to just add one more field, the ipfs hash of the nar.xz
vika_nezrimaya has joined #nixos
<li_matrix> like whoever is working on a new CI said , something like 'reverse-engineering hydra was mostly a waste of time'
<batzy> What wireless manager do you guys use/
<clever> li_matrix: then you host a modified copy of the .narinfo, on a central http server
<li_matrix> Batzy: iwd
<clever> li_matrix: and users can choose to either fetch the URL: field, or the ipfs field
<li_matrix> try it, so fast
<batzy> ok
domogled has quit [Ping timeout: 265 seconds]
<li_matrix> i think upstream NM and conman are adding support for it
<li_matrix> clever: its ok clever, im not really into extending obsolete designs
<li_matrix> thanks thou
<li_matrix> my next project uses bincode for everything
<li_matrix> no more strings!
<clever> li_matrix: i think it would be much simpler if you just use nix copy, then to re-invent the signatures
<li_matrix> im doing it anyway
<li_matrix> thats where im heading
<li_matrix> the plan is to make unix obsolete in a few yrs
<clever> li_matrix: sounds like your from #osdev
<li_matrix> no im mostly thinking on my own
<li_matrix> no group think here
<li_matrix> nix-serve is pretty disapointing
<li_matrix> theres actually surprising little to do to achieve that goal. alan kay often said 100M USD would give us a proper OS, but probably almost the entirety of it would be just to decide what to do
jgt1 has joined #nixos
vika_nezrimaya has quit [Quit: ERC (IRC client for Emacs 26.3)]
<li_matrix> which iv already done
<li_matrix> rust really gets me there thou, and async is pretty much brand new, so in a sense its all setup to happen now
<li_matrix> i think most researchers make the mistake of assuming we have the optimal hardware architecture
jb55 has quit [Remote host closed the connection]
jb55 has joined #nixos
jgt1 is now known as jgt
batzy has quit [Ping timeout: 265 seconds]
iyzsong has quit [Read error: Connection reset by peer]
iyzsong has joined #nixos
[Leary] has quit [Remote host closed the connection]
Lears has joined #nixos
mexisme has joined #nixos
jb55 has quit [Quit: jb55]
mexisme has quit [Ping timeout: 246 seconds]
gyroninja has quit [Ping timeout: 268 seconds]
cinimod has joined #nixos
dermetfan has joined #nixos
cinimod has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
kleisli has quit [Ping timeout: 245 seconds]
cinimod has joined #nixos
Myhlamaeus1 has joined #nixos
kleisli has joined #nixos
cinimod_ has joined #nixos
dermetfan has quit [Ping timeout: 245 seconds]
steshaw_ has joined #nixos
cinimod_ has quit [Client Quit]
cinimod has quit [Ping timeout: 246 seconds]
domogled has joined #nixos
jD91mZM2 has quit [Quit: ZNC 1.7.3 - https://znc.in]
jD91mZM2 has joined #nixos
kleisli has quit [Ping timeout: 245 seconds]
domogled has quit [Ping timeout: 258 seconds]
vonfry has quit [Quit: WeeChat 2.4]
<li_matrix> clever: `nix copy --from` works, thanks
gyroninja has joined #nixos
boxdot1 has joined #nixos
<gyroninja> Is anyone working on fixing or know mitigations about fixing the tor browser bundle? It doesn't startup it's own tor daemon like it should be doing. Other than rolling back to an older generation is there something I can do?
<li_matrix> its fairly trivial to start the tor service
<gyroninja> Well I'm already running the tor daemon normally for other applications
<li_matrix> so you just setup a sock5 proxy on whatever browser
<li_matrix> its good to reuse the same tor connection
<li_matrix> better mixing
boxdot1 has quit [Client Quit]
boxdot1 has joined #nixos
<gyroninja> I'd prefer to have it setup like a normal installation using it's own daemon like normal
boxdot1 has quit [Client Quit]
boxdot1 has joined #nixos
<gyroninja> It's been working just fine until a recent update that broke it
<li_matrix> then override the expression to use older nixpkgs
growpotkin has quit [Quit: ZNC 1.7.4 - https://znc.in]
boxdot1 has quit [Client Quit]
boxdot1 has joined #nixos
boxdot1 has quit [Client Quit]
boxdot1 has joined #nixos
ixxie has joined #nixos
boxdot1 has quit [Client Quit]
boxdot1 has joined #nixos
boxdot1 has quit [Client Quit]
boxdot1 has joined #nixos
boxdot1 has quit [Client Quit]
boxdot1 has joined #nixos
wfranzini has quit [Remote host closed the connection]
boxdot1 has quit [Client Quit]
wfranzini has joined #nixos
boxdot1 has joined #nixos
boxdot1 has quit [Client Quit]
<gyroninja> I just went ahead and rolled back
<gyroninja> If anyone's curious it broke between 2019-09-02 00:38 and 2019-09-07 15:06
steshaw_ is now known as steshaw
<gyroninja> and I'm using the tor-browser-bundle-bin package
jb55 has joined #nixos
dongrappa has joined #nixos
jb55 has quit [Quit: jb55]
dermetfan has joined #nixos
dongrappa has quit [Quit: leaving]
justanotheruser has joined #nixos
knupfer has joined #nixos
dermetfan has quit [Ping timeout: 245 seconds]
justanotheruser has quit [Ping timeout: 265 seconds]
mexisme has joined #nixos
asymptotically has joined #nixos
mexisme has quit [Ping timeout: 245 seconds]
dermetfan has joined #nixos
dermetfan has quit [Ping timeout: 245 seconds]
o1lo01ol1o has joined #nixos
justanotheruser has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
cinimod has joined #nixos
ilikeheaps has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
lord| has quit [Ping timeout: 246 seconds]
cinimod has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
lord| has joined #nixos
knupfer has quit [Remote host closed the connection]
andgate has quit [Ping timeout: 260 seconds]
ixxie has quit [Ping timeout: 245 seconds]
mexisme has joined #nixos
steshaw has quit [Quit: Connection closed for inactivity]
domogled has joined #nixos
m15k has joined #nixos
domogled has quit [Ping timeout: 240 seconds]
o1lo01ol1o has joined #nixos
nikola_ has joined #nixos
avn has quit [Remote host closed the connection]
nikola_i has quit [Ping timeout: 245 seconds]
o1lo01ol1o has quit [Ping timeout: 246 seconds]
thc202 has joined #nixos
knupfer has joined #nixos
ng0 has joined #nixos
civodul has joined #nixos
alex`` has joined #nixos
tyrion-mx has joined #nixos
<tyrion-mx> Hello, does anybody know why even if I have `gnome3.gvfs.enable = true;` gvfs does not seem to be started automatically? What can I do to understand what is wrong?
hio has joined #nixos
dermetfan has joined #nixos
noudle has joined #nixos
Fendor has joined #nixos
<m15k> tyrion-mx Have you checked the corresponding systemd service?
<eyJhb> Is there any good way to cleanup old systemd files? I seems like switch does not do this
<infinisil> eyJhb: Which ones?
asymptotically has quit [Quit: Leaving]
<tyrion-mx> m15k inside the store the services are there: `/nix/store/xysqyqfp4hif5b354dpwr3cxysr05zp0-gvfs-1.38.2` , I am not sure where I should look for them in the system to see if they are linked
<eyJhb> infinisil: I am playing around with https://github.com/NixOS/nixpkgs/blob/5ea566dbddc8533ee391a8dabd5054088e388f4c/nixos/modules/security/acme.nix , and for some reason, even if I disable it (no config for security.acme), there are still acme-* services when doing systemctl status acme-<tab><tab>
<tyrion-mx> also the binaries are not linked in $PATH I am not sure it is normal
<infinisil> eyJhb: Are they in `systemctl --all`?
<eyJhb> infinisil: yes, I can see two of them in `systemctl --all`, but not all ... 5 I think that I can with status
<infinisil> And the two of them are supposed to be there?
<eyJhb> Nope, there shouldn't be any of them. It seems quite weird :/ - To give some background, I tried modifying it myself, and worked fine but noticed the PR. So now I have `disabledModules = [ "security/acme.nix" ];` and I import the `acme.nix` manually (the one I sent, which is part of a PR), and try to configure it. But before that, I would like a "clean" systemd services
<eyJhb> I dread saying that I am thinking about a restart
<eyJhb> Wait, I might be a idiot
<eyJhb> infinisil: if ever in Aalborg, I will give you a "kvaje bajer", I didn't notice I used `build` instead of `switch`.. Sorry for wasting your time
<infinisil> Hehe, no problem, glad I could be your rubber duck
<eyJhb> I should get my army of rubber duckies on the table.. :p
<eyJhb> However now it seems weird that I have to wait a day to get my initial certificates, there should be a "one-off", to beging with
<joepie91> so, I've finally figured out why my bluetooth audio has been broken since 19.03
<joepie91> turns out there has been a breaking configuration change that wasn't listed in the release notes
<joepie91> namely, you now need https://nixos.wiki/wiki/Bluetooth#Enabling_extra_codecs to get A2DP working
xkapastel has joined #nixos
<joepie91> (and entirely forget/remove and then repair your device, if it still doesn't register as an audio device)
<infinisil> eyJhb: You can start the acme services manually too I think
<joepie91> how are the release notes normally created? because this seems like a pretty significant oversight
<joepie91> (and a questionable default, but that's a separate matter)
boxdot1 has joined #nixos
<infinisil> joepie91: Do you have the commit that broke this?
<joepie91> infinisil: I do not, I only found out after desperately checking the wiki and finding that "since 19.03" note
<joepie91> previously A2DP was packaged/enabled by default since A2DP worked fine for me pre-19.03
<joepie91> exactly where/when it was changed, I don't know
esclear has quit [Ping timeout: 250 seconds]
<eyJhb> infinisil: thanks again :D
<infinisil> joepie91: I can imagine if a version update of some software caused this that it wouldn't be listed in the release notes
<joepie91> (the module package in question explicitly says in its description that it's for A2DP)
<joepie91> that's the modules pacvkage
<joepie91> package*
tyrion-mx has quit [Ping timeout: 260 seconds]
<joepie91> I'm guessing the first NixOS version it got rolled into was 19.03, given the original date of addition
<joepie91> but makes no mention of disabling A2DP by default
<joepie91> ping adisbladis, maybe you can shed some light on the history of this change?
<m15k> Any idea why this happens: `nix/store/52jlli1mfdmyan2f41781z870257fih0-nixos-system-nixos-19.03.git.359370b/init: line 170: exec: systemd: not found`?
_ris has joined #nixos
<eyJhb> m15k: seems weird, have you checked your store integrity?
<m15k> eyJhb: Basically I'm on an lxc guest. Which after a rebuild switch refuses to start again.
knupfer has quit [Quit: knupfer]
<eyJhb> How can I make two variables optional in a multiline text? This does not work, as it requires `webroot` to be set - https://github.com/NixOS/nixpkgs/blob/5ea566dbddc8533ee391a8dabd5054088e388f4c/nixos/modules/security/acme.nix#L246-L249 :/
knupfer has joined #nixos
<eyJhb> m15k: and you cannot.. Use a earlier build?
<eyJhb> Nvm :)
dermetfan has quit [Ping timeout: 265 seconds]
<m15k> I just wonder what might happend that this error occures. Basically the path needs to be screwed up?!
<m15k> When `/run/current-system` is symlinked?
Fendor has quit [Quit: Leaving]
tyrion-mx has joined #nixos
boxdot1 has quit [Quit: Leaving.]
boxdot1 has joined #nixos
chloekek has joined #nixos
tyrion-mx has quit [Remote host closed the connection]
__monty__ has joined #nixos
ixxie has joined #nixos
<m15k> Is there a way to config git author information via configuration.nix?
dermetfan has joined #nixos
<symphorien> m15k: for user wide things (as opposed to system wide) have a look at home-manager
<m15k> symphorien system wide would be fine for now
<symphorien> Does git have a system wide config file in /etc ?
risson has quit [Quit: Pouet. WeeChat 2.4]
<eyJhb> So you can use pkgs.writeTextFile to taht location
<eyJhb> I would assume
<m15k> eyJhb: Thansk!
risson has joined #nixos
<eyJhb> np :)
init_6 has joined #nixos
dbyte has quit [Ping timeout: 245 seconds]
boxdot1 has quit [Quit: Leaving.]
boxdot1 has joined #nixos
boxdot1 has quit [Client Quit]
boxdot1 has joined #nixos
boxdot1 has quit [Client Quit]
boxdot1 has joined #nixos
boxdot1 has quit [Client Quit]
boxdot1 has joined #nixos
boxdot1 has quit [Client Quit]
boxdot1 has joined #nixos
boxdot1 has quit [Client Quit]
boxdot1 has joined #nixos
boxdot1 has quit [Client Quit]
Soo_Slow has joined #nixos
Fendor has joined #nixos
Fendor has quit [Ping timeout: 268 seconds]
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
mexisme has quit [Ping timeout: 245 seconds]
lunik1 has joined #nixos
dbyte has joined #nixos
hyper_ch has quit [Read error: Connection reset by peer]
Ariakenom has joined #nixos
tyrion[m] has joined #nixos
hyper_ch has joined #nixos
dbyte has quit [Read error: Connection reset by peer]
arahael1 has joined #nixos
m15k has quit [Ping timeout: 260 seconds]
Arahael has quit [Ping timeout: 245 seconds]
tyrion[m] is now known as tyrion-mx
dermetfan has quit [Ping timeout: 265 seconds]
<tyrion-mx> Hello, is it possible to install riot-desktop even if it is not included in my release (19.03) but is on master?
Myhlamaeus2 has joined #nixos
<maralorn> tyrion-mx: Yes you can manually import pkgs from any nixpkgs-revision. There are many ways to achieve that, though.
<tyrion-mx> and will it make a mess with the rest of my system in the same way that pulling a package from debian unstable would?
<maralorn> tyrion-mx: No, not at all. I think the worst side-effect to expect would be that your nix store might grow because the dependencies in unstable have other version.
Myhlamaeus1 has quit [Ping timeout: 246 seconds]
<tyrion-mx> Umh, ok, worst case I uninstall it then :)
<maralorn> yep
<tyrion-mx> maralorn: is there a recommended way to install from master?
<maralorn> tyrion-mx: I am thinking about, which would be the easiest for you. Do you use home-manager (just ignore if you don‘t know it)? Do you wanna install with nix-env or declaratively in your configuration.nix?
<tyrion-mx> I do not use it, I using only configuration.nix so I have only to deal with one thing
<tyrion-mx> and since I am the only user on my machine I don't think there is so much of a difference
Myhlamaeus2 has quit [Remote host closed the connection]
<fgaz> Hi, I'm trying to run nix on a nfs4 filesystem, but I keep getting "error: preallocating file of 12935052 bytes: Not supported". Is there a way to tell nix not to use preallocation?
<maralorn> tyrion-mx: Oh, wait, that‘s actually a bit to complicated.
<tyrion-mx> maralorn: I noticed that riot-desktop is in 19.09 ... is 19.09 already out? maybe I can just upgrade the whole system
<maralorn> tyrion-mx: let unstable = import (fetchTarball "https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz") {}; in environment.systemPackages = [ unstable.riot-desktop ]
<maralorn> that should do it.
<maralorn> tyrion-mx: 19.09 will take a few more weeks.
o1lo01ol1o has joined #nixos
<maralorn> You could try bumping your channel know, but it‘s saver to wait for the release and the release notes. I believe quite a few packages are still broken on 19.09.
<maralorn> tyrion-mx: Note, that that solution is kinda impure because it will request the tarball everytime it‘s older than an hour (by default).
<maralorn> You could also add unstable to nix-channel and then use "import <unstable> {};" instead.
<tyrion-mx> nix-channel is something that nix-env uses or is it used also by configuration.nix ?
<maralorn> tyrion-mx: Both. But beware that nixos-rebuild only uses the nix-channel from the root user. So don‘t get confused when you add a channel without sudo.
<maralorn> Every user has their own list auf nix-channels.
dermetfan has joined #nixos
<tyrion-mx> Ok, so maybe I could add 19.09 to the list of channels for root and try to import that? What do you think?
<tyrion-mx> sorry if I am asking stupid questions, I am using nixos since a week :D
Myhlamaeus2 has joined #nixos
<maralorn> tyrion-mx: No, worries. There are a lot of concepts to understand at the beginning.
<maralorn> tyrion-mx: Yeah, that's a good solution.
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
<tyrion-mx> maralorn: Ok, I added the channel as `nixos1909`. Now how do I import it in configuration.nix? Should I do something similar to that stackoverflow question you linked?
<maralorn> tyrion-mx: let next = import <nixos1909> {}; in environment.systemPackages = [ next.riot-desktop ];
<maralorn> Something like that should do.
<maralorn> Make sure to run sudo nix-channel --update at least once before.
<tyrion-mx> Amazing thanks :)
b has joined #nixos
<maralorn> tyrion-mx: You‘re welcome.
ddellacosta has joined #nixos
<tyrion-mx> Do you maybe also know why gvfs is not starting even if I enabled its service?
<tyrion-mx> I have to mount usb sticks from the terminal in this way :|
o1lo01ol1o has quit [Remote host closed the connection]
<tyrion-mx> Here ( https://github.com/NixOS/nixpkgs/blob/release-19.03/nixos/modules/services/desktops/gnome3/gvfs.nix ) I see that it installs the package and enables services for dbus, udev and systemd
<tyrion-mx> However, I cannot see binaries in my $PATH (I am not sure how to check if the systemd,udev,dbus services have been linked or not)
wfranzini has quit [Remote host closed the connection]
<qubasa_> Does someone know how to mount over sshfs in nixos ?
bahamas has joined #nixos
<bahamas> hello. I'm trying to learn how to use nixops. I found this example of how to specify a service, but where do I find all the settings required by a specific service? https://nixos.org/nixops/
<bahamas> in my case, I want to use postgresql
o1lo01ol1o has joined #nixos
<tyrion-mx> bahamas: I am not sure if it applies also to nixops, but for nixos I use this: https://nixos.org/nixos/options.html
ambro718 has joined #nixos
domogled has joined #nixos
<bahamas> tyrion-mx: I found this which is a start https://nixos.wiki/wiki/PostgreSQL. although it doesn't show all options. I'll probably need to look in the nix file
ddellacosta has quit [Ping timeout: 258 seconds]
<obadz> nix-build -E 'with import <nixpkgs> { }; { a = runCommand "foo" { } "echo bar > $out"; b = runCommand "hello" { } "echo world > $out"; }' ⇒ produces results links result & result-1. Is there no way to have them named result-a and result-b given that I'm returning a set?
<maralorn> tyrion-mx: Sorry, I don‘t know much about that. I use udiskie and nautilus. That just works. But I install them via home-manager.
<__monty__> qubasa_: Not sure what you mean? Shouldn't be any different.
<qubasa_> __monty__ with an encrypted key
<__monty__> qubasa_: Still not sure what you mean you can specify a custom ssh command using `sshfs -o ssh_command`, usually you'd just make sure .ssh/config has the host entries you need.
dbyte has joined #nixos
dbyte has quit [Read error: Connection reset by peer]
<tyrion-mx> maralorn: no worries. Since the documentation of pcmanfm says to use gvfs if possible I thought of trying with it and then if it is too heavyweight on my system to switch to udiskie as well
<tyrion-mx> Anyway I put my question here if somebody wants to help: https://discourse.nixos.org/t/gvfs-does-not-start-automatically/4029
<qubasa_> __monty__: I am sorry I did not express myself clearly how do I mount over sshfs with fileSystems.<name?>
rpg has joined #nixos
<__monty__> qubasa_: Tbh, I'd recommend setting up nfs for such a permanent usecase. Maybe you can puzzle together how to do it from the last comment here: https://github.com/NixOS/nixpkgs/issues/46529
<qubasa_> __monty__: Alright thanks I will look into it
<qubasa_> !
boxdot1 has joined #nixos
bahamas has quit [Ping timeout: 245 seconds]
hmpffff has joined #nixos
hmpffff_ has joined #nixos
emacsomancer has joined #nixos
Mateon2 has joined #nixos
emacsomancer has quit [Client Quit]
emacsomancer has joined #nixos
hmpffff has quit [Ping timeout: 240 seconds]
orivej has joined #nixos
Mateon1 has quit [Ping timeout: 276 seconds]
Mateon2 is now known as Mateon1
<eyJhb> How is it that I can include something like `imports = [ <nixos-unstable>[modules/services...] ];`, can't remember syntax
<emily> <nixos-unstable/modules/services/...>
<emily> assuming nixos-unstable is in your NIX_PATH
<eyJhb> Thanks emily ! :)
<emily> it's a bit of an odd syntax
<emily> I always expect it to be <nixos-unstable>/...
<eyJhb> emily: Somewhat the same, I wanted it to be OUTSIDE of <nixos-unstable>
turtlerabbit has joined #nixos
<eyJhb> I am getting so sick of Plex atm
<turtlerabbit> I just got on Nixos 19.03 but was disappointed by Telegram client only being version 1.5.15. Is there something I can do about that?
<Yaniel> instable has 1.8
<Yaniel> unstable*
<emily> you can use the package from nixos-unstable, or just use nixos-unstable
<eyJhb> Would not suggest running nixos-unstable, breaks often and requires lots of rebuilding
<eyJhb> But you can
<turtlerabbit> How can I get the newer package?
<Yaniel> I've been mostly fine with nixos-unstable, then again I came over from arch linux
<rotaerk> hmm what was that linux tool that lets you run a program within it, and it will show information about that program searching for shared libraries and such
nikola_ has quit [Ping timeout: 245 seconds]
<Yaniel> strace?
<Yaniel> or ldd
<rotaerk> ahh that's it; thanks
<obadz> Is there an easy way to transform a derivation changing only the outputName?
<eyJhb> Yaniel: yeah, with --rollback one should be fine
<Yaniel> as long as you've kept enough generations around
<eyJhb> turtlerabbit: add the channel using nix-channel (as root (sudo)), and then you can override the package
Soo_Slow has quit [Remote host closed the connection]
<turtlerabbit> Add the channel alongside 19.03?
Soo_Slow has joined #nixos
<eyJhb> I would link to my dotfiles, but they are quite offline
<eyJhb> Yeah, add it as nixos-unstable (that's what I am doing)
<emily> turtlerabbit: basically you need to add the nixos-unstable channel, whether in your configuration.nix or using the nixos channel machinery, and then you can just do nixos-unstable.thepackageyouwant in your systemPackages or with nix-env
<emily> ah, eyJhb will know the details better than me
<emily> (I just run -unstable)
<turtlerabbit> Oh wow. That sounds more intuitive than I expected
<turtlerabbit> How would you add a channel via configuration.nix?
<eyJhb> emily: I you sure you can do that in systemPackages? Else I am getting fairly screwed with my setup
<eyJhb> fetchTar I would assume
<tyrion-mx> Anyone here doing python development on nixos wants to share how they are doing it? I am finding it a bit hard to understand. We don't have pyenv which was what I was using before ..
<obadz> ^^^ answering myself ⇒ // { outputName = "blah"; } seems to do the trick
<turtlerabbit> emily: How would I do "add the nixos-unstable channel, in your configuration.nix"?
gxt has quit [Remote host closed the connection]
<eyJhb> turtlerabbit: why do you want it in your configuration.nix?
<rotaerk> hmm, guess for *this* what I wanted was LD_DEBUG=libs
greizgh has joined #nixos
dm9 has joined #nixos
boxdot1 has quit [Quit: Leaving.]
<turtlerabbit> eyJhb: I'm just curious, because I know the other way but not this one
rpg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<eyJhb> turtlerabbit: It's some fetch fun, but I can't remember :)
<turtlerabbit> Thanks :)
dbyte has joined #nixos
dbyte has quit [Read error: Connection reset by peer]
evanjs- has joined #nixos
gxt has joined #nixos
<turtlerabbit> What is the version policy actually? Will telegram 1.8 eventually make it to 19.03 or will that be another release?
<emily> 19.09 is coming soon so I expect it'll just be in there
<emily> turtlerabbit: you can fetch the tarball/etc. in your configuration.nix and import it directly
<emily> Or have your own git checkout of the channel and just put it in NIX_PATH
<emily> (that's what I do; I don't use the channels or nix-env machinery at all)
evanjs- has quit [Client Quit]
evanjs- has joined #nixos
domogled has quit [Ping timeout: 268 seconds]
<greizgh> Hello there, do you know if there is something equivalent to callPackages with libsForQt5 ?
jgt has quit [Ping timeout: 276 seconds]
ddellacosta has joined #nixos
iyzsong has quit [Ping timeout: 246 seconds]
misuzu has quit [Remote host closed the connection]
misuzu has joined #nixos
evanjs- has quit [Ping timeout: 245 seconds]
init_6 has quit []
boxdot1 has joined #nixos
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
Fendor has joined #nixos
Fendor has quit [Read error: Connection reset by peer]
Fendor has joined #nixos
kleisli has joined #nixos
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
jgt has joined #nixos
boxdot1 has quit [Quit: Leaving.]
jgt has quit [Ping timeout: 245 seconds]
zacts has joined #nixos
<rotaerk> sigh. time to track down another library loading bug caused by an upgrade of NixOS
<eyJhb> rotaerk: well, at least it isn't windows
<rotaerk> weird thing is that after the upgrade, when building my GLFW bindings, it can't find libGL.so (even though its path is in LD_LIBRARY_PATH), but before the upgrade, it didn't even *try* to find that
<Yaniel> add /run/opengl-driver/lib to LD_LIBRARY_PATH?
<rotaerk> my upgrade is the first after 6 months, so something probably changed
<rotaerk> is that something that was changed in the past 6 months or so?
<Yaniel> I've had to do that recently for pretty much anything GPU-related to work
<rotaerk> hmm, k I'll try
<Yaniel> apparently it used to happen by default but no longer does
<rotaerk> didn't work. the weird thing is that LD_DEBUG seems to indicate it's not even looking at LD_LIBRARY_PATH for this
penguwin has joined #nixos
<Ralith> Yaniel: that's not how you're supposed to do it anymore
<Ralith> rotaerk: is an OpenGL implementation in your `buildInputs`?
<rotaerk> I have libGL in my build inputs list
<Ralith> is your build system actually using them?
<Ralith> what actual error are you getting?
<Yaniel> Ralith: nobody has told me *how* I am supposed to do it either
<rotaerk> that's my shell.nix
<rotaerk> and the error is: can't load .so/.DLL for: libGL.so (libGL.so: cannot open shared object file: No such file or directory)
<Ralith> rotaerk: is that when you try to build your program or run it?
<rotaerk> build
<rotaerk> I'm building with `cabal new-build`
<Ralith> I don't know anything about cabal. What's the linker command line?
<rotaerk> not sure how to determine that
growpotkin has joined #nixos
dermetfan has quit [Ping timeout: 268 seconds]
<rotaerk> I might need to ask haskell people about possible changes in cabal's behavior
endformationage has joined #nixos
ddellacosta has quit [Ping timeout: 245 seconds]
<rotaerk> nope; the version of cabal hasn't changed, before and after the nixos upgrade
drakonis has joined #nixos
tg has quit [Ping timeout: 246 seconds]
hark has quit [Ping timeout: 246 seconds]
puck has quit [Ping timeout: 246 seconds]
<Ralith> Yaniel: these days you just link libglvnd directly
vika_nezrimaya has joined #nixos
ddellacosta has joined #nixos
adelbertc has joined #nixos
mexisme has joined #nixos
zacts has quit [Quit: WeeChat 2.4]
<adelbertc> what is the thing i need to do to tell Nix to register a package under a different "index" ? For instance I have a `neovim = self.neovim.override { ... }` in an overlay that I use to install my custom configuration, but whenever a new Neovim is available through Nixpkgs and I do a `nix-env --upgrade` my configuration gets overridden because they both appear as `neovim` in the index.
mexisme has quit [Ping timeout: 246 seconds]
knupfer has quit [Ping timeout: 245 seconds]
ddellacosta has quit [Ping timeout: 268 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
<adelbertc> ah you need to change the name in the derivation, not the attribute name
gxt has quit [Quit: WeeChat 2.6]
mac10688 has quit [Ping timeout: 265 seconds]
jgt has joined #nixos
jgt has quit [Ping timeout: 276 seconds]
endformationage has quit [Ping timeout: 265 seconds]
<rotaerk> how would I go about diagnosing why LD_LIBRARY_PATH is being ignored?
<rotaerk> http://ix.io/1V9A pulled this from my LD_DEBUG=libs output
jgt has joined #nixos
<rotaerk> it is searching the RUNPATH from the compiler for libGL ... not LD_LIBRARY_PATH
zacts has joined #nixos
<rotaerk> is there something that would tell it *not* to search LD_LIBRARY_PATH?
omnipotententity has joined #nixos
<omnipotententity> How do I tell a nix.shell file to use a specific folder as the nixpkgs root, (equivalent to nix-env -f)
<omnipotententity> There should have been a question mark on that last line somewhere.
jgt has quit [Ping timeout: 276 seconds]
<__monty__> omnipotententity: In the file you just import something other than `<nixpkgs>`.
<rotaerk> you mean shell.nix?
<__monty__> I think nix-shell takes an -f argument too, fwiw.
<omnipotententity> @__monty__, thanks, @rotaerk yeah, derp.
<omnipotententity> so I'd import ~/file/path?
<rotaerk> yeah, <nixpkgs> is just a symbolic filepath, so replace it with an explicit one
<Yaniel> Ralith: at build time?
<Yaniel> how do I write that in a package
<Yaniel> and how does it work with vulkan
<Yaniel> (so I get rid of the errors about libnvidia-glvkspirv.so not being found)
felixfoertsch has quit [Ping timeout: 246 seconds]
Myhlamaeus3 has joined #nixos
captn3m0- has quit [Ping timeout: 240 seconds]
captn3m0 has joined #nixos
Myhlamaeus2 has quit [Ping timeout: 240 seconds]
o1lo01ol1o has joined #nixos
chris__ has joined #nixos
chris__ has quit [Client Quit]
o1lo01ol1o has quit [Ping timeout: 245 seconds]
rpg has joined #nixos
ng0 has quit [Quit: Alexa, when is the end of world?]
felixfoertsch has joined #nixos
rpg has quit [Client Quit]
PHREAQuency has joined #nixos
<rotaerk> Ralith, got some help from someone in #haskell. turns out for *building* I should be using LIBRARY_PATH, not LD_LIBRARY_PATH, and I need to make sure my shell.nix exports it
<rotaerk> that resolved the problem
<rotaerk> weird thing is, before the nixos upgrade, I didn't have to do that. I only had LD_LIBRARY_PATH set (and not exported), and libGL.so was found
<rotaerk> wonder what changed to cause that...
felixfoertsch has quit [Ping timeout: 276 seconds]
felixfoertsch has joined #nixos
<obadz> do we have somewhere a history of all git commits that were pushed to stable & unstable channels?
<obadz> (I want to bisect but only hit stuff that is in hydra cache)
vika_nezrimaya has quit [Ping timeout: 240 seconds]
<obadz> I guess https://hydra.nixos.org/job/nixos/trunk-combined/tested/all kind of has that but is there anything better?
<fresheyeball> how can I see the source for a drv?
<obadz> fresheyeball: the source of what?
<fresheyeball> I run nix-instantiate and get a drv path
<fresheyeball> I want to inspect the source
Melkor333 has joined #nixos
<fresheyeball> like nix-diff but with no diff
<obadz> I don't know what nix-diff does
<obadz> cat the drv?
<fresheyeball> it compares 2 drvs and tells you what is different
<obadz> right, so if you don't want the diff, maybe cat the drv file?
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
jgt has joined #nixos
<symphorien> fresheyeball: nix show-derivatoin
<symphorien> but cat also works, it is just less pretty
<fresheyeball> symphorien: how can I find the source?
<selfsymmetric-mu> "ahh, let's see how that rebuild is going"
<selfsymmetric-mu> "[136/20994] CXX obj/base/allocator/tcmalloc/malloc_extension.o"
chris__ has joined #nixos
<selfsymmetric-mu> "okay"
<symphorien> fresheyeball: nix show-derivation foo.drv, or I don't understand what you mean
o1lo01ol1o has joined #nixos
<fresheyeball> symphorien: so I specify a src of files for my build
<fresheyeball> right now it should be rebuilding but its not
<fresheyeball> I may have filtered overly aggressively
<symphorien> well the drv should read "src = some path"
<fresheyeball> I just want to see a directory showing what files it considers soruce
<chris__> I'm having a tricky issue with Haskell's ghci. Essentially when calling a executable, the PATH env var does not have `/home/chris/.nix-profile/bin/` within it.. It seems to get removed somehow? And a bunch of other directories are added to the PATH env. Any pointers what I could investigate?
jgt has quit [Ping timeout: 245 seconds]
tg has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
PHREAQuency has quit [Quit: KVIrc 4.9.3 Aria http://www.kvirc.net/]
newbie84 has joined #nixos
hark has joined #nixos
Chiliparrot has joined #nixos
rpg has joined #nixos
dm9 has quit [Quit: WeeChat 2.6]
rpg has quit [Client Quit]
<tyrion-mx> Does anybody know how do I enable sway ? I put `programs.sway.enable = true;` but then I don't have the option to select it upon login
newbie84 has quit [Quit: KVIrc 4.9.3 Aria http://www.kvirc.net/]
dbyte has joined #nixos
gxt has joined #nixos
risson has quit [Quit: Pouet. WeeChat 2.4]
dbyte has quit [Read error: Connection reset by peer]
o1lo01ol1o has joined #nixos
risson has joined #nixos
<worldofpeace> which Display manager are you using tyrion ?
<tyrion-mx> worldofpeace: I am trying to figure it out, but I have no idea ... the default one?
<worldofpeace> tyrion: that's lightdm, IIRC it has issues with wayland sessions. Could you try a different one? Perhaps sddm, or gdm.
ddellacosta has joined #nixos
<tyrion-mx> yes, sure. I just try to install and enable a different display manager and it should automatically find sway?
emacsomancer has quit [Read error: Connection reset by peer]
<tyrion-mx> I am trying with sddm
<worldofpeace> tyrion: yep, services.xserver.displayManager.sddm.enable or services.xserver.displayManager..gdm.enable
emptyflask has joined #nixos
qqlq has joined #nixos
<worldofpeace> hmm, I think it appears the sway module doesn't include display manager integration
<worldofpeace> which is strange, we support upstream wayland sessions now
<tyrion-mx> yeah, I rebooted but I didn't get the option to use sway
knupfer has joined #nixos
<worldofpeace> it's a long shot if it works, but you could try services.xserver.displayManager.extraSessionFilePackages = [ pkgs.sway ];
bahamas has joined #nixos
ng0 has joined #nixos
<tyrion-mx> Ok
hark has quit [Ping timeout: 246 seconds]
<tyrion-mx> I was having a look at https://github.com/NixOS/nixpkgs/blob/release-19.03/nixos/modules/services/x11/window-managers/i3.nix to understand the differences with sway, and I saw that i3 defines `services.xserver.windowManager.session` while sway does not
hark has joined #nixos
Ralith_ has quit [Ping timeout: 268 seconds]
<worldofpeace> yeah .extraSessionFilePackages is for upstream wayland-sessions which sway appears to use
jtojnar has quit [Quit: jtojnar]
<tyrion-mx> worldofpeace: it worked :D
fresheyeball has quit [Quit: WeeChat 2.4]
<worldofpeace> hmm, someone should really improve the sway module then. guess all the pieces are there.
<omnipotententity> Is there an already packaged package manager that I can look at? I'm trying to package ROS and one of the things that a ROS distribution includes is a program called rosdep which seems to crib hard from dpkg and apt. I'm trying to figure out where the most normal place to put that sort of stateful data is in NixOS.
chris__ has quit [Quit: Lost terminal]
boxdot has quit [Read error: Connection reset by peer]
boxdot has joined #nixos
<omnipotententity> looks like apt and dpkg are actually
o1lo01ol1o has quit [Remote host closed the connection]
<omnipotententity> It doesn't look like nix tries to put their data in any particular place. Ok.
ddellacosta has quit [Ping timeout: 246 seconds]
jgt has joined #nixos
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
nfip^ has joined #nixos
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
jgt has quit [Ping timeout: 246 seconds]
<tyrion-mx> worldofpeace: should I remove xserver.enable = true?
zacts has quit [Quit: WeeChat 2.4]
<ashkitten> extraModprobeOptions works on modules included in the initrd, yeah?
bahamas has quit [Quit: leaving]
adelbertc has quit [Quit: Connection closed for inactivity]
selfsymmetric-mu has quit [Remote host closed the connection]
zupo has joined #nixos
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pikajude has quit [Quit: Leaving]
<ashkitten> oh, there's an issue about this that's been open 3 years
<ashkitten> sigh...
Myhlamaeus3 has quit [Remote host closed the connection]
selfsymmetric-mu has joined #nixos
<selfsymmetric-mu> I just hopped over to 19.09-small and stabilized all my `unstable` imports. Everything's working great so far! Thanks, NixOS team. :)
zupo has joined #nixos
o1lo01ol1o has joined #nixos
zupo has quit [Client Quit]
zupo has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
jgt has joined #nixos
vika_nezrimaya has joined #nixos
selfsymmetric-mu has quit [Remote host closed the connection]
Fare has joined #nixos
jgt has quit [Ping timeout: 246 seconds]
bhipple has joined #nixos
vikingman8 has joined #nixos
vikingman8 is now known as Vikingman
<bhipple> Any chance I can get someone to take a look at https://github.com/NixOS/nixpkgs/pull/64422? I had implemented all of Fridh's PR feedback and think it ought to be mergeable
<Vikingman> someone know how to set refresh rate of a monitor in the configuration
kleisli has quit [Ping timeout: 245 seconds]
<Vikingman> i need to set vga-1 to 60hz
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jtojnar has joined #nixos
jgt has joined #nixos
<emily> what nixpkgs job name is the installer CD? they're built for nixos-unstable, right?
<emily> just trying to find the latest unstable installer on hydra
bhipple has quit [Ping timeout: 246 seconds]
bhipple has joined #nixos
jgt has quit [Ping timeout: 245 seconds]
<samueldr> emily: if you want the latest installer for the latest channel update for unstable, scroll to the bottom https://nixos.org/nixos/download.html
<samueldr> the link goes to https://nixos.org/channels/nixos-unstable
<samueldr> though, it's *also* available on hydra as part of nixos:trunk-combined https://hydra.nixos.org/jobset/nixos/trunk-combined#tabs-jobs
<samueldr> search for `iso` on the page
<emily> right, i just found it after asking :)
<samueldr> where you will have the "new_kernel" variant which isn't available from the download page
<emily> yeah I wanted that variant in fact :3
<emily> thank you!
<samueldr> make sure to download x86_64 unless you wanted aarch64 :)
jgt has joined #nixos
kleisli has joined #nixos
evanjs- has joined #nixos
Ariakenom_ has joined #nixos
Ariakenom has quit [Ping timeout: 268 seconds]
m15k has joined #nixos
Fendor has quit [Ping timeout: 240 seconds]
<m15k> Can someone tell me when `/run/current-system` is symlinked? During rebuild switch or during boot?
argent0 has joined #nixos
<eyJhb> Does the order of imports matter?
<eyJhb> m15k: both
<m15k> eyJhb: So the symlink is created during boot?
<eyJhb> I would assume both when you switch, and boot. As you can change config at boot etc.
<eyJhb> But why are you asking? :)
<eyJhb> Maybe not, not quite sure now
<eyJhb> I would assume one of the stages would do it
<m15k> Still trying to get lxc guest to rebuild switch + get a little bit more into NixOS.
<m15k> Yeah but would make sense, since you can choose config during boot.
<eyJhb> m15k: `switch-to-configuration.pl`, might answer it
<eyJhb> But yeah, someone more qualified might be better at answering this, I still **** around with the most basic of things
<m15k> That's perfectly fine :)
zacts has joined #nixos
<eyJhb> Now I should REALLY cleanup my new server configuration file... So many secrets directly in the file and config files written with pkgs.writeTextFile in the top of the file
<eyJhb> 299 lines of eye cancer
<eyJhb> m15k: how long have you been using NixOS?
fusion809 has quit [Remote host closed the connection]
<m15k> eyJhb: I firstly looked into it some month ago. But since yesterday I try to get it to run. Since I need to migrate my mail server.
bhipple has quit [Ping timeout: 268 seconds]
<eyJhb> m15k: wouldn't it actually be easier to just spin up a actual VM then?
<eyJhb> I am guessing your lxc is what you are using for trying ot nixos?
<eyJhb> s/ot/out
<m15k> eyJhb: I'm working in a vm ;)
<m15k> Basically I cannot migrate the entire server now. So I just want to migrate it service by service.
<eyJhb> In a VM, with LXC in the VM?
<m15k> Yeah.
qqlq has quit [Quit: ZNC 1.7.4 - https://znc.in]
<eyJhb> Can I ask why LXC? Is there any reason for not using e.g. nixos containers?
argent0 has quit [Ping timeout: 265 seconds]
<m15k> Basically I cannot migrate the entire server to NixOS. I guess I cannot run nixos containers with nix on arch?
<eyJhb> In your case the warnings means nothings, as it doesn't sound like that is your goal, at all
<eyJhb> If I were you, I would probably try to use the new docker-contaienrs option in unstable, and make it work inthere :)
<eyJhb> *going to try doing something myself real soon
ddellacosta has joined #nixos
<m15k> Basically I'm not a fan of docker.
mexisme has joined #nixos
<eyJhb> Any reason why?
<eyJhb> Gets the job done, and it's very simple :)
<eyJhb> To quote makefu, `whenever i have to do something in docker instead of doing it natively it feels like giving up to me. In germany i am trying to establish the word "Wegdockern".` :D
emptyflask has quit [Ping timeout: 245 seconds]
<m15k> e.g. for mail I don't want several containers for imap, smtp, database, ...
<eyJhb> But still, easy to get into, and it just works. Then you can figure out how to get stuff working better afterw"ds.
<eyJhb> You don't need to, at all
<m15k> I don't know if it's still apply, but docker was supposed to manage a single process.
bhipple has joined #nixos
<eyJhb> Wasn't suppose to like that, it is a container. It is more as "one thing" pr. container
<eyJhb> I use it in mine, and it works great! :)
Myhlamaeus3 has joined #nixos
evanjs- has quit [Quit: ZNC 1.7.4 - https://znc.in]
evanjs- has joined #nixos
<eyJhb> Of course it is up to you, just trying to be helpful :)
evanjs- has quit [Client Quit]
<m15k> Sure. I appreciate that.
<m15k> How you handle system updates?
<eyJhb> Oh I have no clue regarding nixos+docker containers with the new update in unstable. But worst case, you can make a new image
Myhlamaeus3 has quit [Remote host closed the connection]
evanjs- has joined #nixos
<eyJhb> But I Just nuked... A big part of my config, with no backup......
o1lo01ol1o has quit [Remote host closed the connection]
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
knupfer has quit [Read error: Connection reset by peer]
evanjs- has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Client Quit]
<eyJhb> Because as far as I can see m15k , the docker-containers does not keep state in the module - https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/virtualisation/docker-containers.nix#L188
evanjs- has joined #nixos
mexisme has quit [Ping timeout: 276 seconds]
Myhlamaeus3 has joined #nixos
knupfer has joined #nixos
<ShaRose> eyJhb shouldn't your docker containers be pointing at a storage volume or mapped paths for data you actually want kept?
<ShaRose> upgrading your containers using ouroboros or watchtower does exactly the same thing
<eyJhb> It 100% should ShaRose ! But sometimes containers are just.. Badly coded, but I guess better find out sooner than later
<ShaRose> then use a different container :V
<eyJhb> I normally make my own :p So I am 99% at fault :D
<m15k> From scratch?
<eyJhb> Ah ShaRose , but that does not help in this case. As far as I understood, we are talking system updates, and m15k would need to create his/her/whatever own images, for them to fit the needs of the mailserver
<eyJhb> Pretty much
<ShaRose> if the container needs an update it should be building another version of the container image
<ShaRose> you don't run the updates inside the container
<eyJhb> Yeah, so like I said, make a new image :p
dbyte has joined #nixos
<eyJhb> But again, IF it is quick and dirty, you CAN
<eyJhb> But it is not a good idea
<ShaRose> hang on, I'm getting usernames crossed
<ShaRose> no wait no I'm not
<ShaRose> both of you have semi-random looking usernames, it's annoying to keep track :(
<eyJhb> Mine is not THAT random, etu can confirm :D
<eyJhb> Think of annoying base64 encoded JWT tokens
<ShaRose> it's short, not structured
<ShaRose> (from what I can see)
<omnipotententity> What's the best way to verify that a string is a member of a list? I'm using something that looks like "myCheckedString = findFirst (x: x == myString) (abort "Not in") myStringList"
<eyJhb> I get you :) - Can anybody tell me the syntax for having a file with just variables? Trying to make my `secrets.nix` file...
<omnipotententity> but it feels more complicated than it needs to be.
<eyJhb> omnipotententity: enums?
VaNilLa[m] has left #nixos ["User left"]
<ShaRose> eyJhb I got a similar but reversed question lol
<eyJhb> omnipotententity: but not 100% sure, only used it in modules :) But might be worth looking at? lib.enums
<ShaRose> anyone know if you can use variables in let to pass through to an imported nix file
<eyJhb> ShaRose: how so?
<omnipotententity> I know nothing about enums in Nix language. Can I have a map of an enum to a string?
<eyJhb> something["key"] = "string"?
<ShaRose> (Basically, set an IP address, and it sets up the static IP / quagga config)
<ShaRose> will that work in an imported module?
<eyJhb> ShaRose: on the get go, I think that is a "no no", but what do you actually want to do?
<ShaRose> basically not have to copy paste 50-60 lines of config into each host when there's only a few variables difference
<omnipotententity> eyJhb, what I'm trying to do ought to make more sense in context. I'm trying to verify a string passed as a build option is one of a handful of strings, other strings are invalid.
<eyJhb> Sounds like a module could be in order? :)
<ShaRose> maybe? I'm an utter noob at nixos
evanjs- has quit [Quit: ZNC 1.7.4 - https://znc.in]
<ShaRose> I only really started messing with it like... yesterday
pikajude has joined #nixos
evanjs- has joined #nixos
<ShaRose> like, I've got imports = [ ../../modules/tools.nix ]; (where tools.nix has a bunch of extra packages and utilities to install), but I'm trying to figure out how to set a variable that, say, tools.nix can access
<eyJhb> omnipotententity: I really wish I could help you more, but I started playing with the Nix language for real today.. :p I would suggest trying to grep in nixpkgs, and see if anything comes up :)
<omnipotententity> Here's a minimal example: https://termbin.com/kzcg
<eyJhb> ShaRose: how many/what options would you like to set?
<omnipotententity> ok, I'll try that.
<m15k> Cann I use `pkgs.writeText` in configuration.nix?
evanjs- has quit [Client Quit]
<eyJhb> m15k: yes :)
<omnipotententity> This is giving me an undefined variable error, which is why I thought I was doing it the wrong way.
<ShaRose> eyJhb varies: I was gonna use it for a few different things. networking, docker, kvm. that kind of thing.
<eyJhb> ShaRose: I actually think you will benefit from looking at etu's config files, he does this quite awesome!
<ShaRose> I'm just at the point of trying to get "ok it has the right IP and gets OSPF working right"
evanjs- has joined #nixos
<eyJhb> Try looking at that, and see if some of it makes sense :)
<eyJhb> omnipotententity: I will look at it and see if I can figure something out, but prob not..
<omnipotententity> thansk
<omnipotententity> thanks*
evanjs- has quit [Client Quit]
<m15k> eyJhb: Do you have a reference. Can't get it to work...
<eyJhb> Yeah, but what is the error?
<m15k> Since I'm on wayland I cannot easily copy/paste with VirtualBox.
<m15k> The option ... does not exist
<eyJhb> m15k: something like this - https://termbin.com/wdz5
evanjs- has joined #nixos
<m15k> mhh services.something would be for that git configuration?
<eyJhb> Ah, fuck
<eyJhb> Makes it more complicated, as the file will be written in your store
<eyJhb> omnipotententity: I cannot find anything good atm, sorry :(
<m15k> So basically I'd need to get it into the git package?!
<omnipotententity> eyJhb, thanks for looking anyway! I appreciate it.
<eyJhb> m15k: I don't think so, but find some way to put it into /etc. You could do it yourself, but then NixOS looses its meaning. It is kinda weird that no one has done it before :) But that might be because it is more of a homemanager thing
<eyJhb> np omnipotententity !
o1lo01ol1o has joined #nixos
<eyJhb> If anybody knows the solution to `secrets.nix`, please do let me know :)
<omnipotententity> eyJhb, I'll give it a look, but I don't know the context
<m15k> Should be a doable task with plain NixOS I guess?! :-/
mexisme has joined #nixos
<eyJhb> Basically, define variables in `secrets.nix`, import it in a `let`, as e.g. `secrets = import ./secrets.nix;`. I think it may work now however
<eyJhb> It does! It is just a plain `{ something = "yay"; }`
<omnipotententity> oh, to keep it out of a repo
<omnipotententity> like a password hash or something
<eyJhb> m15k: It 100% is, but I am hoping someone has a much less hacky solution for it :p I would go for filesystems. Which I don't think is THAT good.. :p
VaNilLa[m] has joined #nixos
<eyJhb> Precisely omnipotententity ! passwords, private keys, more passwords, more private keys :p
<m15k> I meant the /etc/.gitconfig stuff :P
<eyJhb> m15k: that is also what I meant :p
<eyJhb> But why do you want it systemwide like that anyways?
<eyJhb> omnipotententity: or just, e.g. emails... I don't fancy spreading some of my personal mails
<m15k> I don't want to get into a new tool if I don't know the other one good enough
<eyJhb> New tool? How many users are you planing on using git on?
pereira_alex has joined #nixos
<m15k> all :D
<m15k> aka root + demo
<iqubic> iqubic++
<iqubic> I shouldn't have done that.
<eyJhb> iqubic: you are lucky the bot is down
<eyJhb> That is how I got -7
<iqubic> I know.
<iqubic> I have negative karma too.
<eyJhb> How much?
<iqubic> Not sure.
<Fare> Wow, Jest strikes me as even worse than the worst Java unit test libraries I've seen.
argent0 has joined #nixos
<ivan> Fare: JavaScript?
sigmundv_ has joined #nixos
ddellacosta has quit [Ping timeout: 268 seconds]
<Fare> oops, wrong channel. But yes.
jb55 has joined #nixos
drakonis has quit [Read error: Connection reset by peer]
drakonis has joined #nixos
dansho has joined #nixos
zacts has quit [Quit: WeeChat 2.4]
jgt has quit [Ping timeout: 245 seconds]
<alex``> how to customize surf?
<alex``> it has no option for building
<eyJhb> alex``: surf?
<alex``> i try to load a script but it doesn't display anything about what's wrong
<alex``> and has no debugger
<kleisli> how can i specify a local version of nixpkgs to import with `import <nixpkgs> {}`? do i have to change $NIX_PATH ?
<etu> kleisli: import /path/to/checkout {}
<kleisli> etu: thank you!
<jb55> kleisli: NIX_PATH=nixpkgs=path
<ddima> kleisli: You can also do '-I nixpkgs=/path' in most tools
<kleisli> ddima: yes, that's what i was doing when i just wanted to run a nix shell with a list of packages supplied at the command line
<kleisli> ie nix-shell -I <path> -p <packages>
<kleisli> but that doesn't seem to work when i want to use a shell.nix file rather than list the packages at the command line
<eyJhb> Long configuration.nix vs. many imports (services, containers, etc.)
<eyJhb> Don't know which one is better
m15k has quit [Ping timeout: 260 seconds]
chloekek has quit [Quit: WeeChat 2.4]
Rusty1 has joined #nixos
troydm has quit [Quit: What is Hope? That all of your wishes and all of your dreams come true? To turn back time because things were not supposed to happen like that (C) Rau Le Creuset]
<eyJhb> etu: have you tried Jellyfin with Chromecast etc.?
troydm has joined #nixos
rndd has joined #nixos
<rndd> hi everyone, how i can install a kernel package?
<eyJhb> rndd: `boot.kernelModules`?
<rndd> eyJhb: in config ?
<eyJhb> IF that is what you want, then yes :)
<rndd> eyJhb: ohhh, ye. thanks
<eyJhb> No problem! :)
Soo_Slow has quit [Remote host closed the connection]
vika_nezrimaya has quit [Ping timeout: 268 seconds]
mexisme has quit [Ping timeout: 246 seconds]
alex`` has quit [Quit: WeeChat 2.6]
bhipple has quit [Ping timeout: 245 seconds]
mkoenig has quit [Remote host closed the connection]
alexherbo2 has joined #nixos
mkoenig has joined #nixos
__monty__ has quit [Quit: leaving]
<maralorn> Is there a trick to get a cmake buildInput to automatically set ..._LIBRARY_PATH und ..._INCLUDE_PATH?
pereira_alex has quit [Ping timeout: 265 seconds]
<maralorn> Also I seem to have packaged libluv but the resulting store path does not have include headers, what did I do wrong?
alexherbo2 is now known as alex```
<kleisli> maurer: you around? i tried fixing the nix expression for cryptokit but still having the same problem
<jb55> anyone get around to packaging llvm9 yet or will I have to ;_;
<rndd> but how correctly use "boot.kernelPackages" with several packages?
ixxie has quit [Ping timeout: 246 seconds]
<eyJhb> Wasn't it modules ??
<eyJhb> Just [ pkgs.something pkgs.something2 ];
<eyJhb> For packages
<rndd> eyJhb: nope
<rndd> error: value is a list while a set was expected, at /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/system/boot/kernel.nix:39:31
<eyJhb> rndd: show your config :)
<rndd> kernelPackages = [pkgs.linuxPackages_latest pkgs.rtlwifi_new];
<eyJhb> Ahh sorry, but read this rndd , it should help you! https://nixos.wiki/wiki/Linux_kernel
<eyJhb> It seems to do what you want
knupfer has quit [Remote host closed the connection]
<rndd> but
<jb55> I just overrode my linuxPackages with linuxPackages_latest to get on 5.3-rc8
nfip^ has quit []
<rndd> error: value is a list while a set was expected...
<eyJhb> rndd: It is because it was not a list as I thought, it is a single value
<eyJhb> THe link explains how to add other stuff, as far as I can see :)
<Melkor333> does anybody know if there is an easy way to clone a git(hub) repo with home-manager to the folder ~/.config/awesome
<eyJhb> Melkor333: #home-manager might be better to answer that :)
<Melkor333> oh, didn't know this exists :D
<clever> 2019-09-14 19:09:22 < rndd> kernelPackages = [pkgs.linuxPackages_latest pkgs.rtlwifi_new];
<clever> rndd: you need to give it a single package, not a set of all linux packages
<eyJhb> clever: but that is mostly my fault that rndd did that :p
<clever> oh wait, backwards
<clever> kernelPackages is a set of all packages, not a list
<clever> 89 #kernelPackages = pkgs.linuxPackages_latest;
<clever> 87 #extraModulePackages = [ config.boot.kernelPackages.v4l2loopback ];
<clever> it works like this
<maralorn> I am building a library which seems to be using cmake and pkgconfig. It builds, but the include headers don‘t end up in the output. Can anyone tell me which derivation magic I need to know about? Or do I just make a copy in the installPhase?
<clever> maralorn: is the cmake file setup to actually copy headers?
<maralorn> clever: No, I don‘t think so.
<clever> maralorn: you may just need to edit the cmake file then to do that
thc202 has quit [Ping timeout: 245 seconds]
<maralorn> clever: I stand corrected. The cmake file looks very much like that.
dansho has quit [Ping timeout: 245 seconds]
<clever> maralorn: can you link or pastebin the cmake file?
<maralorn> It‘s a dependency of neovim nightly, btw. So it will need come into nixpkgs soon.
<clever> maralorn: do you know what the lua and build_module flags are set to?
<maralorn> clever: No
<clever> MESSAGE(STATUS "LUA: " ${LUA})
<clever> option(BUILD_MODULE "Build as module" ON)
dbyte has quit [Quit: Quit]
<jb55> ugh 1 test failed after 20 minutes of llvm9 build... life is cruel
<clever> maralorn: build_module defaults to on, lua will be printed early in the build
<maralorn> clever: My derivation is very short right now.
<clever> maralorn: it will only install headers if both lua and build_module are false
<maralorn> ok
<clever> maralorn: i think you want something like: cmakeFlags = [ "-DLUA=Off" "-DBUILD_MODULE=Off" ];
<maralorn> clever: Lets see!
<maralorn> I will report.
dbyte has joined #nixos
<maralorn> clever: I am still wondering if you should be doing anything with pkgconfig …
<averell> does anyone have nixos >=19.09 with initrd.network.enable and predictable network interface names? the included systemd upgrade breaks the old udev rules that did this for me in stage1.
<clever> find_package(Libuv REQUIRED)
<clever> maralorn: this tells cmake to use pkgconfig to file a library
<clever> maralorn: it will only do that if you -DWITH_SHARED_LIBUV
<maralorn> Would that be preferable?
<maralorn> clever: The other tipped helped! clever++
<maralorn> clever++
<clever> if you dont set that, it will build its own copy of libuv, making the build slower
endformationage has joined #nixos
<clever> which is why you needed fetchSubmodules
<clever> switching over would let you drop the submodules
<maralorn> clever: On last question. Right now I set LIBLUV_LIBRARY_PATH and INCLUDE_PATH in the neovim derivation. I feel like that could somehow also work automatically. Do you know how?
<clever> not sure, those might be able to use pkgconfig, if luv generated one
<maralorn> clever: Aaah, now, with your fix there also is a pkgconfig file.
dbyte has quit [Quit: Quit]
<ivan> https://github.com/systemd/systemd/commit/d631a760e09b7e6eb9d47ce933635771c736ac6f this has made some of the journalctl output unreadable on light terminals in 19.09
<clever> maralorn: its generated in the same set of conditions that copy the headers
dbyte has joined #nixos
rndd has quit [Ping timeout: 276 seconds]
argent0 has quit [Ping timeout: 245 seconds]
Melkor333 has quit [Quit: WeeChat 2.6]
Melkor333 has joined #nixos
ambro718 has quit [Quit: Konversation terminated!]
hmpffff_ has quit [Quit: nchrrrr…]
hmpffff has joined #nixos
hmpffff has quit [Client Quit]
selfsymmetric-mu has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
<maralorn> clever: Thanks to you I now have a beautiful neovim nightly!
stites[m] has joined #nixos
<maralorn> I will make sure to push my libluv derivation into nixpkgs because it will be needed for the next neovim version.
bhipple has joined #nixos
slack1256 has joined #nixos
<clever> maralorn: nice
rndd has joined #nixos
o1lo01ol1o has quit [Ping timeout: 276 seconds]
Athas has quit [Quit: ZNC - http://znc.sourceforge.net]
Athas has joined #nixos
<Melkor333> Is it normal that "fetchFromGithub" in the configuration.nix only is re-evaluated only when the sha265 value is change?
<clever> Melkor333: yes
<clever> your telling it the hash of the result, and if you claim the hash hasnt changed, then it assumes the result hasnt changed
<clever> and just reuses the old result
<Melkor333> And also I just used fetchFromGithub with "fetchSubmodules = true;". It failed because i use commit hashes as rev and the submodule has another hash. But when I changed the hash to the one of the submodule, it somehow managed to just initiate the submodule into the main repo...
<Melkor333> so in the end i had exactly what I wanted, the main repo and the submodule initiated. But in the last nixos-rebuild, only the hash of the submodule was in the sha256 value, while the rev was from the main repo
<Melkor333> Nevermind, it probably created a hash of the main repo plus the submodule.. i should go to sleep
<Melkor333> clever: thanks for your explanation :)
alex``` has quit [Ping timeout: 246 seconds]
Melkor333 has quit [Quit: WeeChat 2.6]
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 240 seconds]
mbrgm_ is now known as mbrgm
rndd has quit [Quit: WeeChat 2.4]
<incognito9999> has anyone managed to get audacity working in nixos?
<incognito9999> I get some errors like this
<incognito9999> Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1736
<incognito9999> Expression 'AlsaOpen( &alsaApi->baseHostApiRep, params, streamDir, &self->pcm )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1904
<clever> incognito9999: is pulseaudio enabled?
<incognito9999> yes
Fare has quit [Ping timeout: 276 seconds]
<clever> incognito9999: what do you see if you run pavucontrol?
<incognito9999> here are my settings for pulseaudio real fast
<incognito9999> hardware.pulseaudio = {
<incognito9999> enable = true;
<incognito9999> daemon = {
<incognito9999> config = {
<incognito9999> realtime-scheduling = "yes";
<incognito9999> };
<incognito9999> };
<incognito9999> support32Bit = true;
<incognito9999> };
<incognito9999> pavucontrol runs fine
<incognito9999> what should i be looking for in pavucontrol?
<clever> cant think of what else to check then
<incognito9999> ive ended up running audacity inside flatpak, which then works fine for some reason
<incognito9999> its just not the best solution
m15k has joined #nixos
Melkor333 has joined #nixos
<m15k> Any hard mistakes which might prevent expression from working: https://gist.github.com/asbachb/f646711b0c8d27a97c479b46af4f7338 ?
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<infinisil> Always post the error too
pbb has joined #nixos
<infinisil> m15k: It's as the error says :)
<infinisil> There's no such option
wolfshappen has quit [Ping timeout: 245 seconds]
<m15k> I'm unsure what part's missing...
<m15k> Ah. I think I need to adjust modules-list
<m15k> Yeah. That did the trick. Sorry for that...
Ariakenom_ has quit [Read error: Connection reset by peer]
wolfshappen has joined #nixos
Myhlamaeus3 has quit [Ping timeout: 268 seconds]
Melkor333 has quit [Quit: WeeChat 2.6]
Fare has joined #nixos