boxscape has quit [Remote host closed the connection]
klntsky has quit [Remote host closed the connection]
justanotheruser has quit [Ping timeout: 276 seconds]
klntsky has joined #nixos
<averell>
right
<averell>
also that parseAddresses is much older than the original patch, so i'm not sure why it was never used. And the original PR was never merged either, but maybe that fork was already dead at that point, idk.
<srhb>
averell: Thanks for the details. Hopefully we'll learn a bit in the next few days. :D
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JemyK
justanotheruser has quit [Read error: Connection reset by peer]
_ris has quit [Ping timeout: 276 seconds]
Palpares has quit [Remote host closed the connection]
Palpares has joined #nixos
stalker254[m] has joined #nixos
drakonis has quit [Ping timeout: 246 seconds]
drakonis has joined #nixos
stites has joined #nixos
<stites>
hey all! I am trying to write my own module system and am wondering how they work
Zer000 has quit [Ping timeout: 245 seconds]
emptyfl4sk has joined #nixos
<aanderse>
stites: please feel free to post specific questions
<stites>
aanderse: sorry -- writing it own now
<stites>
out*
justanotheruser has joined #nixos
<stites>
Right now I have something where I have a module type (ie: a `module.nix` made of `mkOption` and `mkOptionType`s) and want to use this as a "subtype" where I can create an attrset with multiple instantiations of in some top-level attrset.
<PyroLagus>
the hash should protect you from any possible malicious force pushes. at worst, the repo or branch could be deleted
<PyroLagus>
although, then again, you may want to merge the change into your channel tag (unstable or stable) to avoid unnecessary rebuilds of dependencies
xkapastel has quit [Quit: Connection closed for inactivity]
<Miyu-chan>
Okay. Stupid(?) question. Will NixOps-core be part of NixOS-19.09?
felixfoertsch23 has joined #nixos
felixfoertsch has quit [Ping timeout: 245 seconds]
justanotheruser has quit [Ping timeout: 265 seconds]
emptyfl4sk has joined #nixos
<clever>
oldandwise: is pkgconfig in the buildInputs?
lasd has joined #nixos
<oldandwise>
https://termbin.com/isyq yes.. and `echo $PKG_CONFIG_PATH` inside nix-shell also looks has the path folder having gstream-1.0.pc
<clever>
oldandwise: sounds like an anoying bug in pkgconfig, if the dependencies listed in the .pc file are absent, it will silently ignore the .pc file
justanotheruser has quit [Ping timeout: 245 seconds]
<{^_^}>
[nixpkgs] @lilyball opened pull request #68534 → macvim: fix compatibility with Xcode 11 → https://git.io/Jem9e
polman has joined #nixos
lasd has quit [Ping timeout: 260 seconds]
<detran>
hello, quick question: I use i3, but I also use some gnome apps. The gnome apps are all missing icons - how do I get those?
<craige>
How are you logging in detran?
<detran>
I'm not sure what you mean, but I'm not using the gnome desktop manager at all, it's just plain i3
<craige>
Does your computer boot to a login screen (of any kind)
<craige>
or I guess a better questio is, are you using a desktop manager with i3 and if so which one?
Zer0xp has joined #nixos
* craige
doesn't use use i3, I use xmonad but can have similar issues without desktop managers etc
emptyfl4sk has joined #nixos
emptyfl4sk has quit [Ping timeout: 245 seconds]
mexisme has joined #nixos
* jackdk
listens intently - has i3 launched without a DM and messed-up icons everywhere
mexisme has quit [Ping timeout: 246 seconds]
justanotheruser has joined #nixos
Zer0xp has quit [Ping timeout: 245 seconds]
tjg1 has quit [Ping timeout: 258 seconds]
mac10688 has joined #nixos
tjg1 has joined #nixos
vonfry has joined #nixos
dansho_ has quit [Remote host closed the connection]
dansho_ has joined #nixos
abathur has quit [Ping timeout: 240 seconds]
Rusty1 has quit [Quit: Konversation terminated!]
Zer0xp has joined #nixos
ddellacosta has joined #nixos
nikola_i has joined #nixos
<li_matrix>
am I the only one with a 'bare' nixos container?
<li_matrix>
`container@.service` is the file
<Miyu-chan>
Yes.
<Miyu-chan>
Err, no.
<Miyu-chan>
That's normal. That's basically a "function."
<Miyu-chan>
When you want to start container@1.service, it will refer to container@.service.
<li_matrix>
Miyu-chan: thanks a lot
captn3m0 has quit [Ping timeout: 246 seconds]
captn3m0 has joined #nixos
zupo has joined #nixos
judson has quit [Read error: Connection reset by peer]
judson has joined #nixos
zupo has quit [Client Quit]
captn3m0- has joined #nixos
captn3m0 has quit [Ping timeout: 265 seconds]
endformationage has quit [Quit: WeeChat 2.5]
init_6 has joined #nixos
Guest16 has joined #nixos
<Guest16>
Hello, I asked a question earlier in the day but there wasn't anybodyaround to answer. Is it alright if I asked again? My `configuration.nix` goes like this- https://pastebin.com/WAMxHUJG I'mgetting the error `The string'/nix/store/79308vx1hi7wgkdnz4wgx0vkwwfbnq5j-source' is not allowed torefer to a store path (such
<Guest16>
as'/nix/store/79308vx1hi7wgkdnz4wgx0vkwwfbnq5j-source'` when I use`pkgs.archived.unstable`. But all is cool when I just use`pkgs.unstable`. There are two things to see in the pastebin configuration.nix- first: the `let` statement has repetition, I assign 3 variables a value and then create an attrset with 3 attributes given the same value. Second;
<Guest16>
I reuse those values- both from single variableassignments and as part of attrsets to give myself a new package set. Isucceed when the package set is from the individually assigned valeus.But fail when it's part of the attrset. Would somebody have any pointers on where I should look. I searchedaround and this error does seem to crop up once in a
<Guest16>
while but Icouldn't relate it to my problem, possily due to my inexperience withnix.
drakonis1 has quit [Quit: WeeChat 2.4]
ddellacosta has quit [Ping timeout: 246 seconds]
tnks has quit [Ping timeout: 258 seconds]
mac10688 has quit [Ping timeout: 246 seconds]
<craige>
When making a patch related to Zero Hydra Failures, ticket #68361 says to PR against master but I see some people are doing PR's against `staging` and `staging-19.09` - is any one able to clarify the most efficient best practice here before I make a PR?
<clever>
craige: staging is mostly for when you think it has a chance to break a lot of things, and you want to give hydra time to test things, so you dont break master and hold nixos-unstable back
* craige
nods
<clever>
breakage that may happen after your PR gets merged, due to things being missed
<craige>
This is a minor patch that breaks nothing I've tested :-)
<clever>
so it depends a lot on how complex the pr is, and how many things depend on it
<craige>
So run with `master` as suggested?
<clever>
yeah
<craige>
THis is just adding a single build dep.
<craige>
Thanks clever.
user___ has joined #nixos
emptyfl4sk has joined #nixos
edwtjo has joined #nixos
edwtjo has joined #nixos
edwtjo has quit [Changing host]
<Guest16>
<I'll just be stubborn haha>- has anybody seen this error- `The string'/nix/store/79308vx1hi7wgkdnz4wgx0vkwwfbnq5j-source' is not allowed torefer to a store path (such as'/nix/store/79308vx1hi7wgkdnz4wgx0vkwwfbnq5j-source'?
<craige>
I haven't seen that Guest16
<Guest16>
too bad!
<Guest16>
Well I hope for your sake you don't have to
<{^_^}>
[nixpkgs] @Ma27 pushed commit from @nspin to release-19.09 « plyplus: enable for python3 »: https://git.io/JemH5
veske2 has joined #nixos
Tucky has joined #nixos
zupo has joined #nixos
graf_blutwurst has joined #nixos
abbiya has quit [Quit: abbiya]
iqubic has joined #nixos
thc202 has joined #nixos
Chiliparrot has joined #nixos
<MichaelEden[m]>
I know there's great plumbing for cross compilation within nix, but is there an easy way to "cross compile" through QEMU using nix? (as in boot an emulated architecture and run nix build inside of that?) if not i might take a stab at it as long as there's no hidden extra-complicated thing i'm unaware of.
<Izorkin>
Mic92: not need to change PR iptables-compat?
hyper_ch2 has quit [Remote host closed the connection]
hyper_ch2 has joined #nixos
mexisme has quit [Ping timeout: 246 seconds]
Okinan has quit [Quit: Konversation terminated!]
<boxdot>
Hi — Is it possible to execute external commands (e.g. ls) from a nix expression?
<boxdot>
I would like to read an XML file before start defining packages.
Okinan has joined #nixos
tnks has joined #nixos
<MichaelEden[m]>
boxdot: what are you trying to do?
<boxdot>
MichaelEden[m]: I would like to provide a list of repositories to use before defining the packages.
<boxdot>
These are stored in an xml file.
<MichaelEden[m]>
boxdot: the only way to run external commands is by building a package, so you could make a package that imports your XML file, parses it, and then your other packages can depend on that repositories list package.
<MichaelEden[m]>
This won't work if you're trying to change the nix expression itself based on the contents of the XML.
<boxdot>
Considering that fromJSON exists, my idea would work with json files
<MichaelEden[m]>
Yes, if you parse the file within nix itself then you can use it to transform your expressions in any way you want
iqubic` has joined #nixos
Makaveli7 has joined #nixos
m0rphism has joined #nixos
iqubic has quit [Ping timeout: 245 seconds]
iqubic` has quit [Client Quit]
slicertaps has quit [Ping timeout: 245 seconds]
<boxdot>
MichaelEden[m]: Thank you for explanation.
<MichaelEden[m]>
i guess another way to word it would be that nix evaluates all its expressions before it starts building so you cannot depend on any build outputs to change what the nix expression would evaluate to
hyper_ch2 has quit [Remote host closed the connection]
schjetne has joined #nixos
<dminuoso>
Mmm. I have a fresh nixos install (with efi and lvm), and after rebooting systemd appears to be starting the various services like ntp and so forth. And then suddenly the screen goes black and hangs.
<tdeo>
is there any lib function to do `if cond {...} else {}`? mkIf doesn't seem to work for my usecase (if (options ? home-manager) ...)
<MichaelEden[m]>
tdeo: why not the normal `if` / `else`?
<MichaelEden[m]>
dminuoso: sometimes this happens (for me) because of graphics issues, maybe setting `nomodeset=1` helps?
<tdeo>
i don't like the `else {}` at the end of all of them so i was wondering if there was a lib function to make it cleaner, if not then i'll write my own
<lassulus>
optionalAttrs?
<MichaelEden[m]>
^
<dminuoso>
MichaelEden[m]: Mmm, where would I set this?
cartwright has quit [Remote host closed the connection]
<dminuoso>
(I use systemd-boot)
<tdeo>
lassulus: thanks
<dminuoso>
Ohh its a kernel parameter, nevermind.
cartwright has joined #nixos
<MichaelEden[m]>
i think its `boot.kernelParams = ["nomodeset"];`
<dminuoso>
MichaelEden[m]: Right cheers
dom`` has quit [Ping timeout: 258 seconds]
joshuagl has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
emptyfl4sk has joined #nixos
hyper_ch2 has joined #nixos
hmpffff has joined #nixos
vika_nezrimaya has quit [Ping timeout: 240 seconds]
fendor has joined #nixos
emptyfl4sk has quit [Ping timeout: 276 seconds]
dom`` has joined #nixos
m15k has joined #nixos
m15k has left #nixos [#nixos]
m15k has joined #nixos
smatting has joined #nixos
asymptotically has joined #nixos
<m15k>
Hi. Is it possible to get a consolidated version of nix configuration?
ThatDocsLady has joined #nixos
<dminuoso>
m15k: nix repl?
<m15k>
dminuoso: Let me check... I'm quite new.
<m15k>
Basically I want a resolved version of /etc/nixos/configuration.nix
<Taneb>
m15k: to what end?
<Taneb>
What's your ultimate goal?
mexisme has joined #nixos
<m15k>
Taneb: Currently I'm using the VBox image and just want to understand a little bit more whats configured to get to that VBox state.
<MichaelEden[m]>
there's the `nixos-option` utility
<MichaelEden[m]>
it's a bash script so you could use what its doing to get the full configuration, but you can also just browse the configuration with it directly
<m15k>
MichaelEden[m]: Thanks that's a quite helpful tool.
ehmry has quit [Ping timeout: 246 seconds]
civodul has joined #nixos
emptyfl4sk has joined #nixos
vika_nezrimaya has joined #nixos
nikola_i has quit [Ping timeout: 245 seconds]
vonfry has quit [Quit: WeeChat 2.4]
init_6 has quit []
nspin has quit [Ping timeout: 260 seconds]
emptyfl4sk has quit [Ping timeout: 265 seconds]
__monty__ has joined #nixos
vika_nezrimaya has quit [Remote host closed the connection]
arahael1 is now known as Arahael
nexgen2 has joined #nixos
<Izorkin>
ofborg not build packages in MacOS?
<Taneb>
Izorkin: because MacOS doesn't have sandboxing, ofborg needs to really trust you
<Taneb>
It only builds if MacOS if someone on a certain list asks it to
<Izorkin>
Taneb: me added to trusted users
juhe has left #nixos [#nixos]
n3t has joined #nixos
<dom``>
colemickens: I will try out the azure branch
pikajude0 has joined #nixos
pikajude0 has quit [Client Quit]
o1lo01ol1o has joined #nixos
nexgen2 has quit [Ping timeout: 276 seconds]
alex``` has joined #nixos
ThatDocsLady_ has joined #nixos
ThatDocsLady has quit [Ping timeout: 276 seconds]
mexisme has quit [Ping timeout: 246 seconds]
zupo has joined #nixos
jluttine has quit [Ping timeout: 246 seconds]
xantoz has quit [Ping timeout: 258 seconds]
fendor has quit [Ping timeout: 265 seconds]
xantoz has joined #nixos
jluttine has joined #nixos
gxt has quit [Quit: WeeChat 2.6]
<dminuoso>
Say I want to provide a custom nix channel to make some internal package available in our company, how does one exactly set up a nix-channel?
<alex```>
how to revert an update channel?
<alex```>
(i'm on unstable)
<alex```>
i can't update my system and now i need to install a package i can't because it try to update the whole system
<alex```>
so i would like to revert my update channel
nexgen2 has joined #nixos
<etu>
alex```: sudo nix-channel --rollback
<alex```>
what does it does?
<etu>
Reverts the previous call to nix-channel --update.
<alex```>
for example if executed multiple times
<alex```>
doesn' t matter if nix-channel --update executed multiple times?
<etu>
Ok, you can specify which channel generation you want to roll back to as well
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ng0 has joined #nixos
iyzsong has joined #nixos
<steveeJ>
when using networkmanager with dnsmasq, is there any way to have split dns configurations per connected VPN?
tromar has joined #nixos
<steveeJ>
I'm not sure if this is a NixOS specific issue or networkmanager in general
knupfer has joined #nixos
rauno has quit [Ping timeout: 246 seconds]
<tromar>
Hi I am new to nix and haven't installed nix package manager correctly. /home/tromar/.nix-profile: broken symbolic link to /nix/var/nix/profiles/per-user/tromar/profile
<tromar>
Ah, I am hoping someone can help me, my per-user directory for my user is empty. However I can run nix from the default profile.
nexgen2 has quit [Ping timeout: 265 seconds]
cfricke has joined #nixos
<alex```>
how to change the default shell using `nix-shell`?
<etu>
nix-shell --run fish -p attribute-you-want-in-nix-shell
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
emptyfl4sk has joined #nixos
Okinan has quit [Quit: Konversation terminated!]
orivej has quit [Ping timeout: 246 seconds]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
emptyfl4sk has quit [Ping timeout: 265 seconds]
o1lo01ol1o has joined #nixos
<alex```>
how to clear nix-env?
<alex```>
all installed packages, etc.
<tilpner>
nix-env -e \* IIRC
<alex```>
how to edit the packages installed, similarly to /etc/nix/configuration.nix
<alex```>
nixos*
<tilpner>
,declarative
<tilpner>
(bot is gone)
hyper_ch2 has joined #nixos
dbe has joined #nixos
<niksnut>
nix-env does not have a declarative mode, but you could use nix-env --set with a nix expression that uses buildEnv similar to environment.systemPackages
tromar has quit [Ping timeout: 246 seconds]
m15k has quit [Ping timeout: 260 seconds]
hyper_ch2 has quit [Remote host closed the connection]
<woffs>
Hi. How to rebuild a corrupted /nix/var/nix/db/db.sqlite ?
MmeQuignon has joined #nixos
<steveeJ>
alex```: there's a project call home-manager which you could look at
<eyJhb>
yorick: sorry for asking, but your line 10, where you have `inherit (config.services.nginx) user group;`. Is it possible to use that to make a list? E.g. If I wanted to make a list `[]` of multiple service users?
<eyJhb>
`[(inherit (config.services.nginx) user) (inherit (config.services.plex) user)]`, if that makes sense
veske2 has quit [Quit: This computer has gone to sleep]
ryantm has quit [Ping timeout: 245 seconds]
veske2 has joined #nixos
<exarkun>
eyJhb: `with config.services.nginx; [ user group ]`
<exarkun>
hmm, though on reading the paste, I'm not sure the question makes sense
<ptotter[m]>
does anyone have an example config for prometheus on nix?
<exarkun>
ptotter[m]: the simplest configuration is just `services.prometheus.enable = true;`
<exarkun>
ptotter[m]: is there something specific you're interested in?
FRidh has quit [Ping timeout: 245 seconds]
<ptotter[m]>
I'm having trouble and getting promtool: error: expected command but got "check-rules", try --help
<ptotter[m]>
I specifically want to run prometheus 2.x
<ptotter[m]>
since 1.x is a bit old
<eyJhb>
exarkun: I found a "somewhat" way of doing it, but now I am wondering if I can do it conditionally [ "eyjhb" config.services.plex.user ], but only if Plex is enabled
<ptotter[m]>
so I have package = pkgs.prometheus_2;
<exarkun>
eyJhb: I don't really understand what you're trying to do. Maybe you can paste what you have now.
<ptotter[m]>
which I believe I was told here, months ago
<exarkun>
ptotter[m]: What gives that error?
<ptotter[m]>
nixos-rebuild
<eyJhb>
exarkun: `users.groups.certs.members = [ "eyjhb" config.services.plex.user ];`, so basically add service users to this group. Does that make sense?
<ptotter[m]>
I'd like to examine the state to figure it out better
<ptotter[m]>
something apparently calls promtool, but on what?
<exarkun>
eyJhb: What is it conditional on?
<exarkun>
"if plex is installed" I guess
<eyJhb>
`if config.services.plex.enabled { # add to groups };`
<eyJhb>
So basically, `services.plex.enabled`
<exarkun>
That might be `config.services.plex.enabled`? The generally idea would be `...members = [ "eyjhb" ] ++ (if cond then [ true stuff ] else [ false stuff ]);`
<eyJhb>
That is what I have been trying to do, in my little repl, but I will try that syntax!
<exarkun>
ptotter[m]: Where do you see the error?
<ptotter[m]>
check-rules should apparently be check rules these days
<exarkun>
ptotter[m]: I guess you have to get the rest switched over to that somehow, I dunno how
<exarkun>
ah
<exarkun>
`services.prometheus2`, is how, I think.
<exarkun>
instead of twiddling services.prometheus's package to a prometheus 2 package
<ptotter[m]>
ah, I'll try that, thanks
tobiasBora has quit [Quit: WeeChat 2.4]
user___ has quit [Ping timeout: 276 seconds]
veske2 has quit [Quit: This computer has gone to sleep]
knupfer has joined #nixos
<ptotter[m]>
exarkun, thanks, that solved it
<exarkun>
:)
knupfer has quit [Read error: Connection reset by peer]
knupfer has joined #nixos
<yorick>
eyJhb: personally I'd use the postRun thing to copy it to different places
andreas303 has quit [Remote host closed the connection]
andreas303 has joined #nixos
leothrix has quit [Ping timeout: 244 seconds]
rndd has joined #nixos
<rndd>
hi everyone, what's the best way to delete old generations?
jtojnar has quit [Ping timeout: 245 seconds]
<lewo>
rndd: you can take a look at `nix-garbage-collect --help`
<lewo>
there is some options to delete old generations
waleee-cl has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
knupfer has quit [Quit: knupfer]
rndd has quit [Ping timeout: 246 seconds]
virus_dave has quit [Quit: virus_dave]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Client Quit]
veske has joined #nixos
knupfer has joined #nixos
knupfer has quit [Read error: Connection reset by peer]
virus_dave has joined #nixos
__monty__ has quit [Quit: leaving]
justanotheruser has quit [Ping timeout: 276 seconds]
alex``` has quit [Ping timeout: 245 seconds]
alex`` has joined #nixos
johanot has quit [Quit: WeeChat 2.4]
emptyflask has joined #nixos
justanotheruser has joined #nixos
endformationage has joined #nixos
orivej has joined #nixos
<buckley310>
eyJhb: i would guess the .09 channel and cache will appear at the same time, just wondering when that is, since hydra builds are already completing
<pie_>
would be nice if(TM) nix-collect-garbage had some more selection flags
growpotkin has joined #nixos
<pie_>
hm, or for maximum generality, have it output a list of possible deletions, and take a list of deletions
<pie_>
then i could sort by most recently created GCable things, or largest most recently created, etc
<rndd>
lewo: I use nix-garbage-collect -d and other variations, but deleted options are still in boot menu =(
veske has quit [Quit: This computer has gone to sleep]
<buckley310>
in my experience, the boot menu keeps the old options until the next nixos-rebuild
<buckley310>
even though presumably they have been deleted
earendil` has joined #nixos
<earendil`>
hello everyone
xelxebar_ has quit [Remote host closed the connection]
jgeerds has joined #nixos
xelxebar has joined #nixos
earendil` is now known as garlic
werner291 has joined #nixos
gxt has joined #nixos
<werner291>
Hey! So, I'm trying to run NixOS as my main OS, but I need the wl driver in broadcom_spa. I got it to work when installing from https://github.com/NixOS/nixpkgs/issues/15162, but is it possible to upgrade to a later version of NixOS now while still using those drivers?
<werner291>
Because I see those options are also in my hjardware-configuration.nix
<werner291>
*hardware
<davidtwco>
Is there a way to make a path relative to the location of the original file and not the symlink to it? (eg. with a shell.nix)
<werner291>
ie: https://pastebin.com/6P1WMV6K is in my hardware-configuration.nix, though Wifi doesnt' appear to be working when I try to upgrade to, say, 17.09
dm9 has quit [Quit: WeeChat 2.6]
tjg1 has quit [Quit: if i commit suicide, at least a real nigga killed me]
stramble-M has quit [Remote host closed the connection]
<olorin>
Any ideas why the 'send file' option in blueman-applet might be grayed out?
tjg1 has joined #nixos
stramble-M has joined #nixos
stramble-M has quit [Remote host closed the connection]
<werner291>
buckley310
<davidtwco>
Nevermind, I made a unrelated mistake and misread the error.
leothrix has joined #nixos
stramble-M has joined #nixos
justanotheruser has joined #nixos
<buckley310>
werner291: did you enable unfree somewhere else in your config? i would assume it would refuse to even build if that was not set...
stramble-M has quit [Remote host closed the connection]
<werner291>
Yes
stramble-M has joined #nixos
<werner291>
There is " boot.initrd.kernelModules = [ "wl" ];" though
<werner291>
What does that do?
hyper_ch2 has quit [Remote host closed the connection]
<buckley310>
says to load the "wl" driver at boot
iyzsong has quit [Ping timeout: 246 seconds]
<buckley310>
in stage 1 i think
<werner291>
Ok, that might be useful, gonna try that.
<buckley310>
it shouldnt hurt anything
<buckley310>
after the machine boots up do an `lsmod` to see if the driver is loaded, and check dmesg to see if there are relevant logs
werner291 has quit [Remote host closed the connection]
werner291 has joined #nixos
<olorin>
And has anyone seen the message `org.freedesktop.DBus.Error.ServiceUnknown: The name org.blueman.Mechanism was not provided by any .service files` on blueman-applet startup before?
<werner291>
Nope :( No wifi after booting.
<werner291>
(But I could just boot back into my old version so easily... Thanks NixOS)
emptyfl4sk has quit [Ping timeout: 246 seconds]
werner291 has quit [Remote host closed the connection]
Tucky has quit [Quit: WeeChat 2.6]
werner291 has joined #nixos
<nilsirl[m]>
I ran `nix-shell '<nixpkgs>' -A neovim` to get dependencies for neovim
<nilsirl[m]>
I then run make but it says `/bin/sh: line 1: cmake: command not found`
werner291 has quit [Remote host closed the connection]
<nilsirl[m]>
Yeah sorry I just found the github page
<nilsirl[m]>
* Yeah sorry I just found the github page. At the same time you replied
WizBright has quit [Ping timeout: 245 seconds]
<dminuoso>
Mmm.. what's the most elegant way to do nixops from a macbook currently?
<dminuoso>
Im thinking either a nixos jumphost or a VM gives you least pain.
<symphorien>
Maybe a linux remote builder is enough ?
<nilsirl[m]>
symphorien: It actually still doesn't work :) When I run `cmakeConfigurePhase` (as indicated in the neovim wikipage) I get `Could NOT find LibLUV (missing: LIBLUV_LIBRARY LIBLUV_INCLUDE_DIR)`
WizBright has joined #nixos
<symphorien>
maybe its a version mismatch
<symphorien>
ie the neovim expression is for a version of neovim which does not require libluv ?
<nilsirl[m]>
symphorien: It seems that neovim has required libuv for 4 years so...
<symphorien>
Wrong guess then
<nilsirl[m]>
(source: blame of default.nix)
werner291 has joined #nixos
<nilsirl[m]>
Also if I run `make` it fails because it cannot find `unzip`
<werner291>
buckley310 wl does show up in lsmod
<werner291>
Also this in dmesg: b43-phy0 ERROR: FOUND UNSUPPORTED PHY (Analog 12, Type 11 (AC), Revision 1)
rsoeldner has quit [Remote host closed the connection]
<buckley310>
idk :(
drakonis has joined #nixos
<werner291>
Is it possible to see if it's being overridden by an other driver somehow? I vaguely seem to remember sometthhing about blacklisting a driver, I had similar issues when running Debian on my macbook.
schjetne has quit [Ping timeout: 246 seconds]
<werner291>
It showed being used by 0 processes.
<buckley310>
can you boot to the working version and see what driver allows it to work?
<werner291>
Though that's also the case while I'm using it just fine at the moment.
olorin has quit [Remote host closed the connection]
werner291 has quit [Remote host closed the connection]
werner291 has joined #nixos
dermetfan has quit [Ping timeout: 265 seconds]
<werner291>
How do I check which driver allows it to work?
<teto>
nilsirl[m]: you trying to compile neovim master ?
<pie_>
does nix-collect-garbage --dry-run just not do anything at all???
<pie_>
it doesnt seem to do anything for me
<teto>
nilsirl[m]: a few libraries have been updated (libvterm 2 days ago) and libluv has been added. You will need to check the tracker for some help or just wait a few days that we update the package (neovim 0.4 should be released in a few days)
emptyfl4sk has joined #nixos
<werner291>
buckley310 lshw says wl0
<tilpner>
pie_: What do you expect it to do?
<pie_>
tilpner: idk, dump the list of things its deleting but not actually delete them
<pie_>
tilpner: the man page doesnt explain what the flag is supposed to do at all
<tilpner>
pie_: Try nix-store --gc --print-dead
<tilpner>
pie_: nix-collect-garbage -d --dry-run does print things
* pie_
wants to inflict some psychological pain on whoever added this flag without documenting it, but i bet when it was added the man page didnt even exist
<tilpner>
Congratulations, you may now save the next person by documenting it c.c
<tilpner>
werner291: You should really upgrade, that's long unmaintained
<pie_>
tilpner: hm. so i guess it would be nice if the man page pointed to nix-store --gc at least, because --print-dead seems like exactly what i would want to implement my own gc filters
<pie_>
doesnt deal with generations i guess
<kraem>
i'm trying to figure out why nm-applet is not following the GTK2/3 theme i set with lxappearance. it is clearly working when setting GTK2_RC_FILES (to adwaita gtkrc from the adwaita package) or GTK_THEME (to 'Adwaita:dark') - nm-applet is enabled and started through my nixconf - would the best solution be to write an overlay on the nm-applet.nix where i set the one of the env vars?
<tilpner>
pie_: You may also want to investigate linking to libnix*.so
<pie_>
tilpner: it doesnt seem to be a totally dry run, because it "removing stale link" "ermoving stale temporary roots file", whatever that does
<pie_>
but that sounds probabyl fine
growpotk- has joined #nixos
<tilpner>
kraem: How exactly do you start it?
<pie_>
tilpner: well i figured mainly by using bash but-oh wait, is there a way to pass a list of things to gc to this?
<pie_>
or would i have to call delete for every item
werner291 has quit [Ping timeout: 260 seconds]
<tilpner>
pie_: grep nix for gcDeleteSpecific
<kraem>
tilpner: it's started with 'nm-applet.enable = true;' in my nixconfig.nix
<tilpner>
Oh, that's a thing now :o
werner291 has joined #nixos
<kraem>
:) - i'm thinking maybe i should just export the variable in my bashrc and start nm-applet with my i3config?
<pie_>
tilpner: ok ill keep this in mind for when and if i try to do something about this again
dom```` has quit [Quit: ERC (IRC client for Emacs 26.1)]
<pie_>
tilpner: thx
<werner291>
@tilpner Yes, but I was stuck on a modified version of 17.03 because Wifi refused to work. It now mysteriously started working.
<tilpner>
kraem: No, it's definitely possible to keep the theme
m15k has quit [Ping timeout: 260 seconds]
<tilpner>
werner291: My systemd.user.services entry has a workaround of ". /etc/profile", where I set my theme variables
<tilpner>
Not pretty, but dry and it works
<tilpner>
:/
<kraem>
where are you starting nm-applet if not in the nixconfig?
<tilpner>
Same way you are, with systemd.user.services
<tilpner>
Oh, yeah, ". /etc/set-environment" might be a better solution
cinimod` has quit [Client Quit]
emptyfl4sk has joined #nixos
cinimod has joined #nixos
nikola_i has quit [Ping timeout: 245 seconds]
growpotk- has quit [Ping timeout: 246 seconds]
emptyfl4sk has quit [Ping timeout: 240 seconds]
sb0 has joined #nixos
cinimod has quit [Ping timeout: 246 seconds]
kgz has quit [Ping timeout: 245 seconds]
<kraem>
tilpner: ah now i figured out why shellAliases aren't propagated to dmenu as well. it reads env vars set int '/etc/environment' and not vars set in bashrc - i'm still a little bit lost how you are setting the variables in '/etc/set-environment' though. is that by creating a file with `environment.etc.<name?>.source` and then sourcing it with a systemd service you've written?
jtojnar has quit [Read error: Connection reset by peer]
ddellacosta has joined #nixos
jtojnar has joined #nixos
<tilpner>
kraem: I set environment.extraInit, but environment.variables would probably work just as well
smatting has quit [Ping timeout: 246 seconds]
<tilpner>
So I set that in my config, it gets included in set-environment, which is called from profile, which is called from the systemd unit
m15k has joined #nixos
<tilpner>
(But it doesn't need the profile, just set-environment, I'll change that)
justanotheruser has quit [Ping timeout: 240 seconds]
Ariakenom has joined #nixos
<kraem>
tilpner: thanks! missed that option
jgeerds has quit [Ping timeout: 240 seconds]
Sewni has joined #nixos
alex``` has quit [Quit: WeeChat 2.5]
emptyfl4sk has joined #nixos
ThatDocsLady has quit [Quit: Leaving]
kgz has joined #nixos
mexisme has joined #nixos
fendor has quit [Quit: Leaving]
mexisme has quit [Ping timeout: 276 seconds]
jgeerds has joined #nixos
civodul has quit [Ping timeout: 245 seconds]
drakonis has quit [Quit: WeeChat 2.4]
appleclusters has joined #nixos
drakonis has joined #nixos
ixxie has joined #nixos
<appleclusters>
My Anki (on unstables) can't find the module "pkg_resources" (similar to this error in delugehttps://github.com/NixOS/nixpkgs/pull/68484). How can I monkeypatch anki in my config.nix to include setuptools in my propagatedbuildinputs?
<pikajude>
so if I symlink a shell.nix from somewhere else on my filesystem, relative filepaths in the file will refer to that path not the current one, right?
ddellacosta has quit [Ping timeout: 276 seconds]
drakonis2 has quit [Ping timeout: 240 seconds]
<ivan>
appleclusters: check out all-packages.nix for uses of overrideAttrs
<ivan>
appleclusters: add setuptools to propagatedBuildInputs
drakonis has quit [Ping timeout: 245 seconds]
Myhlamaeus1 has joined #nixos
drakonis has joined #nixos
<m15k>
Can someone with an nixos installation check `systemctl status nscd.service` if it states `/etc/netgroup` is missing? I wonder if `netgroup` cache should be disabled by default?!
<tilpner>
nscd[1829]: 1829 checking for monitored file `/etc/netgroup': No such file or directory
<ddima>
yep, same on 19.03
<tilpner>
Also "disabled inotify-based monitoring for file `/etc/netgroup'" and "stat failed for file `/etc/netgroup'; will try again later"
<ivan>
appleclusters: I'll PR a fix very soon
<appleclusters>
@ivan: tysm. I opened an issue a minute ago
jtojnar has quit [Quit: jtojnar]
jtojnar has joined #nixos
<Izorkin>
,locate malloc/malloc.h
nixos-noob has joined #nixos
<nixos-noob>
Hi, I'm wondering if there is a way to scope allowUnfree = true so I can keep my free and unfree packages seperate and make sure they are seperate?
gnidorah has joined #nixos
<gnidorah>
nix-build -E 'with import <nixpkgs> { }; callPackage_i686 ./default.nix { }' fails for me
<gnidorah>
kexec/arch/i386/kexec-x86.c:39:22: error: 'multiboot2_x86_probe' undeclared here (not in a function); did you mean 'multiboot_x86_probe'?
<gnidorah>
anyone knows how to fix this?
<gnidorah>
i want to cross build my package for x86 on my x86_64 host to check whether it builds and work on x86
Myhlamaeus1 has quit [Read error: Connection reset by peer]
<tilpner>
nixos-noob: Does allowUnfreePredicate help?
<appleclusters>
Ok! Is that a matter of weeks? Days? @ivan
<ivan>
appleclusters: you can build this now by cloning nixpkgs and switching to the release-19.09 branch and doing `export NIX_PATH=nixpkgs=PATH/TO/nixpkgs:nixos-config=/etc/nixos/configuration.nix` before nixos-rebuild switch
<ivan>
appleclusters: It Depends but hopefully days
werner291 has quit [Remote host closed the connection]
<nixos-noob>
tilpner: that seems like it could work,
Myhlamaeus1 has joined #nixos
<tilpner>
nixos-noob: It is possible to opt-in into an unfree package set at usage-site, e.g. "pkgs.withUnfree.foo" instead of whitelisting it globally. But that's more difficult than allowUnfreePredicate
<kalbasit>
How to read Nix's progress bar specifically the numbers in [1/11/18 ...]
drakonis_ has joined #nixos
<ivan>
the GTK 2 theme became ugly in release-19.09 and I can't figure out why
justanotheruser has joined #nixos
<appleclusters>
@ivan thanks again!
domogled has joined #nixos
hmpffff has joined #nixos
realrokka has joined #nixos
rndd has quit [Quit: WeeChat 2.4]
<m15k>
I wonder if systemd-journald-audit.socket could be disabled via nix configuration?
<nixos-noob>
tilpner: could you explain that a little bit more? I don't understand how one could do that
hmpffff has quit [Quit: nchrrrr…]
Ilya_G has joined #nixos
schjetne has joined #nixos
<Ilya_G>
Looking for a way to turn some production Python application into a deployable Nix package. The only thing I can find is how to wrap existing apps in Pypi into those packages
<tilpner>
nixos-noob: If you want to learn how nixpkgs does alternate package sets (nixpkgsFun), look at stage.nix, and then you'll need to reimplement that. Sorry, I can't explain it in full details
dansho_ has joined #nixos
<tilpner>
nixos-noob: But the idea is to overlay a package set into nixpkgs, that has the exact same args as the calling one, just with config.allowUnfree = true
<ivan>
Ilya_G: what do you mean by deployable Nix package? just another thing in nixpkgs?
<Ilya_G>
So I have an app that is ran by systemd in a VM that is written in Python
schjetne has quit [Ping timeout: 240 seconds]
<Ilya_G>
I want to be able to package new releases of it and make them available to be deployed on running VMs or baked in new VM images
<Ilya_G>
My understanding is that I could use something like nix-copy-closure to manage that part of the process
nixos-noob has quit [Quit: Ping timeout (120 seconds)]
<Ilya_G>
basically have one machine as an "artifactory" for my packages and manage them that way.
schjetne has joined #nixos
<Ilya_G>
more importantly I want to wrap my custom Python app into a Nix package to be available in the nix store
<Ilya_G>
or am I mixing things up here?
o1lo01ol1o has quit [Remote host closed the connection]
<Ilya_G>
In retrospect if I want to make a python application that I push across multiple systems, do I turn it into a package and (not sure how I will distribute it) or do I turn it into closure and have that copied around by nix-copy-closure
<Ilya_G>
?
nixos-noob has joined #nixos
<nixos-noob>
tilpner: i see what you mean. that does seem quite tedious. Instead I've found this slightly nicer solution: let unfree = import <nixos> { config.allowUnfree = true; }; in and use nixos' ability to merge definitions to keep separate lists
<Ilya_G>
ivan any ideas?
hmpffff has joined #nixos
domogled has quit [Ping timeout: 245 seconds]
zupo has joined #nixos
<tilpner>
nixos-noob: That is essentially the same thing, just manual and much easier :)
mexisme has joined #nixos
domogled has joined #nixos
Myhlamaeus1 has quit [Read error: Connection reset by peer]
nixos-noob has quit [Remote host closed the connection]
<ivan>
Ilya_G: you can distribute things by running a nix-serve that serves nix derivations
<ivan>
(then add that nix-serve to every machine's nix.binaryCaches / nix.binaryCachePublicKeys)
jtojnar has joined #nixos
Melkor333 has joined #nixos
justanotheruser has quit [Ping timeout: 276 seconds]
misuzu has quit [Quit: leaving]
misuzu has joined #nixos
<kraem>
tilpner: i'm able to have /etc/set-environment include my env vars but it isn't propagated to my login or the systemd service which starts nm-applet - there must be something i'm missing
<Melkor333>
Why does the nixos manual tell me to manually create new users, when even the default configuration.nix contains a sample user configuration?
hmpffff has quit [Quit: nchrrrr…]
<ivan>
Ilya_G: I update my systems with morph to get software on them via my configuration
<ivan>
there's also nixops
hmpffff has joined #nixos
jtojnar has quit [Quit: jtojnar]
<kraem>
tilpner: i can't call nm-applet but must call it with full path if i were to start it from a bash shell as my user. it seems to be started as another user/in another scope
jtojnar has joined #nixos
wildtrees has joined #nixos
Myhlamaeus1 has joined #nixos
<Ilya_G>
@ivan: that sounds good, however I need to understand the process of packaging my software leading up to use with any of those deployment mechanisms
<tilpner>
kraem: Yes, I mentioned that I sourced either of /etc/{profile,set-environment} in my systemd user unit
<ivan>
Ilya_G: check out all the python applications in nixpkgs I guess
dermetfan has joined #nixos
<tilpner>
kraem: The module you're using does not, so you can either not use that (it's not very long), add that via systemd.user.services, or find a proper fix for nixpkgs
<Ilya_G>
@ivan: Fair point. Do you happen to know the folder they would reside in or an example of such an app
<ivan>
Ilya_G: search all-packages.nix for python3Packages.callPackage
emptyfl4sk has quit [Ping timeout: 246 seconds]
<kraem>
tilpner: sorry for my ignorance (i think systemd is really hard to understand); did you write that unit yourself or is there a std one for users who login which i can edit/append?
jtojnar has quit [Read error: Connection reset by peer]
<tilpner>
kraem: If the author of your module had used script instead of serviceConfig, you could override this easily with mkBefore
<tilpner>
But they didn't, so I'm not sure how to override it without copying the module
jtojnar_ has joined #nixos
fusion809 has quit [Remote host closed the connection]
emptyflask has quit [Ping timeout: 240 seconds]
<tilpner>
If they had, systemd.user.services.nm-applet.script = lib.mkBefore ". /etc/set-environment"; would work without any copying
emptyflask has joined #nixos
jgeerds has quit [Ping timeout: 265 seconds]
<tilpner>
kraem: You can try systemd.user.services.nm-applet.serviceConfig.ExecStartPre = ". /etc/set-environment";
<tilpner>
I would expect that to survive, but I never tried
Sewni has quit [Remote host closed the connection]
polman has quit [Ping timeout: 245 seconds]
omnipotententity has joined #nixos
shibboleth has joined #nixos
ng0 has quit [Quit: Alexa, when is the end of world?]
nspin has joined #nixos
polman has joined #nixos
<omnipotententity>
I'm trying, and probably will fail, to package NixOS. As part of this process I'm running into a strange issue where an OS path is returned as "/build/rosdep-0.15.2/test/debian/dpkg-python-apt" by get_test_dir() (I guess in nose?) Any idea what's happening here?
<kraem>
tilpner: no it does not show the ExecStartPre line :/
<tilpner>
kraem: nix-instantiate --eval '<nixpkgs/nixos>' -A config.systemd.user.services.nm-applet.serviceConfig.ExecStartPre
MmeQuignon has quit [Quit: WeeChat 2.4]
<tilpner>
Does that output the expected value, or error?
<tilpner>
worldofpeace: So because pam sets these, user units would have them available?
<worldofpeace>
tilpner: yes, all the profileRelativeVariables that running a shell would set would be available to user units because of pam
<tilpner>
Nice!
<kraem>
tilpner: error: not found
pie_ has quit [Ping timeout: 240 seconds]
<tilpner>
kraem: You added the line to your configuration.nix, right?
<kraem>
yup
<tilpner>
And other changes you make to your configuration.nix have effects?
<tilpner>
E.g. if you introduce a syntax error next to that line, you get a different error?
<tilpner>
You can paste your config for us to check, but if you did exactly what I said I don't know what's wrong
ixxie has quit [Ping timeout: 276 seconds]
<kraem>
yup but apparently i commented that out by mistake last time.. just rebuilt with the ExecStartPre line in configuration.nix and tried running daemon-reload && restart command you gave but getting "failed to restart nm-applet.. has a bad unit file setting" - do i need to reboot in between?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<tilpner>
Is that the entire error?
<tilpner>
Oh
<tilpner>
Uh oh
<tilpner>
That makes sense, sorry for leading you in the wrong direction
<colemickens>
dom`: my 'azure' branch has a newer version of azcopy packaged.
<kraem>
i can't systemctl --user cat nm-applet either after introducing that line in configuration.nix
<kraem>
"# Unit nm-applet.service could not be loaded."
<tilpner>
Yeah, forget about it :/
liberiga has joined #nixos
<kraem>
okok np :) thanks anyway!
<tilpner>
I'm so used to modules using shell scripts everywhere, that I forgot systemd likes absolute paths to executables
<kraem>
i never understood pam but would the patch worldofpeace created be some kind of solution to sourcing /etc/{profile,set-environment} on login?
<worldofpeace>
kraem: I think what you can do is override the exec to use `${pkgs.bash}/bin/bash -c 'bash'`
emptyfl4sk has joined #nixos
<tilpner>
worldofpeace: But then they still need to copy the previous ExecStart
<worldofpeace>
but I believe if you override ExecStart, it's one of those values that if you redefine it again you have to clear it first (i think)
<tilpner>
Yes, serviceConfig does not merge nicely
<omnipotententity>
Does anyone know what sort of transforms nixpkgs does to, for instance, os.path.abspath or os.path.dirname in a python package?
<omnipotententity>
and how to prevent those for a limited case?
emptyfl4sk has quit [Ping timeout: 245 seconds]
<kraem>
worldofpeace: after defining `environment.extraInit = "GTK_THEME=..."` or do you think the override running bash would have my usual gtk-themes as defined in ~/.config/gtk... ?
<cbarrett>
Hello. Anyone in here used the redis or postgres modules in nix-darwin or is willing to help me out? I'm having trouble configuring them, it seems like they're not starting properly.
<cbarrett>
I have added for example services.postgresql.enable = true; in my darwin-configuration, and switched to it. When I look for postgres with launchctl, it appears stopped.
<cbarrett>
Simply invoking `postgres` isnt enough to be able to connect. The situation is similar with Redis.
<worldofpeace>
kraem: that option will have no effect on nm-applet, perhaps enviroment.sessionVariables. These all do different things for a different means, the thing I suggested with bash is just what the emacs module does for this issue
<worldofpeace>
I'd reccomend not setting GTK_THEME globally ever
civodul has joined #nixos
<kraem>
ok so suggested solution: override ExecStart to run ${pkgs.bash}/bin/bash -c 'bash nm-applet' ?
emptyfl4sk has joined #nixos
omnipotententity has quit [Ping timeout: 265 seconds]
<gudea[m]>
@sphalerite: thanks so much! I’ll give it a shot.
knupfer has quit [Read error: Connection reset by peer]
knupfer has joined #nixos
drakonis__ has joined #nixos
knupfer has quit [Client Quit]
zupo has joined #nixos
knupfer has joined #nixos
<kraem>
worldofpeace: tried this: https://bpaste.net/show/KISu - `nix-instantiate --eval '<nixpkgs/nixos>' -A config.systemd.user.services.nm-applet.serviceConfig.ExecStart` does return the old ExecStart string though
knupfer1 has joined #nixos
drakonis has quit [Ping timeout: 276 seconds]
drakonis has joined #nixos
srl295 has joined #nixos
<worldofpeace>
kraem: that's supposed to be in nixos config, and for systemd
<worldofpeace>
kraem: see my gist, you can just put that in your configuration.nix
knupfer has quit [Ping timeout: 245 seconds]
drakonis has quit [Ping timeout: 265 seconds]
drakonis has joined #nixos
<kraem>
with that line i am supposed to disable `programs.nm-applet.enable` right?
<worldofpeace>
no, by setting that it creates a drop in unit for nm-applet
<kraem>
alright because it's saying that the systemd.user.servic... is defined multiple times with that line
jtojnar has quit [Ping timeout: 265 seconds]
drakonis__ has quit [Ping timeout: 276 seconds]
justanotheruser has joined #nixos
<johnw>
if I'm building a Docker image with dockerTools.buildImage, can I choose the base OS to be CentOS, and use Nix to install an RPM (that is also built with Nix) into that image?
<kraem>
i'll have to to read my book on distributed systems for school. thanks worldofpeace and tilpner for your time!
jtojnar has joined #nixos
vika_nezrimaya has joined #nixos
Stuck_ has joined #nixos
<eyJhb>
If I use `let backupUser = "backup"; in { .... users.users.${backupUser} ...}` is that valid?
zacts has joined #nixos
Melkor333 has quit [Quit: WeeChat 2.6]
<pikajude>
yes
o1lo01ol1o has quit [Remote host closed the connection]
<ddima>
eyJhb: `nix repl` is quite nice to try such things
<eyJhb>
ddima: yes, I just.. Am not that good at it :p I would quite fast F up the syntax for it
_ris has joined #nixos
Ilya_G has quit [Remote host closed the connection]
xkapastel has quit [Quit: Connection closed for inactivity]
<hyperfekt>
werner291: Yes, that's a module and it looks like a system configuration. Just stored elsewhere.
<hyperfekt>
Installing all applications via environment.systemPackages is a common pattern for single user systems.
<selfsymmetric-pa>
Is this failing due to Steam?
<selfsymmetric-pa>
This also says "builder for '/nix/store/nliqw679lr7l7i90pr9b72djh5mgc42m-kexec-tools-2.0.20.drv' failed with exit code 2".
<kraem>
werner291: yes that looks like a /etc/nixos/configuration.nix - it depends, you can manage packages declaratively like that in the system wide configuration or you can install them with nix-env per user (you can use something like home-manager to install packages declaratively per usr)
<selfsymmetric-pa>
Or maybe it's my kernel? :/
<werner291>
hyperfekt kraem NixOS is getting more fascinating by the minute...
fendor_ has joined #nixos
dongrappa has joined #nixos
<selfsymmetric-pa>
Hm, okay, kexec is a dependency of systemd. I probably need that...
<hyperfekt>
selfsymmetric-pa: if you scroll further up you see that the kexec compile failed, that should be the reason your ultimate build does: `kexec/arch/i386/kexec-x86.c:39:22: error: 'multiboot2_x86_probe' undeclared here`
<selfsymmetric-pa>
hyperfekt: Indeed. I don't know why that's happening for me.
<selfsymmetric-pa>
Do you think it might be because of some customization of my `systemd`?
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<selfsymmetric-pa>
Lots of important stuff in there. Doesn't look like I can just do without it.
<hyperfekt>
Actually that patch doesn't look very merged. I suggest using a version of systemd that is passed a kexectools overridden to use it.
<selfsymmetric-pa>
hyperfekt: Have you seen something like that before?
<selfsymmetric-pa>
I'll take a look on GitHub.
<hyperfekt>
Most of these will come via systemd
<hyperfekt>
Something like your kexec error? No, I'm working on general principles here.
<selfsymmetric-pa>
Okay, thank you.
growpotkin has joined #nixos
<selfsymmetric-pa>
I don't know how to confidently approach that patch and override. I think I'll revert and hope for an upstream fix later.
<eyJhb>
What is the best way to "backport" or, include a module+package that is in unstable, in the current stable channel? I can think of creating my own repo, and then using that as my stable channel with cherry picked commits. But there must be a better way
justanotheruser has quit [Ping timeout: 276 seconds]
<eyJhb>
I hoped I could override the package, and then import the module, but that doesn't work well :(
werner291 has quit [Remote host closed the connection]
virus_dave has joined #nixos
<hyperfekt>
selfsymmetric-pa: Is your issue with overriding to use a patch? Usually it's pretty simple, do package-to-be-overriden.overrideAttrs (old: { patches = old.patches ++ [ patch-you-want] }) iirc
<worldofpeace>
selfsymmetric-pa: I've already fixed this issue with kexec, no?
<selfsymmetric-pa>
worldofpeace: Oh really? I've just updated my channel nixos-19.09-small a few minutes ago.
<hyperfekt>
eyJhb: There's no really good way, unfortunately. Use a different repo, as you suggested, or use disabledModules + import to pull in your fixed version. I personally have a mechanism to specify patches to NixOS modules in my config that get applied before the system is built.
<worldofpeace>
(so staging branch for 19.09)
<selfsymmetric-pa>
worldofpeace: Ah brilliant! Thank you for your fix.
<selfsymmetric-pa>
worldofpeace: What do you mean by a "mass rebuilding change"?
<clever>
selfsymmetric-pa: hydra has to rebuild most of nixpkgs before the fix gets into a channel
<hyperfekt>
damn the nixos community is on the ball, it's already fixed :D
<selfsymmetric-pa>
worldofpeace++
<selfsymmetric-pa>
clever: Aha! That explains it. It's on `staging-19.09` but not on `nixos-19.09-small`, correct?
<selfsymmetric-pa>
clever: Could you tell me how to monitor hydra progress?
<eyJhb>
hyperfekt: Wouldn't I be able to import it from nixos-unstable, and use it? I somewhat thing the problem is I am trying to run it in a container... Which adds complexity :/
<clever>
selfsymmetric-pa: after staging is manually merged into master, youll want to wait for the jobset for nixos-unstable
<andi->
hyperfekt: better not. It just shows that we should load-balance better
<selfsymmetric-pa>
clever: Got it, thank you!
<hyperfekt>
andi-: yeah, i wasn't serious ^^
<selfsymmetric-pa>
clever: Though...staging isn't merged into master, is it? It's merged into a release channel?
matthuszagh has joined #nixos
<clever>
selfsymmetric-pa: staging gets merged into master
<clever>
selfsymmetric-pa: staging-19.09 gets merged into release-19.09
<selfsymmetric-pa>
clever: Aha thank you.
<hyperfekt>
eyJhb: Yes, you can import as long as you use disabledModules and also make sure it uses the right package version if needed. i think.
Fendor has quit [Quit: Leaving]
<eyJhb>
hyperfekt: well, it currently isn't in stable anyways :p - But makes sense to disable WHEN it comes available. But when I have to do the same trick in a container, then it somehow doesn't want to work
<selfsymmetric-pa>
clever: So I can look at the merge history of `release-19.09` to track that channel. If I wait for `b0b3b29e20dd41cd4d7d5af6072f2424f1b11026` to be on that branch, and then wait for `howoldis` to show a new `nixos-19.09-small` green build, then it should be available. Are my assumptions correct?
<matthuszagh>
hello. i'm using a hackrf which is a usb device that requires users to be in the plugdev group. but it sounds like nixos doesn't use plugdev. how should i work around this? should i try to set the rules file to use another group?
<eyJhb>
But I get `/jerror: attribute 'jellyfin' missing, at /nix/var/nix/profiles/per-user/root/channels/unstable/nixos/modules/services/misc/jellyfin.nix:38:24`
<clever>
selfsymmetric-pa: just spam f5 until it shows another branch!
<clever>
selfsymmetric-pa: then click the tested jobset link on howoldis, for that channel, and wait for the eval to be all green
<selfsymmetric-pa>
clever: Phenomenal. Thank you so much.
<averell>
that commit should really just be picked to release-19.09
<selfsymmetric-pa>
clever++
ddellacosta has joined #nixos
appleclusters has quit [Quit: Connection closed for inactivity]
<hyperfekt>
eyJhb: That's the second part, making the package available, missing. I haven't worked with containers before so I'm not sure how to change their nixpkgs version (to one that includes your package)...
<eyJhb>
hyperfekt: somehow if I include it in my main config, then it works fine (no need to include package), but container => no dice
<eyJhb>
Which is what is tripping me up
<hyperfekt>
oh that's strange. no immediate idea why that could be if you haven't already made jellyfin available otherwise...
<eyJhb>
`nix search -u jellyfin` returns nothing, so :/
<eyJhb>
I am assuming that means it isn't there. ANd nix-shell -p jellyfin => error
<eyJhb>
So, magic atm
ng0 has joined #nixos
matthuszagh has quit [Remote host closed the connection]
selfsymmetric-pa has quit [Remote host closed the connection]
dongrappa has joined #nixos
<infinisil>
clever: Bot is dead, but it's not on my end and gchristensen is gchrholiday