<CodeBitCookie[m]>
This is the repo where my derivation is stored
<CodeBitCookie[m]>
please check it out
<CodeBitCookie[m]>
it builds and does everything fine
<CodeBitCookie[m]>
but as soon as I try to play any video with it
<CodeBitCookie[m]>
It complains that youtube-dl and mpv are not in the directory it expects
<CodeBitCookie[m]>
what should I do
<tpw_rules>
a) patch it with the path of youtube-dl and mpv
<AmandaGC>
You probably have to patch the source to look in the specific derivations for those two tools
<tpw_rules>
b) use makeWrapper to set up PATH before running it with the paths of those
<AmandaGC>
Or that
<tpw_rules>
or c) it looks like there is a config option to set youtube-dl and mpv's paths, so write out a config and makeWrapper to pass the config in
<tpw_rules>
personally i would use (a)
<CodeBitCookie[m]>
really why not c
<tpw_rules>
what if the user wants to pass their own config file?
<tpw_rules>
idk how config files work for that program
yjftsjthsd has joined #nixos
<tpw_rules>
i've never hard of it before
<tpw_rules>
heard*
<CodeBitCookie[m]>
Me niether. I like nix not to change anything of the source
<CodeBitCookie[m]>
so what about b
<tpw_rules>
b would be fine
<CodeBitCookie[m]>
no changing source or adding config
<CodeBitCookie[m]>
yeah
<CodeBitCookie[m]>
so how would I go about doing that
<CodeBitCookie[m]>
I am a newbie
<CodeBitCookie[m]>
to nix
<CodeBitCookie[m]>
I also removed the installPhase
<CodeBitCookie[m]>
as it was trying to install it to my machine (not nixos style)
<CodeBitCookie[m]>
where does it know where to look and change the path
<tpw_rules>
what do you mean
<CodeBitCookie[m]>
does it just search the file for the path and the replace it with the full path
<tpw_rules>
you have to look at the source to pipe-viewer and tell it
<CodeBitCookie[m]>
<CodeBitCookie[m] "does it just search the file for"> ^
<CodeBitCookie[m]>
Also the manual talks about crates are those for that example only or do I have to implement the crates thing
<CodeBitCookie[m]>
* Also the manual talks about crates. are those for that example only or do I have to implement the crates thing
<tpw_rules>
the crates stuff is unrelated. that's for the rust language. i was just pointing you to the postPatch = '' <stuff> ''; lines as an example of how to replace a path
<CodeBitCookie[m]>
ahhh
<CodeBitCookie[m]>
so does it just search and replace the source files for that path
<CodeBitCookie[m]>
for e.g
<tpw_rules>
yeah. it's your job to figure out the path, the search, and the replace
<CodeBitCookie[m]>
that is not what I am asking
<{^_^}>
[nixpkgs] @cdepillabout pushed 134 commits to haskell-updates: https://git.io/JsoR7
<CodeBitCookie[m]>
let me explain
ddellacosta has joined #nixos
apache8080 has quit [Ping timeout: 246 seconds]
<CodeBitCookie[m]>
Lets say that the program wants the path `/usr/share/mpv` but we want to change that to '${pkgs.mpv}/bin/mpv` does this `substituteInPlace` just look at the source files (the files in the repo) for any occurance of the `/usr/share/mpv` and replace it with the latter `${pkgs.mpv}/bin/mpv`
<CodeBitCookie[m]>
* Lets say that the program wants the path `/usr/share/mpv` but we want to change that to '${pkgs.mpv}/bin/mpv` does this`substituteInPlace`just look at the source files (the files in the repo) for any occurance of the`/usr/share/mpv`and replace it with the latter`${pkgs.mpv}/bin/mpv`
<CodeBitCookie[m]>
* Lets say that the program wants the path `/usr/share/mpv` but we want to change that to `${pkgs.mpv}/bin/mpv` does this `substituteInPlace`just look at the source files (the files in the repo) for any occurance of the`/usr/share/mpv`and replace it with the latter`${pkgs.mpv}/bin/mpv`
<CodeBitCookie[m]>
* Lets say that the program wants the path `/usr/share/mpv` but we want to change that to `${pkgs.mpv}/bin/mpv` does this`substituteInPlace`just look at the source files (the files in the repo) for any occurance of the`/usr/share/mpv`and replace it with the latter`${pkgs.mpv}/bin/mpv`
tertl3 has joined #nixos
<tpw_rules>
well it looks at the source file you pass as the first parameter
<CodeBitCookie[m]>
If we would have to change something it would be that `which_command` function/subroutine. What it does is that it first checks if the argument is an absolute path which it is definitely not as we just pass in youtube-dl. then loops through the paths and forms one path including the filename at the end with catfile
kewa has quit [Ping timeout: 240 seconds]
kanwarsingh has quit [Remote host closed the connection]
<CodeBitCookie[m]>
<adisbladis "CodeBitCookie: We wrap mpv with "> I understand that but where would I put that
kanwarsingh has joined #nixos
kanwarsingh has quit [Remote host closed the connection]
kanwarsingh has joined #nixos
<CodeBitCookie[m]>
Ohhhhhhhhhhh
<CodeBitCookie[m]>
* Ohhhhhhhhhhh. It worked now. Thanks everyone. This was the dumbest mistake ever. I did it inside a nix-shell which had mpv and youtube-dl and it worked but for some reason it didn't install mpv and youtube-dl itslef maybe that is just how nix works
<CodeBitCookie[m]>
adisbladis++
<{^_^}>
adisbladis's karma got increased to 152
<CodeBitCookie[m]>
hexa-++
<{^_^}>
hexa-'s karma got increased to 33
<CodeBitCookie[m]>
tpw_rules++
<{^_^}>
tpw_rules's karma got increased to 13
lunik12 has joined #nixos
<CodeBitCookie[m]>
AmandaGC++
<{^_^}>
AmandaGC's karma got increased to 2, it's a crit!
kanwarsingh has quit [Remote host closed the connection]
kanwarsingh has joined #nixos
kanwarsingh has quit [Remote host closed the connection]
kanwarsingh has joined #nixos
<CodeBitCookie[m]>
Also it doesn't install the gtk version even though I specified the buildPath and added the --gtk flag
<CodeBitCookie[m]>
Anyone wanna help
Fare has quit [Ping timeout: 252 seconds]
<tpw_rules>
that's between you and perl
<tpw_rules>
read the build log carefully
<CodeBitCookie[m]>
:(
<CodeBitCookie[m]>
Okay besides the perl. Is this normal behaviour that I put a program as one of the `buildInputs` and Only when I run `nix-shell` it has that program installed
nick_h has quit []
<CodeBitCookie[m]>
Or does that mean something is wrong with my nix derivation
<tpw_rules>
you are using the derivation you linked by running nix-shell?
h0m1 has quit [Ping timeout: 258 seconds]
<CodeBitCookie[m]>
yes, why is that wrong?
<CodeBitCookie[m]>
* yes, why is that wrong? I hope not
<tpw_rules>
it's sort of intended for debugging
<tpw_rules>
it sets up a shell with all the things you listed as buildInputs available, but does not run any of the steps of the derivation
ddellacosta has joined #nixos
<CodeBitCookie[m]>
So I run `nix-build` it creates a symlink and then I run `nix-shell` That is what I am doing
<CodeBitCookie[m]>
Is that still wrong cz even after nix-build mpv isn't installed
<CodeBitCookie[m]>
* Is that still wrong cz even after `nix-build` mpv isn't installed
<tpw_rules>
that doesn't really make sense
<tpw_rules>
you should just run the binary from the created symlink
h0m1 has joined #nixos
<CodeBitCookie[m]>
but That doesn't work because it complains that there is no mpv or youtube-dl
<tpw_rules>
although since your installPhase is empty the symlink won't have anything.
<CodeBitCookie[m]>
thats wrong
<CodeBitCookie[m]>
I used `buildPerlPackage`
<CodeBitCookie[m]>
* I used `buildPerlPackage` That automatically has the generic installPhase
<tpw_rules>
ahh
<tpw_rules>
then you must not have patched it correctly?
<CodeBitCookie[m]>
I didn't need to patch it
<tpw_rules>
then how did you teach it to find youtube-dl and mpv?
<tpw_rules>
you need to add the substituteInPlace and stuff
bqv has quit [Quit: WeeChat 3.1]
<CodeBitCookie[m]>
<tpw_rules "then how did you teach it to fin"> look at line 13 at the end
<tpw_rules>
all buildInputs does is make it available during build
lordcirth__ has joined #nixos
<tpw_rules>
remember what we discussed a bit ago? you need to find the paths in the source and replace them
bqv has joined #nixos
<CodeBitCookie[m]>
<tpw_rules "you need to add the substituteIn"> Ok tpw_rulesthat inside his perl file he ran the which command to get the output path which is usually correct for scripts to do
<tpw_rules>
it won't work
<tpw_rules>
because it's not in PATH when the script runs. only when it builds
ddellacosta has quit [Ping timeout: 265 seconds]
stree has quit [Ping timeout: 240 seconds]
<tpw_rules>
you need to patch it to use "${mpv}/bin/mpv" or whatever instead of running which
<CodeBitCookie[m]>
okay so what should I put through the `substituteInPlace`
<tpw_rules>
you'll have to read the program's source to see
<CodeBitCookie[m]>
because I tried to read the code and couldn't understand what file to put through or even what text to replace
<CodeBitCookie[m]>
I did read the program's source
<CodeBitCookie[m]>
* there are only 2 anyways, mpv and youtube-dl
<tpw_rules>
but something like this should be correct: substituteInPlace bin/pipe-viewer --replace "which_command('youtube-dl')" "'${pkgs.youtube-dl}/bin/youtube-dl'";
<tpw_rules>
the quoting might be wrong
<tpw_rules>
and there might be other places and files you need to replace. but hopefully you get the idea.
<CodeBitCookie[m]>
Ahhhh so you are suggesting just ignore the `which_command` subroutine
<delroth>
another option is wrapProgram to inject PATH
<tpw_rules>
does that make sense?
<delroth>
it's commonly done when patching is more annoying
<CodeBitCookie[m]>
Yes because Even if I ignore the `which-command` I can't use the configuration then though
<CodeBitCookie[m]>
* Yes because Even if I ignore the `which-command` I can't use the configuration path then though. I guess nobody needs to change the path anywasy
<CodeBitCookie[m]>
* Yes because Even if I ignore the `which-command` I can't use the configuration path then though. I guess nobody needs to change the path anyways
<CodeBitCookie[m]>
* Yes because Even if I ignore the `which-command` I can't use the configuration path then though. I guess nobody needs to change the path anyways
<CodeBitCookie[m]>
but still
<hrnz>
I fucking love that typo correction "feature"
<CodeBitCookie[m]>
hrnz: ?
<gchristensen>
on IRC edits to messages come through as re-sending the message :)
<tpw_rules>
yeah that last message got sent four times. it's not a huge deal but keep in mind us old irc farts are used to typos :)
<etu>
lovesegfault: But that's not in #nix:nixos.org you're writing for this channel?
<etu>
lovesegfault: Because I don't see these messages in that channel.
rihards has joined #nixos
<{^_^}>
[nixpkgs] @cdepillabout pushed to haskell-updates « haskellPackages.dyre: fix build by removing out-dated patch and pulling from upstream »: https://git.io/JsKVd
mallox has joined #nixos
radu242 has quit [Remote host closed the connection]
ahmed_elgabri has quit [Ping timeout: 250 seconds]
NemesisD has quit [Ping timeout: 245 seconds]
blackriversoftwa has quit [Ping timeout: 250 seconds]
christiaanb has quit [Ping timeout: 250 seconds]
chessai has quit [Ping timeout: 245 seconds]
hoek has quit [Read error: Connection reset by peer]
techtangents has quit [Read error: Connection reset by peer]
teehemkay has quit [Read error: Connection reset by peer]
nlofaro has quit [Read error: Connection reset by peer]
prusnak has quit [Read error: Connection reset by peer]
kitemikaze has quit [Read error: Connection reset by peer]
rizary has quit [Ping timeout: 245 seconds]
tv has quit [Quit: WeeChat 2.9]
d10n-work has quit [Ping timeout: 260 seconds]
cstrahan has quit [Ping timeout: 260 seconds]
fnords has quit [Ping timeout: 258 seconds]
aria has quit [Read error: Connection reset by peer]
ajmcmiddlin has quit [Read error: Connection reset by peer]
rajivr has quit [Ping timeout: 258 seconds]
yrashk has quit [Ping timeout: 250 seconds]
cz3 has quit [Ping timeout: 250 seconds]
nrr has quit [Ping timeout: 260 seconds]
c00w has quit [Ping timeout: 246 seconds]
alunduil has quit [Ping timeout: 245 seconds]
adamse has quit [Read error: Connection reset by peer]
zertox has quit [Read error: Connection reset by peer]
teehemkay has joined #nixos
zertox has joined #nixos
nlofaro has joined #nixos
aria has joined #nixos
ajmcmiddlin has joined #nixos
alunduil has joined #nixos
c00w has joined #nixos
christiaanb has joined #nixos
chessai has joined #nixos
NemesisD has joined #nixos
prusnak has joined #nixos
kitemikaze has joined #nixos
rizary has joined #nixos
fnords has joined #nixos
adamse has joined #nixos
blackriversoftwa has joined #nixos
cstrahan has joined #nixos
yrashk has joined #nixos
cz3 has joined #nixos
oharvey has quit [Ping timeout: 260 seconds]
rajivr has joined #nixos
nrr has joined #nixos
hoek has joined #nixos
techtangents has joined #nixos
HenrikK has joined #nixos
oharvey has joined #nixos
pono has quit [Ping timeout: 250 seconds]
d10n-work has joined #nixos
tv has joined #nixos
pono has joined #nixos
ddellacosta has joined #nixos
aforemny has joined #nixos
exondation has joined #nixos
<aforemny>
I've read somewhere that there is a NixOS home server for Matrix set up already, but I cannot find that reference anymore. Could anyone please post the URL?
<boondang>
so if matrix is a protocol and not a network then how is it going to be a replacement to the nixos channel here?
fbegyn has quit [Quit: WeeChat 3.1]
<boondang>
maybe i just need to see a youtube example
fbegyn has joined #nixos
<clever>
boondang: i think its got some p2p elements to it
<f0x>
boondang: Matrix is the protocol, nixos.org and others run servers (Synapse), and you just need a client with an account on any other Matrix server to connect
<f0x>
matrix.org and fairydust.space both have open registration
attila_lendvai_ has joined #nixos
<f0x>
element.io is the easiest/most accessible client
<boondang>
it seems like the account registration process is the achilles heel of privacy for any promising anonymity service
dweller has joined #nixos
liff has left #nixos ["User left"]
<tv>
there's also #nixos at libera.chat; maybe that will be bridged to matrix at some point, so IRC and matrix users don't have to live in separate bubbles
<welterde>
it's a trade-off.. if you don't do anything you are opening the gates of hell to spam.. on the other hand you don't really _need_ any of that information..
<boondang>
still trying to understand how it's decentralized... especially if there's a network. seems like someone is always in charge at the end of the day
<welterde>
qyliss: yeah.. but doubt it's much of an distinction
fbegyn has joined #nixos
<clever>
boondang: i think the "home server" for an account deals with connecting to everybody in the chat somehow? and collects the unread messages?
<clever>
boondang: the creator of the channel appears to be able to give out perms
<{^_^}>
[nixpkgs] @hrdinka merged pull request #123598 → nixos/nsd: make nsd-checkconf work when configuration contains keys (#118140) → https://github.com/NixOS/nixpkgs/pull/123598
<boondang>
gotcha
<boondang>
with irc networks integrating with matrix, it seems like the weak link in privacy will be the irc elements
<etu>
welterde: Well, you don't have to have your homeserver *in your home*
<welterde>
etu: true.. but neither does my irc client ;-)
<welterde>
etu: I mean.. if you are running your own home server it's quite likely it will be on your own machine.. hence also "your" IP
<etu>
welterde: Depends, may be cloud, etc
<welterde>
still "your" ip..
<welterde>
unless you mean Matrix as a hosted service
fbegyn has quit [Quit: WeeChat 3.1]
avaq has joined #nixos
fbegyn has joined #nixos
<etu>
Well, if I rent a VPS from Linode or wherever I don't see it as "me owning the IP"
<etu>
Sure I'm renting it
<etu>
but that's splitting hairs
<welterde>
pretty sure you don't own the IP for your home internet either :P
fuiltilt has quit [Quit: WeeChat 2.9]
<etu>
Most people don't :D
<etu>
It's very rare that you do
* welterde
just means associated with you in some way
fbegyn has quit [Client Quit]
<boondang>
matrix has a lot of cool integrations
fbegyn has joined #nixos
fbegyn has quit [Client Quit]
philipp has quit [Remote host closed the connection]
pbb has joined #nixos
fbegyn has joined #nixos
<welterde>
etu: with v6 and tunneling it's quite easy to have your own ip at home ;-)
<boondang>
do the authors of matrix intend for it to remain foss or are they planning to monetize it like slack at some point?
fbegyn has quit [Client Quit]
<qyliss>
former
<qyliss>
I think the protocol is managed by a non-profit
<clever>
boondang: i dont see how they could, since you can just run your own homeserver
fbegyn has joined #nixos
<qyliss>
they sell hosted homeservers and support contracts and stuff
<qyliss>
and seem to be doing pretty okay
<hyper_ch5>
matrix is still a thing?
<welterde>
clever: same way googletalk did.. turn off federation
<boondang>
hyper_ch: what would be the new thing?
<welterde>
(or limit it in some way)
<qyliss>
I think the network is probably too diverse for that at this point
<qyliss>
yesterday homeservers:users in #Nix was 1:2
<welterde>
not bad at all
<welterde>
matrix.org is still quite big player though.. but seems to be getting better!
stree has quit [Ping timeout: 260 seconds]
<qyliss>
yeah, it'll be a power law distribution
kanwarsingh has quit [Remote host closed the connection]
kanwarsingh has joined #nixos
<eyJhb>
qyliss: How many is in the Nix Matrix server?
<boondang>
i'm a bit skeptical. these technologies seem good, but it's always weird that when you follow the chain of custody it usually rolls up into a non profit that is held by a trust where nobody knows who the actual "owners" are
<eyJhb>
./channels?
<boondang>
just smells like nsa
<qyliss>
I think it's probably public who the owners are
<boondang>
freenode itself is own by an offshore trust in the isle of man
<clever>
boondang: from what ive heard, "freenode ltd" wasnt supposed to have control, in the original agreement, then they changed their minds
<qyliss>
eyJhb: the main one has 271 people
<qyliss>
eyJhb: but the unofficial one had 1700 people before any of this happened
<qyliss>
so I imagine the official one will catch up to that soon, and be bigger than #nixos ever was
<welterde>
boondang: my personal gripes are more with the protocol than the ecosystem ;)
kanwarsi_ has joined #nixos
lovesegfault[m] has quit [Quit: authenticating]
lovesegfault[m] has joined #nixos
kanwarsingh has quit [Read error: Connection reset by peer]
<{^_^}>
[nixpkgs] @sternenseemann pushed to haskell-updates « haskellPackages.alpaca-netcode: disable flaky test »: https://git.io/JsKpc
<boondang>
just to show you the extent of what lengths they went to keep people in the dark, even the staff of freenode never knew any of this
exondation has joined #nixos
fbegyn has quit [Client Quit]
fbegyn has joined #nixos
<boondang>
i almost, but not really, feel bad for the ops they used for free labor without sharing any of the profit with them
<rauno>
srhb, yesterday when i asked about nix version thats what happens: This version of Nixpkgs requires Nix >= 2.2, please upgrade:
<rauno>
Probably should upgrade the building os first
<dweller>
hyper_ch5: tbh, you can safely assume that every company located in tax haven have something to hide
WilliButz has left #nixos ["bye"]
zupo has joined #nixos
<boondang>
it's a brilliant strategy really. start a business under the guise of promoting internet freedom and openness, bait a bunch of loser computer geeks to administer it for free by incentivizing them with the allusion of importance (online), and secretly make deals with shell companies, interest groups, and other business and government entities to
<boondang>
exactly, that's part of the gimmick to making sure it survives
<boondang>
otherwise all the people who trusted the philosophy realize they were conned all along and leave
zupo has quit [Client Quit]
<boondang>
business people don't care about ethics, they just barely care about if something is legal or not enough to get away with continuing a shady model
talyz has quit [Quit: WeeChat 3.0]
jiribenes has left #nixos [#nixos]
<boondang>
but, like facebook, freenode is a "free" product... and so we as the user have no room to complain
<boondang>
this is a great excerpt about the reality of the fallacy of FOSS:
domogled has joined #nixos
<boondang>
John Gilmore shared many of the same ideas with Tim. Gilmore is one of the early promoters of the Free Software Foundation (FSF) and the fifth employee of Sun Microsystems and founder of CyGNUs Solutions, a company that was behind many of the early free software and GNU projects. The company is now part of Red Hat. It may seem altruistic and
<boondang>
honourable for somebody to support free software. But, there are always alternative motives. For example, Gilmore supported free software and benefited through the integration with commercial hardware platforms.
<Herdinger>
Hi, I'm having a weird issue where my ethernet link works fine while booting (stage 2) at one point during the boot process it stops tho. Doing a link show displays UP in the first part and state DOWN in the second. Manully setting it up and down again fixes it. I'm on 20.09
<drozdziak1>
sterni: I believe nix falls for an earlier ca-bundle rule than what is appropriate for Fedora (it chooses the "old Nix" one), what are my chances at changing Nix' choice?
melg8 has quit [Quit: Connection closed]
melg8 has joined #nixos
<sterni>
not sure tbh
<sterni>
maybe try stracing it to see what's going on
<sterni>
sadly you can't upgrade nix using nix right :|
<superherointj>
virt-manager package tests is failing for lack of '/var/ folder. Tried to create '/var' folder with mkdir but errored on permission. Any suggestion?
<srhb>
turq: Consider contributing your addition :)
melg8 has joined #nixos
ddellacosta has quit [Ping timeout: 240 seconds]
abrar has quit [Quit: WeeChat 2.9]
abrar has joined #nixos
bbarker has quit [Ping timeout: 246 seconds]
<turq>
srhb: but then that would require me giving up my pseudonym :P what if I simply posted the patch?
lordcirth__ has quit [Ping timeout: 258 seconds]
<srhb>
turq: I thought you could be relatively anonymous on github (github username would be known of course) -- but maybe not. I don't know, I suppose one could open an issue requesting the update and including the patch.
<ToxicFrog>
Is there a good way to pull nixos *options* from a channel you aren't using? Like, I'm on 20.09, I want to install *and configure* a package from nixos-unstable.
<ToxicFrog>
Installing it is easy -- import unstable, add it to systempackages -- but is there a way to also pull in the options that generate stuff in /etc and whatnot, other than downloading the .nix files and importing them manually?
tomaw has quit [Quit: Quitting]
turlando_ has joined #nixos
turlando has quit [Ping timeout: 260 seconds]
ram19890 has joined #nixos
growpotkin has joined #nixos
ddellacosta has joined #nixos
<typetetris>
I have downloaded a prebuild binary for some program and ldd doesn't report any missing libraries. But I can't start it, bash says no such file or some such. LD_DEBUG=libs/files wasn't helpful, too. LD_DEBUG=<something> ldd <file> just reported how it found all the libs. What could be the culprit here?
fbegyn has joined #nixos
altern has joined #nixos
<hrnz>
it can't find the loader.
<altern>
hi. I am having an error when doing nix-shell --pure shell.nix error: Package ‘gitlib-3.1.2’ in /nix/store/sqpnqdjc2mpzixcy2kbbgkddf8awhq99-nixpkgs-21.05pre278688.c0e88185200/nixpkgs/pkgs/development/haskell-modules/hackage-packages.nix:105049 is marked as broken, refusing to evaluate.
<hrnz>
as it's in a nonstandard location on nixos
<altern>
Even though there is a newer package gitlib-3.1.3 available
<hyperfekt>
altern: there are a number of ways, but fundamentally you should get it from the unstable channel. paths to that are (for just that command) -I nixpkgs=channel:nixpkgs-unstable; (for just that package) overlays and pinning (https://nixos.wiki/wiki/FAQ/Pinning_Nixpkgs); and (for your entire system) changing the default channel via nix-channel
Fare has quit [Ping timeout: 258 seconds]
hrnz has left #nixos ["der channel hier ist nicht mein niveau ciao"]
rmcgibbo[m] has left #nixos ["User left"]
exondation has quit [Ping timeout: 250 seconds]
exondation has joined #nixos
twink0r has joined #nixos
amk has joined #nixos
jonringer has joined #nixos
HenrikK has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
turlando_ is now known as turlando
turlando has quit [Quit: Leaving]
saschagrunert has quit [Remote host closed the connection]
<randomnick123802>
Hey! I'm trying to get the Intel AX210 (wifi 6e) chip to work. I already configured for the latest kernel on nixos (5.11.21) but that seems insufficient according to some random sources on the internet. I'd like to get to 5.12.x (5.12.5 seems to be the correct one to try now). I've followed https://nixos.wiki/wiki/Linux_kernel "Pinning a kernel
<randomnick123802>
version" path, and it rants at me that "builder for '/nix/store/glv1fwx9pks40czsk7a3imgqzyb5mmcp-linux-config-5.12.5.drv' failed with exit code 255" with a bunch of mismatches on the kernel config. What's the correct way to fix that in the nix world? I'm quite new to nix, although quite old with linux in general
Qwerky has quit [Remote host closed the connection]
ddellacosta has joined #nixos
berdario[m]1 has joined #nixos
<Baughn>
randomnick123802: The Nix kernel has a bunch of patches applied, which are unfortunately required. It is quite difficult to run a custom kernel of a different major version.
<Baughn>
Gimme a second
<Baughn>
5.11.21 is indeed the newest kernel even in -unstable.
ddellacosta has quit [Ping timeout: 260 seconds]
hyperhelper has joined #nixos
<hyperhelper>
hyperhelper has joined on libera
<hyperhelper>
chi has joined on libera
proofofkeags has quit [Ping timeout: 260 seconds]
<hyperhelper>
<hexa-@libera> hm
<hexa->
hm
<hyperhelper>
<hexa-@libera> one way bridging to freenode
<hyperhelper>
<Baughn@libera> Two-way, seems.
<hyperhelper>
<hexa-@libera> ah it's just laggy
<hyperhelper>
<hyper_ch@libera> hexa-: sorry, no idea why it took so long to load it
<hyperhelper>
<Baughn@libera> That's good. I'm really worried this might cause community fragmentation, otherise.
<hyperhelper>
<hyper_ch@libera> --> INFO 2021-05-20T17:16:01 Join to #nixos on freenode synced in 89.51 seconds.
<hexa->
test
<hyperhelper>
chi has quit libera (Remote host closed the connection)
<hyperhelper>
<hexa-@libera> test
<hyperhelper>
<Synthetica@libera> oh so now it's synced? That's nice
<hyperhelper>
eeva has joined on libera
<hyperhelper>
<hyper_ch@libera> supybot with relay and network module ;)
<hyperhelper>
graham has joined on libera
<hyperhelper>
<uk@libera> thats horrible.
<hyperhelper>
<hyper_ch@libera> should I turn it off again? just thinking it might be better than having part-users on freenode and part-users here
<Baughn>
You want horrible? I have a Factorio server that's bridged to Discord by way of an IRC bot that tails Factorio's logs for player chat, and a separate irc-discord bridge. :P
<hyperhelper>
<Kinnison@libera> I'd rather not see and be reminded of freenode, but I'm not important :D
Baughn has left #nixos [#nixos]
<pennae>
if this is the future of #nixos we'll have to switch to matrix ;p
<hyperhelper>
<kim@libera> I think we have to treat freenode as somewhat insecure now
<hyperhelper>
<bqv@libera> What?
<hyperhelper>
<bqv@libera> Oh cool
<pennae>
sad though that nothing except element seems to support spaces
<hyperhelper>
<Baughn@libera> You saw the message from rasengan.
<hyperhelper>
<Baughn@libera> We're on a deadline now.
<hyperhelper>
<kim@libera> Baughn, which one?
<hyperhelper>
<Baughn@libera> The one from $$
<hyperhelper>
* kim@libera wonders if I missed a message from rasengan
<simpson>
Sure, this is borrowed time. Nonetheless, it's good to have tools to ease the transition.
<hyperhelper>
<bqv@libera> So now we can leave here on freenode
<hyperhelper>
<bqv@libera> hyper_ch: same for -chat?
<hyperhelper>
* kim@libera clearly missed a message from rasengan
<hyperhelper>
<Boomerang@libera> I think if the bridge only relayed messages and not all the joining/leaving and mode changes, that would be better ^^
<hyperhelper>
amk has joined on libera
<hyperhelper>
<Baughn@libera> I'll stay in this channel, but I think I'm moving to Discord for now. It seems the pragmatic solution, and I care a lot more about getting good use from the chat than being FOSS about it.
amk has left #nixos ["Leaving"]
<hyperhelper>
jc has quit libera (Changing host)
<hyperhelper>
jc has joined on libera
<phant0m>
hm why didn't my quiet work
<hyperhelper>
mode change by jess on libera: +o graham
<hyperhelper>
<kim@libera> hey, jess is working hard again
<hyperhelper>
<jess@libera> always
<hyperhelper>
<bqv@libera> graham: +q is not quiet
<hyperhelper>
<bqv@libera> graham: you just opped the bot
<hyperhelper>
<bqv@libera> You want +b q:...
<hyperhelper>
<jess@libera> oh what network
bgamari has left #nixos ["Leaving"]
<hyperhelper>
<jess@libera> +q on freenode and irc.libera.chat is quiet
<hyperhelper>
<bqv@libera> Oh
<hyperhelper>
<jess@libera> charybdis babybee
<hyperhelper>
<jess@libera> err
<hyperhelper>
<bqv@libera> Wow thats confusing
<hyperhelper>
<jess@libera> baybee
<hyperhelper>
<graham@libera> hyper_ch: please remove your bot from both sides
<{^_^}>
[nixpkgs] @Ma27 pushed commit from @dpausp to release-20.09 « grafana: 7.5.2 -> 7.5.6 »: https://git.io/JsiDS
<sysadmin>
Remember Bitcoin in 2008??? Pi is a new digital currency developed by Stanford PhDs, To claim your piece of pi goto https://minepi.com and use "ilkde" as your invitation code. Get your piece of the pi now !
kolaente_ has joined #nixos
S0rin has quit [Remote host closed the connection]
S0rin has joined #nixos
<legendofmiracles>
at least we'll get rid of those idiots when switching to matrix
Qwerky has quit [Remote host closed the connection]
kolaente_ has quit [Quit: WeeChat 2.9]
rihards has joined #nixos
ddellacosta has quit [Ping timeout: 246 seconds]
kolaente_ has joined #nixos
bbarker has joined #nixos
rajivr has quit [Quit: Connection closed for inactivity]
zopieux has quit [Ping timeout: 260 seconds]
zopieux has joined #nixos
stree has quit [Ping timeout: 260 seconds]
kolaente_ has quit [Client Quit]
kolaente_ has joined #nixos
S0rin has quit [Remote host closed the connection]
S0rin has joined #nixos
kolaente_ has quit [Client Quit]
kolaente_ has joined #nixos
gustavderdrache has left #nixos [#nixos]
tizon[m] has joined #nixos
jimmiehansson has quit [Remote host closed the connection]
ahmed_elgabri has joined #nixos
<{^_^}>
[nix] @regnat pushed to ca/gracefully-handle-duplicate-realisations « Gracefully ignore a substituter if it holds an incompatible realisation »: https://git.io/Jsi5D
<Mindavi>
So I'm trying to connect using matrix, but it doesn't seem like the server is available. I've tried the server addresses matrix.nixos.org and nixos.org. What am I missing?
<jade_[m]>
<Mindavi "Mm yeah, 'No known servers'"> got it working, yeah, click the link in the post, open in the matrix client, then join the appropriate rooms. maybe try #chat:nixos.org ?
<hpfr>
is there a way to reference the current directory of a source nix file in your config `${./.}` without it expanding into the store path location?
<hyperfekt>
nf: i've bisected the grub problem. do you want to update the grub issue, so i don't have to make an account? ^^
vaucouleur has left #nixos [#nixos]
<nf>
will do, thanks
superherointj has joined #nixos
D_ has quit [Quit: No Ping reply in 180 seconds.]
D_ has joined #nixos
mkaito has quit [Quit: WeeChat 3.1]
D_ is now known as Guest26540
<acksys>
I'm a few days in as a nixos user and this is my second day trying to write some nix myself. Mind blowing a little.
Guest26540 is now known as D_
altern has quit [Ping timeout: 260 seconds]
<nf>
hyperfekt: done
<hyperfekt>
thanks!
ddellacosta has joined #nixos
<rycee>
acksys: Welcome :-)
ddellacosta has quit [Ping timeout: 260 seconds]
ComCat has joined #nixos
ddellacosta has joined #nixos
bbarker has joined #nixos
work_ has joined #nixos
<ComCat>
IMPORTANT NOTICE: Hi Ops. Please update the topic to point to the new server (libera.chat). Thank you. Current situation: crown prince of korea and co-founder of MtGox (bitcoin exit-scam) https://en.wikipedia.org/wiki/Andrew_Lee_(entrepreneur) - https://en.wikipedia.org/wiki/Mt._Gox#Bankruptcy;_stolen_bitcoin_(2014%E2%80%93ongoing) - has now full control over Freenode and has destaffed ALL the staffers you knew. The staffers have founded and moved
<ComCat>
to Libera.chat. Sponsors of Freenode are beginning to pull out, it is unknown for how long the freenode will be stable. Most channels, projects and users are now migrating to Libera. Libera is a registered non-profit organization with mitigations against this disaster happening ever again. Leaked chats showing disgusting intents and former devs that have worked with Mr.Lee before says that he's disorganized, dishonest and that they wish to never