<ismooch>
anyone alive in here that could help me troubleshoot some issues I am running into with a NixOS VM that I know nothing about?
<gchristensen>
best to go ahead and ask, ismooch :)
<ismooch>
in case someone shows up, goes into Stage 2 and makes it just a second into the boot process when it dumps a kernel panic message and locks the session. Reboots send it down a fsck failure on nixOS-var disk due to not being unmounted. Manual scans from the kernel turn out clean
<ismooch>
thanks gchristensen
wnklmnn has quit [Quit: Leaving]
<ismooch>
a little extra info before I start my drive home: this is a VMware VM. There was a power outage over the weekend and other VMs on the host returned successfully. The NixOS VM never makes it more than half a second into stage 2 before dieing in kernel panic. We restored to a backup from Friday night (a full 24 hours before the power issue) and the
<ismooch>
issue persists. fsck all come back clean. It seems to die when mounting the 'nixos-var' disk, as it is not cleanly unmounted when rebooted, and is the only disk to report this. I do not have much knowledge of the machine, as it was software vendor managed until the needs of the server were replaced with another solution, but the end-user is wanting
<ismooch>
to check some old data. This was not an issue until the system had an abrupt shutdown Saturday night.
<tpw_rules>
do you by any chance use zfs on the host?
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #nixos
sigmundv__ has quit [Remote host closed the connection]
sigmundv has joined #nixos
<ismooch>
I do not think so, but must admit i am not as familiar with VMware as other Hypervisors. File system type seems to be VMFS5, but I do not know if I need to drill further down to answer that
<tpw_rules>
i had a pretty horrible experience one time similar to that where it turned out zfs was not invalidating the caches incorrectly when i restored from backup
<ismooch>
well.. this issue was happening /before/ the backup restore :/
<tpw_rules>
oh if you're running the vmware hypervisor system then i don't think it can be zfs
<tpw_rules>
well what had happened is that according to the VM the backup was only partially restored. so it was even more corrupted
ahmedelgabri has quit [Remote host closed the connection]
<tpw_rules>
i had to reboot, restore the backup, then reboot again without attempting to do anything else and it finally took
<ismooch>
ah, well the fsck comes back clean on all disks.. tho i guess i could see how it wouldn't know any better if it was busted
<tpw_rules>
if that's true, can't you just pull the data off the disks for the user?
Rusty1 has joined #nixos
<ismooch>
its a database backend, with a web front end
orivej has joined #nixos
<ismooch>
while thats probably possible, it would be useless for the end-user. and who has the time to collate unkeyed databases.
<ismooch>
might be talking to the wrong crowd for that one tho
<tpw_rules>
you might be able to mount a nixos live image in the VM, chroot into the nixos install, and run nixos-rebuild. back up again beforehand though. and if fsck is clean on all disks, can't you just mark them as clean and have it boot?
jonringer has quit [Ping timeout: 264 seconds]
<tpw_rules>
can you share the full text of the boot log and kernel panic?
<ismooch>
I might have to try a live image and see. I have not gone that route yet. the disks get marked clean, but then dumps into kernel panic right after stage1
<ismooch>
might have to wait for me to be a different terminal to get some useful logs.
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JtCt2
<Rusty1>
i'm thinking the vm, maybe getting looged full at boot?
<Rusty1>
*logged
<ismooch>
hmmm...
<tpw_rules>
can you at least share the panic message and a couple lines before it?
<tpw_rules>
does systemd start?
<{^_^}>
[nixpkgs] @MetaDark opened pull request #110904 → vkBasalt: init at 0.3.2.4 → https://git.io/JtCtP
<ismooch>
is there a way to pull the full kernel panic log from the interactive kernel?
nhs has quit [Ping timeout: 264 seconds]
<ismooch>
sorry.. reaching my limits of knowledge in this area. I can fix a bunch, but don't have super experience with a linux box that refuses to get into the OS beyond RAID rebuilds and fsck checks
<tpw_rules>
take a screenshot?
<ismooch>
all the good stuff is above the view window of the console. But I can def give you what I can see
<{^_^}>
[nixpkgs] @jbaum98 opened pull request #110905 → tabula-java: Init at 1.04 → https://git.io/JtCt9
<g-w1>
I am having this issue when trying to build wio Run-time dependency wayland-protocols found: NO (tried pkgconfig). https://wio-project.org/
<g-w1>
I did nix-shell -p wayland to no benefit
sigmundv has quit [Read error: Connection reset by peer]
sigmundv has joined #nixos
<tpw_rules>
did you make your own derivation for it? can you link it?
<{^_^}>
[nixpkgs] @costrouc opened pull request #110907 → pythonPackages.jupyer-server-proxy: init at 1.5.4 → https://git.io/JtCmb
<g-w1>
no, I just used a nix-shell
<bqv>
wow that's what you meant by sudo fix
<bqv>
that's a hell of a bug
<bqv>
might just disable sudo and rely on doas...
<tpw_rules>
btw, can anybody else search nixpkgs on github? it always turns up 0 code results for me now
nhs has quit [Ping timeout: 260 seconds]
<infinisil>
g-w1: In the end you'll definitely want to write a Nix file for `nix-build`'ing, nix-shell -p is very limited
<g-w1>
I usually do, but I just wanted to build this. Are there any custom deps that I am missing for the wayland stuff?
<tpw_rules>
it's already in nixpkgs and appears to be packaged correctly. i wonder if it can't use the version of wayland-protocols installed
<tpw_rules>
or you're on an older stable release and it's broken there. i just checked master
<g-w1>
oh huh, lemme try it again
<tpw_rules>
s/installed/packaged/
<g-w1>
even with nix-shell -p wayland-protocols it still says |subprojects/wlroots/meson.build:94:0: Exception: Dependency "wayland-protocols" not found, tried pkgconfig and cmake
<tpw_rules>
did you put wayland-protocols and wio in the same shell?
nhs has joined #nixos
<g-w1>
wdym
<tpw_rules>
like nix-shell -p wayland-protocols wio
<g-w1>
you dont understand, I am trying to build wio
<g-w1>
its a meson build error not finding wayland-protocols
<infinisil>
You probably need to add pkgconfig
<tpw_rules>
pkgconfig and wayland-protocols already appear to be inputs
<siraben>
pkg-config*
<g-w1>
inputs to what?
h0m1 has quit [Ping timeout: 264 seconds]
<tpw_rules>
to the derivation. it's already included wayland-protocols and pkg-config. so either wayland-protocols is broken, wio is broken, or they are incompatible
kalbasit_ has joined #nixos
h0m1 has joined #nixos
<g-w1>
here is the line in the meson.build; wayland_protos = dependency('wayland-protocols', version: '>=1.17')
<matthewcroughan>
ryantm: just figuring out your agenix stuff now, it looks fantastic on the surface
arahael has quit [Ping timeout: 260 seconds]
<matthewcroughan>
and I really appreciate how you've set up the README with **all** manners of installation, really shows off Nix.
<matthewcroughan>
In fact, I think this readme is a really good reference example of all the ways you can declare something
logand` has quit [Ping timeout: 260 seconds]
gustavderdrache has left #nixos [#nixos]
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #nixos
jesystani has joined #nixos
captn3m0- has quit [Ping timeout: 256 seconds]
<jesystani>
howdy, im trying to get my xsession working nicely. i have bspwm enabled in my home-manager config, but i cant figure out how to get it to start on logon. ideally id like to have the default text-based login prompt, then upon login, have the xsession automatically start with whatever that user has defined in their home.nix file
otulp has joined #nixos
<{^_^}>
[nixpkgs] @jpas opened pull request #110909 → factorio: update all versions to 1.1.19 → https://git.io/JtC3P
<jesystani>
im unsure of the "proper nix way" to do this, following the home-manager docs seems to not work, and im unsure where to go (id prefer not to have to define the windowManager in configuration.nix)
zebrag has quit [Quit: Konversation terminated!]
nhs has joined #nixos
<matthewcroughan>
jesystani: I've been in your position before and there is no "proper" nix way
<matthewcroughan>
This is the most confusing bit about nix.
<matthewcroughan>
It was the same for me when I learned Docker.
zebrag has joined #nixos
<matthewcroughan>
What's the "correct docker way to do this", and even though docker-compose and docker are opinionated, you can still do a lot of things kinda wrong.
<matthewcroughan>
So it's just about discovering it yourself. Can you explain why you don't want to put it in configuraiton.nix?
gustavderdrache has joined #nixos
<matthewcroughan>
Hopefully I can help a bit, because it's subjective.
<jesystani>
to me it seems like better seperation of concerns to have my windowManager defined along with my user, since home-manager claims to let me do that, although i cant figure out how to get it working the way the docs make it seem like i should
<matthewcroughan>
sure, but it's actually best IMO to combine home-manager and standard nix.
<matthewcroughan>
home-manager is for declaring things more explicitly than the standard nix modules will allow you to
<jesystani>
so its not possible to define my window manager in home-manager?
<matthewcroughan>
for example, home-manager has a way of letting you set firefox.plugins
<jesystani>
the docs had a section about having home-manager manage your xsession but i cant figure out how to get it to work
<matthewcroughan>
jesystani: it is, it just might be harder than you need it to be *and* it may not actually be better.
<matthewcroughan>
because you may not even use any of home-manager's features for the window manager
<matthewcroughan>
keep in mind that all of this crap is just bash scripts that do things for you
<matthewcroughan>
seriously, that's nix
hspak has quit [Ping timeout: 240 seconds]
<matthewcroughan>
jesystani: run `man home-configuration.nix`
<matthewcroughan>
and search for `xsession` by pressing the / key and searching for it
nhs has quit [Ping timeout: 260 seconds]
<matthewcroughan>
pressing the letter n will take you forward, and pressing shift + n will take you back
<matthewcroughan>
unsure how much exp you have so sorry if you already know
<jesystani>
im fairly experienced with nix and linux, just not with X
<matthewcroughan>
alright, cool. So check out all of the things in that manual that start with `xsession`
<matthewcroughan>
let me know if any of them seem important and we can discuss it
otulp has quit [Ping timeout: 264 seconds]
<matthewcroughan>
there is an incredible amount of options here, that's why it's not always ideal to use home-manager, unless you really want to set the pointerCursor theme and settings for the user matthew
<matthewcroughan>
basically, the fight between home-manager and standard nix is granularity. How granular and well defined you want your systems to be.
<matthewcroughan>
if you want your system to be 100% declarative and therefore have hundreds more lines of nix to define the system, then home-managerise everything, but it's not always the best path because it might be too much when you only really have one user on the system
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #nixos
<jesystani>
so my problem is that i can start bspwm through the startx displayManager, but its not reading any of the config that im setting for bspwm in my home-configuration
K0kada has joined #nixos
<matthewcroughan>
how is bspwn installed and defined in nix?
<matthewcroughan>
and how is your config defined? Can I see?
nhs has joined #nixos
<tpw_rules>
jesystani: my secret weapon is strace. figure out which files it IS reading
K0kada has quit [Remote host closed the connection]
<matthewcroughan>
that too
<jesystani>
in my home.nix i have the xsession.windowManager.bspwm block set, following the options from the man page. i also have xsession.enable = true in there, and in my configuration.nix i have services.xserver.enable = true, like it said to on the home-manager page
<matthewcroughan>
that's kind of epic actually tpw_rules
<matthewcroughan>
so mine sets up the dotfiles with this `extraConfig` attribute
<matthewcroughan>
on L30 you see?
<matthewcroughan>
Yeah I kinda had the same issue as you when I first started using home-manager, thinking now how I debugged it.
<matthewcroughan>
So, how are you starting bspwn? With startx?
<matthewcroughan>
because I'm using a display manager, which sorts out the loading of config files, etc, somehow, I'm honestly not really sure how that works out
<ryantm>
matthewcroughan thanks I copied the readme from sops-nix 😃 let me know if you have questions/issues!
<matthewcroughan>
I just know that there's obviously a difference for me if I launch sway like `sway`, vs `sudo sway` vs sway in a display manager.
nhs has quit [Ping timeout: 265 seconds]
<matthewcroughan>
in the case of launching raw on tty it would load stuff from /etc/ instead of .config
<jesystani>
i have home-manager writing a file ~/.xinitrc with `exec bspwm` in it, then once i login i run startx. when i tried using lightdm it would tell me "failed to start session", and i dont want to have to use an x based displaymanager anyway because it seems like bloat
<matthewcroughan>
because remember, all home-manager is doing is summoning a bash script to write a file in your ~/.config
<matthewcroughan>
so it ought to be the case that bspwn isn't reading from .config, for some reason
<matthewcroughan>
check to see if there is a file in .config that home-manager has generated
<tpw_rules>
jesystani: have you checked the X logs in systemd?
<matthewcroughan>
you said "but its not reading any of the config that im setting for bspwm in my home-configuration"
<matthewcroughan>
so it is generating xinitrc files, but what about config files for bspwm?
otulp has joined #nixos
<jesystani>
i dont see any configs there, and im not sure about systemd logs for nix, but the one in /var/log doesnt have any mention of bspwm
<matthewcroughan>
jesystani: systemd is the way things are now, so you usually use `journalctl` to view logs rather than /var/log.
hspak has joined #nixos
<matthewcroughan>
journalctl -f will follow the system log
<matthewcroughan>
journalctl -fu <unit> will follow the unit you specify, for example `journalctl -fu display-manager` would follow the display manager you have set up in nix.
<tpw_rules>
that's what i often say when working with journalctl
<matthewcroughan>
`systemctl status` will give you an overview of system services, `systemctl --user status` will give you an overview of user services.
<matthewcroughan>
in NixOS, the `--user` is really important, since all these things are properly segmented, whereas on other distributions this feature of systemd is entirely ignored lol
<tpw_rules>
jesystani: i think Xorg logs to xession-wrapper in the systemd journal now instead of a file
<matthewcroughan>
either way, if he just does `journalctl -f `it will spit out the entire systems logs so it can be caught
<tpw_rules>
or just grep it for bspwm :P that's what i'd start with
<jesystani>
no results for bspwm
<jesystani>
but ps aux says that bspwm is running
<matthewcroughan>
jesystani: just do `journalctl -e` and then press / for searching, and search for bspwn
<matthewcroughan>
-e will just spit out the entire system log since boot for your pleasure, into a pager.
<jesystani>
no result
<matthewcroughan>
I don't get anything for sway on my sytem, this logs systemd services
arahael2 has joined #nixos
K0kada has joined #nixos
K0kada has quit [Remote host closed the connection]
<matthewcroughan>
so unless bspwm is being spawned by a systemd service, it's probably not going to be logged
arahael1 has quit [Ping timeout: 240 seconds]
<matthewcroughan>
it's probably just going to be globbed in with xorg, i.e xinit
<tpw_rules>
jesystani: did you manually set xsession.windowManager.command?
<jesystani>
i havent, i get that theres a conflict when i do
<matthewcroughan>
jesystani: would be good if you could share your nixcfg
<matthewcroughan>
your whole setup on github maybe so we can see?
<tpw_rules>
okay yeah you shouldn't. do you see bspwm being pointed to a config file in ps aux?
<jesystani>
its on github, but its private in case i accidentally upload a private key, and im in tty rn so i cant set it to unprivate
<jesystani>
nope it just says bspwm
<matthewcroughan>
tpw_rules: would ps aux show that? O.o
<tpw_rules>
the derivation in home-manager sets xsession.windowManager.command to /nix/store/<etc>/bin/bspwm -c /nix/store/<etc>-bspwmrc where that second file is the generated config. so if you start it from startx it won't pick up the config file
<matthewcroughan>
does home-manager make sway point to a thing with `-c`?
<jesystani>
it would if it was pointed at by the command line argument iirc
<tpw_rules>
or rather xinitrc
K0kada has joined #nixos
<matthewcroughan>
I thought it'd just be `bspwm` and it'd pick up the default of .config/bspwm or something
<jesystani>
tpw_rules: ahh gotcha, so i need to use an x based display manager?
<jesystani>
thats a little dissapointing but i can live with it i guess?
nhs has joined #nixos
<matthewcroughan>
yeah, my home-manager config for sway just shows "/nix/store/q1icr4h1nqrqikypsh2rxl9fvz075xs5-sway-unwrapped-1.5.1/bin/sway"
<tpw_rules>
i don't know enough about home-manager to say if what you want is a supported configuration but maybe you can patch the derivation to have it write to ~/.config/bspwm/bspwmrc
K0kada has quit [Remote host closed the connection]
<tpw_rules>
hell actually you could probably just have it write "exec ${config.xsession.windowManager.command}" to your .xinitrc
<matthewcroughan>
jesystani: you may have a lot more luck in the home-manager matrix
<tpw_rules>
instead of just "exec bspwm"
otulp has quit [Ping timeout: 264 seconds]
<jesystani>
ill try that
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
aw has joined #nixos
<matthewcroughan>
jesystani: actually, you can just join #home-manager here on freenode, it's bridged over
spacefrogg has joined #nixos
stephank has quit [Quit: stephank]
<jesystani>
tpw_rules: that worked! thank you :)
stephank has joined #nixos
<matthewcroughan>
tpw_rules: that's a good point, but I'd find it hard to believe home-manager would not make it such that the config was used
<matthewcroughan>
this is definitely a bug :P
<jesystani>
uhh, olmast
<matthewcroughan>
jesystani: I'd still report this experience in #home-manager, so it can get fixed.
rdr has joined #nixos
<tpw_rules>
jesystani: i just want to make clear that i helped by reading the derivation in home-manager despite never having used home-manager before. i'm glad to help but really it seems the only weapon one has against nix is reverse engineering it by reading the source and using the classic tools like strace, ps, searching logs, and so forth
<jesystani>
ok ill try that
<tpw_rules>
(disclaimer: boy do i hate computers)
<matthewcroughan>
tpw_rules: yeah, but I hate it less than anything else
<jesystani>
at the moment its not starting the sxhkd service but ill see what its doing
<matthewcroughan>
hey tpw_rules, do you want to see the output of `history | grep '/etc/*'?
<matthewcroughan>
It's worse than whatever you just did on github to figure that issue out :D
<rdr>
i'm playing around with the livecd, i found a package i'd like to install, how do i install it? I can't see anything applicable in nix --help
<rdr>
is it build?
lambda-11235 has quit [Ping timeout: 264 seconds]
<tpw_rules>
rdr: nix-env -i <package>. it would be better to say nix-env -iA nixos.<package> though if you know the actual name in nixpkgs. what package?
<rdr>
nixos.brave
<tpw_rules>
yeah then just do nix-env -iA nixos.brave and then you should be able to run brave
<unclechu>
are there any existing helpers for checking version digits?
nhs has quit [Ping timeout: 240 seconds]
<{^_^}>
[nixpkgs] @peterhoeg merged pull request #110744 → xkcdpass: py2 -> py3, add manpage and run tests → https://git.io/JtZSM
<{^_^}>
[nixpkgs] @peterhoeg pushed to master « xkcdpass: py2 -> py3, add manpage and run tests »: https://git.io/JtCGZ
<unclechu>
currently i’m writing an assert like this one:
<unclechu>
`builtins.map pkgs.lib.toInt (builtins.filter builtins.isString (builtins.split "\\." pkg.version))` and then I use `elemAt`
<siraben>
`nix run nixpkgs#gambit -- --help` gives `unable to execute '/nix/store/afjshsyqljnvywv3273nrzwx661gzj3r-gambit-4.9.3/bin/gambit': No such file or directory`, why can't it find the binary?
tarruda2 has quit [Ping timeout: 272 seconds]
lambda-11235 has joined #nixos
<matthewcroughan>
does anyone here use ryantm's agenix?
<jesystani>
siraben: my guess wolud be that the binary is named something other than gambit
otulp has joined #nixos
<siraben>
jesystani: and so it is, so nix run tries to use the package name as the command to run?
<bqv>
what's the best way to achieve a holey list?
<matthewcroughan>
bqv: write it in HolyC
<bqv>
i want something like an attrset indexed by numbers
jesystani has quit [Remote host closed the connection]
<unclechu>
bqv: i don’t know about the best way but foldl will do
kiboneu has joined #nixos
<bqv>
(?)
<bqv>
foldl on what?
<bqv>
tbh, nevermind.. i'm gonna do what i need to do using assertions instead
<ryantm>
<matthewcroughan "does anyone here use ryantm's ag"> I do
evax_ has joined #nixos
<matthewcroughan>
ryantm: :O
<bqv>
lmao
<matthewcroughan>
o/
<matthewcroughan>
BTW, I see you're working on this mmdoc thing.
<matthewcroughan>
The bane of my existence for the past few months has been sphinx-doc, what a trashfire.
<ryantm>
Hope I don't make another trash fire
cYmen_ has joined #nixos
<matthewcroughan>
You seem to be on a crusade to obsolete things with minimalism.
LilleCarl has quit [Ping timeout: 240 seconds]
<matthewcroughan>
ryantm: I just got your agenix stuff to work, but I couldn't get it working with whatever this ssh-keyscan thing is you're talking about in the readme.
<matthewcroughan>
what exactly is that?
<matthewcroughan>
if I `ssh-keyscan localhost` and get the minimal pubkey here, it never works `ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJJ1zPgcnzvK8sUhwX752acg+YkiYR9tyQcZAYj2NAxu`
stree has quit [Quit: Caught exception]
<matthewcroughan>
but if I get the large one, `ssh-rsa` pubkey, it does.
<KarlJoad>
energizer: Mostly the time it would take to do so. It would update quite a number of packages on me. I just don't want to do that tonight, while I have 3-4 classes worth of work currently open.
<KarlJoad>
Also, does `texdoc` work on nixos? I can't seem to use it. I always get "texdoc error: No texlive.tlpdb nor shipped tlpdb data found."
<Ke>
so I have firefox-esr saying "We can’t connect to the server at ..." for everything
<Ke>
chromium works and networking obviously works
<Ke>
tried with no proxy
<Ke>
maybe now reset firefox settings
<Ke>
hmm, with settings reset it works
<Ke>
wonder if this is home-manager doing something
<gianarb>
Hello! :) newbie question (I hope the level up with them at some point) I can't figure out how to install a package from pip (in this case mkdocs-material) https://gist.github.com/gianarb/5f136ebf18da5e3137af0f8723519392 any tip for me? :) thanks
kyren has quit [Quit: Idle for 30+ days]
grahamc[m] has quit [Quit: Idle for 30+ days]
ptman_[m] has quit [Quit: Idle for 30+ days]
<Ke>
it seems that it's fine even with h-m settings after profile reset
Mr_Cue has quit [Remote host closed the connection]
rauno has joined #nixos
sangoma has joined #nixos
<rauno>
Hum, is there a bug in 19.03 with setting interface mtu? I constantly get "numeric value out of range" when i set it on a vlan thats belongs to a bond, in the config bond has already higher mtu..
Mr_Cue has joined #nixos
<rauno>
if i start the network dev service "network-link-[name]" again manually it successfully sets the mtu..
<thibm>
Enventually, you should add the package to nixpkgs
virus_dave has quit [Quit: virus_dave]
<gianarb>
Thanks thibm ! I will try to add it nix-shell first to see if I can figure it out and I will open a PR to nixpkg as soon as I can get it working.
<thibm>
perfect
Boobuigi has joined #nixos
<Ke>
,locate gitk
Qwerky has joined #nixos
<{^_^}>
Found in packages: git, gitMinimal, gitAndTools.gitSVN, gitAndTools.gitFull
<Ke>
I have git, why don't I have gitk?
<thibm>
Ke: git's option guiSupport is set to false in all-packages.nix
<thibm>
Don't know why {^_^} says gitk is in git
nhs has joined #nixos
<thibm>
Meson: Using 'PKG_CONFIG' from environment with value: 'aarch64-unknown-linux-gnu-pkg-config'
<thibm>
Meson later: Did not find pkg-config by name 'pkg-config' / Found Pkg-config: NO
* thibm
sigh
domogled has quit [Ping timeout: 240 seconds]
<bqv>
cole-h: nixos manual and h-m manual are separate, if you try and get nixos to index the h-m module too it breaks
<bqv>
I'd much prefer having them all in one but I had to compromise cause that one's a spikey bugger
<ocharles>
Is there a way to trace all paths copied into the store when nix-instantiate is called? I would also take just watching all store changes (I tried to do this with inotify tools)
mananamenos has quit [Read error: Connection reset by peer]
nwspk has quit [Ping timeout: 264 seconds]
ckauhaus has joined #nixos
evax_ has joined #nixos
meh` has joined #nixos
WilliButz has joined #nixos
<{^_^}>
[nixpkgs] @r-burns opened pull request #110919 → androidenv: do not copy verbosely → https://git.io/JtC2E
<{^_^}>
[nixpkgs] @Mic92 closed pull request #107119 → texlive: use python3 by default → https://git.io/JLlN0
<{^_^}>
[nixpkgs] @Mic92 reopened pull request #107119 → texlive: use python3 by default → https://git.io/JLlN0
cfricke has joined #nixos
nwspk has joined #nixos
rauno has joined #nixos
nwspk has quit [Client Quit]
<{^_^}>
[nixpkgs] @RCoeurjoly opened pull request #110920 → Change license of nix expression to reflect actual license of project. → https://git.io/JtC2S
<evils>
i've got lorri set up with direnv, is there a command that is equivalent to entering `lorri shell` and exiting? (to ensure the current direnv is up-to-date)
<attila_lendvai>
so, there's no way to name default.nix somewhat less intrusively? e.g. .default.nix? it would be nice when i check them into random projects... not everyone is using nix
aaa__ has joined #nixos
<enteee>
attila_lendvai: you can name your nix files however you want. It just won't be picked up by default using the cli utils.
nhs has quit [Ping timeout: 246 seconds]
<attila_lendvai>
i know that, but that's rather inconvenient when using nix-shell
<enteee>
not quite sure what you are asking for then.
<thibm>
attila_lendvai: *if* you (and other developers/users) use direnv/lorri, you can name you file whatever you want and configure the .envrc file to use it, and it removes the need to use nix-shell manually
<attila_lendvai>
thibm, excellent! thanks! i'll look into that. do you recommend lorri or direnv?
zupo has joined #nixos
<evils>
attila_lendvai: i recommend using both (you can use direnv to set up the env with lorri on entering a directory)
<infinisil>
Why would .default.nix help?
<infinisil>
I personally can't recommend lorri
<{^_^}>
[nixpkgs] @Izorkin opened pull request #110927 → nixos/qemu-guest-agent: fix start service → https://git.io/JtCrL
<{^_^}>
[nix] @regnat pushed 3 commits to ca/properly-store-outputs: https://git.io/JtCrt
<evils>
hidden default.nix presumably because just we're into weird stuff, doesn't mean everyone that uses the project has to be exposed to it? :P
<{^_^}>
[nix] @regnat pushed 0 commits to ca/store-unresolved-outputs: https://git.io/JtCrO
nhs has joined #nixos
<infinisil>
I never really liked the concept of hiding files fwiw
kalbasit has quit [Ping timeout: 272 seconds]
<infinisil>
Losing all my minecraft worlds because I didn't transfer .minecraft because it was hidden doesn'r help ...
<evils>
i think it has its place with things like .envrc, which is kinda only for those "in the know", but if for no other reason, i like [shell|default].nix as a subtle advertisement for nix
<{^_^}>
[nix] @regnat pushed 0 commits to ca/properly-store-outputs: https://git.io/JtCra
<__monty__>
infinisil: Why not a fan of lorri? It's the only sane way to use nix-shells if you use fish imo : )
<infinisil>
__monty__: It's very hard to know whether the env is up-to-date
<ehmry>
would be nice if nix would source some configuration from the current working dir, such as the build machines
<evils>
yea that's my main issue with it, hence my previous question
<infinisil>
If there's an error, i don't even think it gets reported
<__monty__>
Ah, you must be talking about running lorri as a service.
<__monty__>
I always have it in a window so I can check on it.
gianarb1 has quit [Ping timeout: 256 seconds]
<azazel>
is there a way to distinguish between darwin or linux using the bare nix? i.e. to pin either the nixos or darwin channel?
<__monty__>
Valid complaint about UX but it's so nice to use I don't mind. I don't even have it running most of the time cause I'm not constantly changing my shells, I'm using them to change other stuff : )
<infinisil>
It still requires you to mentally track something else. "Do I need to wait until it's done because something relevant changed or not?"
aaa__ has joined #nixos
<__monty__>
azazel: stdenv.isDarwin? And then return either a darwin or a linux pin?
ManiacOfMadness has joined #nixos
<__monty__>
infinisil: Still better than being stuck waiting on evaluation imo. And the convenience of not being stuck with bash in and of itself is worth it to me.
<infinisil>
While I'm not a fan of flakes either, their cached evaluation allows fast nix-shells without lorri, which I like a lot
<infinisil>
That is, direnv + nix print-dev-env
<azazel>
__monty__: you mean nixpkgs.stdenv.isDarwin, so I have to consult the current loaded nixpkgs....
<__monty__>
But that's only for shells that have been built. Lorri means I don't have to wait until the shell is updated to get back to work.
<infinisil>
azazel: builtins.currentSystem is the system nix is evaluated on
<azazel>
infinisil: oh thanks!
gentauro has quit [Read error: Connection reset by peer]
<evils>
honestly, the only reason i use lorri is because i like my pretty prompt and zsh autocompletion
<azazel>
mmm nix print-dev-env gives me an error
gentauro has joined #nixos
<evils>
__monty__: except if you want an up-to-date shell you still have to wait, and there's no way of knowing if your shell is up-to-date unless you run `lorri shell` and exit again?
<infinisil>
evils: direnv on its own allows you to use zsh too btw
<__monty__>
evils: I just look at `lorri daemon`'s output. It's not especially user-friendly output but it's plenty of feedback on the status of the evaluation.
<evils>
infinisil: yea, but the lorri instructions include direnv, and why not set up the convenience, i'm lazy...
<infinisil>
azazel: nix print-dev-env requires a working flake
<andi->
So, I got this MacBook Pro with an M1 for work now... how does Nix work on that? does it still require all kinds of compat layers or does it work natively?
<Ke>
or maybe at all
<Ke>
last time I heard, big sur just does not work yet reasonably
<azazel>
infinisil: yep I see, I just updated nix yesterday and now executing nix help gives me a nice man page! yay
<Ke>
I would assume that M1 would just work, once big sur works
<andi->
Ke: mhm, do we have the builder in hydra yet?
<evils>
__monty__: but then i have to make sure i have lorri daemon running in a terminal somewhere, have to remember to check on it, at that point i prefer `nix-shell --run zsh`
<Arahael>
i've taken a bit of a break from nix, but having got an M1, i think i would probably just use a linux vm for it. (parallels works nicely, if you get the beta).
kalbasit has joined #nixos
<Ke>
andi-: I kind of assumed he want to do nix on macOS directly
<Ke>
andi-: no idea
<Ke>
just giving out cached reply
<Ke>
cache may be out of date
<Arahael>
Ke: it's rather painful as a lot of language compilers don't quite support it yet. do we still need to use nightlies for rust, go, etc?
<Ke>
I remember seeing some wrapper scripts that created encrypted user controlled volume on /nix for earlier macOSes, but I think there were even some newer isseus
ManiacOfMadness has quit [Ping timeout: 265 seconds]
vidbina has quit [Ping timeout: 272 seconds]
fuiltilt has quit [Quit: WeeChat 2.9]
<AWizzArd>
I am using a Logitech K860 Ergo keyboard, and in Gnome I can attach it via Bluetooth. Works. However: every time when I restart the laptop (or wake it up from sleep) I have to connect the keyboard again.
<AWizzArd>
Is there something that I could add to my configuration.nix (or something in Home-Manager) to let Gnome safe the connection and remember it the next time?
nhs has joined #nixos
<azazel>
is there a direct installation script for nix 2.4preXXX ?
<__monty__>
evils: You're free to prefer whatever you want, `nix-shell --run fish` doesn't cut it for me.
berberman_ has joined #nixos
berberman has quit [Ping timeout: 264 seconds]
nhs has quit [Ping timeout: 260 seconds]
<__monty__>
Last I heard nix was working fine on M1 macs, just with rosetta, not natively. Installation may still be a PITA though.
<jaexilgilroyPhil>
There some tall southern guy in apartment 2111 apt 3e that keeps harassing me and calling the police 24/7
davidv7_ has quit [Remote host closed the connection]
<evax_>
supersandro2000: hi, you've been recommending I change `use stdenv.lib` to `use lib` in some of my PRs, do you mean adding `lib` as an attribute to the argument set?
nhs has joined #nixos
<azazel>
Mic92: nice, thanks. Do you use flakes for new development environments?
<Mic92>
azazel: sometimes. But quite often I also want collaborator having using their nix-shell setup.
selfsymmetric-mu has joined #nixos
<selfsymmetric-mu>
Does anyone know how to install the Cabal 3.4.0.0 release candidate? I tried using cabal2nix but I ended up having dependency issues.
<hexa->
selfsymmetric-mu: pretty sure the haskell people are on discord :/
<Mic92>
selfsymmetric-mu: discord, not discourse
<selfsymmetric-mu>
Alternatively, is there a way to install `ghcup`? That has a good facility for installing 3.4.0.0.
<selfsymmetric-mu>
hexa-: Ah, that's a shame haha
<hexa->
maralorn: ^ :D
<gchristensen>
ban *!*@gateway/shell/matrix.org/x-vigblrljjdfbrobh
jaexilgilroyPhil was banned on #nixos by gchristensen [*!*@gateway/shell/matrix.org/x-vigblrljjdfbrobh]
jaexilgilroyPhil has left #nixos [requested by gchristensen (jaexilgilroyPhil)]
<maralorn>
selfsymmetric-mu: I personally am on Discord, but Discord does not have a way to configure the notifications in a way that I don‘t get too much false positives. So I get false negatives.
<maralorn>
Regarding your question: Can you paste what you tried and how it failed?
<maralorn>
I am pretty sure we have a working 3.4 somewhere, let me check.
amerigo has quit [Quit: Connection closed for inactivity]
<maralorn>
Nope, I take it back. Don‘t think we have 3.4 yet.
<maralorn>
selfsymmetric-mu: Ah, no. there it is. pkgs.haskell.ghc901.cabal-install
<selfsymmetric-mu>
maralorn: Yeah, that's my gripe with Discord as well. Thank you for helping me though! I have the pastebin somewhere…but let me try that package first. :D
<{^_^}>
[nixpkgs] @dotlambda pushed 3 commits to release-20.09: https://git.io/JtCQf
nhs has quit [Ping timeout: 272 seconds]
<maralorn>
selfsymmetric-mu: But peti is normally very keen on getting stuff like that running. So if it doesn‘t build, that is probably a sign that you will encounter an incompatibility that we can‘t fix without patching a lib by hand.
<maralorn>
otoh, that might have been fixed since the last time he tried …
<selfsymmetric-mu>
Yeah, it doesn't build. How can I politely make peti aware?
<leo60228>
so, do i use nixos-unstable and deal with very frequent updates, backport updates i need myself, use both nixos-unstable and nixos-20.09 packages and deal with lots of redundancy, or wait for 21.03...
<maralorn>
selfsymmetric-mu: Well, I think he is aware. You could open an issue, but I don‘t think that will make the process go faster. We will support ghc 9.0 when it's released and enough libraries are updated to work with it.
<maralorn>
selfsymmetric-mu: The best way forward would be to open an issue against assoc.
_d0t has joined #nixos
<_d0t>
ohai! Is it possible to not have a build directory removed after my build fails? I wanna inspect it.
<maralorn>
But support rcs is something we can only do on best effort basis.
<dminuoso>
So people like me get paid for solving networking problems?
<hyper_ch>
what networks?
endformationage has joined #nixos
<lordcirth>
If they ever got networks to work reliably, they'd trade it for more speed
<hyper_ch>
I'm pretty sure ipv6 was invented for he reason give by dminuoso
fendor has quit [Remote host closed the connection]
<lordcirth>
Nah, if IPv6 was implemented a decade earlier it'd be reliable by now, *and* p2p apps would work
<bqv>
It does seem so
<dminuoso>
The problem has nothing to with IPv6, honestly.
nhs has joined #nixos
<dminuoso>
The protocol and its implementations are reliable, it's just that people suck at adoption.
<dminuoso>
I mean IPv6 does have major design deficits, which could only be explained by a team of bored monkey kids, but I haven't seen unstable implementations of it..
<Dagger>
a lot of the complexity comes from /not/ having v6...
<bqv>
I know it just seems insane cause I don't understand it well enough, but I usually understand things pretty well, it really is complicated
fendor has joined #nixos
<dminuoso>
IPv6 is not. :)
<bqv>
I suppose I am trying to dual stack things so maybe ipv4's the issue
<Dagger>
v6 isn't particularly complicated. it mostly works the same as v4 does -- you just don't think v4 is hard because you've spent twenty years using it
<bqv>
But I can't realistically go full v6 in any sense can I
<dminuoso>
Arguably, the lack of need to NAT in IPv6 *alone* makes it drastically simpler.
<dminuoso>
bqv: depends on what you mean by "go full v6"
<gchristensen>
one thing that makes ipv6 more complicated is that it doesn't work everywhere always
<dminuoso>
We're an ISP, and the majority of our traffic already is carried in IPv6. :)
<Dagger>
maybe you can. I have no v4 address on my desktop right now
<lordcirth>
People don't implement IPv6, when they do they don't test it, and the problems arise when you try to use IPv6 and don't failover to IPv4 properly
<Dagger>
I have NAT64, and it works for everything I use, so... no v4 necessary
<bqv>
Been trying to get forwarding working with v6 over wireguard, having a nightmare, I thought this would be easy...
a7p[m] has joined #nixos
<dminuoso>
Dagger: The most customer-friendly implementation Ive seen does DNS64+NAT64, then CGNAT on the v4 stack (for IPv4 literals), and plain IPv6 next to it.
nhs has quit [Ping timeout: 256 seconds]
<dminuoso>
It's a pain in the ass to set up at scale for the ISP...
<dminuoso>
That way, you have fall-back for IPv4 literals or when you want DNSSEC
<dminuoso>
Then the more ISP friendly DNS64+NAT64 for the large bulk where it doesnt matter
ambroisie has joined #nixos
<lordcirth>
Getting a /64 (!!) of static IPs as a residental customer is so amazing
virus_dave has quit [Quit: virus_dave]
genevino has quit [Remote host closed the connection]
<Dagger>
you should be getting a /56 at *minimum* though, if not more like a /48
<lordcirth>
meh, what's the difference? I have ~6 machines
<ar>
dminuoso: most customer-friendly i've seen, was full dualstack; /56 ipv6 + 1 public ipv4
<Dagger>
support for multiple networks
<Dagger>
I mean... if /64 is all you're asking for then sure, but that had better not be the maximum the ISP will give
<ar>
and my current isp doesn't do ipv6 at all
<ar>
they don't even have prefixes assigned from RIPE
<{^_^}>
[nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JtCFo
<dminuoso>
We give you a CGNAT v4 and /48 v6, but you can request a public v4 at no surcharge (a simple call to our hotline, and it'll be done in a minute)
nhs has joined #nixos
<dminuoso>
For the 90% of customers who dont need a public v4, it's fine. And the rest can still have one, and this model allows us to identify which customers actually need one.
<dminuoso>
Conserving out precious public v4 space
<ar>
dminuoso: i've dealt with one isp doing ds-lite (orange; poland), and i understand why that's necessary, it also was annoying - ssh died, sometimes after 5 or 10 minutes
nixuser_ has joined #nixos
<dminuoso>
ar: Well its easy to work around ssh dying, just configure to send keepalives.
<dminuoso>
ar: As for why.. assume we have 40,000 IPv4 addresses, but 60,000 customers...
<azazel>
Mic92: ayt? Do you know if it's possible to override the input of an input flake? i.e. this flake https://github.com/DavHau/mach-nix/blob/master/flake.nix seems to pin nixpkgs unstable but I want to pin 20.09... is it possible?
<clever>
mpickering: _module.args lets any module add args that get passed to every module
lsix1 has joined #nixos
<clever>
mpickering: by default, it gets nixpkgs from ../../.. (the root of a nixpkgs, that the nixos/default.nix came from)
Boomerang has quit [Ping timeout: 260 seconds]
<mpickering>
I suppose what I want to know is how to add a package so it appears in the `pkgs` argument
nhs has joined #nixos
<supersandro2000>
evax_: I don't always comment that but it is required.
<clever>
mpickering: nixpkgs.overlays
<clever>
mpickering: misc/nixpkgs.nix will apply those overlays as it loads its neighboring nixpkgs copy
mkaito has joined #nixos
<mpickering>
ok, then it will pass the modified `pkgs` to any `imports` as well?
Qwerky has quit [Remote host closed the connection]
<clever>
mpickering: yep
<clever>
mpickering: the module system is doing some fun fixed-point stuff, where you are receiving your own return value as an argument
etrepum has quit [Read error: Connection reset by peer]
buckley310 has quit [Read error: Connection reset by peer]
TheNumb has quit [Read error: Connection reset by peer]
evck_ has quit [Read error: Connection reset by peer]
cynthia_ has quit [Read error: Connection reset by peer]
zhaofeng has quit [Read error: Connection reset by peer]
nand0p has quit [Read error: Connection reset by peer]
wpcarro_ has quit [Read error: Connection reset by peer]
adamse has quit [Read error: Connection reset by peer]
trevorriles has quit [Read error: Connection reset by peer]
aristid has quit [Read error: Connection reset by peer]
bradparker has quit [Read error: Connection reset by peer]
rajivr has quit [Read error: Connection reset by peer]
NemesisD has quit [Write error: Connection reset by peer]
emilazy has quit [Read error: Connection reset by peer]
dmj` has quit [Read error: Connection reset by peer]
ProofTechnique has quit [Read error: Connection reset by peer]
jkkm has quit [Read error: Connection reset by peer]
nhs has quit [Ping timeout: 246 seconds]
jlpeters has quit [Read error: Connection reset by peer]
d10n-work has quit [Read error: Connection reset by peer]
<clever>
mpickering: basically, its using some fun magic to be able to merge the .options and .config that every module returns, and then pass the merged result back into every module
HeN has quit [Read error: Connection reset by peer]
cz3 has quit [Read error: Connection reset by peer]
<lordcirth>
simukis_, you probably had the wrong number of 0's.
dadada_ has quit [Quit: WeeChat 2.9]
dadada_ has joined #nixos
<simukis_>
maybe, but it didn't say so explicitly (which it does for other uses of it)
<simukis_>
instead it was behaving as if `vendorSha256 = null` was set.
Qwerky has quit [Ping timeout: 256 seconds]
mpickering has quit [Ping timeout: 264 seconds]
nick_h has quit [Read error: Connection reset by peer]
NekomimiScience has quit [Read error: Connection reset by peer]
angerman has quit [Read error: Connection reset by peer]
etrepum has quit [Read error: Connection reset by peer]
midchildan has quit [Read error: Connection reset by peer]
acertain has quit [Read error: Connection reset by peer]
gluegadget has quit [Ping timeout: 260 seconds]
jlpeters has quit [Ping timeout: 260 seconds]
emilazy has quit [Read error: Connection reset by peer]
higherorder has quit [Write error: Connection reset by peer]
zot has quit [Read error: Connection reset by peer]
thoughtpolice has quit [Read error: Connection reset by peer]
nand0p has quit [Read error: Connection reset by peer]
wildsebastian has quit [Read error: Connection reset by peer]
ProofTechnique has quit [Read error: Connection reset by peer]
jbetz has quit [Read error: Connection reset by peer]
TheNumb has quit [Read error: Connection reset by peer]
illustris has quit [Read error: Connection reset by peer]
Tritlo has quit [Read error: Connection reset by peer]
lvrp16 has quit [Read error: Network is unreachable]
pingveno has quit [Write error: Connection reset by peer]
omnigoat has quit [Read error: Connection reset by peer]
eddyb[legacy] has quit [Read error: Connection reset by peer]
raboof has quit [Read error: Connection reset by peer]
<__monty__>
I'm packaging a bash script. Have "less" as a buildInput but when running the script I get "line 2318: less -R: command not found
<__monty__>
Do I need to wrap the bash script?
d3od has quit [Remote host closed the connection]
evanjs has quit [Read error: Connection reset by peer]
d3od has joined #nixos
bn_work has quit [Ping timeout: 272 seconds]
<lordcirth>
__monty__, I think the usual thing is to have Nix replace "less" with "${less}/bin/less"
dmj` has quit [Ping timeout: 260 seconds]
evanjs has joined #nixos
<__monty__>
Yeah, I figured the default patchPhase would take care of that?
aveltras has quit [Ping timeout: 260 seconds]
bitmapper has quit [Ping timeout: 260 seconds]
techtangents has quit [Read error: Connection reset by peer]
oharvey has quit [Read error: Connection reset by peer]
zhaofeng has quit [Read error: Connection reset by peer]
blackriversoftwa has quit [Read error: Connection reset by peer]
mocker has quit [Read error: Connection reset by peer]
c00w has quit [Read error: Connection reset by peer]
cz3 has quit [Ping timeout: 272 seconds]
fnords has quit [Read error: Connection reset by peer]
dsal has quit [Read error: Connection reset by peer]
kitemikaze has quit [Read error: Connection reset by peer]
NemesisD has quit [Ping timeout: 246 seconds]
ajmcmiddlin has quit [Write error: Connection reset by peer]
cstrahan has quit [Read error: Connection reset by peer]
teehemkay has quit [Read error: Connection reset by peer]
chessai has quit [Read error: Connection reset by peer]
prusnak has quit [Read error: Connection reset by peer]
aria has quit [Read error: Connection reset by peer]
cynthia_ has quit [Read error: Connection reset by peer]
pasukon has quit [Read error: Connection reset by peer]
d10n-work has quit [Read error: Connection reset by peer]
hoek has quit [Read error: Connection reset by peer]
lukego has quit [Read error: Connection reset by peer]
etrepum has joined #nixos
oharvey has joined #nixos
blackriversoftwa has joined #nixos
techtangents has joined #nixos
<__monty__>
Or the fixupPhase.
angerman has joined #nixos
fnords has joined #nixos
mpickering has joined #nixos
gluegadget has joined #nixos
ajmcmiddlin has joined #nixos
teehemkay has joined #nixos
cstrahan has joined #nixos
jbetz has joined #nixos
emilazy has joined #nixos
cz3 has joined #nixos
dsal has joined #nixos
chessai has joined #nixos
NemesisD has joined #nixos
TheNumb has joined #nixos
higherorder has joined #nixos
pasukon has joined #nixos
eddyb[legacy] has joined #nixos
zhaofeng has joined #nixos
illustris has joined #nixos
c00w has joined #nixos
kitemikaze has joined #nixos
mocker has joined #nixos
pingveno has joined #nixos
jlpeters has joined #nixos
wildsebastian has joined #nixos
Tritlo has joined #nixos
NekomimiScience has joined #nixos
lvrp16 has joined #nixos
bitmapper has joined #nixos
acertain has joined #nixos
ProofTechnique has joined #nixos
cynthia_ has joined #nixos
omnigoat has joined #nixos
prusnak has joined #nixos
aria has joined #nixos
raboof has joined #nixos
zot has joined #nixos
lukego has joined #nixos
aveltras has joined #nixos
nhs has quit [Ping timeout: 240 seconds]
d10n-work has joined #nixos
hoek has joined #nixos
nick_h has joined #nixos
midchildan has joined #nixos
scoates has joined #nixos
thoughtpolice has joined #nixos
<bqv>
Not mid-build
zebrag has quit [Quit: Konversation terminated!]
bn_work has joined #nixos
nand0p has joined #nixos
zebrag has joined #nixos
dadada_ has quit [Quit: WeeChat 2.9]
dadada_ has joined #nixos
dmj` has joined #nixos
d3od has quit [Remote host closed the connection]
malook has quit [Quit: malook]
lsix1 has quit [Ping timeout: 272 seconds]
<__monty__>
bqv: This is in a nix-shell, so after the build afaiu?
<bqv>
Nope, shells are also mid-build :p
<bqv>
Well, mid build of the shell env, the build inputs are done ofc
<lordcirth>
right, so if the script is a build input
<jasom>
how do setuid binaries work in nixos; e.g. with the sudo issue, do I need to purge the old sudo from the nix store to not be vulnerable?
<lordcirth>
jasom, nothing in the store can be setuid; sudo gets copied to a setuid version
<bqv>
Only the current system's binaries are setuid, in /run/wrappers
<jasom>
thanks lordcirth bqv
<bqv>
Once you're up to date you're safe (?)
<__monty__>
bqv: nix-shell -p mypackage, not nix-shell -A
TheNumb has quit [Read error: Connection reset by peer]
emilazy has quit [Write error: Connection reset by peer]
techtangents has quit [Read error: Connection reset by peer]
cynthia_ has quit [Read error: Connection reset by peer]
zhaofeng has quit [Read error: Connection reset by peer]
c00w has quit [Read error: Connection reset by peer]
nand0p has quit [Read error: Connection reset by peer]
nick_h has quit [Ping timeout: 260 seconds]
illustris has quit [Ping timeout: 260 seconds]
NekomimiScience has quit [Ping timeout: 260 seconds]
ProofTechnique has quit [Ping timeout: 260 seconds]
zot has quit [Ping timeout: 260 seconds]
fnords has quit [Read error: Connection reset by peer]
lukego has quit [Read error: Connection reset by peer]
etrepum has quit [Read error: Connection reset by peer]
blackriversoftwa has quit [Read error: Connection reset by peer]
kitemikaze has quit [Read error: Connection reset by peer]
prusnak has quit [Read error: Connection reset by peer]
aria has quit [Read error: Connection reset by peer]
thoughtpolice has quit [Read error: Connection reset by peer]
oharvey has quit [Read error: Connection reset by peer]
mocker has quit [Read error: Connection reset by peer]
cstrahan has quit [Write error: Connection reset by peer]
Tritlo has quit [Read error: Connection reset by peer]
wildsebastian has quit [Read error: Connection reset by peer]
ajmcmiddlin has quit [Read error: Connection reset by peer]
jlpeters has quit [Read error: Connection reset by peer]
dsal has quit [Write error: Connection reset by peer]
chessai has quit [Write error: Connection reset by peer]
bitmapper has quit [Read error: Connection reset by peer]
mpickering has quit [Read error: Connection reset by peer]
gluegadget has quit [Read error: Connection reset by peer]
jbetz has quit [Write error: Connection reset by peer]
angerman has quit [Read error: Connection reset by peer]
midchildan has quit [Read error: Connection reset by peer]
teehemkay has quit [Read error: Connection reset by peer]
NemesisD has quit [Read error: Connection reset by peer]
pasukon has quit [Read error: Connection reset by peer]
aveltras has quit [Read error: Connection reset by peer]
pingveno has quit [Write error: Connection reset by peer]
higherorder has quit [Read error: Connection reset by peer]
cz3 has quit [Read error: Connection reset by peer]
acertain has quit [Read error: Connection reset by peer]
TheNumb has joined #nixos
oharvey has joined #nixos
hoek has quit [Ping timeout: 260 seconds]
aria has joined #nixos
aveltras has joined #nixos
NemesisD has joined #nixos
gluegadget has joined #nixos
eddyb[legacy] has quit [Ping timeout: 272 seconds]
bn_work has quit [Ping timeout: 260 seconds]
omnigoat has quit [Ping timeout: 260 seconds]
<eacameron>
Has sudo been patched with the vuln fix??
dmj` has quit [Ping timeout: 265 seconds]
d10n-work has quit [Ping timeout: 264 seconds]
raboof has quit [Ping timeout: 264 seconds]
scoates has quit [Ping timeout: 272 seconds]
lvrp16 has quit [Ping timeout: 272 seconds]
teehemkay has joined #nixos
<lordcirth>
eacameron, yes
<{^_^}>
[nixpkgs] @github-actions[bot] pushed 63 commits to staging-next: https://git.io/JtWUE
<{^_^}>
[nixpkgs] @github-actions[bot] pushed 64 commits to staging: https://git.io/JtWUu
zupo has quit [Ping timeout: 240 seconds]
<__monty__>
What confuses me further is that the nix-shell does have less available. And it's not as if bash scripts are automatically wrapped with a scrubbed PATH. So how can the script fail to find less?
jneto has quit [Ping timeout: 272 seconds]
kitemikaze has joined #nixos
<__monty__>
Maybe it's trying to find a command literally named "less -R'?
<eacameron>
lordcirth: Whew thanks.
<lordcirth>
__monty__, well, look at the script? It printed the line number
etrepum has joined #nixos
<AWizzArd>
I am using a Logitech K860 Ergo keyboard, and in Gnome I can attach it via Bluetooth. Works. However: every time when I restart the laptop (or wake it up from sleep) I have to connect the keyboard again.
cynthia_ has joined #nixos
<AWizzArd>
Is there something that I could add to my configuration.nix (or something in Home-Manager) to let Gnome safe the connection and remember it the next time?
<__monty__>
lordcirth: I did but it's a mess of conditionals. My hunch/close read of the error message was right though. It's because I have Pager='less -R' set.
techtangents has joined #nixos
mpickering has joined #nixos
chessai has joined #nixos
zhaofeng has joined #nixos
fnords has joined #nixos
mocker has joined #nixos
illustris has joined #nixos
thoughtpolice has joined #nixos
zot has joined #nixos
ProofTechnique has joined #nixos
work_ has joined #nixos
bitmapper has joined #nixos
nick_h has joined #nixos
ajmcmiddlin has joined #nixos
pasukon has joined #nixos
acertain has joined #nixos
NekomimiScience has joined #nixos
Tritlo has joined #nixos
dsal has joined #nixos
jneto has joined #nixos
cz3 has joined #nixos
angerman has joined #nixos
higherorder has joined #nixos
c00w has joined #nixos
eddyb[legacy] has joined #nixos
prusnak has joined #nixos
wildsebastian has joined #nixos
zupo has joined #nixos
lvrp16 has joined #nixos
MrCue has quit [Remote host closed the connection]
<cole-h>
infinisil: types.attrsOf types.str vs types.attrs -- is one preferable over the other?
<cole-h>
(You're my go-to person for module questions :D)
<infinisil>
types.attrs should be deprecated, so the former :)
<cole-h>
Great, thanks. Didn't seem obviously deprecated from my quick browse into lib/types.nix
<cole-h>
infinisil: Additionally, does #110885 look alright to you? I suggested it, but not sure if it makes sense to have the licenseKeyFile type be "either str or path" instead of just one of those 2
<cole-h>
I mostly suggested `types.either types.str types.path` so that it could point to another derivation (e.g. `${somedrv}/share/file`), or it could be referenced as an actual path (e.g. `./keyfile`). Really just looking for a sanity check.
<madmaurice>
I have a little problem. I updated vlc to 3.0.12 for release-20.09 a few days ago and now that I've pulled updates on my machine vlc lacks a certain important directory called 'bin'. Is there anyway I can find the build log by a store path, so I can fix this mess?
lsix1 has joined #nixos
ahmed_elgabri has quit [Ping timeout: 260 seconds]
growpotkin has joined #nixos
ahmedelgabri has quit [Ping timeout: 272 seconds]
<infinisil>
cole-h: Ah no that's actually not necessary. types.path permits both derivations and actual paths
<infinisil>
I'll leave a comment
<infinisil>
> types.path.check pkgs.hello
proofofkeags has joined #nixos
<{^_^}>
true
<bbigras>
Anyone else is having their wifi card show up as eth0 recently? on nixos-unstable
<cole-h>
That's what I thought, but wasn't sure so I suggested anyways. Thanks!
<cole-h>
infinisil++
<{^_^}>
infinisil's karma got increased to 408
<infinisil>
:)
Siyo has quit [Quit: Bye]
Siyo has joined #nixos
_d0t has quit [Quit: Konversation terminated!]
<madmaurice>
hm. weird. using current release-20.09's vlc actually downloads one vlc store path with a bin directory. So what in the name of good and evil did I install before?
domogled has quit [Quit: domogled]
justanotheruser has quit [Ping timeout: 272 seconds]
dnlkrgr has joined #nixos
bitmapper has quit [Quit: Connection closed for inactivity]
<{^_^}>
[nixpkgs] @Atemu opened pull request #110958 → kernelPatches: drop export_kernel_fpu_functions → https://git.io/JtWYY
<bqv>
Anyone around that could answer: say I had machines A and B, where A has wg0 and wg1 that both connect to B's wg0 with the same wireguard address, is that a valid network setup, and if so how would it route things?
<__monty__>
Would a patch changing nixpkgs/nixos/modules/programs/environment.nix to not set PAGER="less -R" but PAGER="less" and LESS="-R" be accepted?
* adisbladis
thinks that sounds perfectly fine
nhs has joined #nixos
scoates has joined #nixos
hke has quit [Read error: Connection reset by peer]
<bqv>
+1
hke has joined #nixos
<{^_^}>
[nixpkgs] @toonn opened pull request #110960 → environment.nix: Split "less -R" into PAGER and LESS → https://git.io/JtWOS
Jackneilll has quit [Read error: Connection reset by peer]
<__monty__>
bqv: Note that I don't have a NixOS box handy to test this on.
<{^_^}>
[nixpkgs] @lovesegfault pushed 3 commits to master: https://git.io/JtWOj
<nhs>
What would be the best way to use a more modern macOS SDK i.e. Big Sur if I wanted to build a project against that SDK using nix? Is this a huge undertaking?
<infinisil>
nhs: Consider also asking in #nix-darwin
<spudly>
I'm curious: this post suggests that the updated sudo should now be available on the 20.09 channel: https://discourse.nixos.org/t/security-updates/11219 - I'm not seeing on nixos-20.09, only on stable?
cwNovusordoseclo has joined #nixos
enblanco[m] has joined #nixos
eadwu has joined #nixos
myscreant[m] has joined #nixos
fortuneteller2k[ has joined #nixos
Ke has joined #nixos
berberman[T] has joined #nixos
kevincox has joined #nixos
macerbi[m] has joined #nixos
gahha[m] has joined #nixos
hazel[m] has joined #nixos
fiveseven[m] has joined #nixos
<spudly>
... only on *unstable* I meant.
pebo007[m] has joined #nixos
terahawk[m] has joined #nixos
manveru[m] has joined #nixos
drozdziak1 has joined #nixos
critbase[m]3 has joined #nixos
andrey1978[m] has joined #nixos
xd-inc[m] has joined #nixos
oht[m] has joined #nixos
kraem has joined #nixos
<gchristensen>
it appears to be resolved here: nix-build channel:nixos-20.09 -A sudo
<{^_^}>
[nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JtWCB
<spudly>
Ohhh... TIL. Ok, that probably explains it.
evhan[m] has joined #nixos
<Yaniel>
--upgrade only upgrades one channel
Wraul[m] has joined #nixos
cyberwolf[m] has joined #nixos
lostnet[m] has joined #nixos
kunrooted[m] has joined #nixos
fc[m]1 has joined #nixos
boskote[m] has joined #nixos
sephi[m] has joined #nixos
<Yaniel>
(frankly I think that's confusing behaviour and should be removed)
sargon[m] has joined #nixos
hcuk[m] has joined #nixos
dumuzid[m] has joined #nixos
AntonioYang[m] has joined #nixos
hsiktas[m] has joined #nixos
<gchristensen>
hmm I'm not sure that is exactly how it works, Yaniel ... I think there is a bit more nuance to it
alexfmpe has joined #nixos
<gchristensen>
I agree it should be removed :)
Schicko has quit [Quit: Bridge terminating on SIGTERM]
eddyb has quit [Quit: Bridge terminating on SIGTERM]
Dazey[m] has quit [Quit: Bridge terminating on SIGTERM]
hiroshi[m] has quit [Quit: Bridge terminating on SIGTERM]
jvytee[m] has quit [Quit: Bridge terminating on SIGTERM]
ram19890[m] has quit [Quit: Bridge terminating on SIGTERM]
nilsirl[m] has quit [Quit: Bridge terminating on SIGTERM]
chrismatheson has quit [Quit: Bridge terminating on SIGTERM]
ydlr[m] has quit [Quit: Bridge terminating on SIGTERM]
fintohaps[m] has quit [Quit: Bridge terminating on SIGTERM]
garbas[m] has quit [Quit: Bridge terminating on SIGTERM]
iuiiik[m] has quit [Quit: Bridge terminating on SIGTERM]
neuronuser1[m] has quit [Quit: Bridge terminating on SIGTERM]
atemu12[m] has quit [Quit: Bridge terminating on SIGTERM]
apache8080[m] has quit [Quit: Bridge terminating on SIGTERM]
linus0[m] has quit [Quit: Bridge terminating on SIGTERM]
scentofiron[m] has quit [Quit: Bridge terminating on SIGTERM]
tomfi[m] has quit [Quit: Bridge terminating on SIGTERM]
DavHau[m] has quit [Quit: Bridge terminating on SIGTERM]
notgne2[m] has quit [Quit: Bridge terminating on SIGTERM]
itai33[m] has quit [Quit: Bridge terminating on SIGTERM]
kevin[m]1 has quit [Quit: Bridge terminating on SIGTERM]
jsilence[m] has quit [Quit: Bridge terminating on SIGTERM]
regnat has quit [Quit: Bridge terminating on SIGTERM]
nh2[m] has quit [Quit: Bridge terminating on SIGTERM]
totoroot[m] has quit [Quit: Bridge terminating on SIGTERM]
artturin has quit [Quit: Bridge terminating on SIGTERM]
govanify has quit [Quit: Bridge terminating on SIGTERM]
CodeBitCookie[m] has quit [Quit: Bridge terminating on SIGTERM]
nicolas[m] has quit [Quit: Bridge terminating on SIGTERM]
eadwu has quit [Quit: Bridge terminating on SIGTERM]
cwNovusordoseclo has quit [Quit: Bridge terminating on SIGTERM]
gahha[m] has quit [Quit: Bridge terminating on SIGTERM]
fortuneteller2k[ has quit [Quit: Bridge terminating on SIGTERM]
kevincox has quit [Quit: Bridge terminating on SIGTERM]
enblanco[m] has quit [Quit: Bridge terminating on SIGTERM]
myscreant[m] has quit [Quit: Bridge terminating on SIGTERM]
fiveseven[m] has quit [Quit: Bridge terminating on SIGTERM]
manveru[m] has quit [Quit: Bridge terminating on SIGTERM]
jaexilgilroyPhil has quit [Quit: Bridge terminating on SIGTERM]
terahawk[m] has quit [Quit: Bridge terminating on SIGTERM]
Dandellion has quit [Client Quit]
andrey1978[m] has quit [Client Quit]
berberman[T] has quit [Quit: Bridge terminating on SIGTERM]
pebo007[m] has quit [Quit: Bridge terminating on SIGTERM]
oht[m] has quit [Client Quit]
kraem has quit [Client Quit]
Ke has quit [Quit: Bridge terminating on SIGTERM]
yurb has quit [Client Quit]
jonte[m] has quit [Client Quit]
macerbi[m] has quit [Quit: Bridge terminating on SIGTERM]
anzbev[m] has quit [Client Quit]
critbase[m]3 has quit [Client Quit]
lorenzleutgeb[m] has quit [Client Quit]
sterni[m] has quit [Client Quit]
deselby has quit [Client Quit]
peterhoeg has quit [Client Quit]
srid has quit [Client Quit]
miangraham[m] has quit [Client Quit]
xeron832 has quit [Client Quit]
ili has quit [Client Quit]
aramiscd[m] has quit [Client Quit]
shu9 has quit [Client Quit]
leonardp has quit [Client Quit]
evhan[m] has quit [Client Quit]
mr_whoknows[m] has quit [Client Quit]
hsiktas[m] has quit [Client Quit]
boskote[m] has quit [Client Quit]
lostnet[m] has quit [Client Quit]
mica[m] has quit [Client Quit]
jhantkw[m] has quit [Quit: Bridge terminating on SIGTERM]
b1nch0[m] has quit [Client Quit]
sargon[m] has quit [Client Quit]
hcuk[m] has quit [Client Quit]
kunrooted[m] has quit [Client Quit]
pisquo[m] has quit [Client Quit]
fc[m]1 has quit [Client Quit]
sephi[m] has quit [Client Quit]
AntonioYang[m] has quit [Client Quit]
q3k[m] has quit [Client Quit]
Wraul[m] has quit [Client Quit]
neonfuz2 has joined #nixos
xd-inc[m] has quit [Client Quit]
hazel[m] has quit [Quit: Bridge terminating on SIGTERM]
alexfmpe has quit [Client Quit]
dumuzid[m] has quit [Client Quit]
TheWizardTower[m has quit [Client Quit]
p12[m] has joined #nixos
cyberwolf[m] has quit [Client Quit]
p12[m] has quit [Client Quit]
<Yaniel>
it's on the nixos-rebuild manpage
<Yaniel>
--upgrade only upgrades the channel named "nixos" and channels that have received some special treatment somewhere, --upgrade-all upgrades all
civodul has quit [Quit: ERC (IRC client for Emacs 27.1)]
rnhmjoj-M has joined #nixos
<ToxicFrog>
adisbladis: well, it was working (in the sense that `ftp` returned all options with that as a substring) a few days ago, and I'm pretty sure that was still elasticsearch-based
<ToxicFrog>
samueldr: will do
<samueldr>
thanks
inkbottle has joined #nixos
<cole-h>
rmcgibbo[m]: I'd also call out that it should use the commit-sha.patch and never the prnumber.patch
zebrag has quit [Ping timeout: 258 seconds]
<cole-h>
(because the prnumber.patch changes every time a commit is added / the PR is force-pushed)
<rmcgibbo[m]>
Oh yes! I forgot that.
<rmcgibbo[m]>
See, this is why I ask.
<ToxicFrog>
adisbladis: also, it finds some things that they are substrings of; e.g. a search for `ftp` will return `services.atftpd.enable` and `services.vsftpd.localUsers`
<rmcgibbo[m]>
cole-h: How's this "Furthermore, please use a _stable_ URL for the patch. Rather than, for example, linking to a github pull request of the form `https://github.com/owner/repo/pr_number.patch` which would change every time a commit is addded or the PR is force-pushed, link to a specific commit-sha.patch like `https://github.com/owner/repo/commit/sha.patch`."
<{^_^}>
[nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JtWWs
<rmcgibbo[m]>
(FWIW There are some other new explanations for new nixpkgs-hammering lints, specifically related to common Python package mistakes, in the latest commit for PR #15 too.)