worldofpeace changed the topic of #nixos to: NixOS 20.09 Nightingale ✨ https://discourse.nixos.org/t/nixos-20-09-release/9668 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || use ,channels for a list of Nix* related channels || nixcon videos: https://tinyurl.com/nixcon2019 || Link to the output of nix-inf
ulbrec has joined #nixos
copy has joined #nixos
ulbrec has quit [Remote host closed the connection]
aveltras has joined #nixos
shibboleth has quit [Quit: shibboleth]
f0x has quit [Quit: killed]
joepie91 has quit [Quit: killed]
<aveltras> ,locate gsettings
<{^_^}> Found in packages: gcr, glib, ibus, folks, evince, almanah, brasero, empathy, liferea, glib.bin, tangogps, xfce.gvfs, glib.debug, gnome3.eog, libcryptui, notify-osd, pulseaudio, gnome2.gvfs, gnome3.gvfs, mousetweaks, gnome3.totem, sound-juicer, gnome3.mutter, gnome3.vinagre, pulseaudioFull, brasero-original, gnome3.evolution, gnome3.mutter334, ibus-with-plugins, gnome3.gnome-shell, gnome3.libgnomekbd, gnome3.gnome-keyring, and 10 more
amir has quit [Read error: Connection reset by peer]
tarruda1 has joined #nixos
kinroy1 has joined #nixos
mbrgm_ has joined #nixos
<bqv> > pkgs.gsettings-desktop-schemas
<{^_^}> "<derivation /nix/store/gagik8rb2wnhy54w2fdiazlrclpw4awr-gsettings-desktop-schemas-3.38.0.drv>"
<bqv> aveltras: ^
f0x has joined #nixos
enick_64 has joined #nixos
mbrgm has quit [Ping timeout: 258 seconds]
mbrgm_ is now known as mbrgm
<aveltras> bqv: thanks
enick_64 has quit [Changing host]
enick_64 has joined #nixos
enick_64 has joined #nixos
enick_64 is now known as joepie91
amir has joined #nixos
tarruda1 has quit [Read error: Connection reset by peer]
kirelagin has joined #nixos
tarruda1 has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 27.1)]
cemd has quit [Quit: Leaving]
supersandro2000 has quit [Disconnected by services]
supersandro2000 has joined #nixos
<{^_^}> Channel nixos-20.09-small advanced to https://github.com/NixOS/nixpkgs/commit/75714257259 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-20.09-small)
<{^_^}> Channel nixpkgs-20.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/75714257259 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.09-darwin)
magma has quit [Ping timeout: 272 seconds]
<bqv> It works! The lisp-overlay flake self updated for the new quicklisp dist
<bqv> It's alive :')
<bqv> Github actions are a neat luxury
kirelagin has quit [Ping timeout: 258 seconds]
gustavderdrache has quit [Quit: Leaving.]
sigmundv__ has joined #nixos
rb2k_ has quit [Read error: Connection reset by peer]
sigmundv_ has quit [Ping timeout: 240 seconds]
fuzzypixelz has quit [Quit: fuzzypixelz]
eacameron has quit [Quit: Connection closed for inactivity]
<adisbladis> bqv: Sounds cool :) Where is it?
veleiro has joined #nixos
<adisbladis> wat
<bqv> Ahahah
<bqv> Tsv parsing
werner291 has quit [Quit: werner291]
<adisbladis> You know Nix doesn't optimise that at all?
<bqv> I don't think it needs to, this runs pretty fast
<adisbladis> I figured it may not matter
<bqv> I know its not ideal though
kirelagin has joined #nixos
dstzd has quit [Quit: ZNC - https://znc.in]
nikivi has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
joesventek has quit [Quit: Quit]
orivej has joined #nixos
KarlJoad has quit [Quit: ERC (IRC client for Emacs 27.1)]
sss2 has quit [Quit: Leaving]
shibboleth has joined #nixos
ris has quit [Ping timeout: 264 seconds]
tejing has quit [Quit: WeeChat 2.9]
<Rusty1> madonius[m]: https://nixos.wiki/wiki/NixOS_on_ARM says a tty can be used
thc202 has quit [Ping timeout: 268 seconds]
<bqv> infinisil: that's far more cursed :D
Lord_of_Life_ has joined #nixos
Lord_of_Life has quit [Ping timeout: 264 seconds]
Lord_of_Life_ is now known as Lord_of_Life
joesventek has joined #nixos
joesventek has quit [Client Quit]
m0rphism has quit [Ping timeout: 240 seconds]
shibboleth has quit [Remote host closed the connection]
roconnor has joined #nixos
<roconnor> How do I build a bootable ISO image from/for my current nixos channel?
uwap_ has quit [Quit: ZNC 1.8.0 - https://znc.in]
<roconnor> Ty!!
nikivi has joined #nixos
nikivi has quit [Client Quit]
nikivi has joined #nixos
nikivi has quit [Client Quit]
nikivi has joined #nixos
nikivi has quit [Client Quit]
joesventek has joined #nixos
mounty has quit [Ping timeout: 268 seconds]
aleph- has quit [Ping timeout: 268 seconds]
joesventek has quit [Client Quit]
nikivi has joined #nixos
kirelagin has quit [Quit: No Ping reply in 180 seconds.]
m4tsa_ has joined #nixos
nikivi has quit [Client Quit]
kirelagin has joined #nixos
joesventek has joined #nixos
m4ts has quit [Read error: Connection reset by peer]
joesventek has quit [Client Quit]
LnL has quit [Quit: exit 1]
LnL has joined #nixos
LnL has quit [Changing host]
LnL has joined #nixos
dstzd has joined #nixos
kirelagin has quit [Ping timeout: 258 seconds]
nikivi has joined #nixos
uwap has joined #nixos
kirelagin has joined #nixos
<growpotkin> Does anyone know how to get OpenMP running with GCC rather than LLVM?
<growpotkin> I was hoping just to do the ol' `pkg-config --cflags libomp`
<growpotkin> nevermind I'm making it harder than it is; GCC has it builtin
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
joesventek has joined #nixos
aleph- has joined #nixos
aveltras has quit [Quit: Connection closed for inactivity]
fuzzypixelz has joined #nixos
sigmundv__ has quit [Ping timeout: 272 seconds]
jmeredith has joined #nixos
h0m1 has quit [Ping timeout: 258 seconds]
da_dada has quit [Ping timeout: 246 seconds]
h0m1 has joined #nixos
da_dada has joined #nixos
supersandro2000 has quit [Quit: The Lounge - https://thelounge.chat]
supersandro2000 has joined #nixos
jonringer has quit [Ping timeout: 268 seconds]
oida has quit [Quit: byez]
meh` has quit [Ping timeout: 240 seconds]
bitmapper has quit [Quit: Connection closed for inactivity]
orivej has quit [Ping timeout: 264 seconds]
oida has joined #nixos
rajivr has joined #nixos
rb2k has joined #nixos
kirelagin has quit [Ping timeout: 260 seconds]
rb2k has quit [Ping timeout: 256 seconds]
psilospore has joined #nixos
xantoz has joined #nixos
sss2 has joined #nixos
ManiacOfMadness has quit [Ping timeout: 260 seconds]
ddellacosta has quit [Ping timeout: 256 seconds]
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
aw has joined #nixos
spacefrogg has joined #nixos
pjt_tmp has joined #nixos
orivej has joined #nixos
nickerauga has joined #nixos
<nickerauga> Trying to make my derivation work. It needed a library which I add to buildInputs. But although it gets farther in the compilation, it says ld: symbol(s) not found for architecture x86_64.
<nickerauga> Do I need to mess with LD path in the derivation somehow? I thought buildInputs takes care of that.
<nickerauga> Before I added the library to the buildInputs it used to say that the library was not found. So it does recognize the library but somehow doesn't work
mkaito has quit [Quit: WeeChat 3.0]
Supersonic112 has joined #nixos
fuzzypixelz has quit [Ping timeout: 240 seconds]
Brio[m] has joined #nixos
Supersonic has quit [Ping timeout: 240 seconds]
Supersonic112 is now known as Supersonic
i077 has joined #nixos
<i077> yo, i've been having trouble building firefox overridden with some extra native messaging hosts in my nixos config
<i077> i think this might have something to do with the big firefox extensions PR that was recently merged
<i077> this is the firefox part of my config: https://github.com/i077/system/blob/master/modules/apps/firefox.nix
<colemickens> Did y'all know that systemd recommends the ESP be mounted to /efi now-a-days?
<i077> when i try to build my config now, i get a permission denied error when building the firefox derivation
<colemickens> nickerauga: depends on the situation, sometimes you can wind up in a situation where a library only has the files necessary to be discovered via cmake
<colemickens> nickerauga: so then if you come along and try to consume it in a meson project that uses pkg-config, it might not be able to find hte lib
<colemickens> there have been a few times where I've been packaging X and have had to go and send PRs to project Y or patches for derivation Y to fix pkg-config, to get X to build.
<i077> here's the error: http://ix.io/2JdH
<i077> i guess i should also mention that when i remove the programs.firefox.package option from that part of my config, it builds just fine
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/00f6d352bd4 (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
lord| has quit [Ping timeout: 264 seconds]
lord| has joined #nixos
ManiacOfMadness has joined #nixos
domogled has joined #nixos
<Ke> why do aarch64 caches hate me
<Ke> always some browser engine starts building on upgrade
Rusty1 has quit [Quit: WeeChat 2.3]
ManiacOfMadness has quit [Read error: Connection reset by peer]
rb2k has joined #nixos
<{^_^}> Channel nixpkgs-20.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/1febdefecdc (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.09-darwin)
sefu has joined #nixos
Netsu has joined #nixos
<Netsu> Hey. Trying to build haskell package n.ghc.withPackages (pkgs: with pkgs; [(n.haskell.lib.dontCheck(n.haskell.lib.dontHaddock(row-types.overrideAttrs(p:{src=n.fetchgit{url=https://github.com/target/row-types.git;rev ="f93281adb518e648a0f433dae10efff9f2c9f105";sha256="15kmdnhcw5wigcm3g90pam05k2dqavva0id53v917whik45pdx70";};preConfigure="mv -f
<Netsu> row-types.cabal.3 row-types.cabal";buildInputs=p.buildInputs++[aeson barbies];enableSeparateDocOutput=false;})))) ])
rb2k has quit [Ping timeout: 256 seconds]
<Netsu> via nix repl -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/cf7475d2061ac3ada4b226571a4a1bb91420b578.tar.gz
<Netsu> where n = import <nixpkgs> {}
orivej has quit [Ping timeout: 240 seconds]
ManiacOfMadness has joined #nixos
<Netsu> I see an error message like `dependency "aeson-1.5.4.1-2r5CIE1evrPLve9TCZlEMz" doesn't exist` so `z-row-types-z-row-types-aeson-1.0.0.0` is broken
<Netsu> what can be problem here (because aeson already in buildInputs)?
growpotkin has quit [Quit: ZNC 1.8.2 - https://znc.in]
domogled has quit [Remote host closed the connection]
domogled has joined #nixos
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/2ae527c50e0 (from 74 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
arushi has quit [Quit: Connection closed for inactivity]
sefu has quit [Quit: Leaving.]
h0m1 has quit [Quit: WeeChat 3.0]
h0m1 has joined #nixos
ldle has joined #nixos
<ldle> I just booted up my nixos laptop, nothing changed, and now my wifi is gone. Can anyone help me troubleshoot this?
palo1 has joined #nixos
<ldle> lspci shows the intel wireless card
palo has quit [Ping timeout: 246 seconds]
palo1 is now known as palo
<ldle> like usually the network manager applet appears showing the wifi networks
<ldle> but its no where to be found
<ldle> tho `ifconfig wlan0 up` reports No such device
astylian has joined #nixos
nickerauga has quit [Remote host closed the connection]
<bqv> colemickens: systemd can reccomend whatever the fsckit wants, itll just make me shovel it out all my systems faster...
<bqv> I really should continue that project
<bqv> Especially with nix-processmgmt
<ldle> peeps, why has my wifi device dissapeared with a reboot
<bqv> Animal magnetism
<ldle> ifconfig shows no wireless device
<ldle> pls assist....
<simpson> ldle: `dmesg` will give you the kernel log; usually something in there will explain what happened.
<simpson> Practically, I usually check `rfkill` first, though! `rfkill list` will not just show you which radios are available, but whether they've been disabled.
<Ke> ldle: yeah, maybe missing fw
<Ke> well lspci sees the device
<ldle> rfkill shows "wlan dell-wifi" unblocked and unblocked
<Ke> I'd guess 99% of the time it's missing fw
<ldle> missing fw?
<energizer> ldle: `nmcli radio`
<Ke> most wifi cards require loadable fw that is not installed by default
<ldle> enabled across the board
<Ke> hardware.enableRedistributableFirmware
<ldle> i have been using this nixos generation for weeks and weeks
<ldle> all i did was restart...
<energizer> ldle: `nmcli device`
<Ke> ok
<ldle> energizer, all enabled
<energizer> ldle: that's a different command
thc202 has joined #nixos
<Ke> then that dmesg should be worth checking, I would assume network manager can't help, if there is no network interface for the card
<energizer> `enabled` is what `radio` says, `device` says something different
<ldle> energizer the two wifi things are "disconnected"
<ldle> wlp2s0 and p2p-dev-wlps0
<energizer> ldle: nmcli device wifi device list
<energizer> er
<energizer> ldle: nmcli device wifi list
<energizer> should show the available networks
<ldle> i see the network i want
<ldle> is nothng actually wrong and this is Network Manager failing?
<energizer> nmcli device wifi connect $ssid password $password
<ldlework> energizer: thanks
<ldlework> time to create linux-wifi.org
<energizer> np
<Ke> nice command to know
<Ke> so the issue was that interface name changed and nm did not know the network anymore?
<ldlework> Ke: tbh, I think the problem was that in the unconnected state, nm was showing no visible icon
<ldlework> as soon as i connected on the commandline, nm applet appeared
<Ke> ldle | ifconfig shows no wireless device <- how does it explain this
<ldlework> so
<ldlework> wlp2s0 Link encap:Ethernet HWaddr B4:6B:FC:C7:2A:36
<ldlework> it doesn't say anything about wireless in the entry
<Ke> ldle: did you just not recognize wlp2s0 as a wireless device?
<ldlework> exactly
lgcl has joined #nixos
<ldlework> the missing nm applet primed me to believe something was wrong
<sphalerite> Ke: well, it's like classic C switch without a break :)
<Ke> ldle: but the ifconfig showed the wlp2s0 all the time?
<ldlework> yes but i am used to "wlan0" and the like, and since everything said "Link encap:Ethernet" and I didn't see any words related to wireless I assumed my device was not listed
<Ke> ok, should have asked probably to pastebin the output
yellow has joined #nixos
<ldlework> I couldn't since I was not online on the problematic machine :P
<ldlework> I guess I could've hand typed it all
<ldlework> XD
<Ke> though that doesn't work without networking...
<ldlework> hehe yeah
<ldlework> i was using my wife's macbook and the U key is broken so that would've been painful lol
<Ke> sphalerite: I realized that, because I had expectation on how it works, many people do consider implicit fallthrough a bad practise
stoile has quit [Ping timeout: 264 seconds]
<Ke> on bash noone expects it either
<Ke> sphalerite: but cool thing to know indeed
<Ke> it's like one still learns new things about bash all the time
yellow has quit [Remote host closed the connection]
<sphalerite> at least it's explicit in bash :p
ldle has quit [Remote host closed the connection]
<Ke> true
<sphalerite> (though not super easy to see)
<Netsu> oh, looks like, I needed a propagatedBuildInputs tehre...
stoile has joined #nixos
malook has joined #nixos
qwerty has joined #nixos
okad has joined #nixos
malook has quit [Quit: malook]
<Nickli> found the issue with my "drm" issue but i don't know how to fix it https://wiki.archlinux.org/index.php/AMDGPU_PRO#Southern_Islands_(SI)_or_Sea_Islands_(CIK)_GPUs
<Nickli> since i included radeon with my kernel modules games have been running much better
ManiacOfMadness has quit [Read error: Connection reset by peer]
<Nickli> boot.initrd.kernelModules that is
turlando has joined #nixos
domogled1 has joined #nixos
domogled has quit [Ping timeout: 240 seconds]
domogled1 is now known as domogled
supersandro2000 has quit [Quit: The Lounge - https://thelounge.chat]
supersandro2000 has joined #nixos
nhs has quit [Read error: Connection reset by peer]
nhs has joined #nixos
respawn_ has joined #nixos
domogled1 has joined #nixos
cfricke has joined #nixos
domogled has quit [Ping timeout: 272 seconds]
domogled1 is now known as domogled
monokrome has joined #nixos
<{^_^}> Channel nixos-20.09-small advanced to https://github.com/NixOS/nixpkgs/commit/1febdefecdc (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-20.09-small)
ali1234 has quit [Ping timeout: 272 seconds]
asheshambasta has joined #nixos
<hpfr> trying to use nix shell to build a package https://github.com/linux-surface/iptsd but I get `meson.build:92:1: ERROR: Pkg-config binary for machine MachineChoice.HOST not found. Giving up.` even though I put `pkg-config` in `buildInputs`. any suggestions are appreciated
lgcl has quit [Read error: Connection reset by peer]
vidbina has joined #nixos
<hpfr> never mind, I forgot to exit and reenter the shell 😩
o1lo01ol1o has joined #nixos
fuzzybear3965 has joined #nixos
o1lo01ol1o has quit [Ping timeout: 272 seconds]
veleiro has quit [Remote host closed the connection]
veleiro has joined #nixos
o1lo01ol1o has joined #nixos
Darkmatter66 has joined #nixos
emacsomancer has quit [Ping timeout: 256 seconds]
fuzzybear3965 has quit [Ping timeout: 245 seconds]
m0rphism has joined #nixos
o1lo01ol1o has quit [Ping timeout: 256 seconds]
<madonius[m]> <Rusty1 "/madonius: https://nixos.wiki/w"> I have read that, the Question is if I can flash an image and have it boot unattended
<madonius[m]> How do people deploy machines at scale with NixOS?
<madonius[m]> I can hardly imagine that they do that by going to each machine and building the environment, right?
cr4y1 has joined #nixos
veleiro has quit [Ping timeout: 246 seconds]
<Netsu> well, I make `the-pkg.overrideAttrs` inside the `ghc.withPackages`, and the-pkg now hidden for runghc. Why so?
emacsomancer has joined #nixos
eeva has quit [Remote host closed the connection]
eeva has joined #nixos
zane has quit [Quit: Idle for 30+ days]
devalot has quit [Quit: ZNC - http://znc.in]
boegel has quit [Remote host closed the connection]
ambroisie has quit [Remote host closed the connection]
devalot has joined #nixos
primeos has quit [Quit: WeeChat 2.8]
ambroisie has joined #nixos
fuzzybear3965 has joined #nixos
nbp has quit [Ping timeout: 265 seconds]
nbp has joined #nixos
<fuzzybear3965> I've been using a `custom-iso.nix` with `nix-build custom-iso.nix` that looks like https://hastebin.com/onesovadef.bash .
respawn_ has quit [Quit: Leaving]
boegel has joined #nixos
<fuzzybear3965> And the `iso` that's built doesn't seem to generate a good EFI directory.
domogled1 has joined #nixos
<fuzzybear3965> It doesn't have a `bootx64.efi` or `bootx32.efi` file that my motherboard's firmware expects at boot-time.
domogled has quit [Ping timeout: 256 seconds]
domogled1 is now known as domogled
<patagonicus> fuzzybear3965: have you tried the isoImage.makeEfiBootable option?
domogled1 has joined #nixos
<fuzzybear3965> Looks like hastebin isn't working: https://pastebin.com/dk3TQHd3 .
<fuzzybear3965> patagonicus Noo......
<fuzzybear3965> Hmmmmm.
domogled has quit [Ping timeout: 240 seconds]
domogled1 is now known as domogled
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/2ae527c50e0 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
ManiacOfMadness has joined #nixos
<patagonicus> Also, I find it a lot easier to just write a regular config, have it import iso-image.nix and then build with `nix-build -I nixos-config=iso.nix '<nixpkgs/nixos>' -A config.system.build.isoImage`, but I guess that's a matter of opinion.
domogled has quit [Client Quit]
<fuzzybear3965> patagonicus I added that line :) . https://pastebin.com/raw/aftQFJr0 .
ManiacOfMadness has quit [Read error: Network is unreachable]
<fuzzybear3965> Let's hope for the best!
<patagonicus> I'd potentially also remove your custom Grub settings as that option should hopefully work by itself and yours could interfere with assumption it makes, but I haven't checked what it actually does.
o1lo01ol1o has joined #nixos
<fuzzybear3965> patagonicus I'll be honest. I have 45% understanding of what I'm doing.
<fuzzybear3965> The `custom-iso.nix` I grabbed from a blog (Mayflower Consulting).
<fuzzybear3965> Your command makes sense to me. And it does seem a bit cleaner.
<fuzzybear3965> It's probably what I would do if I knew what I was doing.
<fuzzybear3965> I'll remove my grub settings and rebuild
<patagonicus> fuzzybear3965: There's https://nixos.wiki/wiki/Creating_a_NixOS_live_CD, which is less overhead in the config, but slightly longer command to build it (but I'd argue less complexity in total)
<fuzzybear3965> I commented out the boot.loader block.
<LilleCarl> fuzzybear3965: That percentage is way higher than when i do stuff Nix stuff. I'm closer to 10% :p
<fuzzybear3965> patagonicus I read that, too. I guess I landed on this approach by copying and pasting.
<fuzzybear3965> LilleCarl We know just enough to shoot ourselves in the feet.
<LilleCarl> Oh you C++ developer :p
<patagonicus> I learned quite a bit about how the system build process works while building a custom sd image generator, but a few things I use there I still don't understand, but I know it works. ¯\_(ツ)_/¯
<viric> Often I wanted a reminder of the kernel cmdline that will stop stage1, stage2, at different points
<viric> Maybe we could write in stage1 a command 'help' that would print that?
pjt_tmp has quit [Ping timeout: 256 seconds]
quyse has joined #nixos
neiluj has joined #nixos
tarruda1 has quit [Ping timeout: 264 seconds]
<fuzzybear3965> patagonicus Does this look about right?
<fuzzybear3965> `bash` syntax highlighting probably would have helped......
magma has joined #nixos
<fuzzybear3965> patagonicus Hey, this looks good! https://pasteboard.co/JGeyoF5.png
<fuzzybear3965> "Copying bootx64.efi" :).
dada_da has joined #nixos
da_dada has quit [Ping timeout: 272 seconds]
quyse has quit [Remote host closed the connection]
caffoy[m] has joined #nixos
<fuzzybear3965> patagonicus Thanks!!! https://pastebin.com/WYptu9t0
<Netsu> how nix handle cabal with multiple libraries?
fuzzybear3965 has quit [Remote host closed the connection]
cosimone has joined #nixos
primeos has joined #nixos
noudle has joined #nixos
hnOsmium0001 has quit [Quit: Connection closed for inactivity]
aveltras has joined #nixos
cole-h has quit [Ping timeout: 260 seconds]
<aveltras> does anyone have a config example with a custom sway cursor theme ?
<hyperfekt> Can anyone tell me how .swap targets/units work (on NixOS?)
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
<hyperfekt> Ah, they're generated from fstab
tarruda1 has joined #nixos
okad has quit []
karantan has joined #nixos
justan0theruser has quit [Ping timeout: 268 seconds]
<karantan> how can I know if nixos-rebuild process is running? is there any nixos build command that will tell me this?
<karantan> or is the only way to ps .. | grep .. ?
<pinpox> Quicke question: I'm setting up a nixos server and want to use EFI, grub2 and LVM. My setup is /dev/sda1 as 500M EFI partition and /dev/sda2 as LVM partition containing "root" and swap". What do I have to set "boot.loader.grub.device" to in this config?
<sphalerite> pinpox: when you're using efi, "nodev"
<pinpox> sphalerite: ok
<pinpox> sphalerite: Thanks
mounty has joined #nixos
orivej has joined #nixos
dada_da has quit [Ping timeout: 260 seconds]
dada_da has joined #nixos
respawn_ has joined #nixos
miracle_fox has joined #nixos
<pinpox> damn I forgot to set the sudo password and now I can't change the configuration.nix
* pinpox facepalms
miracle_fox has left #nixos [#nixos]
civodul has joined #nixos
OCCASVS__ has joined #nixos
__monty__ has joined #nixos
OCCASVS__ is now known as OCCASVS
OCCASVS has quit [Changing host]
OCCASVS has joined #nixos
OCCASVS has joined #nixos
OCCASVS has quit [Changing host]
lassulus_ has joined #nixos
lassulus_ has quit [Client Quit]
lassulus_ has joined #nixos
lassulus_ has quit [Client Quit]
lassulus has quit [Quit: WeeChat 2.9]
lassulus has joined #nixos
tarruda1 has quit [Read error: Connection reset by peer]
tarruda1 has joined #nixos
<sphalerite> pinpox: classic. I (try to) put my SSH key in the root account for all the servers I manage
<sphalerite> Though I sometimes forget that too.
<pinpox> sphalerite: Yep, thats what i do too. But I usually just try to get the server running with some minimal config. As long as I can reach it via ssh and login after a reboot I'll be able to provision it with my centralized deployment (krops)
<pinpox> It's fixed, just booted into single user mode and set the password.
justan0theruser has joined #nixos
astylian_ has joined #nixos
fuiltilt has quit [Quit: WeeChat 2.9]
astylian has quit [Read error: Connection reset by peer]
<sphalerite> pinpox: hm, not sure with krops's source-copying approach, but you can also build a system derivation and install that directly. That's what I usually do now
Darkmatter66 has quit [Ping timeout: 240 seconds]
fendor has joined #nixos
bzl has joined #nixos
bzl has quit [Client Quit]
bzl has joined #nixos
seku has joined #nixos
noudle has quit []
Synthetica has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
cosimone_ has joined #nixos
<pinpox> sphalerite: damn that's nice.
<pinpox> I'll look into that for the next server, now it's already krops'ed
<pinpox> Is anyone running a seafile server on nixos? I don't understand what the `sewafile-shared` package in nixpkgs provides, but it seems to not include the server itself. Should I just go with docker? Or any other well-performing nextcloud/owncloud alternative to host and share some files?
fadenb[m] has joined #nixos
cosimone has quit [Ping timeout: 265 seconds]
cosimone_ is now known as cosimone
<sphalerite> docker or podman is probably the least-friction option. You could use virtualisation.containers to specify it in your nixos config.
<pinpox> sphalerite: Okay, Ill do that then. I had it running natively on arch until now but I don't have time to package it for nixos right now
bzl has quit [Quit: changing servers]
SomeoneSerge has joined #nixos
respawn_ has quit [Quit: Leaving]
qwerty has quit [Read error: Connection reset by peer]
qwerty has joined #nixos
lgcl has joined #nixos
<hexa-> pinpox: nextcloud if you want a cloud, syncthing if you want to purely sync files
aveltras has quit [Quit: Connection closed for inactivity]
_deepfire has joined #nixos
dadada_ has joined #nixos
dada_da has quit [Ping timeout: 240 seconds]
okad has joined #nixos
Netsu has quit [Remote host closed the connection]
tarruda1 has quit [Read error: Connection reset by peer]
tarruda1 has joined #nixos
ericsagnes has joined #nixos
vidbina has quit [Ping timeout: 246 seconds]
ericsagn1 has quit [Ping timeout: 268 seconds]
fuzzypixelz has joined #nixos
fuzzypixelz has quit [Remote host closed the connection]
fuzzypixelz has joined #nixos
sss2 has quit [Quit: Leaving]
orivej has joined #nixos
da_dada has joined #nixos
tsrt^ has quit []
dadada_ has quit [Ping timeout: 256 seconds]
cfricke has quit [Quit: WeeChat 3.0]
vs^ has joined #nixos
mallox has joined #nixos
da_dada has quit [Ping timeout: 256 seconds]
da_dada has joined #nixos
marsh has quit [Ping timeout: 272 seconds]
justan0theruser has quit [Ping timeout: 240 seconds]
oida has quit [Ping timeout: 240 seconds]
mallox has quit [Quit: WeeChat 3.0]
justanotheruser has joined #nixos
marsh has joined #nixos
orivej has quit [Quit: orivej]
orivej has joined #nixos
tokudan has quit [Remote host closed the connection]
orivej_ has joined #nixos
orivej has quit [Ping timeout: 246 seconds]
tokudan has joined #nixos
Ariakenom has joined #nixos
oida has joined #nixos
domogled has joined #nixos
<sphalerite> hexa-: since pinpox said "nextcloud/owncloud alternative", I guessed that was out of the question :p
<hexa-> sphalerite: whoops, must've glanced over the "alternative suffix" :)
<hexa-> but nextcloud performs well, just give it 4 Cores ang 8 GB RAM to start
<hexa-> *cough*
justanotheruser has quit [Read error: Connection reset by peer]
mkaito has joined #nixos
mkaito has joined #nixos
mkaito has quit [Changing host]
<ar> you also need to tolerate php
<hexa-> sure, but I tend to just not look at it closely, ma27[m] provides this really awesome abstraction
werner291 has joined #nixos
<hexa-> also when you want a "cloud", there is not much else to go for
<hexa-> and obviously I wouldn't host such a beast for myself :p
OCCASVS has quit [Quit: Connection closed for inactivity]
<hexa-> and to be fair, there are two kinds of php projects.
nicoo has quit [Quit: WeeChat 1.7.1]
orivej_ has quit [Ping timeout: 264 seconds]
tarruda1 has quit [Read error: Connection reset by peer]
tarruda1 has joined #nixos
nicoo has joined #nixos
okad has quit [Quit: okad]
lordcirth__ has joined #nixos
Schicko has joined #nixos
lordcirth has quit [Ping timeout: 240 seconds]
<lukego> Hey I've packaged a binary and used autoPatchelfHook in the derivation but it fails to start. strace shows execve() on the executable giving -ENOENT. I expect that when it fails to link but ldd shows all libs resolved. Any pointers how to diagnose? details in https://gist.github.com/lukego/0eec1b9beac49be14cff7ed951216f08
bitmapper has joined #nixos
gustavderdrache has joined #nixos
strobelight has joined #nixos
okad has joined #nixos
<Schicko> How would I install a cross-compiled package? I want to install `idris2` but built with `musl`. I know that I can build it with the command `nix build -f channel:nixos-unstable pkgsCross.musl64.idris2`, which would produce a `result` symlink in CWD to the compiled "package", but how would I also get `nix` to also manage the installation of that package for me (probably with `nix-env -i`)? I tried `nix-env -i
<Schicko> pkgsCross.musl64.idris2`, but that doesn't work.
<Schicko> I ask because it seems that the cached `idris2` is built with`glibc` instead (could be wrong about that), so it doesn't seem to run properly in my system which is uses `musl`.
<simpson> -iA would be required, not -i. The -A flag tells nix-env to lookup a name to install. (If you have a path directly into the Nix store, then you can do `nix-env -i /nix/store/...` to add that path directly to the environment.
orivej has joined #nixos
tarruda1 has quit [Read error: Connection reset by peer]
<lukego> (I suspect autoPatchelfHook isn't running and the ELF interpreter is the problem...)
tarruda1 has joined #nixos
<Schicko> Thanks, I'll give that a go. Also, I know that the "result" file that is produced with `nix build` is just a symlink, but I read somewhere that it shouldn't renamed or moved. What is the reason for that?
asbachb has joined #nixos
<Schicko> And how would I remove it safely if I need to?
<Schicko> Or if I no longer need it?
<simpson> The symlink is a GC root; it prevents Nix from garbage-collecting your freshly-built package.
<simpson> That's all. If you remove all references to a package, then Nix might not keep it around.
<asbachb> I'm a little bit puzzled why my acme service stopped working: https://gist.github.com/asbachb/7ca600a6dbb044013c234602195485c7
<Schicko> So it's safe to remove if I no longer need it since `nix` will just GC at some point?
tarruda1 has quit [Read error: Connection reset by peer]
<simpson> Yeah.
<Schicko> Thanks for explaining!
tarruda1 has joined #nixos
ManiacOfMadness has joined #nixos
rb2k has joined #nixos
ddellacosta has joined #nixos
zecnate has joined #nixos
<zecnate> I've run `nix-env -i cargo` yet when I run `cargo build` it fails with: "error: linker `cc` not found"
<zecnate> I tried `nix-env -i gcc`, but I get the same error.
<zecnate> How can I configure `cargo` to delegate to `gcc` for `cc`? (-and why doesn't the nixpkgs derivation just set this up directly?)
<viric> zecnate: why would cargo choose the gcc?
i077 has quit [Quit: WeeChat 3.0]
<viric> either it chooses the gcc or it does not include any gcc
<viric> that said I have never used it so I don't know why it isn't happy about gcc in the path
<zecnate> Hm, I see. So maybe I need to figure out how to configure Cargo to use a specific compiler. I've just never had to do that for cargo installed via other means.
<viric> CC=gcc env var?
domogled has quit [Remote host closed the connection]
domogled has joined #nixos
<zecnate> Nope.
<zecnate> Different tack: is there a way to start a `nix-build` and if the builder fails, drop into a `nix-shell` in the build directory so that I can examine results?
<viric> you can use "nix-shell -A whatever" to get that environment from scrach, and there you can run the build recipe
<simpson> zecnate: -k and -K flags might be interesting. Have you read https://nixos.org/manual/nixpkgs/stable/#rust yet?
<viric> calling genericBuild in that shell
justanotheruser has joined #nixos
bridge[evilred] has quit [Remote host closed the connection]
karantan has quit [Ping timeout: 240 seconds]
tarruda1 has quit [Read error: Connection reset by peer]
tarruda1 has joined #nixos
<zecnate> viric: Thanks!
<viric> the -K path may work but requires root access
<viric> it's the purest though
leothrix has quit [Quit: ZNC 1.7.5 - https://znc.in]
tarruda1 has quit [Read error: Connection reset by peer]
<zecnate> simpson: Yes. My first question about running Cargo cropped up because my `nix-build` fails, and I noticed that if I did `nix-shell .` in the same directory and then inside that ran `cargo build` I got a different error. So next I wanted to try a normal Cargo build outside of a `nix-build` process to triangulate.
tarruda1 has joined #nixos
<zecnate> What I really want/need it a way to diagnose the existing `nix-build` with more detail, so I think `genericBuild` might be the way.
tarruda1 has quit [Read error: Connection reset by peer]
tarruda2 has joined #nixos
<zecnate> BTW- how do I know my `default.nix` invokes `genericBuild`? I just set up `naersk` with `niv` and I'm unfamiliar with both. Do they call out to `stdenv`?
leothrix has joined #nixos
tarruda2 has quit [Read error: Connection reset by peer]
tarruda2 has joined #nixos
bridge[evilred] has joined #nixos
werner292 has joined #nixos
werner291 has quit [Ping timeout: 272 seconds]
werner292 is now known as werner291
Supersonic has quit [Ping timeout: 246 seconds]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
jonringer has joined #nixos
xcmw has joined #nixos
<lukego> (Yes, my mistake seems to have been to think that autoPatchelfHook works with runCommandNoCC.)
ddellacosta has quit [Ping timeout: 268 seconds]
<victorbjelkholm> anyone know if there is any trickeries involved to get nvim + tmux + the tmux-nvim and nvim-tmux plugins to play nicely with each other? I've got everything installed but navigation via :TmuxNavigateDown in neovim doesn't properly jump to the pane below (same for other directions)
<victorbjelkholm> "doesn't properly" meaning "doesn't jump at all"
kaivai has quit [Ping timeout: 260 seconds]
SeasonsBeatings is now known as grumble
<siraben> I'm trying to play a windows-only game on Steam on NixOS, how do I launch it?
<siraben> What's the way to install proton?
<victorbjelkholm> siraben: did you check https://wiki.archlinux.org/index.php/steam#Proton_Steam-Play ?
<clever> for me, i just run steam, and proton is fully automatic
fuzzypixelz has quit [Quit: fuzzypixelz]
<clever> there are settings in steam itself, to allow using proton with games that arent in the whitelist of "known working"
<asbachb> Is it right that I cannot use steam with `nix-shell -p steam --run steam` since it normally needs some 32bit libs?
<siraben> victorbjelkholm: thanks that works now
<siraben> but i'm on sway and the game does not seem to be lauching
<siraben> uh oh, time to go back to i3?
<siraben> for context the game is Among Us
gustavderdrache has quit [Quit: Leaving.]
gustavderdrache has joined #nixos
fendor_ has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
<asbachb> siraben: Any error messages?
<siraben> asbachb: no
<siraben> I click play and nothing happens
<asbachb> siraben: You might start steam via console maybe there's some additional logging.
fendor has quit [Ping timeout: 260 seconds]
zecnate has quit [Remote host closed the connection]
<siraben> asbachb: ^
<victorbjelkholm> seems to want to use 32-bit libraries if I'm not mistaken (wrong ELF class: ELFCLASS32),
<asbachb> siraben have you enabled that 32 libs like suggested on https://nixos.wiki/wiki/Steam
justanotheruser has quit [Ping timeout: 240 seconds]
devalot has left #nixos ["ERC (IRC client for Emacs 27.1)"]
philr has quit [Ping timeout: 264 seconds]
<heath> everytime I try to use the "nix-env" command, it complains that it can't find a default.nix file in a different directory (maybe the directory I was in when installing?). I'm trying to just install some basic tools like cabal2nix
<heath> echo $NIX_PATH gives me ~/.nix-defexpr/channels
<heath> should there be something more?
berberman_ has quit [Quit: ZNC 1.7.5 - https://znc.in]
berberman has joined #nixos
pushqrdx has joined #nixos
kaivai has joined #nixos
berberman has quit [Max SendQ exceeded]
berberman has joined #nixos
fuzzypixelz has joined #nixos
gxt has quit [Ping timeout: 240 seconds]
gxt has joined #nixos
<siraben> asbachb: yes I think so
Swant is now known as Swanta-Claus
<asbachb> siraben: Then no ide tbh,
eacameron has joined #nixos
<eacameron> Anyone played with go2go? I'd like to get a nix drv set up to make it easy to play around with go with generics proposal.
davidv7 has quit [Remote host closed the connection]
<pingiun> my hydra job is failing with a weird error, namely that it cannot find a remote ref with a hash, but I have set it up to get the master branch not a hash: https://hydra.technicie.nl/jobset/concrexit/master#tabs-errors
<siraben> asbachb: ah ok, I'll try poking around
davidv7 has joined #nixos
<asbachb> Anyone got epic game store running via lutris?
werner292 has joined #nixos
davidv7 has quit [Remote host closed the connection]
werner291 has quit [Ping timeout: 272 seconds]
werner292 is now known as werner291
cosimone has quit [Ping timeout: 246 seconds]
qwerty has quit [Ping timeout: 240 seconds]
acarrico has joined #nixos
magma has quit [Quit: bye]
cosimone has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<siraben> If anyone is interested in building some historical software I have a stale gofer interpreter PR https://github.com/NixOS/nixpkgs/pull/100171
<{^_^}> #100171 (by siraben, 10 weeks ago, open): gofer: init at 2.30a
Henson has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<siraben> It's one of the precursors to Haskell, along with miranda which is in Nixpkgs
<pingiun> nvm I found my error, it was not in fetching the inputs
Ariakenom has quit [Quit: Leaving]
<rawtaz> does NixOS have a feature like shown in https://apps.apple.com/us/app/isnow/id565963412 ? if yes, what is the option to enable it?
<bqv> Question for y'all
<bqv> I had an idle project to remove nixpkgs dependency on systemd via a module overlay
<bqv> Do you think thats realistic?
<bqv> I.e. To be able to use nixpkgs but have all the systemd parts translated to some other init system
<bqv> (cause as I understand it, its universally agreed nixpkgs will never remove systemd itself)
<lordcirth__> bqv, that'd be a ton of work
<bqv> lordcirth__: are you sure? Nix is turing complete
fresheyeball has quit [Quit: WeeChat 2.7.1]
<bqv> What would be the hard part?
fresheyeball has joined #nixos
<lordcirth__> bqv, it's not about the language, it's about writing that translation. Unless the new init system is very similar, in which case why?
<lordcirth__> systemd is complex, and NixOS uses more of it's features than most distros
lordcirth__ is now known as lordcirth
<bqv> System definitions don't differ much across *any* init system
<yjftsjthsd> rawtaz: that just looks like https://en.wikipedia.org/wiki/Xsnow ?
<bqv> There's the dynamicuser stuff, which I had issues with, but there isn't much else I can forsee being problematic, what are you thinking of?
<lordcirth> I guess it depends on which init you want to switch to. But there's probably lots of little things. Conditionals, dbus, socket passing, etc
<bqv> Dbus has already given me a slight headache, yes
<bqv> Fair enough. It seems vaguely realistic at least, just messy, maybe
<genevino> bqv: i guess that's unrealistic, if systemd bothers you, and there are perfectly valid reasons why it would, you're most likely best off with artix + nix on top.
<bqv> I don't think that's even comparable, and I see no fundamental reason why this won't work (it actually kinda does already, in a POC kinda way)
sefu has joined #nixos
<lordcirth> bqv, I also don't get why you care enough. Systemd works fine
<genevino> bqv: well the question is what you try to achieve here, nixos is pretty much bound tight to systemd.
<genevino> bqv: unless it doesn't.
<genevino> eh
<genevino> lordcirth:
<genevino> and it's trivial to get systemd to deadlock when rebooting.
<lordcirth> I've broken boot before, but rarely was it systemd's fault, IMHO
<genevino> and hands down, there are a lot of issues with systemd, alone it having over 190 man pages that start with systemd* - i don't know how many lifetimes you live, but i reckon to live only one.
<genevino> and it's easy to spend a complete day debugging weird systemd behaviour only to find out that you're experiencing a bug that's reported since 3 years that the systemd developers refuse to deal with.
<genevino> which in turn is hard to debug as systemd has a lot of completely un-predictable behaviour.
<genevino> still, it's possible to make it behave, even in nixos, and that's probably HEAPS easier than what you approach.
AlpineLlama has quit [Ping timeout: 260 seconds]
werner292 has joined #nixos
werner291 has quit [Ping timeout: 268 seconds]
werner292 is now known as werner291
astylian_ has quit [Ping timeout: 240 seconds]
tarruda2 has quit [Read error: Connection reset by peer]
tarruda3 has joined #nixos
concept2 has quit [Quit: See ya later!]
<genevino> lordcirth: a computer completely deadlocking when you type "reboot" is simply broken, period. i understand systemd doesn't want to ship defaults that on huge database servers lead to data-loss, but the behaviour of reboot in systemd is simply broken beyond repair.
<genevino> CtrlAltDelBurstAction=reboot-immediate is a good way to be able to still actually reboot when that happens - in case you're in front of said computer. if you're logged in to a machine via ssh where you type reboot and the system just doesn't come up again, you'll have a bad time.
<genevino> but even then it's possible to entirely lose control over systemd depending on how you configured it, and off-loading the problem to be just PEBKAC 100% of the time seems a bit narrow-minded to me.
<eacameron> If anyone wants to play around with go2go from Nix, this is a start and it seems to work: https://github.com/NixOS/nixpkgs/compare/master...3noch:eac/go2go?expand=1
concept2 has joined #nixos
iMatejC has quit [Quit: WeeChat 2.9]
ddellacosta has joined #nixos
iMatejC has joined #nixos
<lordcirth> genevino, oh, you mean deadlocking during the shutdown?
<lordcirth> I've had the 1m30s timeout before, but I don't recall ever deadlocking
<genevino> lordcirth: yup, and i've had situations where even reboot -f deadlocks, and i ran in some 90min timeouts as well.
<genevino> (yes, 90min, not 90sec)
<genevino> and yes i tried all the sysrq's and my current setup includes this: https://clbin.com/uoG7o
<lordcirth> oof. Never seen anything like that, but I can believe it
<DavHau[m]> As soon as I use a remote builder, nix ONLY builds remote and doesn't use my local machine anymore. How can I tell nix to use both remote and local machine for building?
kaivai has quit [Quit: ZNC - https://znc.in]
<genevino> lordcirth: and that's reported since years and lennart says he has no clue how to fix this. hooray. https://github.com/systemd/systemd/issues/1615
<{^_^}> systemd/systemd#1615 (by prescott66, 5 years ago, closed): System hangs at reboot/shutdown - Arch Linux
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kaivai has joined #nixos
cybersyn has joined #nixos
<Duponin> hi, question a bit stupid but how can I create the sha256 for a directory to input it in the `fetchurl` Nix command?
domogled has quit [Read error: Connection reset by peer]
domogled has joined #nixos
<DavHau[m]> @Duponin nix-prefetch-url?
<genevino> i don't think fetchurl works recursively on directories, and i don't think you can sha256 a directory, either.
<Duponin> genevino: we can't sha256 a directory I agree. I guess fetchUrl needs a zip and we have to provide the sha256 of the zip
<Duponin> but when we use fetchFromGithub, we have to provide revision and the sha256 (→ wat?)
<qyliss> Nix can sha256 a directory
<qyliss> nix-hash --type sha256 /var/empty
<qyliss> ,tofu Duponin
lgcl has quit [Read error: Connection reset by peer]
<{^_^}> Duponin: To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000), then replace it with the correct hash Nix expected. For inserting 52 0's in vim: <esc>52i0<esc>
<Duponin> qyliss: oooooookay, thank you :)
<rawtaz> yjftsjthsd: haha, you're right :D
<j4m3s__> how does it work on a directory ? It computes the sha256 of the nar file of the dir?
cybersyn` has joined #nixos
<clever> j4m3s__: it will serialize the entire directory (nix-store --dump /var/empty/ | hexdump -C) and then hash the serialized form
<j4m3s__> Ok ok :) thx for the info
cybersyn` has quit [Client Quit]
cybersyn has quit [Remote host closed the connection]
berberman_ has joined #nixos
tarruda3 has quit [Read error: Connection reset by peer]
tarruda3 has joined #nixos
berberman has quit [Ping timeout: 272 seconds]
berberman_ has quit [Max SendQ exceeded]
berberman has joined #nixos
<Duponin> j4m3s__: the cursed answer would be `find . | tar -cv - | sha256sum -` :D
<j4m3s__> Why would this be cursed ?
<j4m3s__> tar ?
<qyliss> for one thing it would probably vary a lot based on your tar implementation
<Duponin> I'm sure we can do a recursive loop with
<qyliss> and filesystem
<clever> qyliss: it will also have last-mod timestamps on all the files, ruining the reproducability
<clever> qyliss: nix uses nar instead of tar, which just lacks timestamp support
<qyliss> yeah
<j4m3s__> Yes, that's why nixos uses nar if i'm correct
<gchristensen> and is ordered and doesn't support suid and other things
<Duponin> we just have to touch files to setup timestamp 1 just before to pipe into tar
<clever> you can abuse `nix-store --dump foo > foo.nar` and `nix-store --restore foo < foo.nar` as a tar replacement
pushqrdx has quit [Remote host closed the connection]
<j4m3s__> Oh didn't know that one :D
tarruda3 has quit [Read error: Connection reset by peer]
sefu has quit [Ping timeout: 246 seconds]
tarruda3 has joined #nixos
pushqrdx has joined #nixos
cosimone has quit [Quit: cosimone]
<pushqrdx> can someone please tell me what's wrong with my wine overlay that makes it build 32bit even though i specified 64?
<pushqrdx> it uses a fork that implements a wayland driver, and the 32 bit build works
<pushqrdx> i think it's something with configureFlags, it might be replaced instead of concatenated?
fresheyeball has quit [Quit: WeeChat 2.7.1]
ris has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/e7659b6288d (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
mallox has joined #nixos
werner292 has joined #nixos
tarruda3 has quit [Read error: Connection reset by peer]
tarruda3 has joined #nixos
werner291 has quit [Ping timeout: 260 seconds]
werner292 is now known as werner291
karantan has joined #nixos
xcmw has joined #nixos
davidv7 has joined #nixos
tarruda4 has joined #nixos
tarruda3 has quit [Read error: Connection reset by peer]
karantan has quit [Ping timeout: 240 seconds]
cole-h has joined #nixos
lassulus_ has joined #nixos
lassulus has quit [Ping timeout: 260 seconds]
lassulus_ is now known as lassulus
cr4y1 has quit [Ping timeout: 268 seconds]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/b67ba0bfcc7 (from 7 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
rajivr has quit [Quit: Connection closed for inactivity]
lifestronaut has joined #nixos
sefu has joined #nixos
tarruda4 has quit [Read error: Connection reset by peer]
Darkmatter66 has joined #nixos
tarruda4 has joined #nixos
<sphalerite> Is there a way to get "3" for python3 and "2" for python2 without funky version parsing or if statements?
v0|d has joined #nixos
sefu has quit [Client Quit]
<clever> > python3.isPy3
<{^_^}> true
<clever> sphalerite: is that good enough?
<clever> > python3.isPy2
<{^_^}> false
<v0|d> hey there, I need a little bit of help on dnat'tin to libvirt guests. I need to add a rule like -A FORWARD -d guest_ip -p tcp --dport a_port -j ACCEPT via networking.firewall.extraCommands. The problem is libvirt service is fired after firewall service and that particuler one adds several rules to FORWARD chain such as LIBVIRT_FWX _FWI _FWO and these rules basically deny my extra commands. Any ideas?
<clever> v0|d: but if the service is dynamically mutating chains at runtime, thats a more complex issue...
<v0|d> clever: glad you are here!
<sphalerite> clever: no, as I said I don't want if statements
<clever> > python.pythonVersion
<{^_^}> "2.7"
<clever> ehhh, half there
<clever> i dont think there are any closer constants
o1lo01ol1o has joined #nixos
<v0|d> clever: my extraCommands with -I FORWARD are on the 3rd row, first 3 rules reject the dnat packs
<sphalerite> clever: yep found that too, but that still requires version parsing
<clever> v0|d: i find `iptables-save` to be a lot more readable
sefu has joined #nixos
<clever> sphalerite: toss it into a let block and accept that youll need a ? or an if?
<lordcirth> sphalerite, have you tried just not supporting py2 because it's dead? :P
<clever> > python
<{^_^}> "<derivation /nix/store/i470cxckm0x1r6362bsziiwgwimlp6yw-python-2.7.18.drv>"
<clever> lordcirth: and the default is 2.7 still...
<sphalerite> lordcirth: well this is for an old library which is still required by things :/
hnOsmium0001 has joined #nixos
sefu has quit [Client Quit]
o1lo01ol1o has quit [Ping timeout: 240 seconds]
<matthewcroughan> I'm trying to use this guy's NUR package, and it doesn't work under wayland, this is present the src
<matthewcroughan> it works under Wayland on Arch, Sway. What do you think the comment means?
<matthewcroughan> "Those libraries are missing from buildInputs"?
<clever> ,locate libGLES_CM.so
cr4y1 has joined #nixos
<{^_^}> Couldn't find in any packages
<clever> ,locate libwayland-cursor
<{^_^}> Found in packages: wayland, wayland.debug, waylandpp.lib
<matthewcroughan> So by missing, it means he'd have to make pkgs for all those too, to provide them?
sefu has joined #nixos
vidbina has joined #nixos
cr4y1 has quit [Client Quit]
<clever> matthewcroughan: some of those are in the wayland package, just pop wayland into the buildInputs
turlando has quit [Ping timeout: 256 seconds]
<matthewcroughan> clever: it's interesting that I can't just run the binaries from the deb package on NixOS.
<matthewcroughan> Why do you think that is? Would love to know.
<clever> matthewcroughan: because /lib doesnt even exist
<matthewcroughan> it's static though
asbachb has quit [Ping timeout: 245 seconds]
<clever> matthewcroughan: what does `file` say when ran on it?
<matthewcroughan> clever: parsec-linux.deb.1/usr/bin/parsecd: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=a7deb118f614f38d1e7b22fb2066e6b1e886d2dd, not stripped
<matthewcroughan> ah..
<matthewcroughan> guess it's not static
<clever> matthewcroughan: and /lib64/ld-linux-x86-64.so.2 doesnt exist, so attempting to run parsecd will report "file not found"
<matthewcroughan> Thanks clever
<matthewcroughan> How give kudos?
<clever> youll need to either patchelf or buildfhsenv
<clever> [ 0.210464] pagealloc: memory corruption
<clever> [ 0.214480] (ptrval): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
<clever> matthewcroughan: got any clue about this error? heh
<matthewcroughan> lmfao, you gotta be kidding me
<clever> [ 2.465971] Unable to handle kernel NULL pointer dereference at virtual address 0000003c
<matthewcroughan> me? Nope
<clever> [ 2.498077] PC is at bpf_prog_alloc+0x94/0xdc
<matthewcroughan> PC?
<clever> program counter
berberman_ has joined #nixos
<matthewcroughan> clever: what hardware are you running this on?
<pinpox> colemickens: You are the author of https://github.com/colemickens/cfdyndns , right? The nixpkgs service for it is failing for me, is the tool still working?
<clever> matthewcroughan: rpi1, with custom firmware and kernel
berberman has quit [Ping timeout: 268 seconds]
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<matthewcroughan> interesting
<matthewcroughan> I guess you'll find your answers in the Raspbian kernel.
<clever> matthewcroughan: ive got it working on pi2 and pi3 without too much trouble, but pi1 is still giving troubles
<matthewcroughan> Whatever you're dealing with is likely to have been patched and fixed in Raspbian, so I'd look there.
<clever> matthewcroughan: already using that fork, but with a custom .config file
asheshambasta has quit [Ping timeout: 268 seconds]
<matthewcroughan> bisect time
<matthewcroughan> Or doesn't it work at all at any stage?
<matthewcroughan> Are you trying to make Nix run on a pi1 though?
<clever> i have never gotten it to work on a pi1 with the open firmware
<matthewcroughan> Are you sure it's not running out of RAM?
<clever> its failing during boot, it cant have used more then 20mb of ram
<matthewcroughan> I tried hard to get NixOS to work on a 256MB x86 laptop but just kicked out at Stage1
growpotkin has joined #nixos
<clever> its not even reaching /init in the initrd
<matthewcroughan> yeah, interesting
<matthewcroughan> I don't have a pi1 here actually
<matthewcroughan> but is your work avail on git anywhere?
<clever> yeah
<clever> matthewcroughan: this thread shows the commands to build most of it, and links to the github
<matthewcroughan> Oh, you think this is caused by your config.txt?
lifestronaut has quit [Remote host closed the connection]
<clever> matthewcroughan: the firmware i'm using doesnt even support config.txt
werner292 has joined #nixos
<clever> matthewcroughan: the blobs are not involved at any stage in the boot
<matthewcroughan> Why aren't you able to use the same firmware as what all Pi1's use?
<clever> matthewcroughan: because the whole point is to get rid of the closed-source blobs :P
<matthewcroughan> Oh, impossible with Pi, without reverse engineering.
<matthewcroughan> You'll never get the GPU to work, I'm sure.
TonyTheLion has quit [Ping timeout: 264 seconds]
werner291 has quit [Ping timeout: 272 seconds]
werner292 is now known as werner291
<clever> matthewcroughan: and thats what i'm doing, it already boots on pi2 and pi3
<matthewcroughan> Yeah but what issues did you have to solve with the pi2/3?
<matthewcroughan> Is this not spookily similar to something you've experienced with those two?
<clever> i had to add initrd support to the bootloader, and then replace the missing device-tree files
<matthewcroughan> There's probably some bit bashing going on, for example, on some interfaces.
<clever> then fix a gpio bug involving the reset pin of the usb hub
<clever> and some low level arm config registers, to allow floating point and mutexes
<matthewcroughan> I've had it be the case that broken firmware breaks the ability of the device to even get to the kernel
vidbina has quit [Ping timeout: 264 seconds]
<matthewcroughan> where an official raspbian image would boot, but an ubuntu/armbian image would not even get the SD to load lmao
<matthewcroughan> .S?
<clever> matthewcroughan: this is the first opcode to run, that i can control, so all execution of the open firmware starts there
<clever> .S files are raw assembly code
<pushqrdx> can someone checkout my wine overlay and tell me why does it build 32bit wine? http://ix.io/2Jib
<pushqrdx> --enable-win64 made it produce wine64 binary but the wine-server stayed 32bit
<matthewcroughan> :P
vidbina has joined #nixos
<matthewcroughan> Does .S mean arm asm or something?
<clever> .S is just assembly
<clever> it gets ran thru binutils as, to turn it into binary
<clever> in this case, its vc4/vpu assembly
<joko> pushqrdx: you probably need to override wineBuild to "wine64", check the original package
<pushqrdx> joko i am checking the original package, it should be wineWow as far as i can see
<pushqrdx> which is what i did in the overlay
sefu has quit [Quit: Leaving.]
<joko> pushqrdx: oh, just noticed. You're overriding attributes, but that's an argument
<pushqrdx> joko how can i pass the argument then :D?
<joko> pushqrdx: wineBuild and wineRelease are arguments, you need sth like (wine.override { wineBuild = "..."; wineRelease = "..."; })
<joko> Now, to combine it with overrideAttrs, it would make it a bit strange with parenthenses, let me check if I find an example on that
<pushqrdx> yeah i want to maintain the attributes i overriden, because that's a custom wine version that i am trying to build
davidv7 has quit [Remote host closed the connection]
eacameron has quit [Quit: Connection closed for inactivity]
miscalculated has quit [Quit: miscalculated]
davidv7 has joined #nixos
sefu has joined #nixos
davidv7 has quit [Client Quit]
<sphalerite> > callPackages
<{^_^}> <LAMBDA>
<sphalerite> > libsForQt5.callPackage
<joko> pushqrdx: maybe sth like this? https://pastebin.com/rtrQYLg8
<sphalerite> > libsForQt5.callPackages
davidv7 has joined #nixos
<pinpox> colemickens: Sorry got to go now, I left you an issue describing the bug: https://github.com/NixOS/nixpkgs/issues/107487
lord| has quit [Ping timeout: 272 seconds]
lord| has joined #nixos
davidv7 has quit [Client Quit]
<pushqrdx> joko hmm this throws attribute 'overrideAttrs' missing
davidv7 has joined #nixos
<sphalerite> infinisil: huh, why isn't nixbot answering my last two messages?
<infinisil> ,ping
<infinisil> Looks like there's some problems on gchristensen's end: Dec 23 20:35:27 protos nixbot[510]: [ThreadId 1] Exception: ConnectionClosedException Abnormal "Could not connect to any of the provided brokers: [((\"events.nix.gsc.io\",5671),HandshakeFailed (Error_Protocol (\"certificate has unknown CA\",True,UnknownCa)))]"
<gchristensen> hmmmmmmmmmmm
miscalculated has joined #nixos
jollyrogue[m] has joined #nixos
<bqv> julm: btw, told you. :p
<pushqrdx> can some nix wizard take a look at https://pastebin.com/rtrQYLg8 to fix why it's throwing "attribute 'overrideAttrs' missing"
<pushqrdx> i want to both override attributes and pass parameters to build wineWow
<clever> pushqrdx: you need to swap .override and overrideAttrs
<clever> > (wine.override {}).overrideAttrs (old: {})
<joko> clever: just tried it, maybe once you override, the derivation is not overridable anymore?
<pushqrdx> clever i suppose like this http://ix.io/2JiR, it still throws
<clever> nix-repl> (wine.overrideAttrs (old: {})).overrideAttrs (old: {})
<clever> «derivation /nix/store/gppp531i6xk1pfsq5890nz144v0w45q2-wine-5.0.drv»
<clever> joko: nope
<clever> pushqrdx: do you have other overlays, that are also changing wine? how is this overlay loaded? what is the exact error?
D__ has joined #nixos
<pushqrdx> clever i don't have anything else changing wine, and this overlay is added to overlays.nix
D_ has quit [Ping timeout: 256 seconds]
<pushqrdx> and the exact error now is error: attribute 'overrideAttrs' missing, at /home/pushqrdx/.config/nixpkgs/overlays/overlays.nix:45:10
<pushqrdx> which is the first line of the wine overlay that i pasted above
<clever> pushqrdx: can you pastebin the entire overlays.nix?
<pushqrdx> clever sure http://ix.io/2JiS
SomeoneSerge has quit [Ping timeout: 246 seconds]
<clever> oh, interesting
<clever> it fails when i set those attrs...
<clever> *looks*
<clever> 28534 winePackagesFor = wineBuild: lib.makeExtensible (self: with self; {
<clever> 28546 wine = winePackages.full;
<clever> 28544 wineWowPackages = recurseIntoAttrs (winePackagesFor "wineWow");
SomeoneSerge has joined #nixos
zie has quit [Quit: ZNC 1.8.1 - https://znc.in]
zie has joined #nixos
<clever> nix-repl> wineWowPackages.staging.overrideDerivation
<clever> «lambda @ /home/clever/apps/nixpkgs-hasura/lib/customisation.nix:84:32»
<clever> pushqrdx: try using this one, without .override
<pushqrdx> sorry i didn't follow, which one are you referring to
<clever> pushqrdx: aha, found the problem
<clever> [clever@amd-nixos:~/apps/nixpkgs-hasura]$ vi pkgs/misc/emulators/wine/staging.nix
<clever> 10 (stdenv.lib.overrideDerivation wineUnstable (self: {
<clever> pushqrdx: staging uses the older overrideDerivation, which deletes the newer overrideAttrs
<clever> pushqrdx: try just wineWowPackages.staging.overrideDerivation (old: { src = ...; });
o1lo01ol1o has joined #nixos
<pushqrdx> clever so this http://ix.io/2JiU?
<pushqrdx> forgot super
<clever> yep
<clever> you also dont need rec on that
<pushqrdx> ok but first do i still install with nix-env -iA nixos.wine or nixos.wineWowPackages.staging?
<clever> pushqrdx: the name on the left of the = is what you install
<clever> you named it wine, so nix-env -iA nixos.wine
<pushqrdx> aha, finally i understood that bit
<clever> but you could name it wine-staging-wayland
<clever> so you still have access to the original wine
<pushqrdx> hmmm, strangely nix-env doesn't pick the overlay anymore and picked up 'wine-wow-5.20-staging'
<pushqrdx> it should've said wine-wayland as the pname
<clever> pushqrdx: thats to be expected
<clever> pushqrdx: overrideDerivation happens later, and doesnt support pname/version
<clever> pushqrdx: so you must instead set the old name attr
<pushqrdx> so why would i overrideDerivation instead of overrideAttributes then?
<clever> 2020-12-23 15:51:08 < clever> pushqrdx: staging uses the older overrideDerivation, which deletes the newer overrideAttrs
<energizer> anybody tried https://github.com/zhaofengli/colmena ?
<pushqrdx> clever it's failing on build as it tries to apply patches even though i have patches = []
<clever> pushqrdx: can you pastebin the entire output?
riksteri has quit [Quit: riksteri]
<bqv> looks cool, but is in rust, rather than pure nix, so less cool than nixus
<pushqrdx> clever https://pastebin.com/JTfgaZnX note that i added name="wine-wayland" that's why it says installing wine-wayland now
<energizer> bqv: what is the benefit of being in pure nix?
<clever> [clever@amd-nixos:~/apps/nixpkgs-hasura]$ vi pkgs/misc/emulators/wine/staging.nix
<clever> 15 postPatch = self.postPatch or "" + ''
<clever> 17 cp -r ${patch}/patches .
astylian_ has joined #nixos
<clever> pushqrdx: staging ignores the patches array, and starts adding its own patches using postPatch!
<bqv> energizer: everything is fully controllable from config
<bqv> fully overridable from config
<bqv> fully introspectable from config
<bqv> nothing is a black box
<clever> pushqrdx: so you must override postPatch = "";
<pushqrdx> clever good god
<pushqrdx> clever how do you do that vi lookup thingy though :D?
<pushqrdx> printing that output into irc like that
<clever> pushqrdx: copy/paste from a terminal window
<pushqrdx> clever appears to have started building, fingers crossed i don't endup with another wasted hour building wine 32 lol
<pushqrdx> idk why it takes that long in nix-env build though
<pushqrdx> like i built it on my own in a nix-shell, took less than 20 minutes
<pushqrdx> with nix-env or nixos-rebuild it takes more than an hour to build
veleiro has joined #nixos
<matthewcroughan> bqv: Hi o/
cosimone has joined #nixos
werner292 has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
werner291 has quit [Ping timeout: 272 seconds]
werner292 is now known as werner291
<clever> ,locate
* clever whacks infinisil
domogled1 has joined #nixos
* infinisil whacks gchristensen
<clever> :D
* gchristensen dies
<clever> lol
<gchristensen> I can look in earnest in a few minutes
<matthewcroughan> ,locate libGLES_CM.so.1
domogled has quit [Ping timeout: 264 seconds]
domogled1 is now known as domogled
<infinisil> (Bot temporarily out of order)
carthia has joined #nixos
dxb[m] has joined #nixos
writtenoff has joined #nixos
miscalculated has left #nixos [#nixos]
<hodapp> stupid-ish question: how do I provide org.freedesktop.secrets for a specific app that needs it?
<hodapp> It bails out at startup because "The name org.freedesktop.secrets was not provided by any .service files"
<clever> hodapp: i think an app that provides that service, must be listed in services.dbus.packages
malook has joined #nixos
<hodapp> like what, gnome_keyring or something?
<clever> maybe
<hexa-> # resolvectl query nixos.org
<hexa-> nixos.org: resolve call failed: Operation not supported
<hexa-> resolved is just great
<hodapp> wait. not "security.pam.services.gdm.enableGnomeKeyring = true;" or the like?
<lordcirth> hexa-, my nixos is using resolvconf by default. You sure yours is using resolved?
<hexa-> lordcirth: it apparently queries 127.0.0.53
<gchristensen> infinisil: ...hrm... I don't even see the acme units for events.nix.gsc.io ......
<clever> hodapp: `security.pam.services.gdm.enableGnomeKeyring` just messes with pam config files, but doesnt add things to dbus
<hexa-> which sounds very much like resolved
xcmw has joined #nixos
<clever> hodapp: i think it will use pam and your main login pw, to try to unlock gnome keyrings
<lordcirth> hexa-, what NixOS version?
<hexa-> lordcirth: 21.03.git.49ca6941c2a
<lordcirth> Oh. Well maybe they switched to resolved in master. My 20.09 is on resolvconf
<lordcirth> unstable is unstable *shrug*
<hexa-> i'll reboot
<hexa-> usually isn't
<hexa-> "Operation not supported" is also not very verbose
<hodapp> clever: oh, right. one of these days I'll remember what PAM means
{^_^} has quit [Remote host closed the connection]
{^_^} has joined #nixos
<gchristensen> infinisil: try now?
<infinisil> ,ping
<{^_^}> pong
<gchristensen> ,botsnack
<{^_^}> Oh thanks, have a cookie yourself
<infinisil> :D
<infinisil> gchristensen++
<{^_^}> gchristensen's karma got increased to 394
<gchristensen> infinisil++ {^_^}++
<{^_^}> infinisil's karma got increased to 393
<{^_^}> {^_^}'s karma got increased to 226
malook has quit [Quit: malook]
sefu has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @WilliButz merged pull request #107469 → prometheus: 2.22.2 -> 2.23.0 → https://git.io/JLXWa
<{^_^}> [nixpkgs] @WilliButz pushed 4 commits to master: https://git.io/JLXWV
astylian_ has quit [Ping timeout: 246 seconds]
wrl has quit [Read error: Connection reset by peer]
<{^_^}> [nixos-homepage] @garbas pushed to extract-site-styles-to-new-flake « need to pass system »: https://git.io/JLXWi
wrl has joined #nixos
<matthewcroughan> delroth: Hey
sefu has joined #nixos
<matthewcroughan> I can't get your parsec package to compile, any tips?
<matthewcroughan> "cannot auto-call a function that has an argument without a default value ('lib')" is all I get
<clever> ,callPackage matthewcroughan
<{^_^}> matthewcroughan: If you're updating a file in nixpkgs that starts with something like `{ stdenv, cmake }:`, use `nix-build -A` in the nixpkgs root with the corresponding package attribute to build it. If it's not in nixpkgs, try `nix-build -E 'with import <nixpkgs> {}; callPackage ./file.nix { }'. The mapping from package attributes to package files is in pkgs/top-level/all-packages.nix.
lassulus_ has joined #nixos
<matthewcroughan> clever: interesting, the result of that is "[D 2020-12-23 20:58:10] mty_fopen: 'fopen' failed to open 'parsecd-150-50.so' with errno 30"
<matthewcroughan> I can get clefru's package working on wayland though
<{^_^}> clefru/nur-packages#2 (by MatthewCroughan, 5 weeks ago, open): Parsec only gets networking as root
<matthewcroughan> Problem is, this issue persists.
<{^_^}> [nixpkgs] @gebner opened pull request #107490 → treewide: use GST_PLUGIN_SYSTEM_PATH_1_0 of GST_PLUGIN_SYSTEM_PATH → https://git.io/JLXWF
coyotechords has left #nixos ["Quit - https://c.brettgilio.com/"]
lassulus has quit [Ping timeout: 268 seconds]
lassulus_ is now known as lassulus
domogled has quit [Quit: domogled]
domogled has joined #nixos
thc202 has quit [Quit: thc202]
cheriimoya has quit [Quit: killed]
Scriptkiddi has quit [Quit: killed]
ajs124 has quit [Quit: killed]
mrpi has quit [Quit: killed]
das_j has quit [Quit: killed]
gustavderdrache has quit [Ping timeout: 256 seconds]
<pushqrdx> freaking hell... wine built without the --with-wayland flag
<pushqrdx> this is one of those times when i hate myself and nix
domogled has quit [Ping timeout: 240 seconds]
<hodapp> grrr, still stuck at "The name org.freedesktop.secrets was not provided by any .service files" despite adding gnome_keyring & gcr to services.dbus.packages
<pushqrdx> why didn't the 'configureFlags = [ "--with-wayland" ];' propagate with the overlay...
cheriimoya has joined #nixos
das_j has joined #nixos
Scriptkiddi has joined #nixos
ajs124 has joined #nixos
mrpi has joined #nixos
<clever> [clever@amd-nixos:~/apps/nixpkgs-hasura]$ nix show-derivation /nix/store/93q3f3mgm1rjmn0iy802lcb0x33cfkaz-wine-wow-5.22-staging.drv
<clever> pushqrdx: run that on your final .drv file, after the override, `nix-instantiate '<nixpkgs>' -A wine`
<clever> then check if the configureFlags are what you expected
davidv7 has quit [Remote host closed the connection]
<clever> pushqrdx: and theres your problem
<clever> [clever@amd-nixos:~/apps/nixpkgs-hasura]$ vi pkgs/misc/emulators/wine/builder-wow.sh
<clever> 14 configureFlags="--enable-win64"
<clever> 15 configurePhase
<clever> pushqrdx: the builder script overrides the flags, right before it runs configurePhase, so you can never change them
<clever> thats why you never use builder, lol
davidv7 has joined #nixos
<pushqrdx> so it reoverrides the freaking flags... fuck this really this is painful as hell
<hodapp> https://github.com/NixOS/nixpkgs/issues/102487 just says "you need a secrets daemon alongside geary", can't find anything about how to actually run one
<{^_^}> #102487 (by raboof, 7 weeks ago, closed): gnome3.geary: The name org.freedesktop.secrets was not provided by any .service files
<hodapp> though this isn't geary, this is pithos
<clever> pushqrdx: yeah, this derivation is just nasty
<clever> pkgs/misc/emulators/wine/packages.nix: buildScript = ./builder-wow.sh;
<hodapp> and NixOS docs don't say anything about keyrings or secrets daemons... bleh
<clever> pushqrdx: youll need to edit a copy of builder-wow.sh, and then override the buildScript attr, with .override i think
<{^_^}> [nixpkgs] @WilliButz pushed 6 commits to release-20.09: https://git.io/JLXlm
<pushqrdx> clever i really want to try out that wine-wayland version, and building from source in a nix-shell is just failing to run, apparently somehere in that monster of a derivation there's some special nix fix
<lordcirth> hodapp, do you have security.pam.services.<name>.enableGnomeKeyring set, for any <name>?
<pushqrdx> so i had to go with the overlay route, also because wine has to be properly installed for it to work
<hodapp> lordcirth: no, should I?
<lordcirth> hodapp, Not sure you need it as such, but it would pull in what you do need
<lordcirth> <name> should be a display manager, like sddm, it seems
<hodapp> is this documented anywhere?
werner292 has joined #nixos
<veleiro> what's the difference between "programs.*" and "environment.systemPackages"
werner291 has quit [Ping timeout: 272 seconds]
werner292 is now known as werner291
<lordcirth> hodapp, I'm just looking at https://nixos.org/manual/nixos/stable/options.html#opt-security.pam.services._name_.enableGnomeKeyring
<{^_^}> [nixpkgs] @nh2 merged pull request #107122 → thunderbird: Add gpg/gpgme dependencies to fix smartcard usage → https://git.io/JLXls
<{^_^}> [nixpkgs] @nh2 pushed 4 commits to master: https://git.io/JLXlG
<lordcirth> veleiro, systemPackages just puts it in path; programs.* generally does something else that it needs to be useful
<clever> veleiro: `programs.*` is just a collection of nixos options, some of them may create config in /etc or add a package to systemPackages for you
<hodapp> tried putting it there, still no luck... guess I need to log out and back in
<veleiro> so there's a use case for both i suppose
astylian_ has joined #nixos
<veleiro> i dont remember program.* before today, outside of home-manager
<lordcirth> veleiro, eg, IIRC molly-guard is under programs; merely having the binaries does nothing, but neither is it a service. So programs.*
<veleiro> yeah sway is under programs too
<veleiro> didnt use to be though
<pushqrdx> clever what would happen if i add builderScript = ./local-script.sh in the old: of overrideDerivation?
<pushqrdx> buildScript*
<clever> pushqrdx: it would create a $buildScript env var, that does nothing
<clever> 15 stdenv.mkDerivation ((lib.optionalAttrs (buildScript != null) {
<clever> 16 builder = buildScript;
<clever> pushqrdx: base.nix puts it into builder
<clever> but overrideDerivation happens after that, so you have to override builder instead
<pushqrdx> so where do i override that piece of crap :D?
<clever> pushqrdx: either .override buildScript, or .overrideDerivation builder
<pushqrdx> so for the first option i just wrap the whole overrideDerivation in a paren and attach .override with buildscript?
<clever> pushqrdx: the overrides must be done in the right order, the result of overrideDerivation lacks a .override
lord| has quit [Ping timeout: 240 seconds]
<hodapp> hrmph, logging out and back in still didn't solve this
<pushqrdx> clever alright so what should i do to this http://ix.io/2Jjp :))?
<hodapp> maybe there is some magical way I can just convince Pithos to not require that I turn my entire system upside down for one login...
<clever> pushqrdx: you can just set builder, since your already using overrideDerivation
<pushqrdx> builder = ./my-local-copy.sh?
lord| has joined #nixos
<clever> pushqrdx: yeah
davidv7 has quit [Remote host closed the connection]
helithumper[m] has joined #nixos
<pushqrdx> clever while setting up the build environment: executing '/nix/store/xq0djhdlcdgpjvig28h9yp1qaw1287zw-builder-wow.sh': Permission denied.. for some reason
<pushqrdx> idk i am getting a bit frustrated
davidv7 has joined #nixos
davidv7 has quit [Read error: Connection reset by peer]
<clever> pushqrdx: you need to +x the file
<clever> pushqrdx: oh, no, you want args!
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JLXlR
hnOsmium0001 has quit [Quit: Connection closed for inactivity]
<clever> pushqrdx: stdenv.mkDerivation mangles the builder, and turns it into args!!
<clever> pushqrdx: overrideDerivation happens later, this is why its deprecated :P
<{^_^}> [nixos-common-styles] @garbas pushed to main « new files moved from nixos-homepage: configuration/index/setup »: https://git.io/JLXl0
<clever> pushqrdx: args = [ "-e" ./my-local-copy.sh ];
D__ is now known as D_
<lordcirth> Ah, as sh -e doesn't require it to be executable.
<{^_^}> [nixos-homepage] @garbas pushed to extract-site-styles-to-new-flake « moved few more files to nixos-common-styles »: https://git.io/JLXl2
<clever> the builder is already set to bash
<pushqrdx> when i made it executable with builder = ... it threw another error `Exec format error`
<clever> pushqrdx: because it didnt have a #!
<Duponin> I'm following the wiki guide to create our own package but when I list package to find mine it don't find the derivation and don't have any clue why it don't
<hodapp> ugh, it would help if I even had a clue how to validate that something is providing org.freedesktop.secrets
<pushqrdx> then i changed builder = .. to args = [ "-e" ./my-local-copy.sh ]; now it started configuring but i hit a missing wayland packages
<pushqrdx> which is good, means it picked up that i want freaking wayland
<clever> :D
<lordcirth> pushqrdx, sounds like a good start!
<pushqrdx> how can i add one more build input then?
<pushqrdx> should be the wayland, wayland-protocols packages
<lordcirth> Duponin, can you be more specific? You wrote a package; where did you put it, and how are you listing packages?
<pushqrdx> clever yeah thanks to you, really i couldn't have figured it out so i appreciate your help :D
<clever> pushqrdx: append to buildInputs like normal
<pushqrdx> except that i don't know how to append to input in a derivation or at all, is it buildInputs = buildInputs ++ [] ?
<clever> pushqrdx: thats what the old: is for
<clever> pushqrdx: its passing you the old value of every attr, so you can do old.buildInputs ++ []
<{^_^}> [nixpkgs] @SuperSandro2000 opened pull request #107492 → pythonPackages.{backports_unittest-mock,pytest-black,pytest-mypy,setuptools-scm-git-archive}: Disable tests → https://git.io/JLXld
<Duponin> lordcirth: sure. definition is `nixpkgs/pkgs/tools/ldap/389/default.nix` and I search with `nix-env -f $NIXPKGS -qaP 389-ds-tools` ("389-ds-tools" is the `pname` I set)
<{^_^}> [nixpkgs] @kampka opened pull request #107493 → gdbm: 1.18.1 -> 1.19 → https://git.io/JLXlb
<lordcirth> Duponin, ok, and $NIXPKGS is set to your local nixpkgs repo with the new package?
<hodapp> anyone else on a combination like XFCE & lightdm and can tell me if 'pithos' even runs?
sefu has quit [Quit: Leaving.]
<Duponin> lordcirth: yep! "/home/duponin/src/github.com/duponin/nixpkgs"
<lordcirth> Duponin, did you add the package to the top level packages list?
<lordcirth> pkgs/top-level/all-packages.nix
<Duponin> Duponin: *reads wiki* it's not written so no
<pushqrdx> clever alriiight seems to have started building but i wanna abort it and find a way to make it use all cores
<pushqrdx> clever because it's painfully slow, last build took nearly 2 hours
<lordcirth> Duponin, link me the wiki? I may want to correct it. Anyway, all-packages imports all the package files; otherwise it doesn't get used
<clever> pushqrdx: `nix show-config | grep cores` ?
<pushqrdx> clever set to 0, should be using all, and it appears to do so but only at first
<lordcirth> Perhaps the build isn't using `cores` properly?
<Duponin> lordcirth: it's sounds logic to add it unless everything is analyzed and eval. → https://nixos.wiki/wiki/Nixpkgs/Create_and_debug_packages
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<pushqrdx> then it drops to 1 obj file at a time
<{^_^}> [nixpkgs] @r-ryantm opened pull request #107494 → python37Packages.zstd: 1.4.5.1 -> 1.4.8.1 → https://git.io/JLX8f
<lordcirth> Duponin, Anyway, if you add that line - plenty of examples in there - it should show up in nix-env
<pushqrdx> like as we're talking gcc starts 8 instances at a time and takes all cores. However the last build and the one before it after a few minutes build gets so slow and apparently uses only 1 core
<pushqrdx> this wine derivation though.. thing needs to be nuked
vidbina has quit [Ping timeout: 264 seconds]
<clever> pushqrdx: it looks pretty ugly, it runs 2 full builds (each with its own configure, build, install), in the same derivation
<pushqrdx> for some weird reason it's building with max 2~3 compiler instances and only 3 cores are maxed out while the rest are sleeping
<Duponin> lordcirth: one emacs sigterm later (lint and format on all-packages.nix were a bad idea...) and it works! Thank you :)
<lordcirth> Duponin, lol. nice
<clever> pushqrdx: that could just be the dependencies within the makefile
<pushqrdx> very goddamn slow, when i built wine from source myself in a nix shell it only took 15-20 minutes, nix-env takes nearly 2 hours
fuiltilt has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @mjlbach opened pull request #107496 → neochat: init at 1.0 → https://git.io/JLX8u
<lordcirth> That is quite strange
<lordcirth> pushqrdx, what happens if you build with nix-env while inside nix-shell?
o1lo01ol1o has quit [Ping timeout: 256 seconds]
<lordcirth> Maybe nix-shell is getting some vars from the nixpkgs repo, and nix-env from your env
<clever> pushqrdx: also, if your testing, build with nix-build, not nix-env
sefu has joined #nixos
lassulus has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @dasJ opened pull request #107497 → nixos/tmp: Make /tmp on ramdisk usable again → https://git.io/JLX82
asymmetric has quit [Quit: Peace.]
<pushqrdx> lordcirth i didn't test that because i didn't think that would make a difference :D
asymmetric has joined #nixos
<pushqrdx> clever i haven't discovered the nix-build part yet, been semi fulfilled with nix-shell, nix-env that i forgot there's more to nixos than just these
<pushqrdx> probably it's time to learn more now that i have been using nixos for more than 2 month now
<clever> pushqrdx: nix-build '<nixpkgs>' -A wine
<pushqrdx> what's the difference to nix-env picking up the overlay and replacing exisiting install with a new build?
MidAutumnHotaru has quit [Ping timeout: 256 seconds]
<clever> pushqrdx: nix-shell, nix-env, and nix-build will all load your overlays.nix by default
<clever> pushqrdx: nix-env will install whatever it built into ~/.nix-profile, and add gc roots, so youll eventually wind up with 20 copies of wine that you cant gc with the default flags
<clever> pushqrdx: nix-build creates a result symlink, so you can result/bin/wine foo.exe, and it overwrites result each time, so GC will only keep the last build around
<{^_^}> [nixpkgs] @fabaff opened pull request #107498 → python3Packages.hstspreload: 2020.11.21 -> 2020.12.22 → https://git.io/JLX86
MidAutumnHotaru has joined #nixos
<pushqrdx> wait how is that, i built wine already 4 times today and i only have 1gb left on this disk, i ran out of space earlier on the 2nd build but haven't since then
lassulus has joined #nixos
<pushqrdx> sure if it creates copies everytime i shouldn've ran out of space already
<clever> pushqrdx: when nix-env successfully builds it, a gc root is added, so that build cant be deleted
<pushqrdx> but when i rerun nix-env it says replacing foo
<clever> its creating a new copy of your profile, where foo has been replaced
<clever> but it keeps the old version as well, incase you decide to nix-env --rollback
<pushqrdx> holy shit
<clever> thats how rollbacks work
<pushqrdx> i forgot that rollbacks also apply to nix-env
<clever> nix-env --list-generations
<clever> rollbacks ONLY apply to nix-env
<clever> nixos-rebuild is a wrapper around nix-env!
<clever> nix-channel is also a wrapper around nix-env!
<lordcirth> nix-build, however, only registers ./result as a root, AFAIK, which gets overwritten on a new build
<pushqrdx> fuck so i have a ton of wine builds now, shit i have 160 gens lmao
<clever> ls -l /nix/var/nix/profiles/per-user/clever/profile*/bin/wine
<clever> pushqrdx: this will show the storepath for wine, in each generation
<clever> some of them may be in multiple, if you installed other things
<clever> a single non-wow build is 258mb
<pushqrdx> yeah i have 5 symlinks, 2 of them are pointing to the same store path, so 3 ones
<lordcirth> nix-store --optimize might help a lot too
<lordcirth> They probably dedup well
<lordcirth> But you should probably just GC
<pushqrdx> 3 unique builds lol, and the forth one is on the way
<clever> pushqrdx: nix-end --delete-generation 42, if you want to remove a single root
<pushqrdx> lordcirth i really wanna GC because i already filled the 125 gigs drive, but i also don't wanna redownload all the stuff
<clever> pushqrdx: if you gc while building, you cant delete things the build needs
<clever> pushqrdx: also, `nix-collect-garbage --max-freed 10g` will only delete 10g of stuff
<pushqrdx> i want to gc everything except the things few projects want can i do that?
<pushqrdx> because i know that i have at least 80gb of wasted shit there
<clever> 2020-12-23 18:01:36 < clever> pushqrdx: if you gc while building, you cant delete things the build needs
<pushqrdx> well i can't build all my projects at once only to quickly run gc while they are building
rprije has quit [Remote host closed the connection]
<pushqrdx> i have probably 8 projects that i care about their dependencies, including wine
sefu has quit [Ping timeout: 265 seconds]
<clever> pushqrdx: having a nix-shell open on the project also counts
<pushqrdx> alright doing it
<{^_^}> [nixpkgs] @r-ryantm opened pull request #107499 → python37Packages.pybullet: 3.0.7 -> 3.0.8 → https://git.io/JLX4f
seku has quit [Quit: Connection closed]
<clever> > 2020 / 5
<{^_^}> 404
<lordcirth> pushqrdx, consider nix-store --optimize as well. Takes a while, but saves space without actually removing anything
<pushqrdx> clever so i just run nix-collect-garbage without sudo? because this profile garbage is different thatn the root garbage?
<esotericnonsense> hm. I'm trying to install nixos and I've got it to work via refind but I can't get nixos-rebuild to populate the /boot/EFI directory with grub
<pushqrdx> lordcirth yeah i will run this after gc
<clever> pushqrdx: without args, permissions for gc dont matter
<esotericnonsense> boot.loader.grub.efiInstallAsRemovable and efiSupport are both true, boot.loader.efi.efiSysMountPoint is set to /boot
<clever> pushqrdx: permissions only matter if you use -d (delete all generations) or ----delete-older-than
<clever> pushqrdx: if it has root, then it can also delete GC roots for nixos and root's nix-env
<pushqrdx> gc only collected 7gb lol
<pushqrdx> where's the rest i know there's more
<clever> pushqrdx: nix-du
<lordcirth> well, if you didn't delete any of those 160 gens...
<clever> pushqrdx: or just run `ncdu -x /nix`, what is the fattest path?
<pushqrdx> what is that nix-du?
<pushqrdx> i don't have a thing called that
<lordcirth> nix-env -iA nixos.nix-du
<pushqrdx> oh come on.. waiting on lock file. apparently waiting for wine
<clever> pushqrdx: which lock file?
<pushqrdx> waiting for lock on profile '/nix/var/nix/profiles/per-user/pushqrdx/profile'
<pushqrdx> this is what nix-env -iA nixos-nix-du says
<pushqrdx> hangs on that wait
<clever> pushqrdx: you can use nix-build instead
<clever> pushqrdx: nix-build '<nixpkgs>' -A nix-du ; result/bin/nix-du ...
<NemesisD> is there a straightforward way to interactively run through a derivation's build? i'm building a python project and during the setup phase it seems to be lacking a python package dependency and i can't figure out how to supply it
<infinisil> NemesisD: Usually `genericBuild` after entering the nix-shell
<pushqrdx> clever didn't know nix-build could be used like that.
<clever> infinisil: except when its wine-wow, that abomination breaks all the rules, lol
<clever> pushqrdx: 2020-12-23 17:53:46 < clever> pushqrdx: nix-build creates a result symlink, so you can result/bin/wine foo.exe, and it overwrites result each time, so GC will only keep the last build around
<pushqrdx> well that nix-du package flooded lines like N102 -> N415;
<clever> pushqrdx: read the readme on the link i gave
werner292 has joined #nixos
werner291 has quit [Ping timeout: 272 seconds]
werner292 is now known as werner291
davidv7 has joined #nixos
<pushqrdx> oh it's a graph visualizer that's neat
<pushqrdx> .......... error: build of '/nix/store/680647p0yvbfrn10sya2nypy25d9p3dm-wine-wayland.drv' failed
<pushqrdx> fuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuck lol
<pushqrdx> linker cannot find -lwayland-client -lwayland-egl
<pushqrdx> even though `buildInputs = old.buildInputs ++ [ self.pkgs.wayland self.pkgs.wayland-protocols self.pkgs.egl-wayland ];`
<clever> pushqrdx: self.pkgs is redundant, try self.pkgs.pkgs.pkgs.wayland! :D
endformationage has joined #nixos
<pushqrdx> you mean that self.wayland is the same as self.pkgs.wayland?
<clever> yes
sefu has joined #nixos
<clever> i also just realized, overrideDerivation breaks split output stuff
<clever> you want self.wayland.dev i believe
<clever> and self.wayland.out as well
<pushqrdx> either way the override didn't work, because linker couldn't find it (even though fucking configure found it correctly lol)
<clever> this is why overrideDerivation is deprecated
<clever> add both .out and .dev to buildInputs, and then see what happens
<pushqrdx> so self.wayland self.wayland.out self.wayland.dev self.wayland-protocols self.wayland-protocols.out self.wayland-protocols.dev self.egl-wayland self.egl-wayland.dev self.egl-wayland.out ???
<clever> pushqrdx: just .out and .dev, no need for the one without a suffix, i think
<clever> some also lack a .dev
<esotericnonsense> how do I regenerate /boot/EFI/BOOT/BOOTX64.efi and /boot/EFI/NixOS-boot/... etc? I've wiped them out and need to repopulate them
v0|d has quit [Ping timeout: 256 seconds]
<clever> stdenv.mkDerivation automates thatf for you, but overrideDerivation happens too late
<esotericnonsense> nixos-install would do it I think but I'm booted into the system and just need the efi files
<clever> esotericnonsense: nixos-rebuild --install-bootloader
<pushqrdx> clever so the same line above without the non suffixed ones?
<clever> pushqrdx: yeah
philr has joined #nixos
davidv7 has quit [Remote host closed the connection]
<esotericnonsense> clever: it doesn't seem to be doing it :/
<{^_^}> [nixpkgs] @NeQuissimus pushed 4 commits to master: https://git.io/JLX4d
<esotericnonsense> i get "updating GRUB 2 menu...", but the EFI bootloader files aren't being put there
sefu has quit [Ping timeout: 265 seconds]
<pushqrdx> clever self.wayland.dev throws attribute 'dev' missing
<clever> pushqrdx: 2020-12-23 18:27:28 < clever> some also lack a .dev
<clever> esotericnonsense: is efi enabled in configuration.nix?
<esotericnonsense> clever: boot.loader.grub.efiSupport = true;
<clever> esotericnonsense: what did nixos-rebuild output?
<esotericnonsense> sec, I can't copy paste it easily, let me see if ssh is up
Darkmatter66 has quit [Ping timeout: 260 seconds]
<pushqrdx> alright, here goes nothing, rebuilding again
neiluj has quit [Ping timeout: 265 seconds]
<esotericnonsense> clever: http://sprunge.us/fVqtbp
sefu has joined #nixos
vldn has joined #nixos
<clever> esotericnonsense: and thats when it was ran with --install-bootloader?
<pushqrdx> nix-du created a huge spaghetti from my nix store, which it says is 43gb (without optimization) and 42gb with
<vldn> joo how to contribute more than one package within one git fork? create a branch?
<esotericnonsense> yep; $ sudo nixos-rebuild --install-bootloader switch 2>&1 | curl -F 'sprunge=<-' http://sprunge.us
<pushqrdx> have to filter these out lol
<{^_^}> [nixpkgs] @jonringer opened pull request #107500 → erlang: make systemdSupport overridable → https://git.io/JLXBU
<esotericnonsense> it's weird, it worked before and seems to have broken since I manually rm-d the /boot/EFI folder
<clever> esotericnonsense: NIXOS_INSTALL_BOOTLOADER=1 /nix/var/nix/profiles/system/bin/switch-to-configuration boot
<clever> esotericnonsense: what about this one?
<pushqrdx> this nix-du tool is amazing
<esotericnonsense> clever: aha, that seems promising
xcmw has joined #nixos
* esotericnonsense tries a reboot
<pushqrdx> yeah i don't want any of this shit, most of the space is wasted on older wine and kernel builds
<pushqrdx> what happens if i just remove all old generations while having nix-shell running in all the things i want to keep
<pushqrdx> (also during the wine build)
<pushqrdx> would that clean up everything that isn't currently used
vldn has quit [Remote host closed the connection]
<clever> pushqrdx: correct
<pushqrdx> alright i hope i don't regret doing that later lol
<pushqrdx> 29122.89 MiB freed
<esotericnonsense> clever: awesome, that and installing it with removable on finally worked
<esotericnonsense> :-)
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « tests/shadow: Improve »: https://git.io/JLXB1
<{^_^}> [nixpkgs] @r-ryantm opened pull request #107501 → python37Packages.casbin: 0.13.0 -> 0.14.0 → https://git.io/JLXB9
<pushqrdx> so far with nix, nixos i haven't have the need for extra stuff like direnv or lorri, but what i now feel like i need is a way for (quick and dirty install) of a bunch of binaries
<clever> pushqrdx: direnv is basically just automatic nix-shell
<clever> pushqrdx: lorri adds gc roots for each dir, so you cant gc the things, even when the nix-shell is closed
<pushqrdx> so for instance when i built wine myself from source in a nix-shell, i changed prefix to alocal folder and it installed there, i wish there was a quick way to just say instal this directory, just symlink /lib, /bin etc
<pushqrdx> so i don't have to generate a derivation or installPhase stuff
<pushqrdx> this is very annoying when i don't really care about wrapping or packaging
<clever> pushqrdx: it wont properly track the dependencies when you do that
vs^ has quit []
<pushqrdx> yeah but i don't really care for some projects, i just wanna test that thing i compiled from source, if it's worth i would then deal with the proper packaging
<pushqrdx> but yetsterday i wasted so much time packaging someting just so i can run it
Synthetica has quit [Quit: Connection closed for inactivity]
<pushqrdx> and in the end it wasn't worth all the fuss
<pushqrdx> i tend to --prefix most builds from source to a local directory and i just wish there was some utility or quick hack that treats the install directory as proper install
<pushqrdx> so i don't have to a) specify any installPhase b) nix-env -i the thing
<pushqrdx> -if
<clever> pushqrdx: once nix-build completes, and your happy with it, you can always nix-env -i ./result
<pushqrdx> but nix-build would still require me declaratively specifying which stuff to copy in installPhase right?
<clever> yeah
<pushqrdx> yeah i don't want that, i want to specify build inputs maybe even without a .nix file, go into a shell build some stuff, say make install (into a local prefix)
<pushqrdx> then use these files
Rusty1 has joined #nixos
<pushqrdx> so something like nix-shell -p foo bar baz then mkdir install && make --prefix=$PWD/install && make install or whatever
chaoflow has quit [Quit: WeeChat 3.0]
<clever> but that wouldnt be pure!!
* clever heads off to bed
tsrt^ has joined #nixos
werner292 has joined #nixos
<{^_^}> [nixpkgs] @bcdarwin opened pull request #107502 → itk: 5.1.1 -> 5.1.2 → https://git.io/JLXRX
werner291 has quit [Ping timeout: 268 seconds]
werner292 is now known as werner291
lordcirth has quit [Remote host closed the connection]
lordcirth has joined #nixos
sefu has quit [Ping timeout: 256 seconds]
lordcirth__ has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg merged pull request #107379 → picocom: 3.1 -> 3.2a → https://git.io/JLXR5
<{^_^}> [nixpkgs] @peterhoeg pushed to master « picocom: 3.1 -> 3.2a (#107379) »: https://git.io/JLXRd
orivej has joined #nixos
<pinpox> Quick question: I've written this systemd service config + a timer: https://termbin.com/sdm9
<pinpox> Do I *need* the timer or is there a more elegant way to update the dns periodically?
<pinpox> I'm a bit confused, because the one in nixpkgs (https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/misc/cfdyndns.nix) doesn't seem to have a timer, only the service. So I wonder how it runs periodically
lordcirth has quit [Ping timeout: 240 seconds]
fendor_ has quit [Ping timeout: 246 seconds]
<{^_^}> Channel nixpkgs-20.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/47dbb876e11 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.09-darwin)
davidv7 has joined #nixos
vldn has joined #nixos
<vldn> packaged chitubox successfully if someone is interested
<vldn> :D
justanotheruser has joined #nixos
sefu has joined #nixos
o1lo01ol1o has joined #nixos
joehh1 has quit [Ping timeout: 256 seconds]
joehh1 has joined #nixos
<pushqrdx> skipping incompatible /nix/store/796snvfrnpnxpsmqxvf506fx1mkzz65z-wayland-1.18.0/lib/libwayland-client.so when searching for -lwayland-client
<pushqrdx> /nix/store/s59zibwwm8vy5ymbg5c3d0aksl8lz4h2-binutils-2.31.1/bin/ld: cannot find -lwayland-client
<pushqrdx> sweet..
o1lo01ol1o has quit [Ping timeout: 264 seconds]
vldn has quit [Remote host closed the connection]
<lordcirth__> pushqrdx, is the -l supposed to be part of the word?
lordcirth__ is now known as lordcirth
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<pushqrdx> yeah that's just how the linker flags are specified
<pushqrdx> it just can't find a compatible wayland-client.. even though in a nix-shell from source everything went fine
<pushqrdx> also in the 32 bit build of the overlay it went fine
<pushqrdx> 64 bit version is flopping on me all day long that i kinda lost hope now, that's the 6th or 7th build each taking 1+ hours today that fails because of some goddamn silly reason
<pushqrdx> i think it's easier to find a way to package my local nix-shell build to be installable than try to overlay this bile of garbage
sefu has quit [Ping timeout: 240 seconds]
mounty has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @matthiasbeyer opened pull request #107505 → Add lotide, hitide and service definitions for both → https://git.io/JLX0b
civodul has quit [Ping timeout: 272 seconds]
<radvendii> I'm having trouble cross-compiling anything for darwin. has anyone here successfully done that?
<radvendii> (I also opened an issue on github #107241)
<{^_^}> https://github.com/NixOS/nixpkgs/issues/107241 (by Radvendii, 3 days ago, open): cross compiling nixos -> darwin gives infinite recursion error