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
eoli3n has joined #nixos
eoli3n_ has quit [Ping timeout: 268 seconds]
<juliusdeane> simpson: It uses cmake and pkg-config. My derivation for it builds correctly, I'll link a paste in a sec
<veleiro> hello
<juliusdeane> veleiro: hi
noudle has quit []
faffolter has quit [Ping timeout: 264 seconds]
<juliusdeane> simpson: https://pastebin.com/sNERA4NM
Rusty1 has joined #nixos
xcmw has joined #nixos
eoli3n has quit [Ping timeout: 272 seconds]
rb2k has quit [Ping timeout: 240 seconds]
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 260 seconds]
mbrgm_ is now known as mbrgm
<{^_^}> [nixpkgs] @nyanotech opened pull request #107180 → miniflux: remove adminCredentialsFile option → https://git.io/JLRQM
tsrt^ has joined #nixos
<simpson> juliusdeane: I don't see anything obviously wrong in the libtelebot derivation.
<juliusdeane> simpson: yeah, I think the issue is somewhere in the gf-hegel (the binary linked with libtelebot) derivation (https://pastebin.com/F0hacATd)
<simpson> juliusdeane: I can't actually debug that src.
supersandro2000 has quit [Disconnected by services]
supersandro2000 has joined #nixos
<juliusdeane> simpson: oh haha right uhm
<juliusdeane> it's the "sample" program from this repo: https://github.com/smartnode/telebot
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
morr has quit [Quit: WeeChat 2.8]
morr has joined #nixos
<{^_^}> [nixpkgs] @github-actions[bot] pushed 38 commits to staging-next: https://git.io/JLRdB
<{^_^}> [nixpkgs] @github-actions[bot] pushed 39 commits to staging: https://git.io/JLRdR
Darkmatter66_ has quit [Ping timeout: 272 seconds]
<simpson> juliusdeane: If you remove the custom buildPhase and installPhase, then things almost work as-is, including building the echobot example. The main problem, and part of your build problem, is that libtelebot.pc isn't being configured.
<simpson> The ./Build/ directory was just to do the same sort of thing that Nix does with /build/, so we don't need it.
<{^_^}> [nixpkgs] @lheckemann opened pull request #107181 → linux: fix generate-config's handling of "no-choice" options → https://git.io/JLRF6
lovesegfault has quit [Quit: WeeChat 3.0]
ddellacosta has joined #nixos
LnL- has joined #nixos
LnL- has joined #nixos
LnL- has quit [Changing host]
LnL has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @abathur opened pull request #107182 → bashup-events: init at it's-complicated → https://git.io/JLRN6
LnL has joined #nixos
LnL- has quit [Ping timeout: 260 seconds]
proofofkeags has quit [Ping timeout: 256 seconds]
johnw has quit [Quit: ZNC - http://znc.in]
tejing has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @andir merged pull request #107002 → syncplay: 1.6.6 -> 1.6.7 → https://git.io/JLsAI
<{^_^}> [nixpkgs] @andir pushed 2 commits to master: https://git.io/JLRx7
<{^_^}> [nixpkgs] @NeQuissimus pushed to hardened_510 « linux-hardened: Switch to 5.10 »: https://git.io/JLRxd
dbmikus has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JLRxj
ZaraChimera has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus opened pull request #107183 → linux-hardened: Switch to 5.10 → https://git.io/JLRp2
<{^_^}> [nixpkgs] @alyssais opened pull request #107184 → zcash: 2.1.1-1 -> 4.1.1; fix build → https://git.io/JLRpX
<{^_^}> [nixpkgs] @alyssais merged pull request #106658 → fswatch: enableParallelBuilding → https://git.io/JIouW
<{^_^}> [nixpkgs] @alyssais pushed to master « fswatch: enableParallelBuilding »: https://git.io/JLRhI
<{^_^}> [nixpkgs] @alyssais merged pull request #86606 → wayfire: init at 0.6.0 → https://git.io/Jf3yg
<{^_^}> [nixpkgs] @alyssais pushed 5 commits to master: https://git.io/JLRhR
turlando has quit [Ping timeout: 268 seconds]
xcmw has joined #nixos
Lord_of_Life_ has joined #nixos
fuzzypixelz has joined #nixos
Lord_of_Life has quit [Ping timeout: 246 seconds]
Lord_of_Life_ is now known as Lord_of_Life
<juliusdeane> simpson: excuse the late reply, but thanks! if you're still here
myName_isMethos has joined #nixos
johnw has joined #nixos
blueberrypie has quit [Quit: leaving]
sss2 has quit [Quit: Leaving]
juliusdeane has left #nixos ["ERC (IRC client for Emacs 27.1)"]
th3ta has joined #nixos
dbmikus has quit [Ping timeout: 268 seconds]
lovesegfault has joined #nixos
Emantor has quit [Quit: ZNC - http://znc.in]
<Raito_Bezarius> is there a way to get a cross toolchain derivation in a Nix file?
<Raito_Bezarius> I'd like to get the binutils for a certain arch
<qyliss> Raito_Bezarius: look at pkgsCross
<Raito_Bezarius> perfect
<qyliss> > pkgsCross.aarch64-multiplatform.binutils
<{^_^}> "<derivation /nix/store/ldawdl580pc9hbnyjckww05g4y28m51n-binutils-wrapper-2.31.1.drv>"
LnL has quit [Quit: exit 1]
<Raito_Bezarius> hm
<{^_^}> [nixpkgs] @NeQuissimus opened pull request #107185 → pam: 1.3.1 -> 1.5.1 → https://git.io/JL0fj
Emantor has joined #nixos
<Raito_Bezarius> > pkgsCross.riscv32.binutils
LnL has joined #nixos
LnL has joined #nixos
<{^_^}> "<derivation /nix/store/ysax93i71rh6dn7xi4cplkzhnx4zgnzh-binutils-wrapper-2.31.1.drv>"
<Raito_Bezarius> where does pkgsCross comes from?
<Raito_Bezarius> is it just import <nixpkgs> { crossSystem = …; } ?
<Raito_Bezarius> because it's more like I need the binutils on host arch which targets riscv32 arch
<Raito_Bezarius> and not the binutils on riscv32 arch which targets riscv32 arch
<qyliss> Yeah
<Raito_Bezarius> so I believe it won't really work
<Raito_Bezarius> as binutils is broken on riscv32 for example
<Raito_Bezarius> but riscv32-none-objcopy just works fine on x86_64 for example
<Raito_Bezarius> and I have a derivation that depends on the toolchain
camsbury has quit [Ping timeout: 260 seconds]
berberman_ has joined #nixos
h0m1 has quit [Ping timeout: 260 seconds]
b42 has quit [Ping timeout: 260 seconds]
glowpelt has quit [Ping timeout: 260 seconds]
omnigoat has quit [Ping timeout: 260 seconds]
d10n-work has quit [Ping timeout: 260 seconds]
Ken[m] has quit [Ping timeout: 260 seconds]
redcedar[m] has quit [Ping timeout: 260 seconds]
grin[m] has quit [Ping timeout: 260 seconds]
KaboomShebang[m] has quit [Ping timeout: 260 seconds]
ctp has quit [Ping timeout: 260 seconds]
emily has quit [Ping timeout: 260 seconds]
aswanson_ has quit [Ping timeout: 260 seconds]
LnL- has joined #nixos
LnL- has joined #nixos
LnL- has quit [Changing host]
Ultrasauce_ has quit [Read error: Connection reset by peer]
Ultrasauce has joined #nixos
berberman has quit [Ping timeout: 260 seconds]
mitsuhiko has quit [Ping timeout: 260 seconds]
lopsided98_ has quit [Ping timeout: 260 seconds]
lblasc[m] has quit [Ping timeout: 260 seconds]
hax404 has quit [Ping timeout: 260 seconds]
avalenn has quit [Ping timeout: 260 seconds]
glowpelt has joined #nixos
Ken[m] has joined #nixos
redcedar[m] has joined #nixos
grin[m] has joined #nixos
KaboomShebang[m] has joined #nixos
ctp has joined #nixos
LnL has quit [Ping timeout: 256 seconds]
lopsided98 has joined #nixos
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mitsuhiko has joined #nixos
h0m1 has joined #nixos
<Raito_Bezarius> hm
b42 has joined #nixos
<Raito_Bezarius> stdenv might be what I want
emily has joined #nixos
aswanson_ has joined #nixos
d10n-work has joined #nixos
omnigoat has joined #nixos
avalenn has joined #nixos
lblasc[m] has joined #nixos
hax404 has joined #nixos
<qyliss> Raito_Bezarius: I've never done this, but my best guess from the manual is that you want (import <nixpkgs> { crossSystem = ... }).pkgsHostTarget.binutils
supersandro2000 has quit [Quit: The Lounge - https://thelounge.chat]
<qyliss> Raito_Bezarius: although if you're trying to use this in a derivation, then yeah you just need to use stdenv
supersandro2000 has joined #nixos
<Raito_Bezarius> did the job, indeed I believe, thanks qyliss !
<Raito_Bezarius> qyliss++
<{^_^}> qyliss's karma got increased to 0o151
<Raito_Bezarius> depsBuildBuild = [ stdenv.cc ]; on the hostNixpkgs.stdenv.mkDerivatoin
<Raito_Bezarius> then nativeBuildInputs in the mkShell
<th3ta> is there a reason why cmake would only detect c++14 and c++20, but not c++14? i'm having different results depending if gcc, clang, or llvm is used
<th3ta> not C++17*
<siraben> Is there a Nix overlay for GHC 8.12?
LnL has joined #nixos
LnL has joined #nixos
LnL has quit [Changing host]
tobeportable has quit [Quit: Leaving]
xcmw has joined #nixos
th3ta has quit [Remote host closed the connection]
xcmw has quit [Client Quit]
<siraben> GHC 9*
<ZaraChimera> I am looking to install NixOS on a Hyper-V VM. In addition to the steps listed in the manual for installing as a VirtualBox Guest, is there anything else I need to configure to get things working under Hyper-V? The most recent info I could find on Hyper-V was from 2015.
h0m1 has quit [Ping timeout: 260 seconds]
h0m1 has joined #nixos
myName_isMethos has quit [Quit: ERC (IRC client for Emacs 27.1)]
<andi-> the hyper-v drivers should all be mainline in all our kernels so it should just work
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
<{^_^}> [nixpkgs] @zowoq opened pull request #107186 → conmon: 2.0.21 -> 2.0.22 → https://git.io/JL0t8
mkaito has quit [Quit: WeeChat 2.9]
<ZaraChimera> andi-: Okay, so just following the recommended sizes from the VB section and then running the install as normal should work?
<ZaraChimera> Seems I have to use the CLI initially, the GNOME live download does boot but hangs and never shows the desktop.
<matthewcroughan> nhs: >matthewcroughan: why don't you just do a fresh nixos install once on one rasp pi and then use the inverse of your dd command to create an iso from it
<matthewcroughan> Because that's impure, anti-nix, imperative and unreproducible. That is why I can't do that. Because what would be the point?
<matthewcroughan> I'm looking for ways to generate system images. Not create golden images like a record company.
<matthewcroughan> nix-build subprocesses qemu doesn't it? Given that it can do that, you should be able to generate a system image that you can flash, and I believe you can with nixos-generators.
orivej has quit [Ping timeout: 264 seconds]
<jophish> Is there anyone here with a Mac who could check that a change compiles, I don't have the hardware to test
<jophish> nix-build https://github.com/expipiplus1/nixpkgs/archive/$(git rev-parse HEAD).tar.gz -A directx-shader-compiler
<jophish> lol
LnL has joined #nixos
LnL has joined #nixos
LnL has quit [Changing host]
<pjt_tmp> anyone here use nnn? What would be a recommended way to configure it?
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
aw has joined #nixos
spacefrogg has joined #nixos
<pjt_tmp> Part of nnn's own configuration is env vars, but a solution for plugins is less obvious
LnL has joined #nixos
berberman_ has quit [Quit: ZNC 1.7.5 - https://znc.in]
berberman has joined #nixos
acarrico has quit [Ping timeout: 268 seconds]
<veleiro> lol... just solved my ly problem from earlier today. I had ly in my configuration
<veleiro> i was asking to find out what requires ly in my build when i myself defined it
<veleiro> -_-
<Bla[m]> looks like staging-next build job failed: https://hydra.nixos.org/build/133143801#tabs-constituents
Ipiat has joined #nixos
Ipiat has quit [Client Quit]
fuzzypixelz has quit [Quit: fuzzypixelz]
fuzzypixelz has joined #nixos
fuzzypixelz has quit [Remote host closed the connection]
fuzzypixelz has joined #nixos
<pjt_tmp> how did you set it as an option?
<matthewcroughan> clever: what does this do for you? https://github.com/cleverca22/nixos-configs/blob/master/qemu.nix
<clever> matthewcroughan: it lets me run arm binaries on an x86 cpu
<matthewcroughan> Transparently?
<matthewcroughan> You just run it, and instead of exec format error, you get a running binary?
<matthewcroughan> that's kinda nuts man, wow
<matthewcroughan> had no idea this was possible
<clever> the key to that, is binfmt-misc
<clever> you give the kernel a bit pattern+mask, and an interpterer
<clever> and if you try to run a matching binary, the kernel will instead run that interpterer
<clever> without binfmt-misc, you would have to manually run qemu-user-arm on the arm binary
tomismyname has joined #nixos
ddellacosta has quit [Ping timeout: 256 seconds]
sigmundv has quit [Ping timeout: 260 seconds]
<veleiro> pjt_tmp: yes that one
<veleiro> i just added it to environment.systemPackages basically
<veleiro> probably many months back to try it out and just forgot about it
<veleiro> so i was facing compiling errors on armv7 (novena laptop)
<veleiro> and was asking earlier why its so hard in nix to find culprit .nix files
<pjt_tmp> I did something like that too. It really should be added as an option
<veleiro> turned out i was the culprit, not some other package i used
Supersonic112 has joined #nixos
Supersonic has quit [Ping timeout: 260 seconds]
Supersonic112 is now known as Supersonic
aswanson has quit [Ping timeout: 260 seconds]
fuzzypixelz has quit [Quit: fuzzypixelz]
johnw has quit [Quit: ZNC - http://znc.in]
Fare has quit [Ping timeout: 260 seconds]
endformationage has quit [Quit: WeeChat 2.9]
Fare has joined #nixos
<stites[m]1> how do you use an output library (ie: `outputs.lib`) from a flake?
<stites[m]1> jk, something is up with this flake -- I think I need to update it or something
jmeredith has quit [Quit: Connection closed for inactivity]
Fare has quit [Ping timeout: 260 seconds]
lord| has quit [Ping timeout: 268 seconds]
lord| has joined #nixos
benley has quit [Ping timeout: 260 seconds]
benley has joined #nixos
<pjt_tmp> should an overlay be prefered to an override?
Rusty1 has quit [Quit: WeeChat 2.3]
<winsome[m]> I'm running postgres with this config:
<winsome[m]> ```
<winsome[m]> but when I try to connect to it, it says that there's nothing running on 6543:
<winsome[m]> `psql -p 6543` -> psql: could not connect to server: No such file or directory
<winsome[m]> systemctl status postgresql reports that it is up and running - is there something simple I'm missing?
<winsome[m]> I know that this might not be properly authenticated, but it can't even find the server, which seems weird to me
<clever> winsome[m]: what path is it connecting to? strace psql -p 6543
<winsome[m]> that dumped quite a bit of stuff, is there anything specific I should look for or should I make a paste?
<{^_^}> [nixpkgs] @Moredread opened pull request #107187 → prusa-slicer: 2.2.0 -> 2.3.0-rc1 → https://git.io/JL02f
<clever> winsome[m]: is there a connect() call that includes 6543 in it?
<clever> should be shortly before the error msg showed up
<winsome[m]> `connect(3, {sa_family=AF_UNIX, sun_path="/tmp/.s.PGSQL.6543"}, 110) = -1 ENOENT (No such file or directory)`
<clever> [root@router:~]# ls -ltrha /var/run/postgresql/
<clever> srwxrwxrwx 1 postgres postgres 0 Dec 19 05:33 .s.PGSQL.5432
<clever> winsome[m]: does your socket live in /var/run/postgresql, or /tmp ?
<winsome[m]> it looks like it is in /var/run/postgresql, not /tmp
<clever> that problem usually happens if your client and server are different versions
<clever> the default directory changed at one point
sangoma has joined #nixos
<clever> [root@router:~]# psql -p 5432 -h /tmp
<clever> connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
<clever> winsome[m]: i think you can use the -h flag to force it to look in /var/run/postgresql
<winsome[m]> ah, I just upgraded from 10->11, that could explain it.
waleee-cl has quit [Quit: Connection closed for inactivity]
<winsome[m]> if I restart, I should be fine?
<clever> check `which psql`, where is it coming from?
LnL has quit [Quit: exit 1]
LnL has joined #nixos
LnL has joined #nixos
<clever> restarting likely wont help
<winsome[m]> ah, I think I see - I have postgres 10 installed imperatively for some reason...
<winsome[m]> let me remove that
<clever> and if you check `which --all psql`, youll see its hiding a second copy
m0rphism has quit [Ping timeout: 260 seconds]
<winsome[m]> bingo
evils has quit [Quit: Lost terminal]
evils has joined #nixos
<winsome[m]> ok, that fixed everything. thanks so much
eacameron has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @github-actions[bot] pushed 9 commits to staging-next: https://git.io/JL0Vm
<{^_^}> [nixpkgs] @github-actions[bot] pushed 10 commits to staging: https://git.io/JL0VY
<{^_^}> [nixpkgs] @expipiplus1 opened pull request #107188 → Add Darwin support for directx-shader-compiler → https://git.io/JL0VW
palo1 has joined #nixos
palo has quit [Ping timeout: 264 seconds]
palo1 is now known as palo
sangoma has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @holymonson opened pull request #107189 → use newer libproc.h → https://git.io/JL0KC
<{^_^}> [nixpkgs] @applePrincess opened pull request #107190 → zsteg: init at 0.2.2 → https://git.io/JL0Kw
<{^_^}> [nixpkgs] @danieldk closed pull request #107170 → linuxPackages.nvidia_x11_beta: stable -> 460.27.04 → https://git.io/JLRwM
orbekk has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @danieldk merged pull request #107150 → nvidia_x11_beta: 455.45.01 -> 460.27.04 → https://git.io/JL4NW
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JL06K
sangoma has joined #nixos
growpotkin has quit [Quit: ZNC 1.8.2 - https://znc.in]
orbekk has joined #nixos
veleiro has quit [Read error: Connection reset by peer]
veleiro has joined #nixos
xcmw has joined #nixos
growpotkin has joined #nixos
kapil_ has quit [Quit: ZNC 1.7.5 - https://znc.in]
kapil_ has joined #nixos
johnw has joined #nixos
orbekk has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #104377 → directx-shader-compiler: init at 1.5.2010 → https://git.io/JkgnI
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JL0D7
faffolter has joined #nixos
orbekk has joined #nixos
veleiro has quit [Read error: Connection reset by peer]
veleiro has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 closed pull request #107143 → unused: init at 0.2.0 → https://git.io/JL4rM
sangoma has quit [Quit: WeeChat 2.9]
zupo has joined #nixos
<Ke> if I want to autologin sway in a normal logind/freedesktop idiomatic way, do autologin options under X11 work for me
<Ke> ie. does the substring x11 in variable name mean it's only for Xorg sessions
<Ke> or can I just skip display manager without losing anything relevant
<Ke> well ok xserver, not x11
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<patagonicus> Ke: From what I understand it really is only for xserver. One solution I've heard about, but haven't tried yet, is setting up autologin for tty1 and adding an if [[ $(tty) = /dev/tty1 ]]; then exec scay; fi to your .bash_profile
<Ke> sure that's in wiki
<Ke> but it seems kind of unfreedesktop
<{^_^}> [nixpkgs] @vbgl opened pull request #107191 → ocaml-ng.ocamlPackages_4_12.ocaml: 4.12.0~α2 → 4.12.0~α3 → https://git.io/JL0QQ
veleiro has quit [Read error: Connection reset by peer]
veleiro has joined #nixos
CMCDragonkai1 has quit [Remote host closed the connection]
jonringer has quit [Ping timeout: 258 seconds]
CMCDragonkai1 has joined #nixos
rajivr has joined #nixos
CMCDragonkai2 has joined #nixos
<patagonicus> Ke: There's an older pull request for Phosh, where people argue that it shouldn't be merged until there's a nice NixOS module way of configuring wayland based desktop environments. So the problem seems to be entirely that no one has bothered to write something for it yet.
growpotkin has quit [Ping timeout: 260 seconds]
respawn_ has joined #nixos
turlando has joined #nixos
<DigitalKiwi> i saw a github issue a few days ago about how xserver settings might still apply even when you think they shouldn't since there are things that you think are wayland but are really both
<patagonicus> Oh, fun
<{^_^}> #94799 (by piegamesde, 19 weeks ago, open): `services.xserver` naming is confusing
Boomerang_ has joined #nixos
Boomerang_ has quit [Remote host closed the connection]
CMCDragonkai2 has quit [Remote host closed the connection]
fendor has joined #nixos
orbekk has quit [Ping timeout: 272 seconds]
zupo has joined #nixos
meh` has quit [Ping timeout: 256 seconds]
kirelagin has quit [Ping timeout: 260 seconds]
orbekk has joined #nixos
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
stites[m] has quit [Quit: Idle for 30+ days]
nnmmp[m] has quit [Quit: Idle for 30+ days]
<Aleksejs> Hi, is there a way to use wifi displays with nixos?
<patagonicus> Aleksejs: if they work under other Linux distributions, then probably, yes.
eoli3n has joined #nixos
veleiro has quit [Read error: Connection reset by peer]
veleiro has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
asheshambasta has joined #nixos
FRidh has joined #nixos
eoli3n has quit [Remote host closed the connection]
respawn_ has quit [Quit: Leaving]
noudle has joined #nixos
kapil_ has quit [Quit: ZNC 1.7.5 - https://znc.in]
kapil_ has joined #nixos
nature has joined #nixos
veleiro has quit [Read error: Connection reset by peer]
veleiro has joined #nixos
<ehmry> sphalerite: suggestions for the mumble?
<Aleksejs> patagonicus: I was able to find about wds and gnome-network-monitor, but neither of them is available in nixos
hnOsmium0001 has quit [Quit: Connection closed for inactivity]
pjt_tmp has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @lucc opened pull request #107192 → vicious: 2.3.1 -> 2.5.0 → https://git.io/JLEIX
malook has joined #nixos
<pinpox> Is someone running M/Monit on nixos and would like to share his config? I'm unsure what the best way to install it is
<pinpox> the client agent (monit) is packaged in nixpkgs, but the mmonit (server part) is not as far as i can tell
<pinpox> I downloaded the linux 64bit binary but can't execute it: bash: ./mmonit: No such file or directory (yes, the file *is* there)
malook has quit [Client Quit]
ZaraChimera has left #nixos ["WeeChat 3.0"]
meh` has joined #nixos
<simpson> pinpox: It's not executable, or the shebang/interpreter is wrong.
<pinpox> simpson: it is an executable, specifically this one: https://mmonit.com/dist/mmonit-3.7.6-linux-arm64.tar.gz
<pinpox> simpson: the bin/mmonit in that archive
sigmundv has joined #nixos
<pinpox> simpson: stat reports: Access: (0755/-rwxr-xr-x) Uid: ( 1000/ pinpox) Gid: ( 100/ users)
<pinpox> file mmonit
<pinpox> mmonit: 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.18, BuildID[sha1]=0cc9b581f6cc6c0f98d7b0ea0eb76258ad97ff42, not stripped
<simpson> `file` to check the interpreter? Or `ldd`, but note that GNU ldd (and other ldds) usually have to *run* the binary to find out, which is dangerous.
Darkmatter66 has joined #nixos
<{^_^}> [nixpkgs] @pickfire closed pull request #101317 → rtl8822ce: init at v5.9.0.3b → https://git.io/JTztj
<pinpox> I think this could be my problem
<pinpox> simpson: I've posted the output of `file` above
<simpson> Ha, yeah, bad interpreter. `patchelf` might be what you need; https://nixos.org/nixpkgs/manual/#ssec-setup-hooks documents how to use autoPatchelfHook.
<pinpox> Should I package it? (note, the licence is unfree I guess )
<simpson> Meh. On one hand, I don't encourage packaging unfree software. OTOH, writing a derivation is going to be simpler and easier to understand in a few months when you've totally forgotten that you made a local patchelf'd copy of that one binary.
<pinpox> simpson: Ok, thanks for the info. I'll read up on how to do this
<simpson> (On the gripping hand, then, I'd recommend moving to Prometheus~)
<pinpox> simpson: Prometheus and netdata seemed like an overkill, but I'll conside them. I really like the minimalistic approach of monit and mmonit
<pinpox> btw. the packaged monit (not m/monit) works great
<{^_^}> [nixops] @tewfik-ghariani opened pull request #1424 → upgrading install-nix-action to fix build → https://git.io/JLEYu
<simpson> pinpox: Minimalism is relative. I think Prometheus is quite minimal; rather than a dedicated monitoring binary, it's possible for individual server processes to open up an extra port and export Prometheus-compatible scrape data.
<pinpox> simpson: will look into it. How is the data gathered on the servers? My main use case is to have my 5 machines run something to periodically check if everything is in order and get a simple notification like "hard drive nearly full" or "website abc.com is down" via email
<pinpox> It's more of a personal/small setup with a few websites and some webapps like bitwarden_rs
cosimone has joined #nixos
meh` has quit [Ping timeout: 264 seconds]
<ollie[m]> Another endorsement for Prometheus here, it's excellent
<simpson> pinpox: A central daemon (Prometheus itself) collects data by HTTP scraping each monitored service's exported port. Another daemon, AlertManager, scrapes Prometheus and considers whether or not to be in a state of alert.
<pinpox> hm i see.
<simpson> AlertManager can email you, yes. It can also do many other things. And the whole affair scales down to the size of a homelab.
<pinpox> I guess I'll try to package it for myself anyway. Seems like I could learn something on the way for nixos
m0rphism has joined #nixos
<aristid> lol i thought i had waited out the great firefox extension nuking, but turns out i had just been one reboot away from it
<sphalerite> ehmry: especially having a valid (not self-signed) cert via LE :)
<pinpox> aristid: I had trouble after updating too. Had my extensions all configured in home-manager and suddenly everything was gone
<pinpox> aristid: If you need a fix, I found a workaround that works for me
* sphalerite is also a satisfied prometheus user
<aristid> pinpox: shouldn't the latest master have it fixed by now?
<pinpox> aristid: I don't know, my setup is still working like this: https://github.com/pinpox/nixos-home/blob/1e932ce123703bd0601bfc2b21901c4b434efb32/browsers.nix#L25
<pinpox> aristid: Specifically using "package = pkgs.firefox-bin" seems to solve or work around the issue
<aristid> pinpox: ah just switch to firefox-bin? yeah well let me try just upgrading the nixos-unstable channel first
<pinpox> aristid: yep
<pinpox> let me know, if the workaround is no longer necessary. I don't have any problems with the -bin version though, not sure if it's maybe older?
<aristid> fortunately i don't use many extensions, still annoying to have to reconfigure them
fintohaps[m] has joined #nixos
<aristid> pinpox: isn't the -bin version just the binary released by mozilla with a wrapper / maybe just some patchelfing?
<pinpox> aristid: yeah me too. But just logging in and not having a password-manager and an add blocker is terrible :D
<aristid> also i heard it will now sync the extension nuking to all my other computers (not all of them use nixos)
<pinpox> seems like it, bot the -bin and non-bin versions in nixpkgs are v83
<pinpox> aristid: it did
<pinpox> If you have a firefox account set up with sync for extensions at least
<aristid> i do.
veleiro has quit [Read error: Connection reset by peer]
<pinpox> Bonus: you can't even manually install extensions because it complains "you can't have a mix of manually installed and administered extensions"
veleiro has joined #nixos
<pinpox> so basically, you're screwed
<aristid> pinpox: well that'll be a good way of verifying that it's actually fixed
<pinpox> Yeah, but just using -bin worked for me and I was lazy so it seemed fine to leave it like this
<pinpox> guess I'll just revert it back to the normal package in some time
<aristid> pinpox: ok i verified, unstable channel of nixos is fine now.
<aristid> but i don't know what the disadvantage of using firefox-bin is, i guess you may as well stick to it if it works for you
<Yaniel> fwiw, I copied my firefox profile over from my old machine and it looked like the extensions were gone
<Yaniel> but they were only gone from the UI, still listed in extensions
<Yaniel> so I just toggled them all once and they came back
<Yaniel> with settings intact
andi89gi has joined #nixos
meh` has joined #nixos
<{^_^}> [rfcs] @FRidh opened pull request #83 → [RFC 0083] common interface package sets → https://git.io/JLEsd
chiefgoat has joined #nixos
<ehmry> sphalerite: oh I don't care about that stuff
veleiro has quit [Read error: Connection reset by peer]
veleiro has joined #nixos
<ehmry> I should publish the mumble configuration anyway
__monty__ has joined #nixos
andi89gi has quit [Ping timeout: 260 seconds]
asheshambasta has quit [Ping timeout: 260 seconds]
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
<{^_^}> [nixpkgs] @eliasp opened pull request #107193 → libsForQt5.phonon-backend-gstreamer: add missing deps → https://git.io/JLEnK
cosimone has quit [Quit: cosimone]
werner291 has joined #nixos
veleiro has quit [Read error: Connection reset by peer]
veleiro has joined #nixos
Alexey49 has joined #nixos
veleiro has quit [Read error: Connection reset by peer]
veleiro has joined #nixos
vidbina has joined #nixos
<Alexey49> Hi. Sorry for noob question, but how to enable broadcom_sta on nixos 20.09? All googled advices seem to be outdated. I have a fresh install of nixos 20.09, networkmanager is enabled, my user in group networkmanager, and i've added linuxPackages.broadcom_sta to environment.systemPackages, I've rebooted system, but still does not have wifi.
andi89gi has joined #nixos
<clever> boot = {
<clever> #extraModulePackages = [ config.boot.kernelPackages.v4l2loopback ];
<clever> Alexey49: kernel modules must go into that array in configuration.nix
<clever> and you must use config.boot.kernelPackages instead of linuxPackages, to make sure its for the right kernel version
sangoma has joined #nixos
<{^_^}> [nixpkgs] @petabyteboy opened pull request #107194 → libtorrentRasterbar: 1.2.6 -> 1.2.11 → https://git.io/JLEW6
<Alexey49> clever: Thank for your response. I've added boot.extraModulePackages = [ config.boot.kernelPackages.broadcom_sta ];, removed broadcom_sta from environment.systemPackages, did nixos-rebuild switch. Still no wifi, should I reboot?
<clever> Alexey49: rebooting may help, some stuff only loads the first time the card is detected
veleiro has quit [Read error: Connection reset by peer]
Alexey49 has quit [Remote host closed the connection]
veleiro has joined #nixos
vldn has joined #nixos
fuzzypixelz has joined #nixos
Alexey12 has joined #nixos
<nature> Is someone familiar with netsurf ? I have a problem with the gtk icons displaying as squared boxes instead of actual icons
mkaito has joined #nixos
<{^_^}> #96177 (by maxxk, 16 weeks ago, open): netsurf: 3.9 → 3.10
<nature> But apparently this one got merged instead: https://github.com/NixOS/nixpkgs/pull/98991
<{^_^}> #98991 (by AndersonTorres, 11 weeks ago, merged): Netsurf: a huge rewrite+update!
<Alexey12> clever: I've rebooted, but still no wifi... https://pastebin.com/dTFD7iQb here is my config.
<clever> Alexey12: can you also pastebin the dmesg?
<clever> [ 8.989503] bluetooth hci0: Direct firmware load for brcm/BCM43142A0-0a5c-216d.hcd failed with error -2
m0rphism has quit [Quit: WeeChat 2.7.1]
<clever> ,locate BCM43142A0-0a5c-216d.hcd
<{^_^}> Couldn't find in any packages
<clever> Alexey12: is it a pci or usb wifi chip?
<Alexey12> clever: pci
<etu> nature: Sounds like you're missing gtk icons
<clever> Alexey12: how does it show up in `lspci -nn`?
andi89gi has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @github-actions[bot] pushed 5 commits to staging-next: https://git.io/JLE4S
<{^_^}> [nixpkgs] @github-actions[bot] pushed 6 commits to staging: https://git.io/JLE49
andi89gi has joined #nixos
<clever> [root@amd-nixos:~]# nix-build '<nixpkgs>' -A linuxPackages.broadcom_sta
<clever> [root@amd-nixos:~]# find result/
<clever> result/lib/modules/5.4.64/kernel/net/wireless/wl.ko
<nature> etu: how would I go about adding them, I tried starting a shell with `paper-icon-theme` for instance and then starting netsurf, but it wouldn't work
<clever> this confirms that the module was called "wl"
<etu> nature: I usually pull in: gnome3.adwaita-icon-theme
<Alexey12> clever: https://pastebin.com/GGLE89C7 -- output of lspci -nn
<clever> Alexey12: and i can see that wl was loaded in your dmesg, but it only printed 3 things
<nature> let me try
<etu> nature: Other may work as well
<clever> Alexey12: we want the pciutils lspci, that one gives much better output
<nature> Didn't work etu :(
<clever> ,locate bin lspci
<{^_^}> Found in packages: toybox, busybox, pciutils
<clever> 03:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM43142 802.11b/g/n [14e4:4365] (rev 01)
<clever> Alexey12: yep, there it is
<etu> nature: I think icons may have a cache somewhere, so I'm not sure just pulling it in in a nix shell is enough... I know that before i put it as one of my system packages I often had boxes in gtk applications.
<clever> Alexey12: what does `lsmod | grep wl` say?
andi89gi has quit [Remote host closed the connection]
<Alexey12> wl 6397952 0cfg80211 720896 5 ath9k_htc,wl,ath9k_common,ath,mac80211
<sphalerite> ehmry: it's nicer for users though.
<clever> Alexey12: and it doesnt appear in `ip link` ?
veleiro has quit [Read error: Connection reset by peer]
<clever> yep, missing there
veleiro has joined #nixos
<clever> Alexey12: what if you do `rmmod bcma wl ; modprobe wl` ?
<nature> Okok etu, let me try adding it to my system packages
<nature> It worked! Thanks etu :)
SomeoneSerge has joined #nixos
<etu> nature: No worries! :)
Alexey12 has quit [Ping timeout: 245 seconds]
Alexey12 has joined #nixos
<{^_^}> [nixpkgs] @Profpatsch opened pull request #107197 → Tree sitter fixes → https://git.io/JLEEf
<Alexey12> clever: sorry, does not see, that I was disconnected from chat. After `rmmod bcma wl ; modprobe wl` wifi works, thank you! Do you know how to persist this settings?
veleiro has quit [Read error: Connection reset by peer]
veleiro has joined #nixos
<clever> they say to edit the modprobe blacklist, but nixos automates that via ...
<clever> Alexey12: boot.blacklistedKernelModules
<clever> once bcma has been blacklisted, wl should just work
Darkmatter66 has quit [Ping timeout: 260 seconds]
veleiro has quit [Read error: Connection reset by peer]
veleiro has joined #nixos
vldn has left #nixos [#nixos]
<Alexey12> clever: added this to config, will see, how it works, on next reboot. Thank you for your help!
veleiro has quit [Read error: Connection reset by peer]
andi89gi has joined #nixos
veleiro has joined #nixos
fuzzypixelz has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @gebner merged pull request #107197 → Tree sitter fixes → https://git.io/JLEEf
<{^_^}> [nixpkgs] @gebner pushed 3 commits to master: https://git.io/JLEz0
orivej has joined #nixos
Alexey12 has quit [Remote host closed the connection]
<nf> what's the difference between foo.extends bar and foo.override { overrides = bar; } ?
<nf> (here foo is haskellPackages)
<{^_^}> #26561 (by ElvishJerricco, 3 years ago, open): "haskellPackages.extend" and "haskellPackages.override" are incompatible
<{^_^}> [nixpkgs] @teto merged pull request #107049 → simgrid: 3.25 -> 3.26 → https://git.io/JLnVh
<{^_^}> [nixpkgs] @teto pushed commit from @mpoquet to master « simgrid: 3.25 -> 3.26 »: https://git.io/JLEaO
<{^_^}> #99100 (by Infinisil, 11 weeks ago, open): Overlay/overriding improvement plan
andi89gi has quit [Remote host closed the connection]
vidbina has quit [Ping timeout: 256 seconds]
a64 has joined #nixos
lgcl has joined #nixos
asheshambasta has joined #nixos
pushqrdx has joined #nixos
<pushqrdx> someone please help, sometimes nix does some weird crap that drives me insane
<Yaniel> such as?
<pushqrdx> i have been trying to get gcc10 in a shell for over an hour now
<pushqrdx> and i get 9.3.0
<pushqrdx> tried everything google said
<pushqrdx> using gcc10stdenv, etc
<pushqrdx> even though i have gcc10 in my shell.nix, i get gcc 9
<Yaniel> looking at `nix-shell -p gcc10` I also get gcc 9.3.0
waleee-cl has joined #nixos
<Yaniel> BUT `whereis gcc` tells me that it also has gcc 10.2.0 in PATH
<Yaniel> 9.3.0 is just first
m0rphism has joined #nixos
<pushqrdx> yeah... it's so strange that i get 9 bleeding in the shell anyway like that
cosimone has joined #nixos
<pushqrdx> even a pure one
andi89gi has joined #nixos
<makefu> pushqrdx: you will need to override stdenv as far as i am aware
<pushqrdx> makefu if you're referring to this https://github.com/NixOS/nixpkgs/issues/89500#issuecomment-639116609 i tried that already
<makefu> in the wiki there is an article which describes how to use clang instead of gcc, this seems to be related: https://nixos.wiki/wiki/Using_Clang_instead_of_GCC
<andi89gi> Hi: I'm considering using home-manager to have more control over nix-env; may it be a good idea?
<makefu> try the last command with gcc10Stdenv instead of clangStdenv
<makefu> https://p.krebsco.de/0q6i26v yields you a shell with
<makefu> gcc (GCC) 10.2.0
<Yaniel> andi89gi: considering that using nix-env is generally discouraged, yes
veleiro has quit [Read error: Connection reset by peer]
<pushqrdx> that's the thing, though, it doesn't
veleiro has joined #nixos
<makefu> gcc9 comes from stdenv (which is always part of the nix-shell environment)
<makefu> it can only be replaced when you switch out the stdenv
veleiro has quit [Read error: Connection reset by peer]
veleiro has joined #nixos
<pushqrdx> makefu but i did that already, i have
<pushqrdx> { gcc10Stdenv, ninja, meson, pkgconfig, gcc10, boost172, wineWowPackages, xorg }: gcc10Stdenv.mkDerivation rec { ...
cognemo has quit [Quit: cognemo]
<pushqrdx> and it's dropping me into a shell with gcc 9 anyway
<a64> finally got a rx6800 but display just freezes after loading amdgpu, saying failed to load firmware
cognemo has joined #nixos
<Yaniel> which kernel are you using?
<a64> linuxPackages_latest which is 5.10.1
<makefu> pushqrdx: weirdly enough with my pasted shell.nix i get dropped into a shell with just gcc10
<a64> i am on unstable-small
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
<pushqrdx> makefu i pasted it in another directory, started a shell from there and i get gcc 10.. wtf
domogled has joined #nixos
nature has quit [Ping timeout: 264 seconds]
nature has joined #nixos
<pushqrdx> makefu wth, why would meson bring in gcc 9 with it?
<pushqrdx> meson was the culprit
<makefu> that is definitly weird
<Yaniel> lol
<Yaniel> having opinions about which compiler to use does sound like meson though
<pushqrdx> try it, just add meson to the shell you pasted and you'll get gcc 9
<pushqrdx> honestly that's fucked up :D
a64 has quit [Ping timeout: 245 seconds]
a6484 has joined #nixos
a6484 has quit [Remote host closed the connection]
a64 has joined #nixos
Philonous has quit [Quit: ZNC - http://znc.in]
Philonous has joined #nixos
andi89gi has quit [Remote host closed the connection]
<jtojnar> pushqrdx: That should have been fixed https://github.com/NixOS/nixpkgs/pull/99176
<{^_^}> #99176 (by Ericson2314, 11 weeks ago, merged): meson: Remove propagated native C compiler
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
tejing has joined #nixos
andi89gi has joined #nixos
<andi89gi> Yaniel: ok. Well, I have installed home-manager. Should I list up every program on home.nix?
veleiro has quit [Read error: Connection reset by peer]
veleiro has joined #nixos
<{^_^}> [nixpkgs] @mcbeth opened pull request #107199 → qrcodegen: init at 1.6.0 → https://git.io/JLEXA
SomeoneSerge has quit [Ping timeout: 256 seconds]
veleiro has quit [Read error: Connection reset by peer]
veleiro has joined #nixos
<{^_^}> [nixpkgs] @peterstuart opened pull request #107200 → nodePackages.firebase-tools: init at 9.0.1 → https://git.io/JLE12
andreas303 has quit [Remote host closed the connection]
davidv7 has quit [Ping timeout: 240 seconds]
andreas303 has joined #nixos
Alexey12 has joined #nixos
strikerlulu has joined #nixos
<lukego> How do I get nix-shell to setup my LD_LIBRARY_PATH? I thought it would automatically fill in the buildInputs but doesn't seem to...?
<tpw_rules> in theory it doesn't need to because all your programs are patched to find their libraries in the nix store
veleiro has quit [Read error: Connection reset by peer]
veleiro has joined #nixos
<tpw_rules> however sometimes that fails in practice because programs dynamically calculate library names and stuff so you can manually set it by adding an attribute in your shell.nix that's like LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath [ pkgs.mesa_drivers pkgs.ocl-icd ];
<lukego> Thanks. I remember now at some point writing a Nix expr that generates a script with the appropriate calls. I'm in this case running a binary that expects to be able to dlopen() some libraries.
<tpw_rules> yeah a wrapper script is another option too
<{^_^}> FRidh's karma got increased to 27
<{^_^}> rfcs#83 (by FRidh, 2 hours ago, open): [RFC 0083] common interface package sets
veleiro has quit [Read error: Connection reset by peer]
veleiro has joined #nixos
jmeredith has joined #nixos
mallox has joined #nixos
<andi89gi> makefu: Do u use LinuxKernel 5.10?
domogled has quit [Remote host closed the connection]
domogled has joined #nixos
andi89gi has quit [Remote host closed the connection]
<lukego> Hey is there a good Git/Nix workflow for gradually/asynchronously upstreaming a new package? Like, I already have a Nix source tree with my various derivations, but one of them really belongs in nixpkgs. Is there an easy way to PR it there without making a second copy of the source code in git?
<adisbladis> lukego: A lot of us are using local nixpkgs checkouts for that very reason
Fare has joined #nixos
<adisbladis> What are you trying to avoid?
<adisbladis> Avoiding a second copy of what exactly?
andi89gi has joined #nixos
<lukego> Well so adding a new package I guess I have three options: 1) fork nixpkgs. 2) overlay repo. 3) derivation in my own repo. The only one of these that I can PR to nixpkgs upstream would be (1) but that makes it a bit tricky for me to do my own dev e.g. might be required to rebase the branch and so on. But if I do (2) or (3) then it seems like I _also_ need to do (1) separately (= code dup) for upstreaming purposes.
<lukego> Maybe I'm missing something obvious
<lukego> In the past I've started off doing (1) of packaging a program up and sending it to nixpkgs upstream but then, alas, finding that too cumbersome and making a separate package for my own use instead.
<qyliss> lukego: It sounds like the best thing you can do is to try to get more comfortable with rebasing
<simpson> What does your "own dev" entail? It's possible to use nixpkgs expressions on upstream source trees, depending on the exact package.
<a64> seems that firmware-linux-nonfree does not contain rx6800's firmware. overrided with latest linux-firmware now amdgpu loads without error but i am still having a black screen
<Yaniel> does the textmode tty at least work?
<Yaniel> and which mesa version
<DigitalKiwi> lukego: i have lots of different nixpkgs directories
<DigitalKiwi> so i can "stay" on a branch i'm using when i do nixpkgs-rebuilds and work on ones that are for PRs
cole-h has joined #nixos
<a64> nomodesetting can get me to tty
<lukego> okay but "my own dev" here is building a larger system using Nix that is pushed to github etc and contains its own derivations too. basically what I'm lacking is a smooth way to "export" my own derivations to nixpkgs when it makes sense to do so.
<DigitalKiwi> and then i git push/pulll between them and i add remotes
<a64> mesa 20.2.4
<DigitalKiwi> i use ghq https://github.com/x-motemen/ghq to clone repos so they're organized by owner ~/projects/github.com/Kiwi/nixpkgs ~/projects/github.com/NixOS/nixpkgs
<Yaniel> you might want 20.3.1
<lukego> DigitalKiwi: okay but I'm building an application to collaborate on with other people and I need to publish it including packages that haven't landed upstream in nixpkgs yet.
<Yaniel> it's on nixpkgs master already I think
<lukego> DigitalKiwi: So to do the same as you I'd need to be pushing a separate branch for each copy and updating the sha256 etc when they reference each other.
<DigitalKiwi> i nixos-rebuild off of my personal fork/branch that might be ahead of NixOS/nixpkgs
<DigitalKiwi> also what qyliss you'll have to rebase eventually to do the PR anyway
<simpson> Rather than using upstream/channel nixpkgs, you can have your projects directly pin a nixpkgs version. That way, you can send PRs upstream to nixpkgs, and there's still a way to atomically switch each individual package from your bundled expression to nixpkgs.
<DigitalKiwi> i frequently pull in specific packages from different channels/git checkouts when they break on nixos-unstable
<DigitalKiwi> nixos-2009 = import (fetchTarball "channel:nixos-20.09") { config = { allowUnfree = true; }; };
<qyliss> Yeah, there are different ways of doing this for projects that need a Nixpkgs to reference
<qyliss> My favourite way is just to have Nixpkgs as part of the project, like we did in https://github.com/nixcon/nixcon-video-infra
<lukego> I do pin a specific nixpkgs but usually that's a point on master or release- that doesn't include any of my stuff
<DigitalKiwi> or even this lol #(import (fetchTarball "channel:nixos-18.09") {}).freecad
<simpson> lukego: Here's what this practically looks like: https://github.com/monte-language/typhon/blob/master/nix-support/typhon.nix#L3-L8
<qyliss> That way it's very easy to modify it if you need to, and you can easily update it by just git fetch nixpkgs && git merge -Xsubtree=nixpkgs nixpkgs/nixos-unstable or whatever
<Yaniel> a64: ah sorry, it's in staging atm (see #105817)
<{^_^}> https://github.com/NixOS/nixpkgs/pull/105817 (by primeos, 2 weeks ago, merged): mesa: 20.2.4 -> 20.3.1
<lukego> qyliss: oh so you embed the whole nixpkgs tree in your repo and use git-subtree to pick off the changes and upstream them?
<a64> i saw fedora users reporting mesa 20.2.4 working so it might not be the problem?
<lukego> maybe git-subtree is the answer... to be able to have my own main fork of nixpkgs with all my changes and to be able to semi-automatically pick off each change into a topic branch that can be PR'd and rebased without f'ing up the main copy that I'm working with (where I don't want to be scrambling git history)
<qyliss> lukego: yeah, it's really nice and easy
<lukego> So thinking aloud... I could have one fork of nixpkgs that I push to Github and includes all of my changes. This is never rebased and it represents my own development. Then for each change that needs to go upstream I could use git-subtree to spin it off into a topic branch with a revised history and send that off to nixpkgs upstream.
<qyliss> that's also how I configure all my machines: https://git.qyliss.net/nixlib/tree/
<qyliss> lukego: yeah, although it's probably easier to use cherry-pick to do that than subtree
<simpson> lukego: Fare has been trying something similar recently, and I can emphatically recommend *not* doing this unless you have a deep need to embed your packages deep into nixpkgs.
<simpson> It is so much easier to just have your own nix-support/ folder and write new expressions locally for each project which needs new expressions.
<lukego> simpson: So what's a better alternative though? Thus far I've always started off doing "upstream first" but finding too much friction and just keeping all my code private
<simpson> lukego: Why not upstream *incrementally*? Send changes upstream in PRs *without* removing the changes from your private codebase. When PRs get merged, bump your project's pinned nixpkgs and *then* drop the private changes.
veleiro has quit [Read error: Connection reset by peer]
veleiro has joined #nixos
civodul has joined #nixos
<andi89gi> sphalerite: Should we talk about how we can start building TMW pkg for NixOS?
<lukego> but I don't know how long the upstreaming will take and I'll be stuck duplicating any change into two places throughout that process (and testing each copy spearately, etc)
<simpson> lukego: No; while your upstream PRs are pending, you don't have to test integration with new nixpkgs, just with old pinned nixpkgs.
<simpson> You never actually have to have integration working with more than one version of nixpkgs at a time, ever.
<lukego> Sure but e.g. if the thing I've packaged is updated while the PR is still pending
<lukego> I'll need to bump both the version I'm using and the version I'm upstreaming and make sure that both work
lgcl has quit [Quit: ERC (IRC client for Emacs 27.1)]
<simpson> If you're the cause of that package update, then maybe the package isn't ready for upstream nixpkgs. Otherwise, just sigh and bump the PR *or* ignore the update entirely.'
<simpson> (Does this actually happen with non-pathological packages? I only see it happening with unfree games.)
<sphalerite> andi89gi: sure. Want to do voice chat of some description for it?
<simpson> (Oh, also stuff like Discord clients and youtube-dl. But even then, they rarely release multiple times per day.)
<lukego> Thing is that when the source package updates I'll want to adopt the new version quickly into my application -- and if I end up sending an older version that this upstream to nixpkgs then it defeats the purpose because the upstream code won't be usable for me anywya
<Yaniel> mesa gets PRs on .0 releases but they are rarely merged until they get bumped to .1
medvid has quit [Quit: WeeChat 2.3]
<Yaniel> but I think that one is mostly by policy?
<simpson> Yaniel: This should tell you something about the quality of upstream's realeases, too~
medvid has joined #nixos
<simpson> Yaniel: *releases. Just like when I used to contribute to Mesa, I bet that the first draft's not perfect.
<andi89gi> sphalerite: Well, yeah - I have also questions about home-manager :D Where can we do a voice chat?
<lukego> I feel like I must be missing something major here though or else lots of other people would be having the same problem as me.
<simpson> lukego: Modify your desires, I suppose. Why do you even want Nix expressions to go upstream to nixpkgs, in those cases? What *are* these packages, exactly?
<a64> ok i think it's just xf86-video-amdgpu being too old (19.1.0)
sss2 has joined #nixos
<lukego> simpson: So in this case it's GToolkit (https://gtoolkit.com/) which is a Smalltalk based dev environment that's quite new and a massive pain in the ass to install by yourself (distributed as binaries, source build requires a whole raft of Rust stuff, Smalltalk code includes /usr etc references that patchelf can't see.)
<simpson> lukego: Fun times. Probably isn't ready for nixpkgs yet. Do you have other folks that wanted to use common derivations?
veleiro has quit [Read error: Connection reset by peer]
veleiro has joined #nixos
<lukego> I've had the same issue with the Pharo Smalltalk VM itself too which was already in nixpkgs but too cumbersome for me to take over maintenance off for similar reasons, ended up just maintaining my own private derivation instead (and original maintainer moved on leaving it orphan)
<Yaniel> yeah sounds like something for a NUR
<simpson> Maybe that's how things should be.
domogled1 has joined #nixos
<simpson> NUR's a possibility. Flakes are another possibility.
domogled has quit [Read error: Connection reset by peer]
domogled1 is now known as domogled
<Yaniel> and once it's stable enough you can always try getting the already existing derivation into nixpkgs
domogled has quit [Read error: Connection reset by peer]
domogled has joined #nixos
<lukego> but okay I'll modify my desires and just maintain my own derivations and leave nixpkgs to other people. Seems worth popping up and looking for a way to upstream like this every year or two anyway.
veleiro has quit [Read error: Connection reset by peer]
veleiro has joined #nixos
<simpson> There's nothing wrong with putting stuff in nixpkgs. The problems are the ones you're experiencing, around integration.
<Yaniel> that sounds like a reasonable approach
<simpson> nixpkgs works best for stuff that is sufficiently common that, by the time you learn that you need e.g. a security patch, there's already been a merged PR and Hydra is building updated cache artifacts.
<Yaniel> maybe make your custom derivations public so others interested can use them too / help out
<lukego> I had imagined that nixpkgs would be the place where you do make your derivations public for other people to share and build on
noudle has quit []
<lukego> I suspect that nixpkgs contribution workflow is geared towards people who are living on the bleeding edge and don't need to integrate their pre-upstreamed packages into other stable ecosystems. So for example it would work fine for me to upstream an application that I'm casually using but not one that I'm building a system around.
<lukego> and maybe that's fine because that's still plenty of people to move nixpkgs forward. Just feels weird not to upstream stuff that I'm sure other people will want sooner or later and end up duplicating my work on.
andi89gi has quit [Remote host closed the connection]
respawn_ has joined #nixos
strikerlulu has quit [Quit: ZNC 1.8.1 - https://znc.in]
<Yaniel> don't duplicate your work if you don't need to?
<Yaniel> push code changes upstream, update nixpkgs whenever there are releases
<Yaniel> and you can override the package locally if you want to use code changes before they hit nixpkgs
<lukego> (maybe the fact that I'm having so much trouble explaining my situation is also a sign that I'm in a small minority within the nixpkgs universe and should accept that the workflow is rightly optimized for other people :))
<simpson> In mobile-nixos, there's already two PRs for a phone I have; I probably will need to make a third PR which incorporates work from both of them. CLV.
andi89gi has joined #nixos
<simpson> lukego: As a contributor, I don't live on the bleeding edge. I have configured channels for my system, and a git clone of nixpkgs for when I want to send stuff upstream.
<simpson> But also, in the Typhon repository I linked earlier, I have a third nixpkgs which is pinned by reference, and only changes when I desire something from a newer nixpkgs. Only at that time do I have to do integration work.
zakame has quit [Ping timeout: 256 seconds]
domogled1 has joined #nixos
domogled has quit [Ping timeout: 260 seconds]
domogled1 is now known as domogled
<sss2> hi all, how to use fileSystems.<name>.neededForBoot properly ?
<sss2> i can't find wjere fs is mounted during initramfs init
<sss2> some shady hint found in fileSystems.<name>.encrypted.keyFile description, but i can't get it work
<patagonicus> sss2: What do you mean by "properly"? Also, probably https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/system/boot/stage-1.nix
cole-h has quit [Ping timeout: 272 seconds]
domogled1 has joined #nixos
strikerlulu has joined #nixos
domogled has quit [Ping timeout: 272 seconds]
domogled1 is now known as domogled
<sphalerite> andi89gi: I sent you a private message
<viric> how do you set up your home nixos computers to allow nix copy between them?
<{^_^}> [nixpkgs] @bjornfor pushed 2 commits to release-20.09: https://git.io/JLEh5
<sss2> patagonicus, i can't find where it mounted duting initramfs init, so i can't access keyfile for encrypted device
<sphalerite> viric: I usually enable this module https://gist.github.com/lheckemann/a3b300cacf5f8633c3a54ee9e3281b92 on machines that I intend to use for building, and then manually add the keys between them
<viric> sphalerite: ahhh that's your module, not ready in nixos
veleiro has quit [Read error: Connection reset by peer]
<sphalerite> sss2: it should be mounted under the path where it will be in the final system as well, but under /mnt-root
<sphalerite> viric: yeah
veleiro has joined #nixos
<viric> sphalerite: I like it
<viric> does nix automatically sign with that?
<sphalerite> yeah, it'll sign any paths built on that machine with it
<sss2> sphalerite, i will check again, but it not worked last time, probably i made a typo somewhere
<viric> I didn't know nix would automatically sign
<sphalerite> viric: man nix.conf describes the option
fendor_ has joined #nixos
<viric> thank you
<viric> would nix-copy compress?
<lukego> On reflection maybe maintaining my stuff as a nixpkgs overlay makes the most sense. Then it's my own code, but it's also easy for other people to try out and depend on, and it is will be straightforward to upstream into nixpkgs whenever the time is right (e.g. package becomes more stable or more popular, etc)
kirelagin has joined #nixos
fendor has quit [Ping timeout: 260 seconds]
strikerlulu has quit [Quit: ZNC 1.8.1 - https://znc.in]
<sss2> https://bpa.st/GRWQ - is this correct ?
lgcl has joined #nixos
lgcl has quit [Client Quit]
lgcl has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 8 commits to release-20.09: https://git.io/JLuvE
strikerlulu has joined #nixos
<viric> sphalerite: I'll adopt that signing & keys
lgcl has quit [Client Quit]
andi89gi has quit [Remote host closed the connection]
lgcl has joined #nixos
<patagonicus> sss2: I'm pretty sure the neededForBoot bit happens after / has been mounted. I'm not sure if NixOS natively supports having the key outside of the initramfs, but on a filesystem. You could probably work around it with preLVMCommands and postMountCommands or something.
andi89gi has joined #nixos
nrb has joined #nixos
<nrb> using usb iso and running: curl -L https://nixos.org/nix/install | sh
<simpson> patagonicus++
<{^_^}> patagonicus's karma got increased to 6
<nrb> pulls down html instead of text
<nrb> using usb iso and running: curl -L https://nixos.org/nix/install | sh # pulls down html instead of text
lgcl has quit [Quit: ERC (IRC client for Emacs 27.1)]
<patagonicus> nrb: Are you using the NixOS usb installer? It already has nix installed, you don't need to download the installer.
lgcl has joined #nixos
<simpson> What's the HTML say? I get text, using `less` instead of `sh` to see what I got.
lgcl has quit [Client Quit]
<nrb> I have an older usb stick, tried the 'quick' command from that
<DigitalKiwi> simpson++
<{^_^}> simpson's karma got increased to 44
<DigitalKiwi> that's what i wanted to know too
<nrb> downloads starting <!DOCTYPE html>
<sss2> patagonicus, i see init checking for specified filesystem, and after this waiting for file to be visible, but this wait is ending with error
<patagonicus> sss2: Yeah, that makes sense, because it won't try mounting the filesystem the file is on, so the file will never appear. At least that's my understanding of the LUKS integration in the NixOS initrd, I only read parts of it a while ago.
<nrb> using older NiXOS usb iso and running: curl -L https://nixos.org/nix/install | sh # pulls down html starting <!DOCTYPE html> instead of plain text
<patagonicus> nrb: Coud it be that it's your ISP doing weird things? Try replacing sh with less and look at more of the page, for example the <title> tag
strikerlulu has quit [Quit: ZNC 1.8.1 - https://znc.in]
<sss2> patagonicus, is it possible to use some correct way to wait for key device to appear instead of while loop polling ?
rb2k has joined #nixos
lgcl has joined #nixos
<sss2> patagonicus, i mean if i will implement some workaround via pre/post commands
spinus has joined #nixos
<nrb> less gives same text starting <!DOCTYPE html>
<patagonicus> nrb: What's after the <!DOCTYPE html>?
strikerlulu_ has joined #nixos
<sss2> hmm, one ugly hack come in mind
<patagonicus> sss2: Ooh, I just found boot.initrd.luks.devices.<name>.preOpenCommands that's exactly what you need. Stick something in there that waits for the key device and mounts it, then use postOpenCommands to unmount it.
lgcl has quit [Client Quit]
<sss2> yes, but how to weait for device properly ?
<nrb> patagonicus: continues <html lang-"en" ...
<sss2> which tools do i have in initramfs ?
<patagonicus> You should be able to use `waitDevice /dev/disk/by-uuid/…`. That's in https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/system/boot/stage-1-init.sh#L78
<nrb> same on my vps, and local ubuntu
<sss2> patagonicus, thx, i will try
ddellacosta has joined #nixos
<patagonicus> nrb: Can you do `curl -L https://nixos.org/nix/install | curl -F 'sprunge=<-' http://sprunge.us`? That will upload the output of curl to sprunge.us and give you a link that you could share with us so we can look at the HTML.
<sss2> also, i see default timeout is 10 seconds, can i make it longer or betterinfinite somehow ?
<Fare> simpson, lukego: one of the purposes of my multi-inheritance extension system is precisely to enable more "decentralized" development of nix packages, that can seamlessly move between extensions to nixpkgs to nixpkgs itself.
lgcl has joined #nixos
<patagonicus> sss2: At least for waitDevice it seems to be hardcoded to 20 tries with a 1 second sleep. For LUKS it does seem to be hardcoded at 10 seconds.
lgcl has quit [Client Quit]
<patagonicus> sss2: You could open a feature request for that, doesn't seem unreasonable.
<nrb> yVs2cD
lgcl has joined #nixos
<patagonicus> nrb: It says file not found - are you *sure* you're using https://nixos.org/nix/install and don't have a typo in there? Or maybe replaced an l with an I or something?
maxfield has joined #nixos
mallox has quit [Ping timeout: 260 seconds]
<nrb> sure
<DigitalKiwi> isn't this what flakes is for
<patagonicus> Then I have no idea why the server would claim that the file is not found for you. :/
<nrb> file is found, text looks as per less on https://releases.nixos.org/nix/nix-2.3.10/install
<nrb> oops
<nrb> wrong paste
<nrb> will try the redirect url
mallox has joined #nixos
maxfield has quit [Remote host closed the connection]
<nrb> that is it, the redirect not rendering text...
lgcl has quit [Quit: ERC (IRC client for Emacs 27.1)]
<nrb> note same from another IP (OVH VPS completely unrelated network I sshed into )
<lukego> Fare: more on this multi-inheritance business somewhere?
mkaito has quit [Quit: WeeChat 2.9]
<hexagoxel> Can somebody who has built nix please share the doc/manual/builtins.json file? (instead of me trying to get nix to build from source, which somehow runs into errors no matter what I try..)
Darkmatter66 has joined #nixos
<hexagoxel> don't care which commit exactly
a64 has quit [Remote host closed the connection]
<hexagoxel> thanks!
cognemo has quit [Quit: cognemo]
rb2k has quit [Ping timeout: 240 seconds]
strikerlulu_ has quit [Quit: ZNC 1.8.1 - https://znc.in]
<DigitalKiwi> 258e5338d68c5d98090748bbbd49bd33a37c7954 i think this was the commit in case it does become relevant
keash[m] has quit [Quit: Idle for 30+ days]
aduialthin[m] has quit [Quit: Idle for 30+ days]
cognemo has joined #nixos
andi89gi has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Preisschild opened pull request #107202 → stern: use stern/stern as upstream source → https://git.io/JLuLb
andi89gi has joined #nixos
ezioedithore has joined #nixos
ezioedithore has quit [Client Quit]
cosimone has quit [Quit: cosimone]
ezioedithore has joined #nixos
Fare has quit [Ping timeout: 260 seconds]
bachp has joined #nixos
lgcl has joined #nixos
<{^_^}> [nixpkgs] @viric pushed commit from @r-ryantm to release-20.09 « gcompris: 0.98 -> 1.0 »: https://git.io/JLuqI
ddellacosta has quit [Ping timeout: 265 seconds]
<victorbjelkholm> nrb: can you try manually typing the url instead of copy-paste? Seems really strange
kim0 has joined #nixos
<victorbjelkholm> url works fine
<{^_^}> nix#4381 (by nrbray, 4 minutes ago, open): boot from NiXOS usb iso and running: curl -L https://nixos.org/nix/install | sh # pulls down html starting <!DOCTYPE html> instead of plain text
mallox has quit [Ping timeout: 265 seconds]
<victorbjelkholm> nrb: also, could you paste the output of running `curl -v -L https://nixos.org/nix/install`? There is an added -v flag in there
<nrb> no copy paste all manually typed on a virgin box, curl to the redirected URL works, to the URL in the documentation it renders the html instead of plain text
<nrb> no copy paste all manually typed on a virgin box, curl to the redirected URL works, to the URL in the documentation it renders the html instead of plain text
<nrb> rHXhZd
mallox has joined #nixos
<simpson> nrb: Curious. As a stopgap, what happens if you try the redirected URL https://releases.nixos.org/nix/nix-2.3.10/install instead?
<nrb> works
<simpson> Huh. Yeah, the -v flag will help a lot, then.
<victorbjelkholm> nrb: if you're still trying to use sprunge with the curl -v command, you'll need `2>&1 |` instead of just `|` as -v doesn't output to stdout
<victorbjelkholm> full cmd: `curl -v -L https://nixos.org/nix/install 2>&1 | curl -F 'sprunge=<-' http://sprunge.us`
<nrb> 7n5DwQ
<victorbjelkholm> nrb: you're not missing a "/nix/" in the url?
<victorbjelkholm> should be hostname `nixos.org` and path `/nix/install`
<{^_^}> [nixpkgs] @nagisa opened pull request #107203 → mapproxy: 1.12.0 -> 1.13.0 → https://git.io/JLuY3
<nrb> doh
<victorbjelkholm> but the logs from you says "> GET /install HTTP/2" :D
<{^_^}> [nixpkgs] @eliasp closed pull request #107193 → libsForQt5.phonon-backend-gstreamer: add missing deps → https://git.io/JLEnK
<nrb> apologies
maxfield has joined #nixos
jlotoski-znc has joined #nixos
<victorbjelkholm> nrb: no need. I'm not a maintainer of anything nix, but in the future you should probably wait to create an issue until it's confirmed it's one by at least someone else, just to avoid adding more notifications to the poor fellows who get notifications from that repo
<nrb> ah yes, sorry
johnny101 has quit [Ping timeout: 256 seconds]
jlotoski-znc has quit [Ping timeout: 264 seconds]
johnny101 has joined #nixos
<{^_^}> [nixpkgs] @ehmry merged pull request #107022 → picard: 2.5.2 -> 2.5.4 → https://git.io/JLGpp
<{^_^}> [nixpkgs] @ehmry pushed commit from @r-ryantm to master « picard: 2.5.2 -> 2.5.4 »: https://git.io/JLu3S
neiluj has joined #nixos
andi89gi has quit [Remote host closed the connection]
strikerlulu has joined #nixos
<victorbjelkholm> I'm trying to setup my wifi connection, and got the following example from the docs: `networking.wireless.networks.Wifi_name.pskRaw = "pskRaw generated";` however, my network name is all numbers, and seems nix doesn't like that, giving me a "unexpected float, expected '.' or '='" error, any ideas on how to work around?
andi89gi has joined #nixos
<patagonicus> victorbjelkholm: networking.wireless.networks."123456".pskRaw should work
<victorbjelkholm> patagonicus: ah, of course. It did the trick, thanks a lot
<{^_^}> [nixpkgs] @veprbl opened pull request #107204 → texlive.combine: set allowSubstitutes = true → https://git.io/JLusN
strikerlulu has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @vbgl merged pull request #107133 → ocamlPackages.ocaml-lsp: 1.1.0 -> 1.4.0 → https://git.io/JL89Q
<{^_^}> [nixpkgs] @vbgl pushed commit from @marsam to master « ocamlPackages.ocaml-lsp: 1.1.0 -> 1.4.0 »: https://git.io/JLuGn
fendor_ is now known as fendor
<{^_^}> [nixpkgs] @petabyteboy opened pull request #107205 → qbittorrent: 4.3.0.1 -> 4.3.1 → https://git.io/JLuGh
aswanson has joined #nixos
CptCaptain has joined #nixos
neiluj has quit [Quit: leaving]
respawn_ has quit [Quit: Leaving]
CptCaptain has quit [Client Quit]
otulp has quit [Ping timeout: 264 seconds]
philr_ has quit [Ping timeout: 240 seconds]
werner291 has quit [Read error: Connection reset by peer]
werner292 has joined #nixos
dxtr has joined #nixos
<Yaniel> yay, github got a dark mode
werner292 is now known as werner291
<{^_^}> [nixpkgs] @Infinisil merged pull request #84324 → Icecream support → https://git.io/JvNmj
<{^_^}> [nixpkgs] @Infinisil pushed 4 commits to master: https://git.io/JLucx
<infinisil> Yaniel: I love it
<infinisil> Looks really good
ddellacosta has joined #nixos
zakame has joined #nixos
andi89gi has quit [Remote host closed the connection]
andi89gi has joined #nixos
magnos has joined #nixos
HorseGirl has joined #nixos
<{^_^}> [nixpkgs] @romildo opened pull request #107206 → sweet: 1.10.5 -> 2.0 → https://git.io/JLulk
<HorseGirl> hello
cosimone has joined #nixos
berberman has quit [Quit: ZNC 1.7.5 - https://znc.in]
<HorseGirl> hello
berberman has joined #nixos
magnos has quit [Quit: WeeChat 2.9]
<{^_^}> [nixpkgs] @timokau merged pull request #105615 → sage: 8.9 -> 9.2 → https://git.io/JIUNC
<{^_^}> [nixpkgs] @timokau pushed 12 commits to master: https://git.io/JLu8t
mag has joined #nixos
mag is now known as magnos
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
mallox has quit [Ping timeout: 265 seconds]
mallox has joined #nixos
rajivr has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @petabyteboy merged pull request #107205 → qbittorrent: 4.3.0.1 -> 4.3.1 → https://git.io/JLuGh
<{^_^}> [nixpkgs] @petabyteboy pushed to master « qbittorrent: 4.3.0.1 -> 4.3.1 (#107205) »: https://git.io/JLu46
andi89gi has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @rb2k opened pull request #107207 → libsmartcols: init at v2.36.1 → https://git.io/JLuBR
andi89gi has joined #nixos
CptCaptain has joined #nixos
<abathur> HorseGirl: hello :)
cosimone has quit [Remote host closed the connection]
veleiro has quit [Ping timeout: 260 seconds]
cosimone has joined #nixos
maxfield has quit [Ping timeout: 260 seconds]
hnOsmium0001 has joined #nixos
mallox has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @petabyteboy merged pull request #106735 → qbittorrent: extending path to include Python3 for default functionality → https://git.io/JIiUJ
<{^_^}> [nixpkgs] @petabyteboy pushed 2 commits to master: https://git.io/JLu0D
mallox has joined #nixos
<spinus> I'm using nixos test framework (qemu one), is it possible to access internet from that?
<{^_^}> [nixpkgs] @prusnak opened pull request #107208 → libseccomp: use tar in a reproducible way → https://git.io/JLuEa
HorseGirl has quit [Quit: Going offline, see ya! (www.adiirc.com)]
CptCaptain has quit [Quit: WeeChat 2.9]
andi89gi has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Ma27 pushed to release-20.09 « mitmproxy: 5.1.1 -> 5.3.0 (backport) »: https://git.io/JLugZ
veleiro has joined #nixos
andi89gi has joined #nixos
b00n has joined #nixos
asheshambasta has quit [Ping timeout: 268 seconds]
feep has left #nixos ["Konversation terminated!"]
<{^_^}> [nixpkgs] @kimat opened pull request #107210 → nixos/ydotool: init module → https://git.io/JLug9
<b00n> Hi there, I don't get how I wrap chromium for vaapi correctly, as described here: https://nixos.wiki/wiki/Chromium#Enable_GPU_accelerated_video_decoding_.28VA-API.29
cosimone has quit [Remote host closed the connection]
<b00n> I have to settle: "(chromium.override { enableVaapi = true; })" in the configuration.nix, but I don't know how to do this right.
<b00n> Tried "packageOverrides = pkgs: with pkgs; { chromium.override.enableVaapi = true; };" and hundreds of variants, but I don't get the right syntax. Does somebody give me a helping hand, please?
<notgne2[m]> b00n: you can probably just do `nixpkgs.config.enableVaapi = true;`
ddellacosta has quit [Ping timeout: 260 seconds]
SomeoneSerge has joined #nixos
mallox has quit [Quit: WeeChat 3.0]
<b00n> notgne2[m]: oh boy, this worked instantly. Thank you sooo much!
Alexey12 has quit [Ping timeout: 245 seconds]
Fare has joined #nixos
b00n has quit [Quit: leaving]
ajhpics has joined #nixos
<ajhpics> Hey all, I am trying to get nix on my m1 Mac, could somebody please point me to a guide, the usual steps sadly didn't work.
andi89gi has quit [Remote host closed the connection]
ajhpics has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @github-actions[bot] pushed 26 commits to staging-next: https://git.io/JLuVu
<{^_^}> [nixpkgs] @github-actions[bot] pushed 27 commits to staging: https://git.io/JLuVg
jbaeth has quit [Ping timeout: 240 seconds]
jbaeth has joined #nixos
sangoma has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @FRidh merged pull request #106533 → [staging] wafHook: Don't wrap Python 2 → https://git.io/JIaPm
<{^_^}> [nixpkgs] @FRidh pushed 9 commits to staging: https://git.io/JLuwQ
<Cadey> how do i set up disk quotas on NixOS?
ddellacosta has joined #nixos
<infinisil> Cadey: NixOS doesn't manage your state/disks
alexrelis[m] has joined #nixos
<alexrelis[m]> Is this an official channel?
<infinisil> alexrelis[m]: Yup :2
<infinisil> :)*
<alexrelis[m]> I'm using Debian and I am looking for something different. My instincts was to try Fedora, but I'm looking to see if NixOS is right for me.
<alexrelis[m]> instincts tell me*
<{^_^}> [nixpkgs] @petabyteboy opened pull request #107211 → Feature/broadway → https://git.io/JLurz
<{^_^}> [nixpkgs] @ryantm closed pull request #106048 → mosquitto: 1.6.12 -> 2.0.0 → https://git.io/JICUH
sangoma has joined #nixos
lgcl has quit [Quit: ERC (IRC client for Emacs 27.1)]
<{^_^}> Channel nixos-20.09-small advanced to https://github.com/NixOS/nixpkgs/commit/10d772584bd (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-20.09-small)
jonringer has joined #nixos
<alexrelis[m]> A big frustration of mine is that installing software in more traditional distros can sometimes be a pain. Freezing packages only really works with mature programs but completely falls apart for things like Matrix clients which are constantly ever-changing at this point in time. Third party repositories easily break systems if not maintained, and flatpaks/snaps/AppImages just don't feel native and there not every program
<alexrelis[m]> is packaged for it. I'm left pretty stressed as to what method I should install for each package.
veleiro has quit [Ping timeout: 264 seconds]
SomeoneSerge has quit [Ping timeout: 256 seconds]
ddellacosta has quit [Ping timeout: 268 seconds]
lgcl has joined #nixos
<{^_^}> [nixpkgs] @Lassulus opened pull request #107212 → treewide: use auto diskSize for make-disk-image → https://git.io/JLuK8
lgcl has quit [Client Quit]
<shapr> Is there an IRC channel where I can ask questions about getting started with haskell in NixOS?
lgcl has joined #nixos
lgcl has quit [Remote host closed the connection]
<shapr> I'm reading Gabriel Gonzalez haskell-nix intro and I don't want to use nix-env to install tools.
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #107214 → WIP: lib: Clean up how linux and gcc config is specified → https://git.io/JLuKA
<lassulus> #haskell.nix ?
<DigitalKiwi> i think that's for the iohk one isn't it
<lassulus> ah, could be, I just looked at the log list
gustavderdrache has joined #nixos
lgcl has joined #nixos
veleiro has joined #nixos
lgcl has quit [Remote host closed the connection]
<shapr> lassulus: good suggestion, but I got frustrated trying to get started with haskell.nix and am trying to start with stock nix now.
lgcl has joined #nixos
<shapr> I think my problem is that I lack enough basic nix understanding to jump directly into haskell.nix
lgcl has quit [Remote host closed the connection]
dstzd has quit [Quit: ZNC - https://znc.in]
nikivi has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
<Vq> shapr: I have a small nix-shell nix file with ghc, cabal-install and cabal2nix. Then I generate a project specific shell.nix file with cabal2nix and use that instead.
<shapr> Vq: do you have step by step instructions written up somewhere?
<Vq> shapr: Some tweaks may be required so I'd say it's still necessary to know some nix basics.
<Vq> shapr: I don't
<shapr> so I could probably use "nix-shell -p ghc cabal-install cabal2nix" and then "cabal init"?
<shapr> not sure what to do after that though.
veleiro has quit [Ping timeout: 260 seconds]
joesventek has quit [Quit: Quit]
berberman_ has joined #nixos
noudle has joined #nixos
berberman has quit [Ping timeout: 260 seconds]
<Vq> shapr: cabal2nix . --shell > shell.nix
dstzd has joined #nixos
* shapr adds that to the almost blank tutorial
<Vq> shapr: Then exit the ghc-etc-shell and run nix-shell in the project directory.
Darkmatter66 has quit [Ping timeout: 260 seconds]
dstzd has quit [Client Quit]
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to fix-buildRustCrateTests: https://git.io/JLuPW
<Vq> shapr: I'm certainly no expert on the matter but I've had surprisingly few problems building my Haskell projects with cabal2nix and nix.
lgcl has joined #nixos
<shapr> I'm still a n00b, so I shall pester you with questions now :-)
<shapr> At this point I do normal Haskell dev with cabal?
<Vq> I haven't figured that part out yet.
lgcl has quit [Client Quit]
FRidh has quit [Quit: Konversation terminated!]
<Vq> I've been adding dependencies to both the cabal file and the nix-file by hand but that may very well not be the most efficient way.
lgcl has joined #nixos
<shapr> How do add a dependency to the nix-file after it's added to the cabal file?
<Vq> I suppose you could either re-run cabal2nix on it or manually add it to the executableHaskellDepends attribute in the nix-file.
<shapr> I'll try the re-run cause that's automated
<{^_^}> [nixpkgs] @mweinelt pushed to python/mpd2 « python3Packages.mpd2: 1.0.0 -> 2.0.1 »: https://git.io/JLuXO
<{^_^}> [nixpkgs] @mweinelt pushed 0 commits to python/mpd2: https://git.io/JLuXn
blueberrypie has joined #nixos
<shapr> Is there a way to see what packages are added to the current scope by a shell.nix ?
<{^_^}> [nixpkgs] @mweinelt opened pull request #107215 → python3Packages.mpd2: 1.0.0 -> 2.0.1 → https://git.io/JLuX1
<shapr> Vq: yup, re-running cabal2nix updates the shell.nix, but I don't know how to add that package to the nix files so it's always in scope.
<Vq> shapr: I've no idea how to list the scope of a shell.nix
ascj09 has joined #nixos
<{^_^}> [nixpkgs] @orivej-nixos pushed 2 commits to master: https://git.io/JLu1Z
<Vq> shapr: That's part of the reason why I hand-edit it. You could install just cabal2nix with nix-env I guess.
<ascj09> Hey all, when I run sh <curl https://nixos.org/nix/install> on my Mac, it fails and says downloading Nix 2.3.10 binary tarball for x86_64-darwin from 'https://releases.nixos.org/nix/nix-2.3.10/nix-2.3.10-x86_64-darwin.tar.xz' to '/var/folders/5x/nnnv57y96p560w4gsg7s8g940000gn/T/nix-binary-tarball-unpack.XXXXXXXXXX.Ej4CeXLf'... % Total %
<ascj09> Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed100 26.6M 100 26.6M 0 0 9829k 0 0:00:02 0:00:02 --:--:-- 9825kNote: a multi-user installation is possible. See https://nixos.org/nix/manual/#sect-multi-user-installationperforming a single-user
<ascj09> installation of Nix...copying Nix to /nix/store............................................./var/folders/5x/nnnv57y96p560w4gsg7s8g940000gn/T/nix-binary-tarball-unpack.XXXXXXXXXX.Ej4CeXLf/unpack/nix-2.3.10-x86_64-darwin/install: line 174: /nix/store/8c98r6zlwn2d40qm7jnnrr2rdlqviszr-nix-2.3.10/bin/nix-store: Bad CPU type in
<ascj09> executable/var/folders/5x/nnnv57y96p560w4gsg7s8g940000gn/T/nix-binary-tarball-unpack.XXXXXXXXXX.Ej4CeXLf/unpack/nix-2.3.10-x86_64-darwin/install: unable to register valid paths
<shapr> I prefer declarative cause it's easier to reuse.
<shapr> I'm against nix-env use (for myself at least).
blueberrypie has quit [Quit: leaving]
blueberrypie has joined #nixos
<shapr> for commands I rarely use, I do: nix-shell -p unzip
<shapr> though I do wish I knew how to get my familiar zsh and ~/.zshrc in a nix-shell
joesventek has joined #nixos
blueberrypie has quit [Client Quit]
<Vq> I'm the same way. I love the isolation of running things in their own nix-shells. I also haven't cracked the zsh in nix-shell nut yet. :)
blueberrypie has joined #nixos
joesventek has quit [Client Quit]
meh` has quit [Ping timeout: 240 seconds]
growpotkin has joined #nixos
joesventek has joined #nixos
rb2k has joined #nixos
joesventek has quit [Client Quit]
malook has joined #nixos
<ascj09> Specific issue after running with deamon flag: ---- sudo execution ------------------------------------------------------------I am executing: $ sudo /nix/store/8c98r6zlwn2d40qm7jnnrr2rdlqviszr-nix-2.3.10/bin/nix-store --load-dbto load data for the first time in to the Nix Databasesudo: unable to execute
<ascj09> /nix/store/8c98r6zlwn2d40qm7jnnrr2rdlqviszr-nix-2.3.10/bin/nix-store: Bad CPU type in executable---- oh no! --------------------------------------------------------------------Jeeze, something went wrong. If you can take all the output and openan issue, we'd love to fix the problem so nobody else has this issue.:(We'd love to help if you need it.If
<ascj09> you can, open an issue at https://github.com/nixos/nix/issuesOr feel free to contact the team, - on IRC #nixos on irc.freenode.net - on twitter @nixos_org
rb2k has joined #nixos
rb2k has quit [Changing host]
<rb2k> ,channels
<{^_^}> Largest Nix channels: #nixos, #nixos-dev, #nixos-chat, #nixos-aarch64, #nixos-security, #nixcon, #nixos-officehours, #nixops, #haskell.nix, #nix-darwin, #nixos-de, #nixos-emacs, #nixos-on-your-router, #nixos-nur, #nix-lang, #nixos-fr, #nixos-systemd, #nixos-borg, #nixos-wiki
veleiro has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #107102 → libmodulemd: Enable darwin support. → https://git.io/JLlex
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JLuDJ
dstzd has joined #nixos
<{^_^}> [nixpkgs] @ajs124 opened pull request #107218 → glusterfs: 7.6 -> 8.3 → https://git.io/JLuD0
dstzd has quit [Remote host closed the connection]
domogled has quit [Ping timeout: 256 seconds]
muffinpuffin has joined #nixos
cosimone has joined #nixos
neiluj has joined #nixos
neiluj has joined #nixos
<Cadey> how do you disable user-level nix installations for specific users?
sangoma has quit [Ping timeout: 264 seconds]
nature has quit [Ping timeout: 246 seconds]
<rb2k> flokli hi btw :) (it's me, Marc)
nikivi has joined #nixos
nikivi has quit [Client Quit]
malook has quit [Quit: malook]
cosimone has quit [Quit: cosimone]
<{^_^}> [nixpkgs] @vq closed pull request #107176 → Add/lxi tools → https://git.io/JLR68
* DigitalKiwi knows a few marcs
muffinpuffin has quit [Ping timeout: 245 seconds]
<rb2k> The "c" is important. Having grown up in "Deutsche Mark" Germany, all the "should we call you "Euro" now?" jokes semi backfired.
strikerlulu has joined #nixos
ddellacosta has joined #nixos
<rb2k> Either way, I met flokli when he visited Facebook and he gave me the confidence (and liquor) to try switching our datacenter macs to use nix to install 3rd party packages. We actually use nix to build and package the resulting store directories as RPMs (for now).
<rb2k> and that naturally also makes its way onto the developer laptops (custom prefix)
<rb2k> so nix on darwin just got a few 10k more unsuspecting users :)
<Ke> how does nix on macos work these days?
<rb2k> surprisingly well :)
<rb2k> we had dozens of homebrew packages (also deployed as RPMs on macs) and migrated all of them over
<rb2k> And I'm working on some more that weren't supported yet ( https://github.com/NixOS/nixpkgs/pulls?q=is%3Apr+author%3Arb2k+ )
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #105379 → tests.buildRustCrate: Fix after hashing method change → https://git.io/JkpmJ
<{^_^}> [nixpkgs] @Ericson2314 pushed 3 commits to master: https://git.io/JLu9J
<rb2k> It will be HUGELY helpful when we do the switch to ARM/Apple Silicon
<{^_^}> [nixpkgs] @Ericson2314 pushed 0 commits to fix-buildRustCrateTests: https://git.io/JLu9T
<rb2k> and even the ability to have different versions of packages installed for different CI jobs is great
<rb2k> I'll have to write a blog post over the next few days to give it a bit more publicity
joesventek has joined #nixos
joesventek has quit [Client Quit]
<DigitalKiwi> rb2k: lol my brother is named mark but i was thinking of risson
joesventek has joined #nixos
<DigitalKiwi> rb2k: nice. one of my first major nixpkgs contributions was ocrmypdf that i had to get from homebrew when i still had macos on here
domogled has joined #nixos
<DigitalKiwi> took me a few months to do it :( and i'd already converted the only pdf i needed to >.>
joesventek has quit [Client Quit]
joesventek has joined #nixos
<{^_^}> [nixpkgs] @doronbehar closed pull request #93418 → libsForQt5.qtutilities: 6.0.6 -> 6.2.0 → https://git.io/JJnlp
<rb2k> DigitalKiwi ha :) Yeah, it's helpful that I have thousands of these machines and I really wanted to get away from brew
<lukegb> rb2k: hah, that's amazing
<rb2k> we still don't have binary caches set up for our builds, so they take hours
<rb2k> and we still wrap it in RPMs afterwards
<rb2k> but hey, it's a start
<DigitalKiwi> i'm trying to get all of my packages that can support darwin to support darwin
<Fare> rb2k, I found cachix easy to setup, if it suits your constraints.
<DigitalKiwi> yeah cachix
<rb2k> yeah, the main problem here is the distribution between datacenters, syncing the repos across etc
<DigitalKiwi> <3 cachix
<DigitalKiwi> domenkozar[m]++
<{^_^}> domenkozar[m]'s karma got increased to 35, it's a crit!
<Fare> rb2k: how do you wrap nix stuff into RPMs?
<rb2k> we build a thing called nix2rpm. Basically we use the dependency knowledge that nix has and then just recursively iterate through
<rb2k> 1 dependency = 1 rpm
<{^_^}> [nixpkgs] @primeos pushed to master « lf: 17 -> 18 »: https://git.io/JLuHD
<Fare> rb2k, and it still installs in /nix/store ?
<rb2k> yup!
<Fare> rb2k: but with links in /usr/bin/ ?
<rb2k> well, /opt/facebook/nix/store
<rb2k> so THAT we don't do yet
<Fare> faceook?
<rb2k> we have a chef helper that does some symlinking
dstzd has joined #nixos
kirelagin has quit [Ping timeout: 260 seconds]
<rb2k> (my employer)
<Fare> Good to know they have a clue
<rb2k> I didn't want it to collide with people's personal nix installation on developer laptops
<rb2k> that mistake was made with brew
kirelagin has joined #nixos
<Fare> They seem to understand programming languages better than Google.
nikivi has joined #nixos
<DigitalKiwi> get facebook to give domenkozar[m] lots of money for cachix then ;D
<Fare> rb2k: shouldn't hashes prevent clashes already? Or, do you mean, you install your own nix daemon?
<flokli> I think they don't install the nix daemon
<rb2k> DigitalKiwi that's my next step after a blogpost :P Not sure how that works internally, but I'll try to see
<rb2k> yeah, so far it's PURE rpm
<flokli> But just use rpms as a way to manifest nix store paths
<rb2k> as I said, it's weird
<flokli> Yes ;-)
<rb2k> it will cause issues in the future with 'garbage collection'
<rb2k> but maybe by then I can push it far enough to 'just' use nix
<{^_^}> [nixpkgs] @matthiasbeyer opened pull request #107220 → ugrep: 3.0.6 -> 3.1.0 → https://git.io/JLuQs
<{^_^}> [nixpkgs] @matthiasbeyer opened pull request #107221 → abcmidi: 2020.11.07 -> 2020.12.10 → https://git.io/JLuQn
<rb2k> we have a lot of tooling around RPMs that makes them a very easy first target (caching, distribution across DCs, vulnerability scans, ...)
doronbehar has joined #nixos
<rb2k> but once we have the 'continuously building' part going, that is probably next
<rb2k> one thing I also wanted to make sure is that we're upstream first
<rb2k> so all the various derivations will end up in master and our tooling supports to package and rpm right after the merge to master
<DigitalKiwi> https://cachix.org/
<rb2k> the problem with the cache.nixos.org binary cache is that we have a custom prefix
<rb2k> but cachix was the one I looked into
<rb2k> should be doable, not too much work
<rb2k> either way, time for lunch her on the westcoast :) nice chatting with you all
ascj09 has quit [Ping timeout: 245 seconds]
<DigitalKiwi> that nh2 one is just nginx i think you should be able to make it handle a different prefix
<doronbehar> Is there something wrong with ofborg? It won't respond when I cc it and it won't run it's usual checks upon PRs: https://github.com/NixOS/nixpkgs/pull/97177
<{^_^}> #97177 (by r-ryantm, 15 weeks ago, open): intel-compute-runtime: 20.33.17675 -> 20.34.17727
nature has joined #nixos
<DigitalKiwi> error: while evaluating the attribute 'constituents' of the derivation 'nixpkgs-20.09pre999999.c695c6d' at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/packet-spot-eval-1/pkgs/build-support/trivial-builders.nix:7:7:
Darkmatter66 has joined #nixos
<{^_^}> [nixpkgs] @erictapen opened pull request #107222 → tlslite-ng: 0.7.5 -> 0.7.6 → https://git.io/JLu71
nature has quit [Ping timeout: 240 seconds]
<pinpox> What is the best way to define some own packages to be able to install them in my configuration.nix? I'm using flakes for my config, can I just create a /packages subdirectory and put them there?
<pinpox> E.g. this derivation I'm building for mmonit https://termbin.com/9rsp where would I put it in my configuration repository (github.com/pinpox/nixos) ?
ocharles is now known as ocharles_bot
<{^_^}> [nixpkgs] @markuskowa opened pull request #107223 → quantum-espresso: 6.5 -> 6.6 → https://git.io/JLu54
ocharles_bot is now known as ocharles
<{^_^}> [nixpkgs] @petabyteboy opened pull request #107224 → xonotic: fix desktop item → https://git.io/JLu5a
ezioedithore has quit [Ping timeout: 240 seconds]
nature has joined #nixos
bocephus607 has joined #nixos
Fafnir[m] has left #nixos ["User left"]
<DigitalKiwi> i think craige uses a directory named `roles` for his nixops repo i have used `modules` a lot
strikerlulu has quit [Ping timeout: 240 seconds]
<DigitalKiwi> but my 'modules' are usually things i share on different machines and the machine specific configs are in `hosts`
malook has joined #nixos
malook has quit [Client Quit]
<Cadey> how do i change the homedir template on NixOS?
<shapr> How do I get zsh with my ~/.zshrc loaded when I use `nix-shell -p whatever` ?
ezioedithore has joined #nixos
<DigitalKiwi> pinpox: i found this helpful for ideas https://github.com/jonaswouters/nixos-configuration i found it after i'd already started heading that way
cosimone has joined #nixos
<pinpox> DigitalKiwi: Thanks for the link! I've also just found this repo, that is quite easy to understand https://github.com/mneudert/configuration.nix/blob/master/hosts/cubicle/custom-packages.nix
acarrico has joined #nixos
ManiacOfMadness has joined #nixos
proofofkeags has joined #nixos
knupfer1 has joined #nixos
knupfer1 is now known as knupfer
<pinpox> DigitalKiwi: But it seems if I'm using flakes I should use the overlay feature of flakes, can't find much examples though
<pushqrdx> is there a way i can use this without upgrading https://github.com/NixOS/nixpkgs/pull/99176
<{^_^}> #99176 (by Ericson2314, 11 weeks ago, merged): meson: Remove propagated native C compiler
<pushqrdx> i need to use this patched version of meson
<pushqrdx> but i don't wanna upgrade
maxfield has joined #nixos
<pushqrdx> i wonder if i reassigned the depsHostHostPropagated in an overlay if that would do the trick
terlars has joined #nixos
cosimone has quit [Quit: cosimone]
cosimone has joined #nixos
marusich has joined #nixos
<terlars> Does anyone have experience with packaging a meson project with subproject with nix? Is this solved somehow, or is this uncharted territory? It seems the subproject will be pulled down at build time which of course doesn’t work since network traffic is not allowed.
spinus has quit [Quit: Connection closed]
<simpson> terlars: You will probably have to package the subproject on its own, and then patch the superproject to not pull its own copy.
xcmw has joined #nixos
<{^_^}> [nixpkgs] @maxeaubrey opened pull request #107225 → tomb: 2.8 -> 2.8.1 → https://git.io/JLuAp
<terlars> simpson: thank you, that was what I had thought about as well, unfortunately, I am not that familiar with meson, but I guess I just have to read up on it a bit to figure out where I can drop in these dependencies for them to be found
nature has quit [Ping timeout: 240 seconds]
lgcl has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @viric pushed to master « frogatto: update to latest master and fix build »: https://git.io/JLux0
CptCaptain has joined #nixos
nature has joined #nixos
<{^_^}> [nixpkgs] @maxeaubrey opened pull request #107226 → 20.09 tomb → https://git.io/JLuxy
maxfield has quit [Ping timeout: 260 seconds]
riksteri has quit [Quit: riksteri]
neiluj has quit [Quit: leaving]
veleiro has quit [Read error: Connection reset by peer]
leotaku_ has joined #nixos
leotaku has quit [Ping timeout: 260 seconds]
pjm2154 has joined #nixos
pjm2154 has left #nixos [#nixos]
<viric> what would make pulseaudio not be started automatically for a user?
<viric> all works if I start it manually from a console of that user
bocephus607 has quit [Quit: Leaving]
asbachb has joined #nixos
davidv7 has joined #nixos
<asbachb> I wonder if there's a bug for that failing unstable build?
SomeoneSerge has joined #nixos
ezioedithore has quit [Quit: ZNC 1.8.1 - https://znc.in]
ezioedithore has joined #nixos
zeta_0 has joined #nixos
<zeta_0> hello there, I copied this nix code: https://raw.githubusercontent.com/NixOS/nixpkgs/29527cc4f400375d10fce89a92e0a45d24731872/pkgs/development/tools/jdt-language-server/default.nix , in a file called: java-lsp.nix, but when I try to call it in my shell.nix it throws a type error? do I need to use callPackage instead? https://dpaste.org/Z5QT
zeta_0 has quit [Quit: rcirc on GNU Emacs 27.1]
asbachb has quit [Ping timeout: 245 seconds]
knupfer has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @vbgl pushed to master « ocamlPackages.ppxlib: fix evaluation »: https://git.io/JLzUQ
<pushqrdx> apparently just by creating a meson overylay that removes the propagated gcc dependency, i triggered a near system wide rebuild of pretty much every shell i go into
<{^_^}> [nixpkgs] @vq opened pull request #107227 → Add/lxi tools → https://git.io/JLzTi
<{^_^}> [nixpkgs] @clkamp opened pull request #107228 → i3lock-color: reenable all platforms → https://git.io/JLzkt
lord| has quit [Ping timeout: 246 seconds]
lord| has joined #nixos
tomismyname has left #nixos [#nixos]
marusich has quit [Ping timeout: 260 seconds]
philr_ has joined #nixos
nature has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @edwtjo pushed 3 commits to master: https://git.io/JLzIL
<{^_^}> [nixpkgs] @edwtjo closed pull request #106055 → jetbrains: updates → https://git.io/JICWS
<{^_^}> [nixpkgs] @alyssais merged pull request #106663 → autoconf: 2.69 -> 2.70 → https://git.io/JIoSW
<{^_^}> [nixpkgs] @alyssais pushed 60 commits to staging: https://git.io/JLzIK
p01ar_ has quit [Quit: ZNC 1.7.3 - https://znc.in]
tetdim has quit [Quit: ZNC 1.7.3 - https://znc.in]
p01ar has joined #nixos
tetdim has joined #nixos
__monty__ has quit [Quit: leaving]
<{^_^}> Channel nixos-20.09-small advanced to https://github.com/NixOS/nixpkgs/commit/7d57790bc12 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-20.09-small)
zeta_0 has joined #nixos
<{^_^}> [nixpkgs] @prusnak merged pull request #107220 → ugrep: 3.0.6 -> 3.1.0 → https://git.io/JLuQs
<{^_^}> [nixpkgs] @prusnak pushed 2 commits to master: https://git.io/JLzLG
<{^_^}> [nixpkgs] @clkamp opened pull request #107229 → haskellPackages.taffybar: Mark as unbroken → https://git.io/JLzL4
<zeta_0> if anyone could help fix this nix issue, thanks in advance! https://www.reddit.com/r/NixOS/
SomeoneSerge has quit [Quit: WeeChat 3.0]
<colemickens> respectfully, taking the time to fix the formatting in your reddit post would go a long way towards getting more answers
<colemickens> You might also try https://discourse.nixos.org as a support channel as well.
<{^_^}> [nixpkgs] @vbgl pushed commit from @sternenseemann to master « ocamlPackages.js_of_ocaml*: 3.7.0 -> 3.8.0 »: https://git.io/JLzL9
<{^_^}> [nixpkgs] @vbgl closed pull request #106343 → ocamlPackages.js_of_ocaml*: 3.7.0 -> 3.8.0 → https://git.io/JI0mY
faffolter has quit [Remote host closed the connection]
<zeta_0> colemickens: ok, the terminal error looks fine, but the shell.nix code looks messed up, so how do you format nix code in reddit?
p01ar has quit [Quit: ZNC 1.7.5 - https://znc.in]
tetdim has quit [Quit: ZNC 1.7.5 - https://znc.in]
sheeldotme has joined #nixos
p01ar has joined #nixos
tetdim has joined #nixos
<sheeldotme> Does anyone know how to get grub to boot with a tmpfs root? I get this error: "grub-install: error: failed to get canonical path of `tmpfs'."
strikerlulu_ has joined #nixos
<{^_^}> [nixpkgs] @prusnak merged pull request #107228 → i3lock-color: reenable all platforms → https://git.io/JLzkt
<{^_^}> [nixpkgs] @prusnak pushed 2 commits to master: https://git.io/JLzqQ
<zeta_0> even when I try to manually format the nix code in reddit it still comes out all messed up, 4 spaces and backticks are not working either?
ezioedithore has quit [Ping timeout: 240 seconds]
<zeta_0> it's probably something simple that i'm missing, I was reddit able to automatically format code.
<sheeldotme> ah, looks like my issue already has a ticket https://github.com/NixOS/nixpkgs/issues/94210
<{^_^}> #94210 (by nrdxp, 20 weeks ago, open): install-grub.pl fails when / is tmpfs
<{^_^}> [nixpkgs] @prusnak merged pull request #107224 → xonotic: fix desktop item → https://git.io/JLu5a
<{^_^}> [nixpkgs] @prusnak pushed 2 commits to master: https://git.io/JLzmR
<colemickens> zeta_0: you can surround it with triple backticks like on GH, I think? if it still does markdown?
Darkmatter66 has quit [Quit: ZNC 1.7.5 - https://znc.in]
<{^_^}> [nixpkgs] @git-machete-intellij-plugin-bot opened pull request #107230 → gitAndTools.git-machete: 2.15.7 -> 2.15.9 → https://git.io/JLzm5
<sss2> patagonicus, thx, that hack with pre/post commands worked somehow
gustavderdrache has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @timokau closed pull request #70474 → [WIP] sage: 8.9 -> 9.0, switch to python3 → https://git.io/JeCYF
fendor has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @0x4A6F opened pull request #107231 → dasel: 1.9.1 -> 1.10.0 → https://git.io/JLzOe
<{^_^}> [nixpkgs] @flokli merged pull request #107104 → librepo: add darwin support → https://git.io/JLlTC
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JLzOv
OneLegend has joined #nixos
Fare has quit [Ping timeout: 260 seconds]
<zeta_0> colemickens: triple backticks is not working either, oh well.
<{^_^}> [nixpkgs] @maxeaubrey closed pull request #107226 → [20.09] tomb: 2.7 -> 2.8.1 → https://git.io/JLuxy
<colemickens> idk reddit bad
<zeta_0> ya, i'd just paste a link to a pastebin in reddit, but pastebins expire.
noudle has quit []
fooker has quit [Ping timeout: 272 seconds]
<zeta_0> I give up for now, thanks for the help, later!
zeta_0 has quit [Quit: rcirc on GNU Emacs 27.1]
a-h has joined #nixos
CptCaptain has quit [Quit: WeeChat 2.9]
fooker has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 27.1)]
noonien has quit [Quit: Ping timeout (120 seconds)]
<a-h> Hey folks, I want to build the same environment I run on my Mac in a Docker container. I have a configuration file (https://github.com/a-h/dotfiles/blob/master/.nixpkgs/darwin-configuration.nix) and I'm trying to get it to work in https://hub.docker.com/r/nixos/nix/
coderobe has quit [Quit: Ping timeout (120 seconds)]
kcalvinalvin has quit [Ping timeout: 240 seconds]
noonien has joined #nixos
<a-h> I was expecting the Docker container to be NixOS, but it's actually just an alpine image with the Nix package manager installed into it.
coderobe has joined #nixos
Negher has quit [Quit: Leaving ...]
kcalvinalvin has joined #nixos
<a-h> So I can't just do nix-rebuild. Is it possible to build a Docker image that reflects my standard environment this way?
Negher has joined #nixos
yagoham has quit [Ping timeout: 240 seconds]
yagoham has joined #nixos
rajivr has joined #nixos
<a-h> I can see that it's possible to use the Nix package manager to set up an environment with a name - https://nixos.org/manual/nixpkgs/stable/#sec-modify-via-packageOverrides
ToxicFrog has joined #nixos
<a-h> But it seems to be a totally different syntax.
<{^_^}> [nixpkgs] @erictapen opened pull request #107232 → [20.09] qutebrowser: 1.13.1 -> 1.14.1 → https://git.io/JLzG8
<a-h> Well, not that different, but it means having two files for different purposes.
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/a105609c5e1 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<a-h> I was really just hoping for a NixOS Docker image that I could add my /etc/nixos/configuration.nix file to and it would just work.
Rusty1 has joined #nixos
<a-h> My use case is that I want an easy way to create a Docker environment that's the same as my desktop computer.
<a-h> Any ideas?
ddellacosta has quit [Ping timeout: 260 seconds]
jmeredith has quit [Quit: Connection closed for inactivity]
<infinisil> a-h: NixOS (or any other distro) can't be run in docker
<infinisil> Mainly because it doesn't have anything like systemd
<infinisil> Docker is really just for single processes
<simpson> And even overcoming that, Nix on Darwin is not NixOS; AFAIK it's not possible to directly reuse the same configuration.nix for both.
<infinisil> Yeah that too
AmandaC has quit [Quit: Toodles]
<eyJhb> Why not just run a actual virtual machine?
<a-h> @eyJhb - just because I'm already running Docker most of the time.
<a-h> I don't want to waste more RAM, also I was hoping to make a Docker Dev Container for VS Code based on the same configuration.
<a-h> infinisil - given that I can run a Ubuntu distro, or Alpine distro, I thought there might be something similar.
<sphalerite> Ericson2314: that ia64 thing was pretty great, wasn't it? :p
<a-h> Or rather, a Ubuntu docker image that has the user space etc.
AmandaC has joined #nixos
<a-h> I have installed the VM, but it was a bit of a pain.
<a-h> Looks like I can get most of where I want to be (for now) by installing home-manager and modifying my Darwin config a bit.
<a-h> Replacing "environment" with "home" for most of the variables.
<a-h> environment.packages -> home.packages
<pushqrdx> will garbage collection mess older generations?
m0rphism has quit [Quit: WeeChat 2.7.1]
<energizer> pushqrdx: yes