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
<infinisil> DigitalKiwi: Well what did you try
Rusty1 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #104435 → python37Packages.sshtunnel: 0.2.2 -> 0.3.1 → https://git.io/Jk2Km
hlisp has joined #nixos
karuk has joined #nixos
jbox has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #104434 → python37Packages.google_cloud_storage: 1.32.0 -> 1.33.0 → https://git.io/Jk2we
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python37Packages.google_cloud_storage: 1.32.0 -> 1.33.0 »: https://git.io/Jk2K2
hlisp has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @danielfullmer opened pull request #104436 → zerotierone: 1.4.6 -> 1.6.0 → https://git.io/Jk2Ki
ZaraChimera has quit [Quit: WeeChat 2.8]
zecnate has quit [Remote host closed the connection]
karuk has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @jonringer merged pull request #104435 → python37Packages.sshtunnel: 0.2.2 -> 0.3.1 → https://git.io/Jk2Km
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python37Packages.sshtunnel: 0.2.2 -> 0.3.1 »: https://git.io/Jk2K5
<DigitalKiwi> infinisil: i'm about to try giving up after an hour and a half
<DigitalKiwi> i got irc-core to build anyway...
<DigitalKiwi> but happy_1_19_1 is broken
<DigitalKiwi> and it won't let me jailbreak that?
<DigitalKiwi> config-value needs that
orivej has joined #nixos
<DigitalKiwi> and matterhorn gave an infinite recursion when i tried whatever i tried
growpotk- has joined #nixos
<infinisil> Maybe you want to try updating whatever package you need to work with the latest ghc
<infinisil> Usually they don't require big changes
<infinisil> If any ata ll
zakame has quit [Ping timeout: 246 seconds]
<DigitalKiwi> matterhorn = doJailbreak pkgs.haskell.packages.ghc884.matterhorn;
zakame has joined #nixos
iH8c0ff33 has joined #nixos
cosimone has joined #nixos
supersandro2000 has quit [Quit: The Lounge - https://thelounge.chat]
supersandro2000 has joined #nixos
growpotk- has quit [Ping timeout: 240 seconds]
iH8c0ff33 has quit [Ping timeout: 256 seconds]
julm has quit [Quit: Reconnecting]
julm has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #104437 → python37Packages.snowflake-connector-python: 2.3.5 -> 2.3.6 → https://git.io/Jk2ii
<{^_^}> [nixpkgs] @jonringer merged pull request #104428 → massif-visualizer: migrate to Qt5.15 → https://git.io/Jk22h
<{^_^}> [nixpkgs] @jonringer pushed commit from @freezeboy to master « massif-visualizer: migrate to Qt5.15 »: https://git.io/Jk2iH
jbox has joined #nixos
<{^_^}> [nixpkgs] @freezeboy opened pull request #104438 → kstars: migrate to Qt5.15 → https://git.io/Jk2Pf
<jared-w> If I just run nixos-rebuild switch, it borks because it tries to build /nix/store/6ml2yqk6brk3fshsp3ydc3r09jbi62iv-gst-plugins-bad-1.18.0.drv which is broken. But if I go into the nix repl for the exact same nixos-unstable commit, the derivation corresponding to gst_all_1.gst-plugins-bad is /nix/store/q938zvyvn89y1bzdfqxgv9i847rgr0iy-gst-plugins-bad-1.18.0.drv which works
<{^_^}> [nixpkgs] @lovesegfault opened pull request #104439 → pythonPackages.psycopg2cffi: init at 2.8.1 → https://git.io/Jk2Pt
<jared-w> Am I going crazy? I'm not quite sure what could cause that type of situation.
zupo has joined #nixos
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 256 seconds]
mbrgm_ is now known as mbrgm
sss2 has joined #nixos
MasseR has quit [Ping timeout: 256 seconds]
supersandro2000 has quit [Disconnected by services]
supersandro2000 has joined #nixos
Soo_Slow has quit [Read error: Connection reset by peer]
MasseR has joined #nixos
Soo_Slow has joined #nixos
veleiro has quit [Read error: Connection reset by peer]
iH8c0ff33 has joined #nixos
veleiro has joined #nixos
<supersandro2000> jared-w: maybe something is overwriting it somewhere?
werner291 has quit [Quit: werner291]
<supersandro2000> are you using flakes or channel? Maybe you are not on the commit you thought you are
<jared-w> I think I found the issue. If I did, I'm going to feel pretty silly about it.
<jared-w> No channel, I had an update script that essentially wraps nixos-rebuild with -I to point directly to the pinned nixpkgs so that everything is guaranteed hermetic and I don't rely on the nix path
<jared-w> Of course, that only works if the script dynamically gets the correct nixpkgs rather than statically doing it by substituting in with string interpolation...
iH8c0ff33 has quit [Ping timeout: 260 seconds]
bitmapper has quit [Quit: Connection closed for inactivity]
<jared-w> Which is certainly an oversight considering I have fixed this exact bug before and somehow reintroduced it. Pffh
<{^_^}> [nixpkgs] @jonringer merged pull request #104437 → python37Packages.snowflake-connector-python: 2.3.5 -> 2.3.6 → https://git.io/Jk2ii
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python37Packages.snowflake-connector-python: 2.3.5 -> 2.3.6 »: https://git.io/Jk2XV
mahogany has quit [Quit: Konversation terminated!]
hlisp has joined #nixos
<DigitalKiwi> infinisil: i got matterhorn
<DigitalKiwi> i don't even use it that's all evils ;_;
<DigitalKiwi> still working on glirc...which i do use...i fixed it once already a week ago and now it broke again...
LnL has quit [Ping timeout: 260 seconds]
LnL has joined #nixos
hlisp has quit [Ping timeout: 264 seconds]
hlisp has joined #nixos
pushqrdx has quit [Ping timeout: 256 seconds]
hlisp has quit [Ping timeout: 256 seconds]
bbarker has joined #nixos
noudle has quit []
<jared-w> ah yep, I am just dumb and was passing the wrong nixpkgs to nixos-rebuild. Yey
jonatanb has joined #nixos
<jared-w> DigitalKiwi: have you ever thought about rewriting glirc in rust so that the haskell ecosystem churn in nixpkgs doesn't constantly break it? :p
justanotheruser has quit [Ping timeout: 240 seconds]
jonatanb has quit [Ping timeout: 240 seconds]
oxalica has joined #nixos
Soo_Slow has quit [Quit: Soo_Slow]
Maxdamantus has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @freezeboy opened pull request #104440 → mellowplayer: migrate to Qt5.15 → https://git.io/Jk2DB
<{^_^}> [nixpkgs] @r-ryantm opened pull request #104441 → python37Packages.gtts: 2.1.2 -> 2.2.1 → https://git.io/Jk2D6
growpotk- has joined #nixos
kaziemazie[m] has joined #nixos
Lord_of_Life has joined #nixos
Lord_of_Life_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @freezeboy opened pull request #104442 → heaptrack: migrate to Qt5.15 → https://git.io/Jk2D9
justanotheruser has joined #nixos
rajivr has joined #nixos
<DigitalKiwi> jared-w: no i try not to think about rust
<DigitalKiwi> haskell4lyfe
<DigitalKiwi> i'm going to start sending peter an invoice every time he breaks me at this rate though ;_;
<DigitalKiwi> for counseling
<rogerr> if i don't want kbfsfuse and keybase to always be running, and only run when i run keybase-gui, i install pkgs.kbfs/keybase/keybase-gui then run kbfsfuse service & keybase service & keybase-gui. it kinda works but i can make it better right?
bbarker has quit [Remote host closed the connection]
bbarker has joined #nixos
ris has quit [Ping timeout: 256 seconds]
<DigitalKiwi> copying path '/nix/store/ik69l2b5y2fkxh2fwdfmxi43gld5nhhc-config-value-0.8' from
<DigitalKiwi> nice! another one down...
stree has quit [Quit: Caught exception]
stree has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #104443 → python37Packages.gidgethub: 4.1.1 -> 4.2.0 → https://git.io/Jk2yr
sigmundv_ has joined #nixos
bbarker has quit [Remote host closed the connection]
bbarker has joined #nixos
sigmundv has quit [Ping timeout: 246 seconds]
eoli3n_ has quit [Ping timeout: 240 seconds]
bbarker has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @magnetophon opened pull request #104444 → bottom: 0.4.7 -> 0.5.0 → https://git.io/Jk2Sc
<DigitalKiwi> copying path '/nix/store/clzapm3hjccd6fnykbck9vfr2ywn1m1x-glirc-2.37' from
<DigitalKiwi> boom
Morfio has quit [Quit: This computer has gone to sleep]
jbox has quit [Quit: WeeChat 2.9]
<{^_^}> [mobile-nixos] @samueldr opened pull request #241 → xiaomi-begonia: Don't rely on bundled dtc_overlay → https://git.io/Jk2S7
<{^_^}> [nixpkgs] @r-ryantm opened pull request #104445 → python37Packages.google_cloud_bigtable: 1.5.1 -> 1.6.0 → https://git.io/Jk2S5
growpotk- has quit [Ping timeout: 246 seconds]
gxt has quit [Quit: WeeChat 2.9]
hnOsmium0001 has quit [Quit: Connection closed for inactivity]
acarrico has quit [Ping timeout: 260 seconds]
cosimone_ has joined #nixos
<{^_^}> [nixpkgs] @mweinelt merged pull request #88822 → pim6sd: init at unstable-2019-05-31 → https://git.io/JfVqU
<{^_^}> [nixpkgs] @mweinelt pushed 2 commits to master: https://git.io/Jk29E
<{^_^}> [nixpkgs] @freezeboy opened pull request #104446 → jamomacore: remove as unmaintained → https://git.io/Jk29u
hnOsmium0001 has joined #nixos
Morfio has joined #nixos
CcxWrk has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @freezeboy opened pull request #104447 → iannix: 2016-01-31 -> 0.9.20-b → https://git.io/Jk291
cosimone_ has quit [Quit: cosimone_]
CcxWrk has joined #nixos
pushqrdx has joined #nixos
gxt has joined #nixos
<DigitalKiwi> is there a way to relax the bounds for a haskell-build-tools https://github.com/glguy/config-value/blob/master/config-value.cabal#L50
h0m1 has quit [Ping timeout: 272 seconds]
CcxWrk has quit [Client Quit]
<DigitalKiwi> i'm not even sure if i'm allowed to solve it the way i did
CcxWrk has joined #nixos
Emantor has quit [Quit: ZNC - http://znc.in]
h0m1 has joined #nixos
Emantor has joined #nixos
cr4y1 has quit [Ping timeout: 260 seconds]
<DigitalKiwi> i don't like the red lines it puts on if the file isn't a valid expression ;_;
<DigitalKiwi> and i can nixpkgs-fmt it! :D
Maxdamantus has joined #nixos
<{^_^}> [nixpkgs] @freezeboy opened pull request #104448 → qt5: 5.15.0 -> 5.15.2 → https://git.io/Jk2Q4
<DigitalKiwi> infinisil: can i do that in nixpkgs or are they going to make me do sometthing else
<{^_^}> [nixpkgs] @r-ryantm opened pull request #104449 → python37Packages.pyexcel: 0.6.5 -> 0.6.6 → https://git.io/Jk2Qw
jonatanb has joined #nixos
<DigitalKiwi> i think the right way would be to put it in configuration-hackage2nix.yaml under default-package-overrides
<DigitalKiwi> but that's so annoying
jonatanb has quit [Ping timeout: 240 seconds]
<DigitalKiwi> err, extra-packages i think is better
<{^_^}> [nixpkgs] @anna328p opened pull request #104450 → lc3tools: init at 0.12 → https://git.io/Jk2Qj
<DigitalKiwi> it's a ~12k line file how'm i supposed to find anything :P
hlolli_ has joined #nixos
<DigitalKiwi> first person that says folding is right but you're too late
hlolli__ has quit [Ping timeout: 246 seconds]
<DigitalKiwi> how do you make a 12k line file fit on a screen? https://mostlyabsurd.com/files/2020-11-21-024105_2880x1800_scrot.png
<DigitalKiwi> and then locks up
Dotz0cat has quit [Quit: ZNC 1.7.5 - https://znc.in]
Dotz0cat has joined #nixos
<{^_^}> [nixpkgs] @mweinelt merged pull request #100257 → bees: 0.6.2 -> 0.6.3 → https://git.io/JTTpg
<{^_^}> [nixpkgs] @mweinelt pushed 3 commits to master: https://git.io/Jk27p
TimePath has joined #nixos
<alienpirate5> I think ofborg is broken
iH8c0ff33 has joined #nixos
hlolli_ has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #104451 → python37Packages.google_api_python_client: 1.12.5 -> 1.12.8 → https://git.io/Jk2dc
cosimone has quit [Quit: cosimone]
alp has quit [Ping timeout: 240 seconds]
sss2 has quit [Quit: Leaving]
<astro> hi, I'm trying to make a font package, but I can't get it to work. currently I just copy the .otf file to $out/share/fonts/opentype. fc-cache doesn't seem to find it. is there more that I need to do?
jedai42 has quit [Ping timeout: 256 seconds]
orivej has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #104452 → python37Packages.pyee: 7.0.4 -> 8.1.0 → https://git.io/Jk2bq
iH8c0ff33 has quit [Ping timeout: 256 seconds]
fresheyeball has joined #nixos
<fresheyeball> hey out there
<leo60228> i have a very strange issue
<fresheyeball> me too
<leo60228> virt-manager is failing to build in my nixos config
<leo60228> it's fine built using the cli
<leo60228> this is the exact same nixpkgs
<leo60228> i'm using flakes fwiw
<fresheyeball> I have this 8.6.5.so: ELF section name out of range
<fresheyeball> collect2: error: ld returned 1 exit status
<fresheyeball> with code that I know builds
<leo60228> (technically, not virt-manager, libosinfo and spice-gtk are both failing to build)
<fresheyeball> leo60228: what is the error
proofofkeags has joined #nixos
<leo60228> spice-gtk> meson.build:4:0: ERROR: Could not execute command "/build/spice-gtk-0.37/build-aux/git-version-gen /build/spice-gtk-0.37/.tarball-version".
<leo60228> libosinfo> [0/110] Generating osinfo_enum_types.h with a meson_exe.py custom commandninja: fatal: posix_spawn: No such file or directory
<leo60228> (there's no elaboration on either of these, btw)
iH8c0ff33 has joined #nixos
<{^_^}> [mobile-nixos] @samueldr opened pull request #242 → stage-1: Handle (physical) keyboard input → https://git.io/Jk2bj
<leo60228> system-path> install-info: Cannot allocate memory for gzip -d
<leo60228> *what*
<leo60228> i have 10GB of memory free
<leo60228> im going to try rebooting
leo60228 has quit [Quit: leaving]
boxscape has joined #nixos
boxscape has quit [Client Quit]
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
aw has joined #nixos
iH8c0ff33 has quit [Ping timeout: 240 seconds]
spacefrogg has joined #nixos
leo60228 has joined #nixos
<leo60228> still happening
<leo60228> what.
m0rphism has quit [Ping timeout: 272 seconds]
sigmundv_ has quit [Ping timeout: 240 seconds]
<leo60228> system-path issue is fixed by passing --option sandbox false to nixos-rebuild
<supersandro2000> astro: in home-manager I need to set `fonts.fontconfig.enable = true;`. maybe this helps you
fresheyeball has quit [Quit: WeeChat 2.7.1]
omneh has joined #nixos
omnipotententity has quit [Ping timeout: 260 seconds]
iH8c0ff33 has joined #nixos
jonringer has quit [Remote host closed the connection]
ddellacosta has quit [Ping timeout: 264 seconds]
Soo_Slow has joined #nixos
<{^_^}> Channel nixos-20.09-small advanced to https://github.com/NixOS/nixpkgs/commit/bdab66a95cb (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-20.09-small)
Supersonic112 has joined #nixos
Supersonic has quit [Ping timeout: 264 seconds]
Supersonic112 is now known as Supersonic
rprije has quit [Remote host closed the connection]
rprije has joined #nixos
iH8c0ff33 has quit [Ping timeout: 264 seconds]
sangoma has joined #nixos
iH8c0ff33 has joined #nixos
doriandotslash has joined #nixos
<{^_^}> [nix] @wiltaylor opened pull request #4271 → Skip Reference Check on bundler → https://git.io/Jk2jI
iH8c0ff33 has quit [Ping timeout: 256 seconds]
jedai42 has joined #nixos
orivej has joined #nixos
<astro> supersandro2000: this wasn't my issue, but that did help me find `fonts.fonts`, and I realized I put my font in the wrong place
<astro> works now, thanks
kapil_ has quit [Quit: ZNC 1.7.5 - https://znc.in]
kapil_ has joined #nixos
<{^_^}> [nixpkgs] @davegallant opened pull request #104453 → awscli2: 2.0.54 -> 2.1.3 → https://git.io/Jkavd
SanchayanMaity has joined #nixos
stoile has quit [Ping timeout: 246 seconds]
endformationage has quit [Quit: WeeChat 2.9]
proofofkeags has quit [Ping timeout: 260 seconds]
Morfio has quit [Quit: This computer has gone to sleep]
kreyren has quit [Remote host closed the connection]
gxt has quit [Remote host closed the connection]
nicoo has quit [Remote host closed the connection]
kreyren has joined #nixos
berberman_ has quit [Ping timeout: 264 seconds]
gxt has joined #nixos
berberman has joined #nixos
nicoo has joined #nixos
Soo_Slow has quit [Quit: Soo_Slow]
Morfio has joined #nixos
<DigitalKiwi> am i allowed to use callHackageDirect for things in NixOS/nixpkgs?
<{^_^}> [nixpkgs] @gnidorah closed pull request #102727 → qtcurve, kde2-decoration: fix for Qt 5.15 → https://git.io/JTNCS
<{^_^}> [nixpkgs] @redvers opened pull request #104454 → blktrace: adding patch for CVE-2018-10689 from upstream. → https://git.io/JkaTk
<{^_^}> [nixpkgs] @expipiplus1 opened pull request #104455 → nvidia_x11.vulkan_beta: 450.56.11 -> 455.46.01 → https://git.io/JkaTs
stoile has joined #nixos
<{^_^}> [nixpkgs] @endgame opened pull request #104456 → Refresh instance metadata on boot → https://git.io/JkaT1
cmk_zzz_ has joined #nixos
cmk_zzz has quit [Ping timeout: 265 seconds]
doriandotslash has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @ju1m opened pull request #104457 → Update public-inbox to 1.6.0 and add systemd services → https://git.io/Jkak0
doriandotslash has joined #nixos
jonatanb has joined #nixos
<{^_^}> [nixpkgs] @redvers opened pull request #104458 → Update botan 2.7.0 to 2.9.0 → https://git.io/Jkak7
<{^_^}> [nixpkgs] @r-ryantm opened pull request #104459 → python37Packages.flask-httpauth: 4.1.0 -> 4.2.0 → https://git.io/Jkakj
jonatanb has quit [Ping timeout: 240 seconds]
heyitsrama has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @ju1m opened pull request #104460 → Add freeciv service → https://git.io/JkaLs
Rusty1 has quit [Quit: WeeChat 2.3]
doriandotslash has quit [Quit: Leaving]
SanchayanMaity has quit [Ping timeout: 256 seconds]
SanchayanMaity has joined #nixos
johnw has quit [Quit: ZNC - http://znc.in]
<growpotkin> Can someone merge my PR before it gets stale? It's dead simple, fixes issues with google-fonts crashing Thunderbird and Emacs: #103779
<{^_^}> https://github.com/NixOS/nixpkgs/pull/103779 (by alexameen, 6 days ago, open): Separate AdobeBlank-Regular.ttf from google-fonts package, moved to google-fonts.adobeBlank
<growpotkin> It already went through review, but it's getting buried
waleee-cl has quit [Quit: Connection closed for inactivity]
veleiro has quit [Remote host closed the connection]
justanotheruser has quit [Ping timeout: 240 seconds]
SanchayanM has joined #nixos
palo1 has joined #nixos
SanchayanMaity has quit [Ping timeout: 256 seconds]
palo has quit [Ping timeout: 256 seconds]
palo1 is now known as palo
iH8c0ff33 has joined #nixos
iH8c0ff33 has quit [Ping timeout: 256 seconds]
lordcirth has quit [Ping timeout: 260 seconds]
lordcirth has joined #nixos
lordcirth has quit [Remote host closed the connection]
lordcirth has joined #nixos
growpotkin has quit [Quit: ZNC 1.8.2 - https://znc.in]
justanotheruser has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #104461 → python37Packages.mongoengine: 0.20.0 -> 0.21.0 → https://git.io/Jka3H
<danderson> hm, is there an easy way to write a string into a file in $out, within an existing derivation?
<danderson> like the various writeText derivations, but without generating an extra derivation
<danderson> Context is I'm making a pkg-config file for a library that doesn't provide its own, but requires one to link to it (it's complicated). I can easily interpolate the contents into a string, and I'd like to dump that string into $out/pkgconfig in postInstall
kalbasit has quit [Ping timeout: 256 seconds]
<siraben> danderson: you could just use shell scripting in the buildPhase
iH8c0ff33 has joined #nixos
<danderson> siraben: sure, but the escaping is a bit ick
<danderson> I guess I can make it work tho
<siraben> danderson: I think you might be able to just put it in a while in the same folder as the derivation and copy that into $out
<siraben> s/while/file
<danderson> that's what I was thinking, but I can't find the levers to do that
<danderson> ah, passAsFile apparently
<danderson> passAsFile of variable "foo" creates a fooPath envvar pointing to the file containing that var
<danderson> sweet.
Caio_HA_ has joined #nixos
<siraben> TIL, nice.
aswanson_ has quit [Ping timeout: 260 seconds]
Caio_HA_ has left #nixos [#nixos]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #104462 → python37Packages.sphinxcontrib-spelling: 5.2.2 -> 7.1.0 → https://git.io/JkaGV
iH8c0ff33 has quit [Ping timeout: 260 seconds]
<Theuni> hmm
<Theuni> does anyone know of a (simple) way to include a package in an environment but only use specific binaries or filter out unwanted ones?
<Theuni> I keep fighting against inetutils on MacOS because I need the telnet client but I don't want stuff like 'ping' to be in there because the setuid stuff doesn't work.
<danderson> hm. From within a derivation builder, can I find out the absolute store path I'm building for?
<danderson> pkgconfig files want an absolute path to lib directories and such. I can put the pkgconfig file in a separate derivation, but ideally I'd avoid that
<danderson> oh, $out is that
<danderson> oh but I can't get at $out from a nix var, bah
<siraben> Theuni: try using `--pure` when you enter nix-shell?
<Theuni> sorry, i'm talking about stuff I install into my user environment
<cole-h> You could make an overlay that takes the previous package and copies `bin/telnet` to $out and nothing else
<cole-h> Contents would probably be `cp ${prev.inetutils}/bin/telnet $out/bin/telnet` or `ln -s ....`
<cole-h> probably need to `mkdir -p $out/bin`, too
<{^_^}> [nixpkgs] @r-ryantm opened pull request #104463 → python37Packages.inflect: 4.1.0 -> 5.0.2 → https://git.io/Jkane
<siraben> What would I use `install -Dm755` vs `cp` vs `ln` for `installPhase`?
<siraben> s/What/When
<cole-h> Personal preference, probably.
<cole-h> I don't think I'd use `ln` though
<cole-h> No particular reason why.
<siraben> Hm
<siraben> How would the symlink still be valid after the build finishes?
<danderson> yesss I made it work
<cole-h> Probably wouldn't
<cole-h> But the reason my thing would (probably) work is because that package would be pulled into the story by string interpolation
<cole-h> s/story/store/
<danderson> the nix manual _seems_ to say that if you reference another derivation anywhere in a derivation's attrset, that sets up a dependency
<danderson> but that part of the manual is very hard to follow, so... shrug
iH8c0ff33 has joined #nixos
<cole-h> Yep.
<cole-h> Might not work if it was the installPhase of some derivation trying to symlink from the build environment (because the build environment is ephemeral)
FRidh has joined #nixos
cole-h has quit [Ping timeout: 240 seconds]
orivej has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @FRidh pushed 233 commits to staging-next: https://git.io/JkacH
<{^_^}> [nixpkgs] @FRidh pushed 234 commits to staging: https://git.io/JkacF
<{^_^}> [nixpkgs] @FRidh merged pull request #104174 → Staging next → https://git.io/JkR6l
<{^_^}> [nixpkgs] @FRidh pushed 59 commits to master: https://git.io/Jkacb
lordcirth has quit [Remote host closed the connection]
lordcirth has joined #nixos
lordcirth has quit [Remote host closed the connection]
lordcirth has joined #nixos
Sajesajama[m] has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #104362 → Merge staging-20.03 into release-20.03 → https://git.io/JkzPX
<{^_^}> [nixpkgs] @FRidh pushed 5 commits to release-20.03: https://git.io/JkaWL
oxalica1 has joined #nixos
oxalica has quit [Ping timeout: 272 seconds]
oxalica1 is now known as oxalica
lordcirth has quit [Remote host closed the connection]
sangoma has quit [Ping timeout: 256 seconds]
lordcirth has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #104464 → python37Packages.aioextensions: 20.11.1517005 -> 20.11.1621472 → https://git.io/Jkalk
johnw has joined #nixos
lordcirth has quit [Remote host closed the connection]
lordcirth has joined #nixos
sangoma has joined #nixos
<{^_^}> [nixpkgs] @doronbehar merged pull request #103485 → zoom-us: support alsa → https://git.io/JkLwS
<{^_^}> [nixpkgs] @doronbehar pushed 2 commits to master: https://git.io/JkalA
Morfio has quit [Quit: This computer has gone to sleep]
<{^_^}> [nixpkgs] @doronbehar closed pull request #103432 → kde2-decoration: 1.0 -> 1.1 → https://git.io/JkIyI
zupo has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #104468 → python37Packages.pytest-html: 2.1.1 -> 3.0.0 → https://git.io/Jka8D
zupo has joined #nixos
<typetetris> How comes `nixpkgs.fetchurl` is allowed to access the network within its builder.sh. How does it escape the sandbox? Is it enough, that is has an `outputHash*` attribute so the sandbox will not have disconnected network?
Morfio has joined #nixos
domogled has joined #nixos
<{^_^}> [nixpkgs] @FRidh opened pull request #104469 → python27Packages: no longer build and prefer → https://git.io/Jka4C
lordcirth__ has joined #nixos
lordcirth has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @vbgl opened pull request #104470 → ocamlPackages.rpclib: 7.0.0 → 8.0.0 → https://git.io/Jka4K
lordcirth__ has quit [Remote host closed the connection]
lordcirth__ has joined #nixos
iH8c0ff33 has quit [Ping timeout: 260 seconds]
<immae> typetetris: you’re allowed to escape the sandbox when you give in advance which hash you’ll get at the end
<immae> That’s the magic behind fetchurl (not specific to fetchurl)
<immae> So yes outputHash is the reason why it has network access
cmk_zzz_ has quit [Remote host closed the connection]
cmk_zzz has joined #nixos
jonatanb has joined #nixos
<{^_^}> [nixpkgs] @Th0rgal opened pull request #104471 → termius: 6.4.1 -> 7.1.0 → https://git.io/JkaBO
<typetetris> immae: Thanks!
eoli3n_ has joined #nixos
<typetetris> Ah its described at the sandbox option in the docs.
jonatanb has quit [Ping timeout: 256 seconds]
<Reiser> What's the reason so many option examples are given as JSON blobs in strings on the site?
dansho has joined #nixos
<Reiser> I'll find an option, and see an example as a single line json blob that I have to unravel and translate, It's odd
bpye has joined #nixos
<{^_^}> [nixpkgs] @doronbehar opened pull request #104472 → xmlsec: 1.2.30 -> 1.2.31 → https://git.io/JkaR3
dstzd has quit [Quit: ZNC - https://znc.in]
Lord_of_Life has quit [Changing host]
Lord_of_Life has joined #nixos
nikivi has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
<{^_^}> [nixpkgs] @FRidh pushed to master « nixos test-driver: fix single line docstrings, fixes #104467 »: https://git.io/JkaRw
dstzd has joined #nixos
<{^_^}> [nixpkgs] @Mic92 opened pull request #104473 → libreoffice: improve codec support → https://git.io/JkaRr
joesventek has quit [Quit: Quit]
dstzd has quit [Client Quit]
dstzd has joined #nixos
dstzd has quit [Client Quit]
joesventek has joined #nixos
dansho has quit [Quit: Leaving]
dstzd has joined #nixos
mananamenos has joined #nixos
<{^_^}> [nixpkgs] @doronbehar opened pull request #104474 → qt515.qtwebkit: unbreak :tada: → https://git.io/Jka0T
<alienpirate5> Ofborg seems to be broken and not evaluating properly? https://github.com/NixOS/nixpkgs/pull/104450
<{^_^}> #104450 (by anna328p, 6 hours ago, open): lc3tools: init at 0.12
deadpixels has joined #nixos
alp has joined #nixos
<{^_^}> [nixpkgs] @refnil opened pull request #104476 → pynac: use python3 instead of python2 → https://git.io/Jka0D
deadpixels has quit []
deadpixels has joined #nixos
<{^_^}> [nixpkgs] @toastal opened pull request #104477 → julia-mono 0.022 → 0.027 → https://git.io/Jka0F
iH8c0ff33 has joined #nixos
<deadpixels> Hi! I'm pretty new to nixOS and I have an issue with my network connection. I'm using a wired connection and directly after the first reboot everything worked fine, but when I booted up the computer this morning it can't find the network interface anymore. I'm haven't changed any network settings in configuration.nix. Does anyone have any advice on how to troubleshoot the issue?
nikivi has joined #nixos
<typetetris> A network interface disappearing? Sounds like a kernel/hardware issue. Do you use predictable interface names? (If you don't know, what it is, you are probably using it.)
<{^_^}> [nixpkgs] @FRidh pushed to master « Revert "Revert "cachix: drop the build from the release jobset"" »: https://git.io/JkaEG
<{^_^}> [nixpkgs] @Mic92 opened pull request #104478 → {gmic,digikam}: upgrade opencv → https://git.io/JkaE4
<deadpixels> most likely yes. I just ran 'networkctl list' which shows me an ether interface and tells me systemd-networkd isn't running
<deadpixels> which sounds suspicious
<{^_^}> [nixpkgs] @Mic92 opened pull request #104479 → freeoffice: 978 -> 980 → https://git.io/JkaEV
<patagonicus> deadpixels: That's not enabled by default, AFAIK. My computer also says it's not running, it's just using dhcpcd. And now I noticed that my configuration.nix doesn't even mention my interface.
sangoma has quit [Read error: Connection reset by peer]
<typetetris> Have you set `networking.useNetworkd = true` in your `/etc/nixos/configuration.nix` otherwise you can't expect networkd to be running. Look here https://search.nixos.org/options?channel=20.09&show=networking.useNetworkd&from=0&size=30&sort=relevance&query=networkd
<deadpixels> ok, but it "should work" without it right?
<typetetris> Using networkd is still considered experimental an 20.09 according to docs.
<deadpixels> by it I mean networkd
<typetetris> Yes, ofc.
<typetetris> no
<typetetris> No there is no networkd running by default on NixOS. Yes network should work. I mean my system is nixos 20.09 and I type here in chat :)
<typetetris> I just use networkmanager and `nm-applet`.
<patagonicus> If you didn't set anything in your configuration.nix, it should "just" get an address via DHCP, yes. Does `ip link` show that it's "state UP"?
supersandro2000 has quit [Quit: The Lounge - https://thelounge.chat]
<typetetris> For that I have `networking.networkmanager.enable = true` in my config.
supersandro2000 has joined #nixos
mallox has joined #nixos
<deadpixels> Ah I got it to work! In the default nixos configuration there are two outcommented lines reg networking: networking.useDHCP = false; and networking.interfaces... . I enabled those two lines for some obscure reason. WHen I commented them out and rebuilt it immediately found the network interface
<{^_^}> [nixpkgs] @dywedir merged pull request #104012 → tailscale: 1.2.6 -> 1.2.8 → https://git.io/JkCzz
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/JkauC
<typetetris> deadpixels: So root cause was that the interface name in `networking.interfaces.<whateverwashere>.useDHCP = true` didn't match your interface with the lines uncommented.
<typetetris> deadpixels: You are now using `networking.useDHCP = true` which is the default.
<deadpixels> exactly
<deadpixels> the line is networking.interfaces.enp0s3 but my listed interface is actually called enp3s0. going to try to explicitly set that and see if it works
<patagonicus> The option does say "Using this option is highly discouraged and also incompatible with networking.useNetworkd. Please use networking.interfaces.<name>.useDHCP instead and set this to false." So I think the "right" thing to do is setting it to false and setting the one for your interface to true.
<{^_^}> [nixpkgs] @vcunat pushed 3 commits to master: https://git.io/Jkau5
<{^_^}> [nixpkgs] @vcunat merged pull request #104378 → thunderbird, thunderbird-bin: 78.4.3 -> 78.5.0 [High security fixes] → https://git.io/JkgnO
<patagonicus> My guess is that, for some reason, in the installation environment the interface name was different, so the generated configuration.nix was wrong. But that doesn't explain why it worked after your first reboot (maybe a warm reboot didn't fully reset it, but a cold reboot did?).
<{^_^}> [nixpkgs] @taku0 opened pull request #104480 → [20.09] thunderbird, thunderbird-bin: 78.4.3 -> 78.5.0 [High security fixes] → https://git.io/JkauF
sangoma has joined #nixos
<deadpixels> Yesterday I did quite a few full reinstalls, most likely it only worked during the installation process.
<deadpixels> I'm quite new to this and had some issues getting EFI to work
<deadpixels> setting networking.interfaces.epn3s0.useDHCP = true worked
<typetetris> Maybe you copy and pasted the config from somewhere? The interface name should be stable on the same system, that was the whole point of the predictable interface names
<bpye> Hmm, anyone got any thoughts on how I can improve my deployment experience for a couple physical machines I manage with nixos? currently I have my config in git and I use scp and ssh to update the config remotely. The plus of this is that it's simple and I can config autoupdate on the machines which is useful for my home server, the negative is
<bpye> that it's kind of manual, just a bash script. I've tried nixops in the past but it never really worked for me, is there anything else I should give a shot?
<deadpixels> Aaah yes that's true I did. I copied it from an earlier install!
<typetetris> deadpixels: But from a different machine it has to be, maybe a VM?
seku has quit [Quit: Connection closed]
<deadpixels> yep, I set it up on virtualbox first. And it wasn't until I was on the new machine that I removed the comment from those two lines... facepalm moment
<typetetris> bpye: I know, you don't want to hear this, but try nixops again. Thats exacty its scenario.
Boomerang has joined #nixos
malook has joined #nixos
dstzd has quit [Quit: ZNC - https://znc.in]
Graypup_ has quit [Ping timeout: 272 seconds]
dstzd has joined #nixos
<{^_^}> [nixpkgs] @taku0 opened pull request #104481 → [20.03] thunderbird, thunderbird-bin: 78.4.0 -> 78.5.0 [High security fixes] → https://git.io/Jkazz
dstzd has quit [Client Quit]
dstzd has joined #nixos
<{^_^}> [nixpkgs] @thoughtpolice pushed to master « picat: enable on aarch64-linux »: https://git.io/Jkazw
nikivi has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
dstzd has quit [Client Quit]
joesventek has quit [Quit: Quit]
<{^_^}> [nixpkgs] @timokau opened pull request #104482 → maintainers: add rasking to the sage team → https://git.io/Jkaz1
nikivi has joined #nixos
joesventek has joined #nixos
Graypup_ has joined #nixos
vandenoever has joined #nixos
vandenoever has joined #nixos
<patagonicus> deadpixels: Don't worry, I've done much stupider things. :D Once you get a NixOS system running, the great thing is that you can always figure out what change made something break (for example I'm currently looking for the change in nixpkgs that is breaking mpv for me, while having the system mpv pinned to an old version that works).
medvid has quit [Ping timeout: 246 seconds]
dstzd has joined #nixos
medvid has joined #nixos
<deadpixels> yes I really like the explicit nature of it
<typetetris> Never considered using something else, since I started using it. (Just sometimes an arch vm for stuff I am too lazy to package and which goes to /opt or /usr/local.)
<deadpixels> now I just need to figure out how to setup a proper rust dev environment :D
orivej has joined #nixos
oyren[m] has joined #nixos
hnOsmium0001 has quit [Quit: Connection closed for inactivity]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<deadpixels> by the way, any idea why the networking.interfaces configuration is not part of hardware-configuration.nix?
<deadpixels> instead of in the configuration.nix file I mean
<patagonicus> I was wondering the same earlier.
<patagonicus> https://github.com/NixOS/nixpkgs/commit/5ee383ea8c31cd7c8489c2b076aac9c51f63b55c this added it and places it in configuration.nix. It doesn't say why there instead of hardware-configuration.nix. Maybe because it's something you'll likely change (if you're using static addresses) and thus you wouldn't want it to be overwritten by rerunning
<patagonicus> nixos-generate-config.
xlei has quit [Quit: ZNC - https://znc.in]
jophish has quit [Quit: WeeChat 2.4]
<deadpixels> I see, well I guess you can just extract that part of the configuration into a machine local module which your versioned configuration.nix depends onb
gulplante has joined #nixos
xlei has joined #nixos
malook has quit [Quit: malook]
jophish has joined #nixos
jD91mZM2 has quit [Quit: ZNC 1.8.1 - https://znc.in]
jD91mZM2 has joined #nixos
deadpixels has quit [Remote host closed the connection]
deadpixels has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #103789 → [20.09] slack: 4.8.0 -> 4.10.3 → https://git.io/Jk3c9
<{^_^}> [nixpkgs] @FRidh pushed commit from @JesusMtnez to release-20.09 « slack: 4.9.0 -> 4.10.3 »: https://git.io/JkarC
fendor_ has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to release-20.09: https://git.io/JkarK
fendor has quit [Ping timeout: 240 seconds]
delan has quit [Quit: ZNC - http://znc.in]
delan has joined #nixos
kreyren has quit [Remote host closed the connection]
kreyren has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed commit from @tbenst to master « opencv: allow other blas/lapack »: https://git.io/JkaoL
<{^_^}> [nixpkgs] @FRidh closed pull request #99129 → opencv: allow other blas/lapack → https://git.io/JUMKW
<{^_^}> [nixpkgs] @FRidh pushed commit from @tbenst to release-20.09 « opencv: allow other blas/lapack »: https://git.io/JkaoZ
<{^_^}> [nixpkgs] @FRidh closed pull request #70788 → Backport: ispc: do not test on the "host" target → https://git.io/JeWB8
rummik has quit [Quit: WeeChat 2.6]
<{^_^}> [nixpkgs] @FRidh merged pull request #90259 → [20.03] opencv3, opencv4: use openblasCompat → https://git.io/JfQ3t
<{^_^}> [nixpkgs] @FRidh pushed commit from @risicle to release-20.03 « opencv3, opencv4: use openblasCompat »: https://git.io/JkaoV
zupo has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #104207 → [20.03] glfw 3.3.1 -> 3.3.2 → https://git.io/Jk0nP
<{^_^}> [nixpkgs] @FRidh pushed commit from @mmilata to release-20.03 « glfw: 3.3.1 -> 3.3.2 »: https://git.io/JkaoQ
axelf4 has joined #nixos
deadpixels has quit [Remote host closed the connection]
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/6625284c397 (from 3 days ago, history: https://channels.nix.gsc.io/nixos-unstable)
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/c2967aeb05a (from 13 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
<{^_^}> Channel nixpkgs-20.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/bdab66a95cb (from 13 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.09-darwin)
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/6625284c397 (from 3 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
thblt has joined #nixos
<thblt> My very simple package update PR hasn't got any reaction in a week, anything I'm expected to fix so it can be processed, or should I just wait?  https://github.com/NixOS/nixpkgs/pull/103797 Thanks!
<{^_^}> #103797 (by thblt, 6 days ago, open): eduke32: 20190330 -> 20200907
Boomerang has quit [Ping timeout: 256 seconds]
alp has quit [Ping timeout: 272 seconds]
<thblt> FRidh: thanks!
<{^_^}> [nixpkgs] @FRidh merged pull request #103797 → eduke32: 20190330 -> 20200907 → https://git.io/Jk3BV
<{^_^}> [nixpkgs] @FRidh pushed commit from @thblt to master « eduke32: 20190330 -> 20200907 »: https://git.io/JkaiE
wnklmnn has joined #nixos
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/c2967aeb05a (from 13 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
werner291 has joined #nixos
<{^_^}> [nixpkgs] @danderson opened pull request #104484 → influxdb2: init at v2.0.2 → https://git.io/JkaXo
thblt has left #nixos ["ERC (IRC client for Emacs 27.1)"]
sss2 has joined #nixos
deadpixels has joined #nixos
rprije has quit [Ping timeout: 272 seconds]
ris has joined #nixos
rprije has joined #nixos
<{^_^}> [nixpkgs] @timokau merged pull request #104482 → maintainers: add raskin to the sage team → https://git.io/Jkaz1
<{^_^}> [nixpkgs] @timokau pushed 2 commits to master: https://git.io/JkaM1
<axelf4> Hi, I am trying to create a Nix flake for developing a Rust crate and eventually putting it in an ARM container. Is edolstra/import-cargo the way to go?
m0rphism has joined #nixos
xangri has joined #nixos
deadpixels has quit []
<{^_^}> [nixpkgs] @roberth merged pull request #104289 → nixUnstable: pre20201102_550e11f -> pre20201118_79aa7d9 → https://git.io/JkuZQ
<{^_^}> [nixpkgs] @roberth pushed 2 commits to master: https://git.io/JkayL
iH8c0ff33 has quit [Ping timeout: 264 seconds]
iH8c0ff33 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #104485 → executor: 23.1 -> 23.2 → https://git.io/Jkayu
iH8c0ff33 has quit [Ping timeout: 256 seconds]
iH8c0ff33 has joined #nixos
souseiseki has joined #nixos
souseiseki is now known as souseiseiki4
<souseiseiki4> hello
<{^_^}> [nixpkgs] @r-ryantm opened pull request #104486 → python37Packages.oauthenticator: 0.12.0 -> 0.12.1 → https://git.io/JkaS1
<souseiseiki4> is there a way to modify a NixOS module-->option in a similar way to using overlays on nix packages?
<srhb> souseiseiki4: Not really, unfortunately. you can disable the module and import your own, modified version.
gulplante has quit [Quit: WeeChat 2.7.1]
<souseiseiki4> srhb yes, I already knew that. But I hoped there might be a "fancier" way to do this
<souseiseiki4> as maintaining modified modules would be a pain then
<souseiseiki4> like given there are updates and such
<souseiseiki4> but thanks
<srhb> souseiseiki4: Unfortunately, no. Wish there was though :)
iH8c0ff33 has quit [Ping timeout: 272 seconds]
<souseiseiki4> srhb your are probably not the only one ... so as it seems with nix one just has to wait a little
<{^_^}> [nixpkgs] @snicket2100 opened pull request #104487 → firejail: fixing the 'xdg-dbus-proxy' dependency → https://git.io/Jka9H
<urkk> cmakeFlags get overriden when I set -DCMAKE_BUILD_TYPE=Debug
<urkk> I'm using mkDerivation not stdenv.mkDerivation and qt5.callPackage
<urkk> how can I enable the debug build?
lordcirth__ has quit [Remote host closed the connection]
lordcirth__ has joined #nixos
lordcirth__ has quit [Remote host closed the connection]
lordcirth__ has joined #nixos
lordcirth__ has quit [Remote host closed the connection]
xangri has left #nixos [#nixos]
neiluj has joined #nixos
neiluj has joined #nixos
neiluj has quit [Changing host]
lordcirth__ has joined #nixos
jb55 has quit [Remote host closed the connection]
jb55 has joined #nixos
lordcirth__ has quit [Remote host closed the connection]
lordcirth__ has joined #nixos
danderson has quit [Remote host closed the connection]
danderson has joined #nixos
<{^_^}> [hydra] @dasJ opened pull request #836 → Support restarting components as admin → https://git.io/Jka7C
iH8c0ff33 has joined #nixos
Morfio has quit [Quit: This computer has gone to sleep]
__monty__ has joined #nixos
ProofTechnique has quit [Read error: Connection reset by peer]
rprije has quit [Ping timeout: 260 seconds]
ProofTechnique has joined #nixos
Morfio has joined #nixos
vandenoever has quit [Read error: Connection reset by peer]
captn3m0 has joined #nixos
vandenoever has joined #nixos
vandenoever has quit [Changing host]
vandenoever has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #103360 → [staging] python39Packages: recurseintoAttrs for package set → https://git.io/JkkNO
<{^_^}> [nixpkgs] @FRidh pushed 5 commits to staging: https://git.io/JkaFk
_cyris212 has quit [Quit: ZNC 1.7.5 - https://znc.in]
vidbina has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed to staging « python27Packages: no longer build and prefer »: https://git.io/JkaFs
<{^_^}> [nixpkgs] @FRidh closed pull request #104469 → python27Packages: no longer build and prefer → https://git.io/Jka4C
thblt has joined #nixos
Lord_of_Life_ has joined #nixos
<thblt> Emacs users: Emacs can technically show the source code of C functions that are exposed to elisp. NixOS emacs derivation already packages the Elisp source code along with Emacs itself, do you think it would make sense to bundle the C source as well?
cyris212 has joined #nixos
Lord_of_Life has quit [Ping timeout: 264 seconds]
Lord_of_Life_ is now known as Lord_of_Life
alp has joined #nixos
vidbina has quit [Ping timeout: 264 seconds]
ehmry has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
justanotheruser has quit [Ping timeout: 240 seconds]
wnklmnn has quit [Quit: Leaving]
werner291 has quit [Ping timeout: 240 seconds]
iH8c0ff33 has quit [Ping timeout: 240 seconds]
lordcirth__ has quit [Remote host closed the connection]
lordcirth__ has joined #nixos
nikivi has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
joesventek has quit [Quit: Quit]
_mecairS` has joined #nixos
dstzd has quit [Quit: ZNC - https://znc.in]
tbech has joined #nixos
dstzd has joined #nixos
joesventek has joined #nixos
cyphase has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @FRidh merged pull request #104358 → python37Packages.bravia-tv: 1.0.7 -> 1.0.8 → https://git.io/Jkzrd
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « python37Packages.bravia-tv: 1.0.7 -> 1.0.8 »: https://git.io/Jkax0
nikivi has joined #nixos
souseiseiki4 has quit [Ping timeout: 245 seconds]
Lord_of_Life has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @xwvvvvwx opened pull request #104488 → turbo-geth: 2020.11.02 -> 2020.11.03 → https://git.io/JkapU
Lord_of_Life has joined #nixos
Lord_of_Life has quit [Changing host]
Lord_of_Life has joined #nixos
perohig has joined #nixos
jonatanb has joined #nixos
lordcirth__ has quit [Remote host closed the connection]
_mecairS` has quit [Quit: Hi. If i ever be an Angel of Light to guide you, to lead you in every way, will you also think of me at night and day.. https://bit.ly/36blphN]
lordcirth__ has joined #nixos
Boomerang has joined #nixos
perohig has left #nixos [#nixos]
bgamari has quit [Ping timeout: 256 seconds]
cyphase has joined #nixos
bgamari has joined #nixos
SanchayanM has quit [Quit: SanchayanM]
acarrico has joined #nixos
Psykobunny has joined #nixos
iH8c0ff33 has joined #nixos
cosimone has joined #nixos
civodul has joined #nixos
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #103757 → Brave: 1.16.72 -> 1.16.76 → https://git.io/JkO6z
<{^_^}> [nixpkgs] @AndersonTorres pushed 2 commits to master: https://git.io/JkajR
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #104073 → btc-rpc-explorer: init at 2.0.2 → https://git.io/Jkli9
<{^_^}> [nixpkgs] @AndersonTorres pushed 2 commits to master: https://git.io/Jkajz
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #99372 → rebar3: 3.12.0 -> 3.14.2 → https://git.io/JUHkm
<{^_^}> [nixpkgs] @AndersonTorres pushed 2 commits to master: https://git.io/Jkaj1
<typetetris> When I have nixpkgs as an input to flakes, how do I apply overlays?
hyper_ch4 has joined #nixos
<typetetris> axelf4: Thanks. I thought there was some flaky way to do it.
hyper_ch5 has quit [Ping timeout: 272 seconds]
Psykobunny has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #104489 → python27Packages.pyside2: 5.15.1 -> 5.15.2 → https://git.io/JkVfS
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos
ehmry has joined #nixos
<Cadey> how do i enable nixops with an "all yes" config of every backend?
<{^_^}> [nixpkgs] @dasJ opened pull request #104490 → libvirt: Shrink closure by disabling zfs by default → https://git.io/JkVJK
werner291 has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #104464 → python37Packages.aioextensions: 20.11.1517005 -> 20.11.1621472 → https://git.io/Jkalk
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JkVUE
fuzzypixelz has joined #nixos
<fuzzypixelz> is anyone here running a wm manager setup?
<{^_^}> [nixpkgs] @freezeboy opened pull request #104491 → droopy: remove macpath to migrate to py3.8 → https://git.io/JkVUN
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @petabyteboy opened pull request #104492 → rust: 1.47 -> 1.48 → https://git.io/JkVTR
<Cadey> fuzzypixelz: what do you mean? like using something such as DWM instead of a full desktop environment like KDE?
<pinpox> Hi, I'd like to create some custom packages and store them in a git-repo or directory. E.g. some personal golang projects I'd like to be able to "just install". How do I set that up, so I can put those packages in my configuration.nix?
<pinpox> Also stuff like personal scripts and such, that is not something that would be useful to submit to nixpkgs
<Cadey> pinpox: one trick is to use nixpkgs.config.packageOverrides: https://github.com/Xe/nixos-configs/blob/master/common/base.nix#L24
<{^_^}> [nixpkgs] @arcz opened pull request #104493 → pythonPackages.crytic-compile: fix missing dependency → https://git.io/JkVTh
fendor_ is now known as fendor
<pinpox> Cadey: Do I need to setup NUR for that?
<Cadey> no, see the within block there
<pinpox> Trying to keep it as simple as possible.
ehmry has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<{^_^}> [nixpkgs] @sternenseemann opened pull request #104494 → chroma: 0.8.1 -> 0.8.2 → https://git.io/JkVkI
* pinpox trying to figure out the code
<Cadey> i use NUR for a few things, but you can make it as simple or complicated as you want
<Cadey> er oops
<Cadey> https://github.com/Xe/nixos-configs/blob/master/common/base.nix#L30-L36 pinpox these are custom packages i don't have in my NUR repo or anywhere else really
mallox has joined #nixos
<pinpox> Oh I see. And the actuall package is in the referenced repo then I guess?
<Cadey> yeah
<pinpox> Is it possible to have multiple packages in one repo though?
cosimone has quit [Read error: Connection reset by peer]
<pinpox> I have a lot of stuff that is very small like scripts, I could put them all in separate repos, but that's quite overkill
<Cadey> yes, your default.nix would have something like this: https://github.com/Xe/xepkgs/blob/master/default.nix#L11-L62
mallox has quit [Client Quit]
<pinpox> Cadey: Oh, perfect. I'll read through that, seems to be exactly what I'm looking for
<pinpox> Cadey: Thanks! Also btw. cheers fellow colemak user!
<Cadey> :D
<{^_^}> [nixpkgs] @r-ryantm opened pull request #104495 → python37Packages.cftime: 1.2.1 -> 1.3.0 → https://git.io/JkVky
SanchayanMaity has joined #nixos
gulplante has joined #nixos
waleee-cl has joined #nixos
gulplante has quit [Client Quit]
SanchayanMaity has quit [Client Quit]
<{^_^}> [nixpkgs] @joachifm merged pull request #104052 → nixos/malloc: fix Scudo → https://git.io/Jklvn
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/JkVLs
<{^_^}> [nixpkgs] @joachifm merged pull request #104211 → electrum: 4.0.4 -> 4.0.5 → https://git.io/Jk08Z
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/JkVLW
<{^_^}> [nixpkgs] @roberth pushed to release-20.09 « nixUnstable: pre20201102_550e11f -> pre20201118_79aa7d9 »: https://git.io/JkVtW
<{^_^}> [nixpkgs] @jtojnar merged pull request #101083 → Add --rev to update-source-version, add a generic unstable updater → https://git.io/JT4pO
<{^_^}> [nixpkgs] @jtojnar pushed 4 commits to master: https://git.io/JkVqf
zupo has joined #nixos
zupo_ has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #104449 → python37Packages.pyexcel: 0.6.5 -> 0.6.6 → https://git.io/Jk2Qw
<{^_^}> [nixpkgs] @jtojnar pushed commit from @r-ryantm to master « python37Packages.pyexcel: 0.6.5 -> 0.6.6 »: https://git.io/JkVmm
neiluj has quit [Quit: leaving]
vandenoever has quit [Read error: Connection reset by peer]
zupo has quit [Ping timeout: 256 seconds]
lordcirth__ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @freezeboy opened pull request #104496 → tautulli: 2.2.4 -> 2.6.1 → https://git.io/JkVmW
vandenoever has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #104497 → abi-dumper: 1.1 -> 1.2 → https://git.io/JkVmR
lordcirth has joined #nixos
<{^_^}> [nixpkgs] @max-wittig opened pull request #104498 → gitlab-runner: 13.5.0 -> 13.6.0 → https://git.io/JkVm1
<typetetris> I don't get it. https://github.com/typetetris/nixops-with-plugins/tree/add-plugins builds with `nix-build` (on a non flake system) but not with `nix build` (on a system with nixUnstable and flakes)
nasirhm has joined #nixos
<lejonet> infinisil: ping (regarding packetbeat)
<nasirhm> Hey Guys, I'm new to nix and nixOS, is there a way to have nmcli on NixOS ?
ehmry has joined #nixos
<nasirhm> (And I'm using Wireless too).
<{^_^}> [nixpkgs] @fgaz opened pull request #104499 → domination: init at 1.2.3 → https://git.io/JkVYl
<{^_^}> [nixpkgs] @andir opened pull request #104500 → packet-sd: init at 0.0.3 → https://git.io/JkVYE
<{^_^}> [nixpkgs] @andir opened pull request #104501 → [20.09] packet-sd: init at 0.0.3 → https://git.io/JkVYu
<{^_^}> [nixos-org-configurations] @andir opened pull request #132 → delft/prometheus/packet-sd: update to newer buildGoModule → https://git.io/JkVYD
<{^_^}> [nixpkgs] @mmahut merged pull request #98534 → bitwig-studio3: 3.2.7 -> 3.2.8 → https://git.io/JUgCX
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/JkVY5
FRidh has quit [Remote host closed the connection]
<typetetris> nasirhm: Just add `networkmanager` to your systempackages or install them as a user `nix-env -iA nixos.networkmanager` assuming your on nixos.
<infinisil> lejonet: How about changing the type of `protocols` to `listOf format.type`
<infinisil> Then users are forced to use a list
<infinisil> lejonet: But also, how it is currently done, if the user specifies any protocol, all the default ones will be removed, is that behavior intended?
<lejonet> infinisil: no, that is what I'm trying to figure out to ensure doesn't happen
<lejonet> and yeah, lets change the type to listOf
<infinisil> lejonet: I see, I think all you need for that is to remove the mkDefault in the assignment of protocols
<{^_^}> [nixpkgs] @timokau merged pull request #98462 → gem: 2020-03-26 -> 2020-09-22 → https://git.io/JUzi6
<{^_^}> [nixpkgs] @timokau pushed 2 commits to master: https://git.io/JkVOx
<lejonet> infinisil: then I get a "settings.packetbeat.protocols is defined in several places" type of warning
<infinisil> Full error?
<nasirhm> typetetris: Where are systempackages localted ?
<lejonet> One moment, I'll get you a pastebin of it
<typetetris> nasirhm: Usually you have an `environment.systemPackages = [ ... ]; ` attribute in your `/etc/nixos/configuration.nix`. It would go in that list, thats already there.
<{^_^}> [nixpkgs] @maralorn opened pull request #104503 → Enable cachix → https://git.io/JkV3c
<typetetris> And then you would have to do `nixos-rebuild switch`.
<nasirhm> Ah Thanks, I've been doing it since the installation, resulting in more than 5 Generations, typically how much does a build consume ?
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<nasirhm> and can you please share some NixOS and Nix 101 links for me to learn more about it.
<typetetris> I honestly don't know.
<infinisil> lejonet: (let's continue in #nixos-dev)
<typetetris> For the 101 links ... thats tough. There are the nix-pills, but best bet is https://nixos.org/nix/manual and https://nixos.org/nixpkgs/manual and https://nixos.org/nixos/manual
<lejonet> infinisil: yeah
<nasirhm> typetetris: Thank You ^^ :)
<{^_^}> [nixos-org-configurations] @grahamc merged pull request #132 → delft/prometheus/packet-sd: update to newer buildGoModule → https://git.io/JkVYD
<{^_^}> [nixos-org-configurations] @grahamc pushed 2 commits to master: https://git.io/JkV3N
alp has quit [Ping timeout: 272 seconds]
fuzzypixelz has quit [Quit: Leaving]
<__red__> nasirhm: I've got a spare 30 minutes or so if you want a walkthrough of anything - ping me.
<nasirhm> __red__: Sure, Thank You :)
<{^_^}> [nixpkgs] @primeos opened pull request #104504 → pipewire: Fix screen sharing with Chromium → https://git.io/JkVZs
Psykobunny has joined #nixos
Psykobunny has quit [Excess Flood]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #104505 → argocd: 1.7.8 -> 1.7.10 → https://git.io/JkVZ6
janneke has quit [Ping timeout: 260 seconds]
oida has joined #nixos
janneke has joined #nixos
bbarker has joined #nixos
<nasirhm> __red__: I added NetworkManager in Environment packages and nmcli is installed, but when trying to connect to network, It works for a moment and then the network seems connected but ping returns : Network is Unreachable.
Psykobunny has joined #nixos
Psykobunny has quit [Excess Flood]
lordcirth__ has joined #nixos
flal_ has joined #nixos
neiluj has joined #nixos
neiluj has joined #nixos
neiluj has quit [Changing host]
<neiluj> hello
<neiluj> would it be possible to automate the update of packages from nixpkgs?
lordcirth has quit [Ping timeout: 260 seconds]
<neiluj> like a bot that crawls the git sources and check for latest releases, updates hashes and checks the build with hydra
flal_ has quit [Remote host closed the connection]
<dminuoso> neiluj: Absolutely, haskellPackages is built that way
FRidh has joined #nixos
<neiluj> nice, that might be useful for the other packages as well
ddellacosta has joined #nixos
<dminuoso> Well the particular tool works against hackage
<neiluj> and why not make a github app for that matter
<dminuoso> Well, because most packages dont have a unified way to build them
<neiluj> i'd be interested in making such a bot since i contibuted in a similar github app interacting with github graphql api
<dminuoso> Those languages that have unified interfaces have such tools
<neiluj> this bot: https://github.com/coq/bot
lordcirth__ has quit [Ping timeout: 264 seconds]
<simpson> So you're going to have to explain exactly *how* you want to further improve automation. nixpkgs-update produces PRs like https://github.com/NixOS/nixpkgs/pull/104505
<{^_^}> #104505 (by r-ryantm, 23 minutes ago, open): argocd: 1.7.8 -> 1.7.10
lordcirth__ has joined #nixos
gueorgui has quit [Ping timeout: 260 seconds]
<dminuoso> simpson: Mmm. That's one good looking chap https://github.com/r-ryantm
<neiluj> simpson: oh so a solution already exists, excellent
<{^_^}> [nixpkgs] @mweinelt merged pull request #103970 → pythonPackage.python-crontab: init at 2.5.1 → https://git.io/Jkc48
<{^_^}> [nixpkgs] @mweinelt pushed 2 commits to master: https://git.io/JkVlI
<neiluj> except you must specify which package to update and provide version numbers
<neiluj> i was thinking of a bot working in the background
<dminuoso> neiluj: Do you see my link above?
<neiluj> and we could even automate the merging once tests pass
<neiluj> dminuoso: yes, i was talking about the nixpkgs-update program
gueorgui has joined #nixos
<ryantm> Most packages don't have tests and testing all reverse dependencies is computationally intensive
<simpson> neiluj: We *do*, just in a different way from what you might expect; we automate bumping the channel after tests pass.
<gchristensen> automatic merging is pretty scary
<Jezhehim[m]> I'm trying to use `services.xserver.displayManager.session` to let me log in to a graphical session that is _just_ fullscreen emacs
<simpson> I've seen systems where merging could be as simple as a single maintainer clicking a single button in order to approve PRs, and further, I think that we *have* that for some subsystems already?
<Jezhehim[m]> I have this, and it seems to almost work but the logs show that emacs can't access display :0 - https://gitlab.com/-/snippets/2041867
<Jezhehim[m]> Can anyone suggest what I'm doing wrong?
<dminuoso> Jezhehim[m]: Mmm, you need a window manager at least?
<dminuoso> Oh no yo udont
<neiluj> gchristensen: i agree, we could maybe let a bot merge once some conditions are met in a pr (approvals from maintainers and pushers)
<neiluj> that's what coqbot does
<dminuoso> Jezhehim[m]: What is DISPLAY set at?
<__red__> I've always been curious about coq and the idea of formal proofs - but never gone down that road
bbarker has quit [Remote host closed the connection]
<neiluj> simpson: oh good, then maybe a thin layer around this tool with a bot crawling the sources and calling the nixpkgs-update on each program with the latest fetched version
<__red__> nasirhm: that particular package area is a black-hole in my knowledge - sorry :-/
<Jezhehim[m]> dminuoso: definitely have `DISPLAY=:0` (and `XDG_SESSION_TYPE=x11` fwiw)
<simpson> neiluj: If it makes sense. We do this for Node.js; there's a script in nixpkgs which can be manually invoked in order to regenerate metadata.
<nasirhm> __red__: No worries, I fixed it. Actually had to flush my wpa_supplicant configs.
<Jezhehim[m]> I added `env > /tmp/emacs-env.sh` that start script
<Miyu-saki> Any tips for nix copy closure to a nixops machine?
<Jezhehim[m]> * I added `env > /tmp/emacs-env.sh` that start script to help with debugging
<Miyu-saki> Right now, I decided for making a closure
<dminuoso> Jezhehim[m]: Out of curiosity, if you use xterm as in the example documentation, does it work?
<Miyu-saki> Closure size is too big for me to do that now though.
<nasirhm> any ideas on controlling brightlight / laptop light in NixOS
<simpson> neiluj: Note that we can't do this automatically because the Node.js ecosystem doesn't have a centralized metadata source which is robust enough to event-source or otherwise constantly scrape. Most language ecosystems don't. You may want to adjust your expectations for how fast a ports tree of this size should move.
<nasirhm> <nasirhm "any ideas on controlling brightl"> (I used to use brightlight package in other distros)
<__red__> what was the executable called in other distros?
<Jezhehim[m]> dminuoso: good question. brb...
<nasirhm> <__red__ "what was the executable called i"> `brightlight`
<__red__> nasirhm: in Fedora?
<neiluj> simpson: sure, thanks for the links to these scripts :)
<nasirhm> __red__: yep.
feezeboy has joined #nixos
feezeboy is now known as freezeboy
<dminuoso> Jezhehim[m]: Oh. Are you running emacs as daemon?
sajin4 has joined #nixos
<freezeboy> I have some troubles to enable a kernel module (I put boot.kernelModules = [ "v4l2loopback" ]) but it is not loaded and modprobe doesn't see it
<neiluj> but maybe this would help to let a bot take care of executing those scripts and interacting with prs in the background
<__red__> nasirhm: It's a *baby* program - shouldn't take a moment to make a package foir
<sajin4> is there a clean/nice or even any way to add my own channel into /etc/nixos/configuration.nix. So that I don't have to manually add any channels or stuff but just drop my configuration.nix, rebuild and its done?
<nasirhm> __red__: I would love to make a package out of it.
<neiluj> sajin4: there's flakes
<Miyu-saki> Jezhehim[m]: If you're doing exwm, or at least just Emacs, I read somewhere to just write it yourself https://gist.github.com/adrianparvino/aa1cf28d6c6f0aee5bf239e9126f147e
<Miyu-saki> I don't know the specific reason why I did this
tsrt^ has quit []
<__red__> nasirhm: nasirhm: Welcome to NixOS - wanna contribute a package ;-)
<sajin4> sure let me take a look
<__red__> hheh, you should probably get vaugly comfortable with nix before you contribute
<__red__> but I can show you how it's done
caef^ has joined #nixos
<nasirhm> That'll be awesome __red__.
<__red__> so I don't have a laptop here to test functionality - but I can talk you through how to test it quickly to make sure it works on hardware before we look at packaging it
<freezeboy> nasirhm I missed the start of the discussion, what new package are you talking about ?
<__red__> this may be verbose - wanna move to #nixos-brightlight ?
<adisbladis> Miyu-saki: Did you by any chance copy this from me? :P
<__red__> basically
<__red__> nix-shell -p stdenv
<nasirhm> __red__: Sure, let me join.
<__red__> git clone rgr
<nasirhm> freezeboy: It's `brightlight`
<freezeboy> nasirhm a url ?
<Miyu-saki> adisbladis: Most likely. :D
<adisbladis> Miyu-saki: That's probably it then :P It's looks pretty much identical to my older exwm startup expressions :)
<adisbladis> I like it. I think I should probably upstream the xsession stuff.
<Duponin> Hi, I'm trying to write a simple systemd unit to start an Elixir application but I have no idea how to get path of `mix` binary (from package nixos.elixir). Someone have any hint please?
<{^_^}> [nixpkgs] @xwvvvvwx opened pull request #104506 → pythonPackages.ledgerwallet: init at 0.1.2 → https://git.io/JkVEC
<freezeboy> Duponin you have two choices: the path attribute where you can put your package or just ${pkgs.elixir}/bin/mix in the start comd
<freezeboy> Duponin you have two choices: the path attribute where you can put your package or just ${pkgs.elixir}/bin/mix in the start command
alp has joined #nixos
<Duponin> freezeboy: okay. Is there any REPL or so where I can test things like `${pkgs.elixir}` and see to what it expands?
<freezeboy> nasirhm thank you, should be easy to package
<freezeboy> Duponin nix repl '<nixpkgs>'
<nasirhm> freezeboy: Thanks, Currently working on packaging it with __red__
<Duponin> freezeboy: amazing! thank you very much :)
<{^_^}> [nixpkgs] @AndersonTorres closed pull request #104045 → Treewide: change all occurrences of "name" to "pname-version" → https://git.io/JkWPu
<{^_^}> [nixpkgs] @domenkozar pushed to master « haskellPackages.{http-media,servant-auth-client}: fix builds »: https://git.io/JkVug
octe has quit [Ping timeout: 265 seconds]
octe has joined #nixos
shorberg has joined #nixos
domogled has quit [Ping timeout: 260 seconds]
bbarker has joined #nixos
<{^_^}> [nixpkgs] @primeos merged pull request #104451 → python37Packages.google_api_python_client: 1.12.5 -> 1.12.8 → https://git.io/Jk2dc
<{^_^}> [nixpkgs] @primeos pushed 2 commits to master: https://git.io/JkVzy
acarrico has quit [Remote host closed the connection]
cole-h has joined #nixos
bbarker has quit [Remote host closed the connection]
bbarker has joined #nixos
<Jezhehim[m]> dminuoso: nope, doesn't work with xterm either (exactly as in the docs)
<Jezhehim[m]> adisbladis: thanks, I'll have a look...
bbarker has quit [Ping timeout: 264 seconds]
vidbina has joined #nixos
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/a322b32e9d7 (from 3 days ago, history: https://channels.nix.gsc.io/nixos-unstable)
<sss2> hi all, building firefox for i686 via build offloading failing https://bpa.st/BHEQ , same problem for evolution
kreyren_ has joined #nixos
kreyren has quit [Remote host closed the connection]
<{^_^}> Channel nixpkgs-20.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/9da0758c1cd (from 7 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.09-darwin)
bbarker has joined #nixos
bitmapper has joined #nixos
<{^_^}> [nixpkgs] @mwilsoncoding opened pull request #104507 → steam: http -> https → https://git.io/JkVVh
alp has quit [Ping timeout: 272 seconds]
<tazjin> is it me or is https://status.nixos.org/ sad?
<gchristensen> tazjin: can't look now, but for whatever reason prometheus is redirecting to 0.0.0.0
<__red__> nasirhm: forgot to tell you the repo. The work we just did is at https://github.com/redvers/nixpkgs branch add_brightlight
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/8f902278921 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<__red__> now I just need to work out how to convince github to stop telling me to create a pull request for it since I have no intention of ever merging it
alp has joined #nixos
Morfio has quit [Quit: This computer has gone to sleep]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #104508 → cargo-udeps: 0.1.15 -> 0.1.16 → https://git.io/JkVrM
bbarker has quit [Remote host closed the connection]
detran has quit [Ping timeout: 260 seconds]
bbarker has joined #nixos
<{^_^}> [nixpkgs] @Br1ght0ne merged pull request #104471 → termius: 6.4.1 -> 7.1.0 → https://git.io/JkaBO
<{^_^}> [nixpkgs] @Br1ght0ne pushed 2 commits to master: https://git.io/JkVrA
freezeboy has quit [Remote host closed the connection]
bbarker has quit [Ping timeout: 246 seconds]
bbarker has joined #nixos
sangoma has quit [Read error: Connection reset by peer]
Morfio has joined #nixos
philr has quit [Ping timeout: 260 seconds]
rtjure has quit [Ping timeout: 265 seconds]
<Theuni> cole-h: thanks, for the pointer, i can probably just make a new package based on the other one. That was the piece i was missing ...
<{^_^}> [nixpkgs] @r-ryantm opened pull request #104509 → cc65: 2.18 -> 2.19 → https://git.io/JkVKs
<{^_^}> [nixpkgs] @markus1189 opened pull request #104510 → rehex: init at 0.3.1 → https://git.io/JkVKc
jonatanb_ has joined #nixos
deadpixels has joined #nixos
jonatanb has quit [Ping timeout: 240 seconds]
domogled has joined #nixos
cm2 has joined #nixos
<cm2> wondering if anyone can help. in a bit of a jam.
<cm2> i use debian stable with nixpkgs
<cm2> and last night i updated to 2.3.8 and mercurial-5.4.2.drv refuses to build!
<cm2> first time this has happened
<cm2> thing is nixpkgs has always worked for me, so i never had to tweak it much, so i don't know what i'm doing!
<cm2> but i have to send a bug patch to work soonish!
<cm2> and now i have no mercurial!!
<{^_^}> [nixpkgs] @r-ryantm opened pull request #104511 → chezmoi: 1.8.8 -> 1.8.9 → https://git.io/JkVK5
<cm2> anyone can please help? i don't have thta much time.
jonatanb_ has quit [Remote host closed the connection]
<cm2> could i maybe blow my install and try nixpkgs 2.3.7 ??
<cm2> no one around?
<jtojnar> cm2: what does "refuses to build" mean?
<cm2> when i'm nix-env -i mercurial
<cm2> i get this
<mindtree[m]> can you rollback to the previous generation to get a working state again?
<dminuoso> Jezhehim[m]: Mmm, what if you switch from desktop to window?
<cm2> mindtree[m]: thanks. how do i do that?
<cm2> dminuoso: thanks. not sure i follow you?
<cm2> jtojnar: i get this: builder for '/nix/store/yhzwwhbcfw8vrm1cnqgsfa3xv1hh0s4p-python3.8-dulwich-0.20.11.drv' failed with exit code 139
<cm2> cannot build derivation '/nix/store/c5lbvymy2i96cyvp1hf8ssm5pa2s963j-mercurial-5.4.2.drv'
domogled has quit [Quit: domogled]
domogled has joined #nixos
<cm2> mindtree[m]: i don't use nixos, just nixpkgs. is it possible to rollback to previous?
<cm2> i have like 5 minutes. i'm going to have to go with the mercurial in debian stable and hope that is ok.
<cm2> it's only my job ;)
<jtojnar> looks like some dependency does not build, I would try updating your channel
<cm2> jtojnar: i did :(
<cm2> nothing
<mindtree[m]> cm2: not sure as I've only experience with NixOS, but maybe you can use the command mentioned here? https://nixos.org/manual/nix/stable/#idm140737322645152
<cm2> mindtree[m]: thanks. checking.
<mindtree[m]> I think you can also do something like `nix-env --list-generations` and then choose a specific generation if desired
<cm2> mindtree[m]: ok; checking.
<cm2> (shit)
<jtojnar> hmm, I can reproduce on nixos-unstable
<{^_^}> [nixpkgs] @r-ryantm opened pull request #104512 → circleci-cli: 0.1.11458 -> 0.1.11508 → https://git.io/JkV6o
<jtojnar> but it has been fixed on nixos-unstable-small
<cm2> oh crap! i just remember this whole thing started because i triggered a gc.
<cm2> fuck me!
<dminuoso> Jezhehim[m]: Mmm, Im digging through the source code at the moment.
<jtojnar> so either rolling back the channel or switching to unstable-small temporarily should work
<cm2> ok let me see.
<jtojnar> if you GC'd, try `nix-env -f channel:nixos-unstable-small -iA mercurial`
<cm2> jtojnar: ok trying that now
<cm2> jtojnar: YES!!!! thank you. i love you.
<cm2> i have to make this patch now
<cm2> thank you all again
rajivr has quit [Quit: Connection closed for inactivity]
hlolli_ has joined #nixos
cosimone has joined #nixos
Fare has joined #nixos
Dotz0cat has quit [Read error: Connection reset by peer]
Dotz0cat has joined #nixos
turbo_MaCk has joined #nixos
cosimone has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #104513 → clash: 1.2.0 -> 1.3.0 → https://git.io/JkVPv
alp has quit [Ping timeout: 260 seconds]
arinov_ has joined #nixos
<cm2> jtojnar: thanks again mate. i will RTFM now :)
<evils> cm2: <3 jtojnar
<{^_^}> jtojnar's karma got increased to 63
<cm2> one last question - since i installed mercurial from unstable-small how do i get it back to stable eventually?
<cm2> evils: he saved my ass BIG time
gueorgui has quit [Ping timeout: 256 seconds]
gueorgui has joined #nixos
<evils> cm2: for installing from stable, either change the channel in the nix-env command to the channel you want, or maybe if you had a stable one installed, maybe just nix-env -e mercurial to remove the env one?
taylskid_ has joined #nixos
<{^_^}> [nixpkgs] @dasJ closed pull request #79053 → kbruch: Init at 20.04.3 → https://git.io/JvseI
<{^_^}> [nixpkgs] @dasJ closed pull request #89711 → kurento-media-server: Init at 6.13.0 → https://git.io/JfMZP
<{^_^}> [nixpkgs] @r-ryantm opened pull request #104514 → cloudflared: 2020.11.5 -> 2020.11.10 → https://git.io/JkVXY
<taylskid_> are `services.postgresql.ensureUsers`/ensureDatabases mututally exclusive with `services.postgresql.initialScript`?
<{^_^}> [nixpkgs] @dasJ closed pull request #82486 → nixos/atlassian-jira: Drop postgres requirement and fix capitalization → https://git.io/Jv6bR
domogled has quit [Ping timeout: 240 seconds]
<{^_^}> [hydra] @dasJ closed pull request #719 → Show what type of path was found in search results → https://git.io/JvE2p
<cm2> evils: thanks. and thank you all again. i'm off to watch sat morning cartoons and drink a pint of whiskey. what a morning!
neiluj has quit [Quit: leaving]
<{^_^}> [nixpkgs] @zimbatm merged pull request #104498 → gitlab-runner: 13.5.0 -> 13.6.0 → https://git.io/JkVm1
<{^_^}> [nixpkgs] @zimbatm pushed commit from @max-wittig to master « gitlab-runner: 13.5.0 -> 13.6.0 (#104498) »: https://git.io/JkVXz
<__red__> (morning cartoons)++
<{^_^}> [nixpkgs] @marsam merged pull request #104508 → cargo-udeps: 0.1.15 -> 0.1.16 → https://git.io/JkVrM
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JkVXw
<{^_^}> [nixpkgs] @dasJ closed pull request #86002 → samba: Fix python path for DNS tools → https://git.io/JftkN
deadpixels has quit [Ping timeout: 260 seconds]
Psykobunny has joined #nixos
Psykobunny has quit [Excess Flood]
<{^_^}> [nixpkgs] @marsam merged pull request #104511 → chezmoi: 1.8.8 -> 1.8.9 → https://git.io/JkVK5
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JkVXP
Boomerang has quit [Ping timeout: 240 seconds]
growpotkin has joined #nixos
iH8c0ff33 has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #104516 → consul: 1.8.5 -> 1.8.6 → https://git.io/JkVXj
<{^_^}> [nixpkgs] @dasJ closed pull request #103224 → [20.09] asterisk: Bump all packages → https://git.io/JkUST
iH8c0ff33 has joined #nixos
meh` has joined #nixos
hnOsmium0001 has joined #nixos
<aasg> I've got a module option of type "attrsOf submodule ...". Is there a way for a default value inside the submodule to refer to another option value in the submodule?
iH8c0ff33 has quit [Ping timeout: 256 seconds]
vandenoever has quit [Read error: Connection reset by peer]
cm2 has quit [Quit: Lost terminal]
vandenoever has joined #nixos
vandenoever has joined #nixos
<{^_^}> [nixpkgs] @JesusMtnez opened pull request #104517 → vscode-extensions.scalameta.metals: 1.9.6 -> 1.9.7 → https://git.io/JkVMW
<{^_^}> [nixpkgs] @dasJ closed pull request #87661 → nixos/systemd-sandbox: A generic sandboxing module → https://git.io/Jf8BO
<{^_^}> [nixpkgs] @dasJ closed pull request #73767 → nixos/geoipupdate: Init the module → https://git.io/JeKQa
Fare has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #104518 → croc: 8.6.5 -> 8.6.6 → https://git.io/JkVMi
thblt has left #nixos ["ERC (IRC client for Emacs 27.1)"]
deadpixels has joined #nixos
<infinisil> aasg: Yea, `attrsOf (submodule ({ config, ... }: { options.foo = lib.mkOption { default = config.bar; }; options.bar = ...; }))`
berberman_ has joined #nixos
berberman has quit [Ping timeout: 272 seconds]
<taylskid_> I am trying to use both `services.postgresql.ensure{Users,Databases}` and `servives.postgresql.initialScript` but only my changes to the ensure options seem to be getting picked up anywhere. Are these options mutually exclusive. The documentation doesn't indicate that or anything
alp has joined #nixos
<aasg> infinisil (IRC): That worked nicely, thanks. Now to remember where else I needed something like that…
arinov_ has quit [Ping timeout: 256 seconds]
arinov has joined #nixos
Fare has joined #nixos
<bpye> taylskid_ If you go look at the source for the PostgreSQL service initialScript is only used on first run whilst ensure* is always applied
justanotheruser has joined #nixos
iH8c0ff33 has joined #nixos
<{^_^}> [nixpkgs] @doronbehar merged pull request #104472 → xmlsec: 1.2.30 -> 1.2.31 → https://git.io/JkaR3
<{^_^}> [nixpkgs] @doronbehar pushed 3 commits to master: https://git.io/JkVyC
<{^_^}> Channel nixos-20.09-small advanced to https://github.com/NixOS/nixpkgs/commit/9da0758c1cd (from 9 hours ago, history: https://channels.nix.gsc.io/nixos-20.09-small)
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/fdcd102ddd4 (from 11 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
<{^_^}> Channel nixpkgs-20.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/7bf4729c5b9 (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.09-darwin)
eoli3n_ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #104519 → dbmate: 1.10.0 -> 1.11.0 → https://git.io/JkVST
rtjure has joined #nixos
shibboleth has joined #nixos
<taylskid_> bpye: ah got it
<taylskid_> that would be my problem
<taylskid_> thanks
<{^_^}> [nixpkgs] @domenkozar merged pull request #104503 → cachix: Fix building on hydra and reenable → https://git.io/JkV3c
<{^_^}> [nixpkgs] @domenkozar pushed 3 commits to master: https://git.io/JkV9K
wouter_ has joined #nixos
<bpye> No worries, I think for most uses initialScript probably isn't too helpful. It looks more suited for a container use case for example
<wouter_> Hey, I have a question about Nix, specifically the attrsOf function: this function should merge all definitions into a joined attribute set. However: the set that is in default is not added to this list if we write to it somewhere else. Is there any way to always add the values in default to the list?
<wouter_> Now we're using apply = x: {attributesHere} // x; but maybe there's a nicer way
<bqv> adisbladis: boo
<bqv> adisbladis: auctex is broken
oida has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @marsam merged pull request #100226 → pg_featureserv: init at 1.1.1 → https://git.io/JTT8Z
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JkVHy
<{^_^}> [nixpkgs] @Izorkin opened pull request #104520 → wsdd: init at 0.6.2 → https://git.io/JkVHS
<{^_^}> [nixpkgs] @maralorn pushed 191 commits to haskell-updates: https://git.io/JkVHA
alp has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @mweinelt merged pull request #104500 → packet-sd: init at 0.0.3 → https://git.io/JkVYE
<{^_^}> [nixpkgs] @mweinelt pushed 2 commits to master: https://git.io/JkVQU
<{^_^}> [nixpkgs] @dasJ closed pull request #104490 → libvirt: Shrink closure by disabling zfs by default → https://git.io/JkVJK
<{^_^}> [nixpkgs] @r-ryantm opened pull request #104521 → dua: 2.10.3 -> 2.10.5 → https://git.io/JkVQ6
sangoma has joined #nixos
<{^_^}> [nixpkgs] @mweinelt merged pull request #104501 → [20.09] packet-sd: init at 0.0.3 → https://git.io/JkVYu
<{^_^}> [nixpkgs] @mweinelt pushed 2 commits to release-20.09: https://git.io/JkVQN
<{^_^}> [nixpkgs] @maralorn pushed to haskell-updates « haskellPackages.pcg-random: Activate tests »: https://git.io/JkVQp
<{^_^}> [nixpkgs] @marsam opened pull request #104522 → postgresqlPackages.postgis: 3.0.2 -> 3.0.3 → https://git.io/JkV7v
<andrewrk> howdy. I am hacking up proof-of-concept and trying to make it work on nixos - so this is not your typical support request. My question is: how could I determine the RPATH of Xlib.so on nixos programmatically?
<andrewrk> for example I am typing this question into HexChat which is a gui application. so if I were to ldd hexchat ELF file it would reveal the RPATH of Xlib.so
<{^_^}> [nixpkgs] @Mic92 merged pull request #104479 → freeoffice: 978 -> 980 → https://git.io/JkaEV
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JkV7G
<andrewrk> what would be a robust way to programmatically determine this value, that is likely to work on everyone's nixos installations?
<simpson> Why is Xlib being loaded dynamically? You could provide it as a runtime input, right?
<andrewrk> you mean to prompt the user for it? the goal of the PoC is to make a static linux executable that works on all linux distributions (not only nixos) regardless of the dynamic linker path, system libc, or window manager, and open a window and show an opengl triangle
<andrewrk> so far I have solved the dynamic linker problem and now I am solving the "figure out the .so paths of the window manager that is running" part
<simpson> Hm. Because of how X11 works, you should be able to bring your own Xlib/XCB without issues; it's libGL that you'll need to always look up at runtime. The `libglvnd` library can help with that.
Morfio has quit [Quit: This computer has gone to sleep]
proofofkeags has joined #nixos
<andrewrk> then the question becomes how to find libglvnd at runtime
<andrewrk> it may not even be installed
<andrewrk> also s/opengl/vulkan/
seku has joined #nixos
<simpson> Oh! GL is *not* Vulkan; GL enjoys GLX, an X11 extension which allows for GL to be sent over the X11 protocol ("indirect rendering") but IIUC Vulkan refuses to do that, and you'll need something like EGL.
arinov has quit [Ping timeout: 260 seconds]
Morfio has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #104523 → emplace: 0.3.8 -> 0.3.9 → https://git.io/JkV5j
<simpson> andrewrk: FWIW it seems like libglvnd can't be built statically, but XCB can. I don't actually *know* how libglvnd works, and you could probably crib its source to grok how to find libGL.so dynamically.
daGrevis has quit [Ping timeout: 260 seconds]
zupo has joined #nixos
<{^_^}> [nixpkgs] @Mic92 pushed to release-20.09 « freeoffice: 978 -> 980 »: https://git.io/JkVdw
magma has joined #nixos
daGrevis has joined #nixos
zeorin has joined #nixos
taylskid_ has quit [Quit: WeeChat 2.3]
<zeorin> Hey all. I'm trying to add a udev rule in my nixos configuration
<zeorin> It needs to run a command. Do I have to provided the absolute path to it or can I just use the command name?
magma has quit [Client Quit]
<Jezhehim[m]> dminuoso adisbladis Miyu-saki I ended up using `services.xserver.displayManager.sessionPackages` with a `.desktop` file I'd put together when using Arch and it works fine: https://gitlab.com/-/snippets/2041904
<dminuoso> Jezhehim[m]: Can you file a bug report at the very least?
<dminuoso> Jezhehim[m]: If the documented example doesn't work, then at the very least its a documentation bug.
<{^_^}> [nixpkgs] @aanderse merged pull request #78168 → nixos/doc: Rudimentary documentation for Subversion-inside-Apache HTTP. → https://git.io/JvLU7
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/JkVFW
bn_work has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @marsam opened pull request #104524 → rclone: 1.53.2 -> 1.53.3 → https://git.io/JkVFu
<{^_^}> [nixos-search] @turboMaCk pushed to turboMaCk/fix-loading « fix pagination »: https://git.io/JkVFa
<zeorin> From looking at udev rules they generally provide an absolute path to the executable. How do I get the absolute path to the executable in my nix configuration, since it can change with any update?
<edef> "${pkgs.foo}/bin/foo"
<edef> > "${pkgs.git}/bin/git"
<{^_^}> "/nix/store/w38hdfl92f070cacmfs07q5g8y1r5dhd-git-2.29.2/bin/git"
jonatanb has joined #nixos
<zeorin> Ah great, thanks.
<edef> ^_^
Fare has quit [Ping timeout: 260 seconds]
<{^_^}> [nixos-search] @turboMaCk pushed to turboMaCk/fix-loading « simpler pagination »: https://git.io/JkVbf
<zeorin> Would nix throw an error if I tried to reference a package like that that I'm not also installing in the same configuration?
<leo60228> does nixos support wide-dhcpv6?
<leo60228> my isp will refuse to delegate prefixes larger than /64 on any other dhcp client
<leo60228> i have no idea why but this is a documented issue in a few places
zupo has quit [Ping timeout: 256 seconds]
zeorin has quit [Remote host closed the connection]
<axelf4> zeorin AFAIK when you convert a package to a string like that it is also installed
justanotheruser has quit [Ping timeout: 272 seconds]
zupo has joined #nixos
<{^_^}> [nixpkgs] @primeos merged pull request #104504 → pipewire: Fix screen sharing with Chromium → https://git.io/JkVZs
<{^_^}> [nixpkgs] @primeos pushed to master « pipewire: Fix screen sharing with Chromium (#104504) »: https://git.io/JkVb1
<{^_^}> [nixpkgs] @mweinelt merged pull request #104480 → [20.09] thunderbird, thunderbird-bin: 78.4.3 -> 78.5.0 [High security fixes] → https://git.io/JkauF
<{^_^}> [nixpkgs] @mweinelt pushed 3 commits to release-20.09: https://git.io/JkVbN
<rogerr> if i don't want kbfsfuse and keybase to always be running, and only run when i run keybase-gui, i install pkgs.kbfs/keybase/keybase-gui then run kbfsfuse service & keybase service & keybase-gui. it kinda works but i can make it better right?
<leo60228> rogerr: i don't use keybase, but from a bit of googling + prior experience with similar things, i believe you want to have keybase set up to use socket activation
alp has joined #nixos
<leo60228> from what i can tell, keybase doesn't officially support it, but it should *work* if you can configure it in systemd
justanotheruser has joined #nixos
<rogerr> how i do that pls?
<{^_^}> [nixpkgs] @marsam opened pull request #104525 → vault: 1.5.5 -> 1.6.0 → https://git.io/JkVAI
<leo60228> i'm not 100% sure, but it looks like you can use the systemd user units from https://github.com/keybase/client/tree/master/packaging/linux/systemd, create basic kbfs.socket and keybase.socket units, and put them as Requires of their respective services
<leo60228> rogerr: ^
cmcaine has joined #nixos
<leo60228> this was disabled by default in https://github.com/keybase/client/commit/003bfe3bf0ebaa6f0c9d26f8b1d912cc1121cae9, there have been a few changes since then but you should be able to look at it for inspiration
<cmcaine> I'd like to compile a C++ project called Julia from slightly customised source. I've found this derivation that will build Julia 1.5.3 from the github sources, but I don't know how to use that to compile my local source tree.
<cmcaine> Here's the Julia 1.5.3 derivation: https://github.com/NixOS/nixpkgs/pull/101933/files
<{^_^}> [nixpkgs] @Flakebi opened pull request #104526 → salt: 3002.1 -> 3002.2 → https://git.io/JkVA7
<cmcaine> I'd really appreciate someone giving me a hand getting this to work, or setting up an environment where I can just type `make` as I would on other distros.
FRidh has quit [Quit: Konversation terminated!]
deadpixels has quit [Ping timeout: 240 seconds]
vandenoever has quit [Read error: Connection reset by peer]
vandenoever has joined #nixos
<cizra> cmcaine: I think the usual way of developing stuff is by using nix-shell.
<jdnixx[m]> <cmcaine "I'd really appreciate someone gi"> couldn't you just do src = import ./yourlocalsource.tar.gz instead of fetchzip {}
<jdnixx[m]> I'm not exactly sure how that works sorry lul wish I could help moar. I suck at packaging too
<jdnixx[m]> but I imagine if all the dependecies & stuff are the same then that's the only part of hte derivation you'd really have to change
<jdnixx[m]> my q: why can't you use `let` straight in the body of configuration.nix?
<jdnixx[m]> `let something = stuff in environment.systemPackages =` doesn't work
<jdnixx[m]> but `environment.systemPackages = let something = stuff in ` works
<{^_^}> [nixpkgs] @r-ryantm opened pull request #104527 → flyctl: 0.0.149 -> 0.0.150 → https://git.io/JkVxz
<leo60228> cmcaine: do you want to write a package or just compile julia from a shell?
<cizra> cmcaine: https://paste.ee/p/SZyke - something like this. Drop this into a file called shell.nix, and type nix-shell.
<leo60228> for the former, something like `julia_15.overrideAttrs (oldAttrs: { src = /my/src/path; })`
<cmcaine> leo60228 I just want to compile it and test it, I'm writing a PR for it.
<{^_^}> [nixos-search] @turboMaCk pushed to turboMaCk/fix-loading « improve loading behavior »: https://git.io/JkVx6
<leo60228> for the latter, you can get into a development shell for julia with `nix-shell '<nixpkgs>' -A julia_15`
<leo60228> that command will drop you into a shell with the environment necessary to build julia
Fare has joined #nixos
<leo60228> the most important things will be the commands unpackPhase (extracts the julia source archive), patchPhase (applies nixos's julia patches), and buildPhase (builds julia with the correct flags)
beertoagunfight has joined #nixos
<cmcaine> leo60228, julia_15 isn't in nixos 20 where I'm at yet, but I can just download the derivation file and use that, right?
<leo60228> yes, though you'll need to do something like `nix-shell -E '(import <nixpkgs> {}).callPackage ./julia.nix {}'` so it can find its dependencies
<leo60228> flakes atm probably aren't suitable for a beginner, but with them you can just `nix develop nixpkgs/master#julia_15`
iH8c0ff33 has quit [Quit: WeeChat 3.0]
<beertoagunfight> Hi there, I was trying to set up my first systemd services using nix, and I'm running into a bit of an issue when I want to enable the service I created: https://pastebin.com/GhrrQriJ - I found https://discourse.nixos.org/t/systemd-user-services-wantedby-broken/895/2 but it wasn't of much help :-(
dadada_ has quit [Quit: WeeChat 2.9]
<stites[m]> does anyone have pointers for building gradle projects?
dadada_ has joined #nixos
<{^_^}> [nixos-search] @turboMaCk pushed to turboMaCk/fix-loading « remove uncessary change »: https://git.io/JkVpu
<das_j> stites[m]: Don't do it
<das_j> Or if you really want to, you can try https://github.com/tadfisher/gradle2nix which mostly worked for me
endformationage has joined #nixos
<stites[m]> haha, okay -- another option is I can reuse their deb?
<stites[m]> is that better?
jjakob has quit [Read error: Connection reset by peer]
<rogerr> leo60228 ty ill look
hl has quit [Ping timeout: 260 seconds]
sss2 has quit [Ping timeout: 240 seconds]
<rogerr> home manager have any way to control systemd units? i guess i need to make kbfs and keybase socket activation systemd units for keybase-gui to activate on demand?
<{^_^}> Channel nixos-20.09-small advanced to https://github.com/NixOS/nixpkgs/commit/7bf4729c5b9 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-20.09-small)
hl has joined #nixos
hl has joined #nixos
sangoma has quit [Ping timeout: 260 seconds]
<stites[m]> rogerr: yes, but I believe kbfs and keybase sockets are already in there
<{^_^}> [nixpkgs] @urbas opened pull request #104528 → python3Packages.coapthon3: init at 1.0.1 → https://git.io/JkVhK
iH8c0ff33 has joined #nixos
iH8c0ff33 has quit [Client Quit]
bbarker has quit [Remote host closed the connection]
bbarker has joined #nixos
<bqv> Anyone needs /nix/store/c4f1v6wmngz1kf7vfwi59s2rz534kqan-auctex-12.2.4.tar lmk
<leo60228> update: i think i figured out my weird nix problems
<bqv> I made a fresh one since the url's dead
<axelf4> How would I use ociTools.buildContainer from a flake-based project?
<leo60228> the nixFlakes package in 20.09 is missing a fix for a bug breaking extra-sandbox-paths, and my poorly-thought-out workaround (use sandbox-paths instead) breaks a lot of stucck
<leo60228> rogerr: yes, iirc it's systemd.services and systemd.sockets though i could be wrong
iH8c0ff33 has joined #nixos
jonatanb has quit [Remote host closed the connection]
bbarker has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #104529 → fmt: 7.0.3 -> 7.1.2 → https://git.io/Jkwek
<rogerr> stites[m] sorry what's that mean?
jonatanb has joined #nixos
iH8c0ff33 has quit [Quit: WeeChat 3.0]
<{^_^}> [nixpkgs] @ryantm merged pull request #103508 → pt2-clone: 1.23 -> 1.24 → https://git.io/JkLQT
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/Jkwvk
Fare has quit [Ping timeout: 260 seconds]
<rogerr> leo60228 do the kbfs and keybase sockets already exist like stites[m] says? what's that mean too? if i understand right i need kbfs and keybase systemd units that require sockets, but i dont need to do anything for keybase-gui because it already expects kbfsfuse and keybase services to be running?
<stites[m]> i mean the systemd units
Mateon2 has joined #nixos
<rogerr> so i copy those and change them?
Mateon1 has quit [Ping timeout: 256 seconds]
Mateon2 is now known as Mateon1
<stites[m]> you mean for keybase-gui?
oida has joined #nixos
sangoma has joined #nixos
<rogerr> i dont know
<stites[m]> turning these on will enable them at login. keybase-gui should just work without any additional configuration
<rogerr> all i know is i want keybase-gui to start kbfsfuse and keybase services on demand, and quit them when keybase-gui isnt running anymore
<stites[m]> oh!
<rogerr> that's not what i want
<rogerr> i only want them running when keybase-gui is
<andrewrk> simpson, I think I have an idea for how to do it. It would look like having support for the various popular window managers, and detecting one of them running. For example on my system the program could detect that xfdesktop is running, and from that pid look up the ELF file which would show the .so paths for the various X11 libs as well as libGL.so.1 => /nix/store/q4pa2k9vhvzix7psvpvpph0hs4d3a70h-libglvnd-1.3.2/lib/libGL.so.1
<andrewrk> so then having detected this, the program could dlopen that libGL.so.1 and do graphics
<andrewrk> not sure how to do it for vulkan yet
<andrewrk> another problem is that the xfdesktop that is running is actually a wrapper script, so I would need some trick to get the path to the actual ELF file
<{^_^}> [nixpkgs] @dwoffinden opened pull request #104530 → dns-over-https: init at 2.2.2 → https://git.io/JkwvM
<stites[m]> rogerr: I think you'll just want to write a shell script that triggers the same start scripts in the linked systemd units
<stites[m]> overwrite the desktop of keybase-gui
axelf4 has quit [Remote host closed the connection]
<stites[m]> actually, I see one of two options:
<stites[m]> - just copy those services, don't enable them but have available. *.desktop can start these services and have a systemd timer just turn them off (I don't know how you'd gracefully shutdown on killing the process), or
<stites[m]> - write a wrapper of keybase-gui to do approximately the same thing
<{^_^}> [nixpkgs] @zowoq opened pull request #104531 → youtube-dl: 2020.11.19 -> 2020.11.21.1 → https://git.io/Jkwf3
civodul has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #104532 → frp: 0.34.2 -> 0.34.3 → https://git.io/JkwfC
civodul has joined #nixos
turlando has quit [Remote host closed the connection]
cmcaine has quit [Ping timeout: 245 seconds]
<shapr> Is there a separate nixos beginners channel where I can drop n00b questions?
<evils> shapr: this is the channel for all nixos questions :D
<shapr> ok then!
<seku> heh, i will need to ask quite a few questions too, sooner or later :)
<shapr> I have byobu installed, I'm running konsole, but running byobu does not seem to work. Any idea how to fix this?
turlando has joined #nixos
<Jezhehim[m]> <dminuoso "Jez (he/him) 🌦️: If the documen"> Yup, will try to remember!
<{^_^}> [nixpkgs] @r-ryantm opened pull request #104533 → fselect: 0.7.1 -> 0.7.2 → https://git.io/JkwJn
<shapr> Digging around on google turns up this 2016 bug that seems related: https://github.com/NixOS/nixpkgs/issues/14443 but it's closed as fixed?
<{^_^}> #14443 (by ryantm, 4 years ago, closed): byobu missing libnewt dependency
<{^_^}> [nixpkgs] @Mic92 merged pull request #94610 → nixos/openldap: switch to slapd.d configuration with structured settings → https://git.io/JJr0N
<{^_^}> [nixpkgs] @Mic92 pushed 14 commits to master: https://git.io/JkwJw
beertoagunfight has quit [Remote host closed the connection]
<evils> shapr: are you sure you're using byobu right, and are there any errors?
turbo_MaCk has quit [Ping timeout: 260 seconds]
<shapr> evils: pretty sure I'm using it correctly. By default byobu should start and work like a nicely configured tmux. I can copy my byobu config from by ubuntu install and see if that helps.
hyper_ch5 has joined #nixos
beertoagunfight has joined #nixos
<beertoagunfight> To answer my own question from before with regards to the systemd service, I changed the target to basic.target and it works.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #104534 → ft2-clone: 1.40 -> 1.41_fix → https://git.io/JkwJd
wouter_ has quit [Quit: Leaving]
hyper_ch2 has joined #nixos
<beertoagunfight> So, I was attempting to write my first derivation and I was wondering if I have to re-write the installPhase for this Makefile? Is there some magic I'm missing? https://github.com/jeremija/unipicker/blob/master/Makefile
<evils> shapr: `byobu-tmux` may do what you want, seems like `byobu` is supposed to default to `tmux`, which also needs to be installed, but it isn't using it? (i don't use byobu though)
<shapr> oh, good idea!
<shapr> evils: that works!
hyper_ch4 has quit [Ping timeout: 272 seconds]
<shapr> hurrah!
<shapr> evils: how did you think up that solution?
<shapr> I have ~20 years experience with Linux, the first five or so as a sysadmin. Even so, switching from Debian based distros is challenging for me.
<evils> shapr: `byobu --help`
<shapr> So I'm trying to understand the heuristics
<shapr> oh, so easy
<evils> :D
leo60228_ has joined #nixos
__monty__ has quit [Quit: leaving]
hyper_ch5 has quit [Ping timeout: 272 seconds]
jonatanb has quit [Remote host closed the connection]
<beertoagunfight> I'm currently stuck at `install: cannot create regular file '/usr/local/bin/unipicker': No such file or directory`. Is there a way to emulate a unix FS in the installPhase?
inkbottle has joined #nixos
leo60228 has quit [Ping timeout: 264 seconds]
bbarker has joined #nixos
leo60228 has joined #nixos
leo60228_ has quit [Ping timeout: 265 seconds]
<simpson> beertoagunfight: Pastebin your derivation? But usually you'll want to get the build script's prefix (e.g. --prefix) set to $out.
inkbottle has quit [Ping timeout: 240 seconds]
turlando has quit [Read error: Connection reset by peer]
turlando_ has joined #nixos
sajin4 has quit [Ping timeout: 245 seconds]
<beertoagunfight> simpson: https://pastebin.com/Hj526GiL - It does build for now, but I'm not sure if this is the right™ way to do it. For instance, the make phase succeeded even though I didn't specify python as a dependency.
<beertoagunfight> (It's also broken, I guess my `cp`s are incorrect)
turlando_ has quit [Client Quit]
bqv has quit [Quit: WeeChat 2.9]
alp has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @zowoq opened pull request #104535 → Revert "haskellPackages.trifecta: dontCheck on darwin" → https://git.io/JkwTM
bqv has joined #nixos
<simpson> beertoagunfight: You're certainly close. You'll want something like `mkdir -p $out/bin/`, followed by `cp unipicker $out/bin/`. You can think of $out as holding an entire (slice of) the FHS inside of it; if you need /bin or /share, just mkdir them.
bqv has quit [Client Quit]
bqv has joined #nixos
cosimone has joined #nixos
Boomerang has joined #nixos
<beertoagunfight> Ah I see what you mean, looking at the Makefile, it looks like I simply have to set $DESTDIR to $out. I'm trying to figure out how I can do that.
<evils> shapr: thanks, i think this means i figured out why my attempt at packaging `hollywood` didn't work
turlando has joined #nixos
aasg has quit [Quit: Bridge terminating on SIGTERM]
<simpson> beertoagunfight: makeFlags, https://nixos.org/manual/nixpkgs/stable/#build-phase for more details and examples.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #104536 → goconst: 1.3.2 -> 1.4.0 → https://git.io/Jkwk0
aasg has joined #nixos
<supersandro2000> or you use install which can do mkdir, mv and chmod in one
redmp has joined #nixos
<supersandro2000> and version should not start with v in nixpkgs. Add the v to rev to fetch it correct.
<beertoagunfight> Oh thanks simpson, I just figured that out a moment ago. Now it does assume the correct path for the build output, but the build fails with: install: cannot create regular file '/nix/store/zgpvvabz4rljqi1khycf787r4k5zdnp1-unipicker-v2.0.0/bin/unipicker': No such file or directory
<beertoagunfight> supersandro2000 - Gotcha! I'll correct it.
<supersandro2000> and the file wget wants to fetch should be fetched before and hashed
<supersandro2000> fzf and xclip are probably something for a wrapper.
<beertoagunfight> Okay, thanks for the pointers. I had a feeling that something doesn't feel right :-D
<beertoagunfight> It's all coming together slowly, there's a lot to process lol.
aasg has quit [Quit: Bridge terminating on SIGTERM]
<beertoagunfight> "use install which can do mkdir, mv and chmod in one" - Does that mean installPhase = "true"?
cosimone has quit [Quit: cosimone]
zebrag has quit [Quit: Konversation terminated!]
<evils> beertoagunfight: they mean the `install` command
deadpixels has joined #nixos
<{^_^}> [nixpkgs] @georgewhewell closed pull request #99585 → pythonPackages.python-miio: fix build → https://git.io/JUd2M
<leo60228> is there some way to have a hex number in a nix expression?
<{^_^}> [hydra] @edolstra merged pull request #811 → Stop violating not null constraint → https://git.io/JU8sv
<{^_^}> [hydra] @edolstra pushed 2 commits to master: https://git.io/JkwIh
Morfio has quit [Quit: This computer has gone to sleep]
<awwayaya24hours[> who have tried this yet?
Morfio has joined #nixos
aasg has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #104537 → gping: 0.1.6 -> 0.1.7 → https://git.io/JkwLG
zebrag has joined #nixos
<{^_^}> [nix] @edolstra merged pull request #4224 → installer: simplify the per-build installation → https://git.io/JThRF
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/JkwL0
vancz has quit [Ping timeout: 272 seconds]
pie_ has quit [Ping timeout: 272 seconds]
<leo60228> `(builtins.fromTOML "val = 0x1234").val` works, is there a better way?
pie_ has joined #nixos
vancz has joined #nixos
bbarker has quit [Remote host closed the connection]
bbarker has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #104538 → gpx: 2.5.2 -> 2.6.7 → https://git.io/JkwtJ
bqv has quit [Quit: WeeChat 2.9]
bqv has joined #nixos
bbarker has quit [Ping timeout: 240 seconds]
blackriversoftwa has quit [Ping timeout: 240 seconds]
sss2 has joined #nixos
<lejonet> Okay, this is driving me nuts, I've just updated from 20.03 to 20.09 and I cant for the life of me get firefox to stop segfaulting, I've tried with nuking .mozilla, using the official binary, building from source, everything just segfaults and the only thing I can find with strace is that it gets a null pointer deref somewhere after reading prefs.js and user.js (it crashes regardless if those 2 exist or not)
<lejonet> Anyone else seeing this behaviour with firefox 82.0.3?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #104539 → gqrx: 2.13.5 -> 2.14 → https://git.io/JkwtP
blackriversoftwa has joined #nixos
xenophile has joined #nixos
deadpixels has quit [Ping timeout: 260 seconds]
Boomerang has quit [Ping timeout: 256 seconds]
mananamenos has quit [Read error: Connection reset by peer]
<xenophile> Hello. So I have nixOS on my laptop and I really want to swtich to it on my main machine but the only thing preventing me is windscribe vpn cli isn't availible as a nix package. Is it fairly difficult to package something from a .deb or .rpm?
<ivan> lejonet: did you re-test 20.03 to see if it's not just your computer coincidentally failing?
meh` has quit [Ping timeout: 246 seconds]
<lejonet> ivan: I'm about to do that, this is driving me up the wall
<ivan> xenophile: it looks like windscribe has wireguard support which you can use on nixos via wg-quick
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ivan> lejonet: check journalctl / dmesg for the crash info from the kernel
<xenophile> :ivan Oh interesting. I'll go look into that. Thanks!
<lejonet> ivan: there is none... that is what vexes me
meh` has joined #nixos
<ivan> lejonet: try --disable-ion
hyper_ch4 has joined #nixos
<shapr> back to my byobu questions, when I run byobu-config I get "ERROR: Could not import the python snack module"
hyper_ch2 has quit [Ping timeout: 272 seconds]
<shapr> I found an issue that claims to have fixed that: https://github.com/NixOS/nixpkgs/pull/22774
<{^_^}> #22774 (by ryantm, 3 years ago, closed): fix byobu, closes #14443
<shapr> oh, the issue says "I stopped using byobu so I'm closing this issue" never mind.
civodul has quit [Quit: ERC (IRC client for Emacs 27.1)]
<lejonet> ivan: my 20.03 generation doesn't even boot anymore...
beertoagunfight has quit [Remote host closed the connection]
<ivan> lejonet: try memtest86 or similar? check smartctl on your storage device?
<lejonet> ivan: I just did a xfs_repair, it found nada, I know that my RAM is okay (I recently memtested it)
<shapr> ok, so it looks like this PR really does fix byobu-config https://github.com/NixOS/nixpkgs/pull/90430 and needs a merge?
<{^_^}> #90430 (by berbiche, 22 weeks ago, merged): byobu: add screen backend
<shapr> oh it is merged, does that mean I need to upgrade?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #104540 → helmfile: 0.134.1 -> 0.135.0 → https://git.io/Jkwmn
<lejonet> ivan: I will build it without ion and see if that helps anything
<lejonet> The most annoying thing is literally everything else works post upgrade :/ Even chromium
m1cr0man has quit [Quit: G'luck]
m1cr0man has joined #nixos
zupo has joined #nixos
<{^_^}> [nixpkgs] @mweinelt merged pull request #104531 → youtube-dl: 2020.11.19 -> 2020.11.21.1 → https://git.io/Jkwf3
<{^_^}> [nixpkgs] @mweinelt pushed 2 commits to master: https://git.io/Jkwm9
kenshinCH has quit [Quit: WeeChat 2.9]
philr has joined #nixos
alp has joined #nixos
<{^_^}> [nixpkgs] @mweinelt merged pull request #104526 → salt: 3002.1 -> 3002.2 → https://git.io/JkVA7
<{^_^}> [nixpkgs] @mweinelt pushed 2 commits to master: https://git.io/JkwYU
<{^_^}> [nixpkgs] @SenchoPens opened pull request #104541 → haskellPackages.tart: unmark as broken → https://git.io/JkwY8
ryantrinkle has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @zowoq pushed to release-20.09 « youtube-dl: 2020.11.19 -> 2020.11.21.1 »: https://git.io/JkwYw
ambro718 has joined #nixos
<ivan> lejonet: testing official older firefox binaries might yield something too
sangoma has quit [Quit: WeeChat 2.9]
<lejonet> ivan: I installed firefox-beta-bin, which seemed to pull down a version of 81, that one segfaulted too
Fare has joined #nixos
<ivan> nix-store --verify --check-contents
<lejonet> It must be the age old "Jit is doing something stupid that some new hardening feature doesn't like" or something along those lines lol
<lejonet> Because the big difference in 20.03 and 20.09 is going from a 5.7 kernel to 5.8 kernel
<{^_^}> [nixpkgs] @r-ryantm opened pull request #104542 → hstr: 2.2 -> 2.3 → https://git.io/JkwYA
<lejonet> But that pops the question "But why is chromium working then?", because even tho they don't use the same jit, chromium is guaranteed to be using some type of JIT that should hit similar snags
<lejonet> oh well, firefox compiles aren't +4h anymore, so it isn'
<lejonet> isn't TOO much of a pain to build it from source :P