worldofpeace changed the topic of #nixos to: NixOS stable: 19.09 \o/ https://discourse.nixos.org/t/nixos-19-09-release/4306/2 || 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/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2018 || For best support,
ddellacosta has quit [Ping timeout: 276 seconds]
ddellacosta has joined #nixos
ris has quit [Ping timeout: 258 seconds]
<Raito_Bezarius> it seems like it already support it
m0rphism has quit [Ping timeout: 240 seconds]
jluttine has quit [Ping timeout: 240 seconds]
abathur has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
toppler has joined #nixos
ddellacosta has quit [Quit: WeeChat 2.2]
NightTrain has quit [Quit: leaving]
ddellacosta has joined #nixos
lunik1213 has quit [Quit: Ping timeout (120 seconds)]
lunik1213 has joined #nixos
NightTrain has joined #nixos
moet has joined #nixos
jluttine has joined #nixos
Ariakenom has quit [Quit: Leaving]
patrol02 has joined #nixos
<patrol02> Hi all
<patrol02> I am configuring a laptop with NixOS, and I want all the windows that I have opened on a laptop screen to move to the external screen when I close a lid. This is something that Ubuntu does by default, but how do I configure it with NixOS?
halfbit has quit [Ping timeout: 268 seconds]
gxt has joined #nixos
jlm66 has joined #nixos
<ivan> Patrol02: which desktop environment? were you using the same on Ubuntu?
toppler has quit [Ping timeout: 276 seconds]
<patrol02> I am trying with sddm, lightdm and plasma5 combinations, but I think this is somehow basic and should be doable with any...
toppler has joined #nixos
slack1256 has joined #nixos
<patrol02> Ubuntu uses gnome3, but when I enable gnome3 and gdm in my nixos config I get a strange error which I don't have otherwise: The option `networking.useDHCP' has conflicting definitions, in `/etc/nixos/configuration.nix' and `/nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/services/networking/networkmanager.nix'
<patrol02> I don't quite understand why DHCP settings conflict with a desktop manager...
<patrol02> Perhaps I am hitting this (open) issue, but in general no, I haven't tried gnome3 yet. Am I looking at something that other desktop/display managers can't do for some reason?
iqubic has joined #nixos
moet has quit [Ping timeout: 264 seconds]
wtv_nick has joined #nixos
ambro718 has quit [Quit: Konversation terminated!]
wtv_nick has quit [Client Quit]
wtv_nick has joined #nixos
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
<patrol02> Yes, gnome3 does it! At the expense of that I lost my dhcp network and installed lots of stuff that comes with gnome3 and that I don't need to my disk.
<patrol02> Now, is it possible to do it with sddm or lightdm?
MmeQuignon has quit [Ping timeout: 240 seconds]
<ivan> Patrol02: you'd probably have to write your own stuff to do it
<ivan> I believe the more popular behavior that people might test is to just not have the laptop screen enabled when attached to an external screen
<ivan> the lid-close seems kind of niche
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « rocksdb: 6.2.4 -> 6.3.6 »: https://git.io/JeE3E
<{^_^}> #50832 (by andersk, 48 weeks ago, open): gnome3 enables networkmanager, which disables useDHCP, which breaks initrd network
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JeE3u
<{^_^}> [nixpkgs] @marsam opened pull request #72002 → pythonPackages.docker: fix build on darwin → https://git.io/JeE3g
toppler has quit [Ping timeout: 240 seconds]
<patrol02> Oh wow, it has only been reported a week ago! :)
<Orbstheorem> Hi! o/, How is the NixOS version string built? (e.g. when booting the system I read “Welcome to NixOS 19.09.907.f6dac808387”, 19.09 would be the release, but is f6dac808387 the commit on nixpkgs? (nix-channels?) and what about 907?
toppler has joined #nixos
cruxeternus has quit [Remote host closed the connection]
kvda has joined #nixos
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 4 commits to nixos-unstable-small: https://git.io/JeE3Q
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 5 commits to nixpkgs-19.09-darwin: https://git.io/JeEYe
detran has quit [Ping timeout: 240 seconds]
jlm66 has quit [Ping timeout: 240 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/95f1a9a0343 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/6aab37bf930 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
waleee-cl has quit [Quit: Connection closed for inactivity]
cptchaos83 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
cptchaos83 has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
<DigitalKiwi> the last section is indeed part of the commit hash
wtv_nick has quit [Read error: Connection reset by peer]
wtv_nick has joined #nixos
patrol02 has quit [Remote host closed the connection]
felixfoertsch23 has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
felixfoertsch has quit [Ping timeout: 264 seconds]
toppler has joined #nixos
hpfr has quit [Remote host closed the connection]
xelxebar_ has joined #nixos
xelxebar has quit [Ping timeout: 260 seconds]
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
aw has joined #nixos
spacefrogg has joined #nixos
wtv_nick has quit [Quit: leaving]
felixfoertsch has joined #nixos
felixfoertsch23 has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @marsam opened pull request #72003 → bash-completion: fix build on darwin → https://git.io/JeEsS
<Ashy> are there any jsoftware users here? just wondering if the qt gui works on nixos
<{^_^}> [nixpkgs] @bergey opened pull request #72004 → all firejail local includes should look in /etc/firejail → https://git.io/JeEs5
wormwood has quit [Ping timeout: 268 seconds]
noudle has joined #nixos
freeman42x has quit [Ping timeout: 252 seconds]
toppler has quit [Ping timeout: 268 seconds]
jlm66 has joined #nixos
abathur has quit [Ping timeout: 240 seconds]
toppler has joined #nixos
matthuszagh has joined #nixos
<matthuszagh> hi. i'm building a python derivation and getting the error "no module named setuptools" during the setuptoolsBuildPhase. However, setuptools is a propagatedBuildInput of the package, which I've double verified by checking `nix show-derivation`. Any ideas what could be going wrong here?
iyzsong has joined #nixos
mexisme has joined #nixos
mexisme has quit [Ping timeout: 264 seconds]
jlm66 has quit [Quit: Leaving]
jlm66 has joined #nixos
jlm66 has quit [Client Quit]
jlmeeker has joined #nixos
Fare has quit [Ping timeout: 276 seconds]
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jlmeeker has quit [Ping timeout: 240 seconds]
toppler has quit [Ping timeout: 265 seconds]
jonringer has quit [Ping timeout: 264 seconds]
jonringer has joined #nixos
toppler has joined #nixos
<{^_^}> [nixpkgs] @balsoft closed pull request #65982 → [19.03] Backport mtxclient and nheko to 19.03 → https://git.io/fjHPD
<ivan> matthuszagh: are you running that same version of nixpkgs you checked
<ivan> ah you checked
marcusr has quit [Remote host closed the connection]
marcusr has joined #nixos
marcusr has joined #nixos
marcusr has quit [Changing host]
<ivan> matthuszagh: does it use buildPythonPackage / python3.pkgs.buildPythonApplication
<matthuszagh> ivan: i'm running nixpkgs master plus a commit adding my packages
<matthuszagh> buildPythonPackage
<ivan> maybe its setup.py does something really dumb
<matthuszagh> happy to post the full default.nix if that helps
<ivan> sure
<matthuszagh> you won't be able to build it yourself cause there's a number of other derivations it relies on
<matthuszagh>
<matthuszagh> File "nix_run_setup", line 3, in <module>
<matthuszagh> ModuleNotFoundError: No module named 'setuptools'
<matthuszagh> import setuptools
<matthuszagh> is what i'm seeing for the build failure
<matthuszagh> it tries to run a run_setup.py and fails on importing setuptools
<matthuszagh>
<matthuszagh> import setuptools
<matthuszagh>
<matthuszagh> import tokenize
<matthuszagh> __file__='setup.py';
<matthuszagh>
<matthuszagh> exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))
<ivan> I commented out the three new ones you added
<matthuszagh> that's the run_setup.py file
M-Gregoire49 has quit [Ping timeout: 268 seconds]
<ivan> matthuszagh: I commented out your dependencies and that setuptools phase seemed to work fine https://gist.github.com/ivan/2b4cb15adf9f161a920a99c15a0b93e9
<ivan> I added a ` skidl = callPackage ../development/python-modules/skidl { };` to python-packages.nix on release-19.09
<matthuszagh> hm strange
<ivan> make sure your text editor isn't saving over the wrong file or something :-)
<matthuszagh> ha will do
<matthuszagh> i'm inheriting kicad in the python-packages file
<matthuszagh> wonder if thats messing it up
<ivan> print sys.path in setup.py?
<ivan> with and without deps
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
<matthuszagh> so taking kicad out makes it fail later on a needed kicad dep. so that is probably it
<matthuszagh> how do i do that
<matthuszagh> i had
<matthuszagh> };
<matthuszagh> inherit (pkgs) kicad;
<matthuszagh> skidl = callPackage ../development/python-modules/skidl {
<matthuszagh>
<matthuszagh> in python-packages
<matthuszagh> is that not the right way to do it?
<ivan> you don't need that, all-packages stuff is inherited
<ivan> I refer to ` inherit (pkgs) kicad;`
<matthuszagh> ok good to know
M-Gregoire49 has joined #nixos
<matthuszagh> for some reason the kicad still seems to be causing it to fail
Rusty1 has quit [Quit: Konversation terminated!]
<matthuszagh> i can print sys.path for you but unfortunately not sure how to do that
<matthuszagh> add a hook?
<ivan> you can temporarily point src = to a path on your disk
<ivan> then edit setup.py there with import sys; print(sys.path)
<ivan> src = /some/path
<ivan> src = /some/path;
<matthuszagh> ah gotcha
endformationage has quit [Quit: WeeChat 2.6]
<ivan> matthuszagh: should kicad even be in propagatedBuildInputs?
<matthuszagh> so it never gets called, which i guess is expected bc it's failing on the import setuptools in nix_run_setup, not from skidl's own setup.py
<matthuszagh> yeah, i believe so. it needs the path to the symbol libraries
<ivan> I ask because you have another pykicad
<matthuszagh> yeah that's separate..
<matthuszagh> but also a dep
<ivan> kicad is not packaged as a Python library in nixpkgs
<matthuszagh> it's funny it builds for you without the dependencies though. when i removed just kicad it was failing, just later
<matthuszagh> you mean the pykicad? yeah i created a derivation for that too
<matthuszagh> or you mean just kicad itself?
<ivan> I mean kicad itself
orivej has joined #nixos
<ivan> anyway I'm going to let someone else think about this because I should sleep
<matthuszagh> sure no worries thanks for the help!
toppler has quit [Ping timeout: 268 seconds]
<evils> matthuszagh: not to derail you, but i'm poking around kicad because it's crashing (at runtime), is wxPython_4_0 building for you?
<matthuszagh> evils: no worries you actually got me at a good time i'm poking around kicad too
<matthuszagh> yes it is
<matthuszagh> it's not for you?
<evils> 'pkg-config --modversion gtk+-3.0' returned 3.24.10, but GTK+ (3.24.11)
toppler has joined #nixos
<evils> that's wxwidgets-3.0.4 failing
<matthuszagh> ah yeah i had that exact same error a few days ago
<matthuszagh> i think it was a commit in the last few days that fixed it
<matthuszagh> are you at current nixpkgs master?
<matthuszagh> let me try to dig up the fix to be sure
<evils> matthuszagh: last edit to it on master is 2 months old
pjan has joined #nixos
<matthuszagh> i think it was a gtk commit
<matthuszagh> no guarantees, but if you checkout master and try i think it'll work
<matthuszagh> having a bit of trouble tracking down the specific change
<evils> will see in a few
<evils> nope
<evils> got anything local that could be it?
<matthuszagh> hm
<matthuszagh> maybe lemme see
<matthuszagh> unfort not sure i know how to help. mine builds on master. and none of my overlays seem to be relevant
<matthuszagh> curious why you're looking at wxPython_4_0 tho. are you trying to get kicad working on python3?
<evils> kicad's crashing, it's not really giving any useful feedback except `warnings.warn("wxPython/wxWidgets release number mismatch")` so i thought i'd try the newer version
<matthuszagh> have you tried using a newer kicad version
<matthuszagh> ?
<evils> yea, build from master
<evils> (theirs)
<matthuszagh> ok
millerj has joined #nixos
gxt has quit [Remote host closed the connection]
NightTrain has quit [Quit: leaving]
toppler has quit [Ping timeout: 265 seconds]
palo1 has joined #nixos
toppler has joined #nixos
palo has quit [Ping timeout: 276 seconds]
palo1 is now known as palo
xelxebar_ has quit [Remote host closed the connection]
xelxebar has joined #nixos
drakonis has quit [Quit: WeeChat 2.6]
<{^_^}> [nixpkgs] @adisbladis merged pull request #71990 → melpa-packages: 2019-10-25 → https://git.io/JeEku
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/JeEZu
<{^_^}> [nixpkgs] @Infinisil merged pull request #71905 → buku: relax mypy-extensions version req → https://git.io/Je06S
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/JeEZz
<evils> matthuszagh: i may have made a mistake on trying on master, 393e96b3fac51139c134209c5d4f2738506b140e seems to update gtk3 and that seems to have fixed wxPython_4_0
<evils> matthuszagh: woeps, meant 88273d47687b36bcf78e3ac67aa09224e1d015eb
<{^_^}> [nixpkgs] @c0bw3b pushed to master « Revert "qpdfview: escape "*.pro" qmakeFlags" »: https://git.io/JeEZi
<{^_^}> [nixpkgs] @ktor opened pull request #72005 → bcompare: 4.3.0.24364 -> 4.3.1.24438 → https://git.io/JeEZ1
toppler has quit [Ping timeout: 240 seconds]
slack1256 has quit [Ping timeout: 268 seconds]
knupfer has joined #nixos
toppler has joined #nixos
<matthuszagh> evils: nice! glad it worked for you
<matthuszagh> i'm actually working on getting kicad updated to python3/wxPython_4_0 atm
<DigitalKiwi> matthuszagh: will it stop crashing for me
<matthuszagh> oh no.. you too?
<evils> he put me up to it!
<matthuszagh> no promises
<matthuszagh> haha
<DigitalKiwi> yeah, but not someone else
kleisli has quit [Ping timeout: 245 seconds]
<DigitalKiwi> so somehow our computers are cursed and theirs isn't
<matthuszagh> apparently. don't spread that bad mojo pls
<matthuszagh> i can give you the commit i'm using which seems to work
<matthuszagh> haven't pulled in a little while
<evils> matthuszagh: you've checked the "searching for and placing a footprint in pcbnew makes it crash" issue?
<matthuszagh> a1fe8cfa5ab41c198d44f036a0fa4ee197c9a8b1
<matthuszagh> no actually i haven't but lemme try
reanimus has quit [Ping timeout: 250 seconds]
m0rphism has joined #nixos
reanimus has joined #nixos
<{^_^}> [nixpkgs] @taku0 opened pull request #72006 → thunderbird, thunderbird-bin: 68.1.1 -> 68.2.0 [Critical security fixes] → https://git.io/JeEZ5
<millerj> I'm a bit confused - can/how does one use overrideAttrs in an overlay to change a variable that is later used as ${variable} elsewhere in the source?
<matthuszagh> millerj: you mean used in the overlay or the original derivation?
palo1 has joined #nixos
Heirlung has quit [Quit: ZNC 1.6.5+deb1+deb9u2 - http://znc.in]
Heirlung has joined #nixos
<millerj> The original, where it has already been expanded.
palo has quit [Ping timeout: 265 seconds]
palo1 is now known as palo
<matthuszagh> ah yeah ok then i don't know. i feel like i've tried that before and it doesn't work and I just ended up adding to the overlay whatever other attributes used that. but i'm a novice so there might be a better way to get what you want
<{^_^}> [nixpkgs] @vcunat closed pull request #70375 → [19.03] unbound: 1.9.0 -> 1.9.4 → https://git.io/JecSy
<evils> matthuszagh: did you manage to crash kicad?
slack1256 has joined #nixos
<matthuszagh> evils: actually it seems to work
<matthuszagh> hasn't crashed yet
<matthuszagh> successfuly searched for and placed a footprint
<evils> matthuszagh: it's not very reliable, but searching for "dip 14" seems to do it most of the times xD
<millerj> matthuszagh: thanks. do you know is it more common that owners push these into arguments (for override), or some other convention?
<matthuszagh> evils: aha ok i'll try that
<DigitalKiwi> sometimes you just gotta type a bunch and it'll go
<matthuszagh> that worked too. will keep trying. but maybe also worth trying the commit i posted
<DigitalKiwi> i've had occassions that i was about to say "hey it worked this time" and then it died
<matthuszagh> wow you've really tested it
<evils> FWIW, i disabled scripting support in kicad, now the warning i get on starting pcbnew is `ImportError: No module named wxversion` followed by the segfault
<matthuszagh> millerj: mind posting the specific example? might be easier for me to help
<evils> so i'm not entirely convinced it's because of wx anymore, but it's still the main suspect, to me it seems to crash during a search (i can type in a term, wait half a second and it crashes)
<DigitalKiwi> 09:34 DigitalKiwi: Place -> Footprint -> *click on layout* -> footprint window -> type "dip 14" or w/e it usually crashes before i finish > segfault
<DigitalKiwi> evils: did you see that they mention that error on the wiki?
<evils> i'm seeing FP_CACH::Load() most if not every time near the start of the core dump, and not every time, _int_malloc very close to the start
<DigitalKiwi> at least i think it did
<evils> DigitalKiwi: if it's something you linked on the previous discussion, probably and dismissed it and forgotten it; otherwise, no
<DigitalKiwi> what's DRC
<DigitalKiwi> kicad-pcb.org/help/known-system-related-issues/#_legacy_canvas_and_wxgtk
<millerj> matthuszagh: i'm trying to support the extraArgs request in #69130 and deciding if I need to move extraArgs to arguments or not.
<yorick> DigitalKiwi: Design Rules Checker
<{^_^}> https://github.com/NixOS/nixpkgs/pull/69130 (by millerjason, 5 weeks ago, open): vimacs: init at 2016-03-24
<DigitalKiwi> so that's actually making it seem more likely to be the specific cause, even if it is just a warning
<evils> DigitalKiwi: i'm using 3.0.4
MichaelRaskin has joined #nixos
<DigitalKiwi> hm
toppler has quit [Ping timeout: 265 seconds]
<evils> DigitalKiwi: giving it a go with 3.1.2 (wxGTK31), i think i tried it before, but compiling again :P
<DigitalKiwi> wouldn't the problem be that somehow it's using 3.0.1 from somewhere else
jonringer has quit [Ping timeout: 240 seconds]
<DigitalKiwi> so confusing, and i thought nix was supposed to be reproduceable! :P
<matthuszagh> millerj: so you added the first suggestion and now trying to see if the overlay also works if someone wanted that?
<matthuszagh> not sure i completely understand
pi3r has joined #nixos
<matthuszagh> the overlay would be personal, i.e. not part of the pr. just the first suggestion would go in the pr
toppler has joined #nixos
myskran has joined #nixos
<millerj> matthuszagh: I'm planning to default the extraArgs to be empty, but want to test that a reasonable overlay/override could be used for extraArgs changes. If there's not an easy way for an end user, then it feels an override is more straightforward.
<millerj> To expect an end user to duplicate the buildCommand replacement is messy.
<matthuszagh> millerj: you could concatenate the extra build command to the original build command
myskran has quit [Ping timeout: 265 seconds]
<matthuszagh> something like buildCommand = old.buildCommand + '' ... '';
<matthuszagh> i think that would work
bvdw has quit [Read error: Connection reset by peer]
lord| has quit [Ping timeout: 245 seconds]
bvdw has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #68398 → fix openssl for cross compilation → https://git.io/JeqMg
<{^_^}> [nixpkgs] @Ericson2314 pushed 3 commits to master: https://git.io/JeEnZ
<{^_^}> [nixpkgs] @Ericson2314 pushed commit from @angerman to release-19.09 « openssl: Fix cross to Windows »: https://git.io/JeEnc
mexisme has joined #nixos
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 3 commits to nixos-unstable-small: https://git.io/JeEnC
<millerj> matthuszagh: normally that would. here the edit is about half way through a 13 line build command, which needs later replacements (so can't easily be the tail end unfortunately).
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/112436afc3a (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
mexisme has quit [Ping timeout: 240 seconds]
<pi3r> clever: I have found my problem. I need to pass pkgs from one derivation to the other to ensure both are built with the same haskell package set (as commented in the gist)
gxt has joined #nixos
<matthuszagh> millerj: hm ok then i'm not sure how to do it
FRidh has joined #nixos
<millerj> matthuszagh: no worries, I can ask the commenter if they have a suggestion on the idea. thanks for the suggestions.
<matthuszagh> sure no worries
wormwood has joined #nixos
barrucadu has quit [Remote host closed the connection]
barrucadu has joined #nixos
barrucadu has joined #nixos
barrucadu has quit [Changing host]
wormwood has joined #nixos
wormwood has quit [Changing host]
toppler has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @WilliButz pushed to release-19.09 « grafana-loki: 0.3.0 -> 0.4.0 »: https://git.io/JeEnD
ng0 has joined #nixos
millerj has quit []
toppler has joined #nixos
<{^_^}> [nixpkgs] @domenkozar merged pull request #72002 → pythonPackages.docker: fix build on darwin → https://git.io/JeE3g
<{^_^}> [nixpkgs] @domenkozar pushed 2 commits to master: https://git.io/JeEnH
matthuszagh has quit [Remote host closed the connection]
Ronan50 has joined #nixos
<Ronan50> How do I set up an arch chroot(/container?) under nix?
<{^_^}> [nixpkgs] @NinjaTrappeur opened pull request #72007 → nixos/acme: Custom ACME endpoint → https://git.io/JeEnb
<slack1256> You can still use docker
Ariakenom has joined #nixos
<Ronan50> Well sure, I could, but systemd-nspawn is made for this. Can nixos-container really only start nix environments?
<slack1256> There is also a buildFhsEnvironment options when you want something more integrated to nix, don't care about the isolation and you are only after the FHS hierarchy.
<slack1256> I can be wrong but I think so, yes.
<{^_^}> [nixpkgs] @peti merged pull request #68009 → ghcjs: fix build and disable profiling by default → https://git.io/fjpjL
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/JeEnh
lord| has joined #nixos
<{^_^}> [nixpkgs] @kirelagin opened pull request #72008 → nixfmt test → https://git.io/JeEce
<{^_^}> [nixpkgs] @kirelagin closed pull request #72008 → nixfmt test → https://git.io/JeEce
ckauhaus has joined #nixos
ckauhaus has quit [Client Quit]
ckauhaus has joined #nixos
pie_ has joined #nixos
kvda has joined #nixos
Ronan50 has quit [Remote host closed the connection]
slack1256 has quit [Remote host closed the connection]
kreisys has joined #nixos
ddellacosta has quit [Ping timeout: 268 seconds]
Wizek has joined #nixos
<{^_^}> [nixpkgs] @Ma27 pushed to master « mautrix-telegram: fix build »: https://git.io/JeEcn
toppler has quit [Ping timeout: 265 seconds]
nhey_ has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @fgaz opened pull request #72009 → shattered-pixel-dungeon: 0.7.4c -> 0.7.5e → https://git.io/JeEc4
toppler has joined #nixos
<{^_^}> [nixpkgs] @tobim opened pull request #72010 → cmake-format: init at 0.6.0 → https://git.io/JeEc0
<{^_^}> [nixpkgs] @edolstra pushed to release-19.09 « nixFlakes: 2.4pre20190922_382aa05 -> 2.4pre20191022_9cac895 »: https://git.io/JeEcE
pi3r has quit [Quit: Leaving]
b1000101 has joined #nixos
<{^_^}> [nixpkgs] @rycee opened pull request #72011 → svtplay-dl: mark as not broken → https://git.io/JeEcV
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kreisys has joined #nixos
Okinan has quit [Quit: Konversation terminated!]
kreisys has quit [Client Quit]
nhey_ has quit [Ping timeout: 240 seconds]
<fgaz> Hi all
<fgaz> I'm trying to package a gradle-base java game
<{^_^}> [nixpkgs] @rnhmjoj opened pull request #72012 → nixos/magnetico: fixes → https://git.io/JeEcK
<fgaz> And while I managed to do that for similar ones, (shattered-pixel-dungeon just got merged), I can't seem to make this one work
kreisys has joined #nixos
<fgaz> Would it be ok if I just package the jar built and released by the devs?
nhey_ has joined #nixos
<fgaz> There's a few instances of this already
Church- has quit [Quit: WeeChat 1.6]
myskran has joined #nixos
M-Gregoire49 has quit [Ping timeout: 240 seconds]
bvdw has quit [Quit: Ping timeout (120 seconds)]
bvdw has joined #nixos
<p01ar> Ericson2314, yo
<p01ar> sorry i was asleep :D
<Ericson2314> p01ar: its cool
nhey_ has quit [Ping timeout: 240 seconds]
<p01ar> ^^
fl0_id has quit [Quit: ZNC]
<Ericson2314> i am getting closer with windows btw
lucus16 has quit [Quit: No Ping reply in 180 seconds.]
<Ericson2314> the commit i just pushed to the PR to your branch doesn't work quite right
fl0_id has joined #nixos
<Ericson2314> meson is not turing auto feature -> `required : false`
myskran has quit [Ping timeout: 268 seconds]
<Ericson2314> p01ar: ahhh nixpkgs disables it
<p01ar> Ericson2314, a lot of the changes requested are regressions
<p01ar> did you try compiling on freebsd?
u0_a133 has joined #nixos
<Ericson2314> p01ar: no i didn't
<Ericson2314> what breaks on freebsd?
Parlum has joined #nixos
<p01ar> the main meson.build
<p01ar> it wont find those dependencies
<p01ar> the way it was written originally allows for weirdness in the directories of the libraries
<p01ar> dirs : libdir
<p01ar> you can give it an array there
<Ericson2314> p01ar: I would make options for that then
<Ericson2314> did you see my commit message?
<p01ar> not finished reading yet ^^
<Ericson2314> about GCC (and clang in immitation) being totally stupid with --print-* ?
<Parlum> What improvements cant be made to this? https://hasteb.in/hoxezike.kotlin
<Parlum> can*
<Ericson2314> that's the meat of it
<{^_^}> [nixpkgs] @Ma27 pushed commit from @WilliButz to release-19.09 « nixos/i18n: use str instead of string for consoleKeyMap »: https://git.io/JeEcS
<p01ar> ic
jonge has quit [Quit: quit]
root4 has joined #nixos
jonge has joined #nixos
<p01ar> did you check it respects all provided -L 's on freebsd?
<p01ar> dir : libdir was originally a hotfix for that
neiluj has joined #nixos
<root4> why when i trying to push commits using git, gui appears?
smove_ has quit [Ping timeout: 245 seconds]
<p01ar> also one thing i will say is i worked hard to make sure the build files were simple and easy to read
<p01ar> some things my brain just cant process x
<p01ar> xd
smove has joined #nixos
SOO7 has quit [Quit: Quit]
<root4> guys, how remove gui, whe pushing commits?
<Ericson2314> the libsolidum thing i made too complex
<Ericson2314> one sec
u0_a133 has quit [Read error: Connection reset by peer]
<Ericson2314> root4: use ssh not https, maybe?
u0_a133 has joined #nixos
<root4> but there no such issue with other distros
SOO7 has joined #nixos
<root4> i dont understand, what it is
<root4> some kind of wallet?
u0_a133 has quit [Read error: Connection reset by peer]
u0_a133 has joined #nixos
toppler has quit [Ping timeout: 265 seconds]
wajsel has joined #nixos
andreas303 has quit [Remote host closed the connection]
<wajsel> Question regarding SDL2
neiluj has quit [Quit: neiluj]
zupo has joined #nixos
<Ericson2314> root4 i am not sure sorry
<wajsel> with nix-env -i SDL2 Am I correct to expect a compiler to find includes automatically or should I give some long path as -I<path>
Philonous has quit [Ping timeout: 276 seconds]
<p01ar> Ericson2314, made some comments
<wajsel> for example `gcc hello.cpp -o hello -lSDL2`
<wajsel> with that I was
<p01ar> did you try building on bsd btw?
toppler has joined #nixos
nhey_ has joined #nixos
<wajsel> ... I was expecting to find SDL2 headers since I just install SDL2 with nix-env -i SDL2
Philonous has joined #nixos
<wajsel> is there something else that need to be done to find the includes
<wajsel> should LD_LIBRARY_PATH be setup?
<p01ar> and maybe extra_lib_dirs should be added hmm
cartwright has quit [Remote host closed the connection]
nhey_ has quit [Remote host closed the connection]
<tilpner> ,library wajsel
<{^_^}> wajsel: Don't install libraries through nix-env or systemPackages, use nix-shell instead. See https://nixos.wiki/wiki/FAQ/Libraries for details.
nhey_ has joined #nixos
<root4> what is the best way to up vlans in nixos?
phreedom_ has quit [Quit: No Ping reply in 180 seconds.]
andreas31 has joined #nixos
cartwright has joined #nixos
nhey_ has quit [Remote host closed the connection]
nhey_ has joined #nixos
<Ericson2314> @p01ar responded
phreedom has joined #nixos
ris has joined #nixos
<{^_^}> [nixpkgs] @rycee pushed to master « svtplay-dl: mark as not broken »: https://git.io/JeEcx
<{^_^}> [nixpkgs] @rycee closed pull request #72011 → svtplay-dl: mark as not broken → https://git.io/JeEcV
<p01ar> Ericson2314, :)
<{^_^}> [nixpkgs] @Lassulus opened pull request #72013 → wifite2: init at 2.2.5 → https://git.io/JeEcp
nihh_ has joined #nixos
u0_a133 has quit [Read error: Connection reset by peer]
nalck has joined #nixos
<wajsel> thanks, I'll have a look at the libraries link
u0_a133 has joined #nixos
<wajsel> amazing, thanks
nhey_ has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @timokau merged pull request #71894 → home-manager: 2019-09-20 -> 2019-10-23 → https://git.io/Je02M
<{^_^}> [nixpkgs] @timokau pushed 2 commits to master: https://git.io/JeECU
Ariakenom has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @dasJ opened pull request #72014 → nixos/kresd: Support setting the amount of threads → https://git.io/JeECk
kreisys has quit [Read error: Connection reset by peer]
kreisys has joined #nixos
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 34 commits to nixos-19.09: https://git.io/JeECt
nihh_ has quit [Ping timeout: 240 seconds]
chloekek has joined #nixos
root4 has quit [Quit: WeeChat 2.6]
kreisys has quit [Client Quit]
<{^_^}> Channel nixos-19.09 advanced to https://github.com/NixOS/nixpkgs/commit/27a5ddcf747 (from 3 days ago, history: https://channels.nix.gsc.io/nixos-19.09)
u0_a133 has quit [Read error: Connection reset by peer]
Scarpa has joined #nixos
Scarpa is now known as Scalene
<Scalene> Hi all, I need a bit of advice
u0_a133 has joined #nixos
<Scalene> and I cant seem to figure out how to enable pulseSupport as defined in the nix config
<Scalene> I tried putting a line like `nixpkgs.config.scream-receivers.pulseSupport = true;` in my configuration.nix
<Scalene> but it had little effect
<Scalene> How would I go about enabling this?
u0_a133 has quit [Read error: Connection reset by peer]
u0_a133 has joined #nixos
alexherbo2 has joined #nixos
knupfer has quit [Ping timeout: 245 seconds]
<rnhmjoj> Scalene: you have to "override" the package: it looks like this: environment.systemPackages = [ (scream-receivers.override { pulseSupport = true; }) ]
knupfer has joined #nixos
__monty__ has joined #nixos
b1000101 has quit [Ping timeout: 265 seconds]
<rnhmjoj> by default it will be enable if pulseaudio is enabled (via hardware.pulseaudio.enable)
knupfer has quit [Client Quit]
toppler has quit [Ping timeout: 264 seconds]
{^_^} has quit [Remote host closed the connection]
joapet99 has joined #nixos
nalck has quit [Quit: nalck]
<rnhmjoj> ok, no: it's `nixpkgs.config.pulseaudio = true`
toppler has joined #nixos
<joapet99> Hey. When building lutris it fails to compile the dependency gnutls-kdh-1.0. http://paste.debian.net/1110852/
tpanum has quit [Ping timeout: 240 seconds]
tpanum has joined #nixos
wajsel has quit [Remote host closed the connection]
b1000101 has joined #nixos
<Scalene> @rnhmjoj will try that, thanks
<rnhmjoj> Scalene: if you do the latter you won't need to override the package
<Scalene> @rnhmjoj Worked a charm, much appreciated.
<rnhmjoj> Scalene: glad i could help
knupfer has joined #nixos
neiluj has joined #nixos
<neiluj> hello !
<neiluj> I'm trying to install nixos in a vm
ZeDestructor has quit [Quit: o.O]
<neiluj> but I got this error when I install nixos : https://framapic.org/YWx853JC0LF6/WGfCwfMkhLVo.png
<neiluj> it looks like there is a dependencies problem?
ZeDestructor has joined #nixos
Scalene has quit [Remote host closed the connection]
nalck has joined #nixos
<rnhmjoj> neiluj: it looks like issue #71975
kreisys has joined #nixos
chloekek has quit [Ping timeout: 265 seconds]
nihh_ has joined #nixos
nihh_ has quit [Ping timeout: 268 seconds]
neiluj has quit [Quit: neiluj]
nihh_ has joined #nixos
lord| has quit [Ping timeout: 240 seconds]
toppler has quit [Ping timeout: 240 seconds]
<Parlum> I feel like I'm missing something obvious... I am trying to run a binary that depends on the shared library libxerces-c-3.1.so . In 2016, I could've built this against nixpkgs as it was packaged for nix - https://github.com/NixOS/nixpkgs/commit/7e9c1a30b3b510650281af2ec5fa31fd618e3167#diff-a4bb8e783870bfd0e950f2b45c88dde4 , but now that the package
<Parlum> has been 'updated', the useful derivation in that commit has just been deleted. If nix is meant to be used to package libraries, I dont understand how it can fail to support versions. If I had built this when the right version was in nixpkgs, it would be cryptically failing to build now. Or, if I had been aware of nix's inability to handle this, I
<Parlum> would've been force to pin the nixpkgs version, leaving me with the security vulns that were fixed in that commit
nihh_ has quit [Ping timeout: 268 seconds]
gin_gin has joined #nixos
neiluj has joined #nixos
<neiluj> thanks rnhmjoj, I'm looking into this :)
<symphorien> Parlum: I don't really understand. You want xercesc version 3.1.4 ?
toppler has joined #nixos
<Parlum> I want to be able to specify the dependency of a project as 3.1, which would've updated to 3.1.4 after the commit I linked
<symphorien> nix does not include a dependency resolver, so you can't. You would have to add a new layer which generates nix files depending on version specifications.
gin_gin is now known as soju
<Parlum> Right. Are there any examples of that?
<symphorien> nixpkgs only provides one version of everything to keep the repo maintainable
<symphorien> I think the haskell subtree of nixpkgs has such a thing, based on hackage
<symphorien> but it is haskell specific
<Parlum> I understand that there should only be one version of a 'package', but it seems like the recipe should be able to take a `version` argument where the build process is similar. I'll check out how it handles hackage
soju has quit []
<symphorien> version + hash
gin_gin has joined #nixos
<symphorien> this detail makes it impractical
<Parlum> What do you mean?
thc202 has joined #nixos
<Parlum> Like with xercesc as an example, why would it have been impractical to allow a `version` override?
<symphorien> and, Parlum, by the way: you can make any recipe take a version: xercesc.overrideAttrs (old: { src = fetchurl { whatever depending on version })
<Parlum> I dont want to have to specify a url and hash just to change versions :D
<symphorien> you can't meaningfully override the version without the hash
<Parlum> Yes, but the definition could contain it
<Parlum> Because it already did before it was deleted XD
<symphorien> the hash depends on the version
<symphorien> and a dependency resolver can't compute the hash
gin_gin has quit [Client Quit]
<Parlum> Lemme try it out, I could be missing smthn
<symphorien> well it could, but it would be impure
soju has joined #nixos
<symphorien> which defeats the point of nix
b has joined #nixos
<symphorien> <Parlum> Because it already did before it was deleted XD << I don't see that
soju is now known as gin_gin
<Parlum> You dont see what?
<symphorien> that it used to take a version as argument
<Parlum> Oh no, it used to contain the old hash, now it contains the new one. Like I said, I'm going to write an example of what I'm thinking
<Parlum> Might realise why it doesnt work :)
gin_gin is now known as soju
ArdaXi has quit [Ping timeout: 246 seconds]
ArdaXi has joined #nixos
astrall33 has joined #nixos
u0_a133 has quit [Ping timeout: 240 seconds]
foxmean has joined #nixos
soju has quit []
myskran has joined #nixos
soju has joined #nixos
myskran has quit [Ping timeout: 252 seconds]
v0|d has quit [Ping timeout: 268 seconds]
u0_a133 has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
toppler has joined #nixos
gleber_ has quit [Quit: Connection closed for inactivity]
joapet99 has quit [Quit: Leaving]
MmeQuignon has joined #nixos
<otwieracz> After upgrading to 1909 all my containers stopped working:
<otwieracz> Oct 26 14:16:51 pioneer systemd-udevd[10665]: vb-tiddly: Process '/nix/store/764zmyr4wkczr9h4x36jyhyqfwa877jn-procps-3.3.15/bin/sysctl net.ipv6.conf.enp1s0.use_tempaddr=1' failed with exit code 255.
<otwieracz> Any ideas?
<neiluj> for some reason I could install my nixos, the error went away
jollyjester has joined #nixos
<jollyjester> yo, how can i set up an overlay, specifically one that i can use to install unstable packages using home-manager
<jollyjester> in what directory and file am i supposed to make a overlay in and how can i link it to my configuration, if there's a need to do so
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
exarkun has joined #nixos
exarkun is now known as Guest6818
logzet has joined #nixos
nalck has quit [Ping timeout: 240 seconds]
Guest6818 has quit [Client Quit]
palo has quit [Quit: WeeChat 2.4]
nhey_ has joined #nixos
palo has joined #nixos
chloekek has joined #nixos
xkapastel has joined #nixos
<jollyjester> so how am i supposed to make home-manager install unstable packages?
b1000101 has quit [Remote host closed the connection]
b1000101 has joined #nixos
toppler has quit [Ping timeout: 265 seconds]
kreisys has joined #nixos
astrall33 has quit [Ping timeout: 265 seconds]
<wedens[m]> home-manager as a NixOS module?
tokudan has quit [Quit: Dunno.]
<wedens[m]> there is nixpkgs.overlays option in HM itself
<wedens[m]> I use system-wide overlays in nixos though
exarkun has joined #nixos
tokudan has joined #nixos
nhey_ has quit [Remote host closed the connection]
nhey_ has joined #nixos
neiluj has quit [Quit: neiluj]
Fare has joined #nixos
toppler has joined #nixos
exarkun has quit [Client Quit]
exarkun has joined #nixos
<exarkun> On one machine, seemingly at random, out of five, the timesync service fails because nothing ever bothered to create its state directory
palo has quit [Quit: WeeChat 2.6]
<exarkun> What happened to determinism and repeatability
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<wedens[m]> "state". that's what happened to "determinism and repeatability"
<exarkun> all fresh deployments
zupo has joined #nixos
<exarkun> I get it, state sucks, but this is the easiest case. It's quite disappointing.
<tokudan> exarkun, how does the state directory get created on those 4 systems that work?
<exarkun> tokudan: I have no idea
<exarkun> tokudan: Nothing I went out of my way to do
<tokudan> maybe timesyncd is missing a dependency on something that creates the directory?
<exarkun> I deployed the same nix expression, apart from trivial differences like static ip assignments, to all five servers
<tokudan> looks like systemd-timesyncd has StateDirectory=systemd/timesync set, which means it should be systemd's job to create that directory
Ariakenom has joined #nixos
<exarkun> in the changelog I see that systemd-timesyncd has some interactions between stateVersion, 19.03, and 19.09
<exarkun> so I looked at grub.cfg
<exarkun> and I see some joker installed 19.03 on one server and 19.09 on all the rest
<adamt> Is this perhaps a 19.03 system upgraded to 19.09, without system state version set? Because that also makes timesyncd fail on startup.
<exarkun> (but told me they installed 19.09 on all of them)
<exarkun> so, yea.
<srhb> "stateVersion? probably not important!"
knupfer has quit [Remote host closed the connection]
palo has joined #nixos
jollyjester has quit [Ping timeout: 276 seconds]
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nhey_ has quit [Ping timeout: 268 seconds]
kreisys has joined #nixos
<petercommand> what's the recommended way to add some QT_PLUGIN_PATH to all qt apps in nixos?
kreisys has quit [Client Quit]
<petercommand> I am trying to get fcitx-qt5 to work normally
<wedens[m]> environment.variables.QT_PLUGIN_PATH ?
<petercommand> not sure what's the proper way to do it
knupfer has joined #nixos
<petercommand> wedens[m]: thanks
myskran has joined #nixos
<petercommand> wedens[m]: I was trying to see if there is a way to change the behavior of wrapQtAppsHook
<petercommand> but yeah, changing the environment variable should work
<petercommand> fcitx-qt5 worked before I upgraded to 19.09
<petercommand> not sure what changed
abathur has joined #nixos
waleee-cl has joined #nixos
foxmean has left #nixos ["ERC (IRC client for Emacs 26.3)"]
myskran has quit [Ping timeout: 240 seconds]
MmeQuignon has quit [Ping timeout: 245 seconds]
toppler has quit [Ping timeout: 265 seconds]
cartwright has quit [Remote host closed the connection]
cartwright has joined #nixos
b1000101 has quit [Remote host closed the connection]
knupfer has quit [Quit: knupfer]
<petercommand> wedens[m]: it worked :D
toppler has joined #nixos
nhey_ has joined #nixos
knupfer has joined #nixos
gxt has quit [Ping timeout: 260 seconds]
bvdw has quit [Read error: Connection reset by peer]
nhey_ has quit [Remote host closed the connection]
nhey_ has joined #nixos
bvdw has joined #nixos
nhey_ has quit [Remote host closed the connection]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
logzet has quit [Remote host closed the connection]
chloekek has quit [Ping timeout: 265 seconds]
zupo has joined #nixos
zupo has quit [Client Quit]
alexherbo29 has joined #nixos
alexherbo2 has quit [Ping timeout: 265 seconds]
chris__ has joined #nixos
xd1le has quit [Quit: leaving]
endocrimes has quit [Quit: running from the computers]
endocrimes has joined #nixos
<chris__> Hello! I'm running a bit low on space on my SSD. And I was wondering, instead of doing a garbage collect and potentially removing old packages that I MIGHT need. Could I maybe copy the store to a second hard drive, and then setup a local nix (binary cache?)? Because fetching from the second hdd will be faster than going over the internet..
ng0 has quit [Quit: Alexa, when is the end of world?]
ng0 has joined #nixos
<simpson> Sounds like a lot of work. Are you on metered bandwidth?
<chris__> simpson: No, I just remember a lot of packages being removed after garbage collect. Something about the packages not being in the "gc roots"? Haskell stack packages that is.
ng0 has quit [Client Quit]
ng0 has joined #nixos
<chris__> Isn't it as simple as cp /nix/store /mount/hdd2/nix/store and then just `nix-serve --something /mount/hdd2/nix/store`?
<simpson> chris__: Ah, Haskell, and you don't want to burn more CPU rebuilding.
<simpson> It's something like that, yeah. I think you'll have to set up keys on the other machine and trust it from your first machine, too.
ng0 has quit [Client Quit]
ng0 has joined #nixos
<chris__> simpson: oh it's the same machine. Small SSD - but large second HDD. My main concern is just about files being potentially overwritten/corrupted? But from my understanding /nix/store is meant to be immutable?
ng0 has quit [Client Quit]
mmlb8 has joined #nixos
ng0 has joined #nixos
<simpson> File corruption is always a danger, period. The immutability of the store protects from overwriting, but usually that immutability is enforced partially by the NixOS runtime, and I'm not sure whether that can be done for multiple stores.
mmlb has quit [Ping timeout: 240 seconds]
abathur has quit [Quit: abathur]
ng0 has quit [Quit: Alexa, when is the end of world?]
ng0 has joined #nixos
u0_a1331 has joined #nixos
kreisys has joined #nixos
<MichaelRaskin> nix-push could actually be not so much work
toppler has quit [Ping timeout: 276 seconds]
<chris__> MichaelRaskin: I'll take a look thanks!
<MichaelRaskin> Also look what nixos-install does: nix copy or something like that
<MichaelRaskin> It basically needs to copy a known list of paths into another store on the same machine, sounds similar
u0_a133 has quit [Ping timeout: 268 seconds]
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
toppler has joined #nixos
smw_ has joined #nixos
<DigitalKiwi> nh2_: has a really good nginx cache module
<DigitalKiwi> you can trivially modify that to just be part of your configuration and not use amazon
<smw_> Hi all. Is there a guide somewhere on making your own app not part of nixpkgs? Is there also a guide on how to use local (to the git repo) files instead of any sort of “fetch”. I have a nixos machine and need to write a small go program which will run in the system. It is not quite config, but close.
<DigitalKiwi> (if you can't figure it out i can post mine)
<DigitalKiwi> there's also nix-serve
<smw_> In a perfect world, this app would go in the same git repo as my nixos config.
<mdash> smw_: you can just specify paths as source for builds, whether relative to the nix file or absolute
<smw_> mdash: thanks. That makes sense.
<DigitalKiwi> "./."
<mdash> smw_: so you can write something like `buildGoModule { name = "foo"; src = ../apps/my-go-app; ...}`
<smw_> mdash: and in my nixos config I have access to “pkgs”. So. Guess I use that to get buildGoModule?
<mdash> smw_: yep
<mdash> this is pretty common fwiw
<smw_> mdash: yeah, it is still kinda hard for me to find documentation on “common” usecases.
<smw_> mdash: I feel like nix would take over the world if it had documentation and compiler errors on par with Rust :-)
<mdash> smw_: well, maybe if it got funding on par with rust... :)
<chris__> DigitalKiwi: thanks that project by nh2 looks ideal!
<smw_> mdash: hah, fair enough
<DigitalKiwi> chris__: i'm quite pleased with it been using it as much as i can for...most of this year i think
<DigitalKiwi> nh2_++
<DigitalKiwi> <3 nh2_
<DigitalKiwi> :(
<nh2_> :)
<DigitalKiwi> ooh now it should work right?
<DigitalKiwi> <3 nh2_
<DigitalKiwi> grr
<DigitalKiwi> i know it won't work if you hvaen't spoken recently right?
<smw_> mdash: Is there a way to nixos-rebuild from not /etc/nixos? Or, to see what a system would look like while building as non-root?
<smw_> mdash: right now I am editing my files in place in /etc/nixos and really want to stop doing that
<DigitalKiwi> it would help if the bot was here
<jD91mZM2> Why doesn't hydra allow you to import nix files from a derivation? https://github.com/NixOS/nixpkgs/pull/71976#issuecomment-546390545
<__monty__> IFD?
<DigitalKiwi> smw_: my /etc/nixos/configuration.nix only has a few lines it includes other files, you can change that one line. mine points to a git repo in my home...
<DigitalKiwi> (i'm not sure how that is for security but...)
<smw_> DigitalKiwi: that would do it
<DigitalKiwi> (you can also do it in the same folder so the permissions are fine, but basically yeah just include a different file)
<DigitalKiwi> s/include/import/
b1000101 has joined #nixos
<jD91mZM2> Never mind my question, I read the docs and it's to prevent building during evaluation and vise versa apparently. Cool!
<smw_> DigitalKiwi: I already import many files, didn’t think of using it to relocate the directory.
nalck has joined #nixos
noudle has quit []
Soo_Slow has joined #nixos
moet has joined #nixos
<DigitalKiwi> i'm not good at nix so i have to do whatever is the least effor least complicated thing. sometimes it's the simple solutions that are the easiest to miss. i know i miss them a lot the first...few times around, often
sarahzrf has left #nixos ["WeeChat 2.6"]
nixy has quit [Quit: The Lounge - https://thelounge.chat]
Guest12571 has quit [Quit: ZNC 1.7.3 - https://znc.in]
<DigitalKiwi> <insert that one quote about a letter that was too long because they did not have time>
nixy has joined #nixos
endformationage has joined #nixos
<smw_> DigitalKiwi: sounds reasonable
Fare has quit [Ping timeout: 240 seconds]
<smw_> Oh, one more question for the room. I setup luks encryption and dropbear in the initrd to do remote unlock. However, because the interface is up, two things are breaking: 1. systemd-udevd’s renaming of the interface from eth0 to eno1. 2. DHCP is failing to bring up the already enabled interfaces causing systemd to wait an extra 1m30s. Has anyone seen this before? Is there a way to bring down the interface before stage2 of the boot starts?
<joepie91> can someone tell me how to disable the post-install tests for pycurl? I can't rebuild my system because the tests keep failing and it's starting to drive me crazy
<smw_> Also, even if I did bring it down, systemd-udevd would rename it meaning I would need to configure DHCP on both eth0 and eno1 which would just cause the problem again.
<joepie91> the thing has been causing problems forever
<smw_> DigitalKiwi: In case it is not obvious, I understand linux pretty well. It is just nix I can’t seem to wrap my head around :-)
Fare has joined #nixos
<joepie91> I'm fairly sure that it's a race condition...
thc202 has quit [Ping timeout: 245 seconds]
kreisys has joined #nixos
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
johnw_ has joined #nixos
Acou_Bass has quit [Quit: ZNC 1.7.4 - https://znc.in]
<DigitalKiwi> smw_: i may be talking out of my rear but i feel like i've read you have to use static ip with dropbear
johnw has quit [Ping timeout: 276 seconds]
<smw_> DigitalKiwi: well, it works without it, just causes problems :-)
<DigitalKiwi> or, at least, if nothing else there are limitations to the ways you can configure an interface
<DigitalKiwi> i never figured out how to make the ssh keys stay :<
<smw_> Hah, I haven’t done that either…
<smw_> it is on the list
<smw_> DigitalKiwi: this is a home lab project of sorts. Infinite things to configure
* DigitalKiwi knows that feeling
<smw_> DigitalKiwi: https://pastebin.com/c7STL3XT, it is timing out doing address configuration. Which is funny because the address is configured before stage2 even starts
<DigitalKiwi> i started to rewrite my nix-configs to clean them up...that was 5 months ago
<smw_> DigitalKiwi: so the fact an address is already configured is breaking address configuration
<DigitalKiwi> huh
chris__ has quit [Ping timeout: 265 seconds]
<DigitalKiwi> i'm probably not much help it's been months since i looked at it
<simpson> DigitalKiwi: I keep having the feeling where I want a framework, but not *that* framework~ Particularly with home-manager.
toppler has quit [Ping timeout: 240 seconds]
justanotheruser has quit [Ping timeout: 240 seconds]
Acou_Bass has joined #nixos
ddellacosta has joined #nixos
realrokka has joined #nixos
<DigitalKiwi> i have it figured out how i want to do it i think it's just boring and not incredibly high on the list of things that are important or bring a great deal of benefit from what i have and i got busy with other things
xkapastel has quit [Quit: Connection closed for inactivity]
kp__ has joined #nixos
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kp__ has quit [Client Quit]
<DigitalKiwi> low ROI as it were
<tokudan> smw_, probably a bit late, but I wrote a very simple summary of how to add a simple package: https://besaid.de/channel/enp4s0/?f=&mid=2ad65918b171b2425336e3cfc2993fba9d423b5ceaeaf94d2f03384d96239831@besaid.de
toppler has joined #nixos
<smw_> tokudan: I didn’t know about callPackage
<smw_> tokudan: very useful
<smw_> tokudan: where is callPackage defined?
<tokudan> smw_, that is a very good question that I don't know the answer to
<smw_> Ugh, I now want documentation on what call package does. Time to do a bunch of searching in nixpkgs...
tsrt^ has quit [Read error: Connection reset by peer]
<tokudan> smw_, what I did to find out about callpackage is to look at the pkgs/top-level/allpackages.nix. that's where all the regular packages are defined and where you see the "mbuffer = (callPackage ../../tools/whatever/file.nix {})"
alexherbo29 has quit [Ping timeout: 240 seconds]
<DigitalKiwi> lib/customisation.nix: callPackage = self.newScope {};
<DigitalKiwi> there?
alexherbo29 has joined #nixos
knupfer has quit [Ping timeout: 245 seconds]
<smw_> tokudan: makes sense
<tokudan> smw_, a nice trick is that you can "replace" dependencies in the {}, for example you could replace openssl in mbuffer by using callPackage ./mbuffer.nix { openssl = openssl_other_version; };
<tokudan> smw_, and openssl_other_version can of course be another callPackage (or probably should be, to make any sense)
<smw_> Makes sense
<smw_> DigitalKiwi: huh… took awhile to wrap my head around it. Looks like callPackage is the scope all packages use to depend on each other.
<smw_> Or I understand nothing
<smw_> the latter is more likely
b1000101 has quit [Ping timeout: 265 seconds]
justanotheruser has joined #nixos
smw_ has quit [Quit: Computer has gone to sleep]
jco has joined #nixos
smw_ has joined #nixos
<jco> hello ! I'm following the nixos installation manual but I get an error when I format my partitions for the UEFI :
<jco> when I enter parted /dev/sda -- set 3 boot on I get Partition does not exist
fusion809 has quit [Remote host closed the connection]
<tokudan> jco, then you do not have the partition 3, which should be your EFI system partition, created in the command directly before that
<jco> tokudan: right, i didn't want to add the swap partition
tmplt has joined #nixos
smw_ has quit [Ping timeout: 252 seconds]
<tokudan> jco, then figure out the partition number for your ESP and use that number instead of 3 :)
<jco> thanks this is it !
<jco> it works :)
<tmplt> I need package version 1.3.0 for `services.murmur` which hasn't been backported to 19.09. How should I override the version if the service doesn't expose a package option? This is with nixops.
smw_ has joined #nixos
<tokudan> tmplt, that would be overriding a package, have a look at the nixos manual and read all of 6.1.1, the end is important: https://nixos.org/nixos/manual/index.html#sec-customising-packages
Soo_Slow has quit [Remote host closed the connection]
<tokudan> tmplt, basically you need to override the package that services.murmur is using globally
<tokudan> tmplt, if you have multiple systems in your nixops config i'm actually not sure how exactly this could affect other systems, so test it first
<tmplt> Okey, I'll check that out
fendor has joined #nixos
<tmplt> tokudan: ah, so I would use `nixpkgs.config.packageOverrides` here?
drakonis has joined #nixos
<tokudan> tmplt, in the scope of the system you're defining, yes
<tmplt> Alright, thanks
<tokudan> i haven't done that myself, so I cannot give you any hands-on experience, but that should be the correct tool
<tokudan> (or at least I hope that someone else starts yelling at me soon if that's wrong)
toppler has quit [Ping timeout: 268 seconds]
nalck has quit [Quit: nalck]
drakonis has quit [Read error: Connection reset by peer]
drakonis has joined #nixos
drakonis_ has quit [Ping timeout: 240 seconds]
fresheyeball has joined #nixos
smw_ has quit [Quit: Computer has gone to sleep]
toppler has joined #nixos
smw_ has joined #nixos
aleph- has joined #nixos
chris__ has joined #nixos
smw_ has quit [Ping timeout: 276 seconds]
freeman42x has joined #nixos
<Orbstheorem> Is there a fetcher that “pulls a specific file(s) from a git repository”?
<tilpner> Orbstheorem: AFAIK that can't be done with git in general
<tilpner> Orbstheorem: You have the option of fetching the entire repo, and then using just that one file
<tilpner> Orbstheorem: Or you can use a provider-specific API to fetch it without fetching the entire repo
<DigitalKiwi> could you put the specific files in a tar and fetch that ?>.>
* DigitalKiwi doesn't know if it's yours or others repo
melling has joined #nixos
u0_a1331 has quit [Read error: Connection reset by peer]
Parlum has quit [Ping timeout: 260 seconds]
pie_ has quit [Ping timeout: 245 seconds]
drakonis_ has joined #nixos
drakonis has quit [Ping timeout: 245 seconds]
moet has quit [Ping timeout: 276 seconds]
Heirlung has quit [Ping timeout: 245 seconds]
Heirlung has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
fendor_ has joined #nixos
dm9 has joined #nixos
smw_ has joined #nixos
toppler has joined #nixos
omnipotententity has quit [Quit: Leaving]
u0_a1331 has joined #nixos
moet has joined #nixos
drakonis has joined #nixos
cosimone has joined #nixos
drakonis_ has quit [Ping timeout: 268 seconds]
FRidh has quit [Quit: Konversation terminated!]
moet has quit [Ping timeout: 265 seconds]
<jco> is there a package to insatll all the common build tools like gcc or gnu make ?
drakonis_ has joined #nixos
<Yaniel> they are part of stdenv
drakonis has quit [Ping timeout: 246 seconds]
drakonis has joined #nixos
Okinan has joined #nixos
<jco> thanks, this did it ! I was also looking for tools like cc or as
silver has joined #nixos
jonringer has joined #nixos
<jco> they are present in most distributions but couldn't find it on nixos
toppler has quit [Ping timeout: 252 seconds]
<Yaniel> cc is usually just an alias to gcc (or clang)
<jco> okay, I can make one then. but what about as?
smw_ has quit [Quit: Computer has gone to sleep]
smw_ has joined #nixos
<MichaelRaskin> Binutils has as
xkapastel has joined #nixos
ckauhaus has quit [Quit: WeeChat 2.4]
toppler has joined #nixos
orivej has quit [Ping timeout: 246 seconds]
<DigitalKiwi> you probably don't need to make an alias the compiler should do that for you
<DigitalKiwi> if you type 'cc' on a system that doesn't have a c compiler in path it'll tell you packages that provide one
smw_ has quit [Ping timeout: 268 seconds]
evelyn has quit [Quit: WeeChat 1.6]
<jco> okay, I need these because I'm installing packages through opam
<symphorien> call opam inside nix-shell -p lib1 lib2 lib3
<symphorien> or better, if all of you dependencies are in nixpkgs, don't use opam at all
<jco> indeed it works with gcc as library
<symphorien> (the problem with opam: when you garbage collect, you might remove libs used by opam packages)
<jco> and yes you're right I should install the packages directly
<symphorien> jco: nix-shell automatically gives you gcc, as, ld, make and an few other
<jco> oh great!
ng0 has quit [Ping timeout: 260 seconds]
<symphorien> ,libraries jco
<symphorien> oh is the bot dead ?
<jco> oh are there any more up to date versions of ocaml?
<symphorien> https://nixos.wiki/wiki/FAQ#I_installed_a_library_but_my_compiler_is_not_finding_it._Why.3F << don't install ocaml modules with nix-env or configuration.nix. I expect it does not work
<jco> in nixpkgs it is stuck at 4.06
<symphorien> jco: look in ocaml-ng
markasoftware has quit [Ping timeout: 250 seconds]
<symphorien> nixpkgs is slowly converting to a new architecture
smw_ has joined #nixos
_pash has joined #nixos
ng0 has joined #nixos
<jco> cool! is it an independently managed nix package?
<jco> I couldn't find much information on it
<symphorien> no I mean, ocaml 4.08 is at ocaml-ng.ocamlPackages_4_08.ocaml
<symphorien> all the good stuff is hidden under the "ocaml-ng" attribute in nixpkgs
<symphorien> at the top-level there is only legacy packages
<jco> oh is it possible to search it throught the package list in nixos website?
<symphorien> apparently not
<symphorien> that's unfortunate
<jco> I can do nix-env -i of it ?
<symphorien> you can do nix repl "<nixpkgs>"
<symphorien> then type ocaml-ng.<tab><tab>
<symphorien> and no on
<symphorien> *and so on
<symphorien> nix-env -qaP and a combination of other options should also be able to do it, but I can't remember the options
<Guest90267> My wifi seems to stop working. I'm using network-manager. The last rev in my boot list that seems usable is e19054ab3cd5b7cc9a01d0efc71c8fe310541065 (Sep 9) but I didn't try to figure out yet which commit causes the problem. I had a broadcom card. There doesn't seem to have been broadcom changes recently. I thought at first that it was because of the network-manager service rename but that should be fixed now.
<Guest90267> I don't have any errors in the journalctl log for NetworkManager.
Fare has quit [Ping timeout: 264 seconds]
dm9 has quit [Quit: WeeChat 2.6]
wildtrees has joined #nixos
wildtrees has quit [Max SendQ exceeded]
wildtrees has joined #nixos
Fare has joined #nixos
toppler has quit [Ping timeout: 245 seconds]
<tokudan> Guest90267, check the output of dmesg to see if you see any errors there and if that doesn't yield anything, try journalctl -b and look for anything that could indicate an error in that area
b1000101 has joined #nixos
moet has joined #nixos
<Guest90267> I see some dhcpcd errors at least
chris___ has joined #nixos
fendor_ has quit [Ping timeout: 245 seconds]
toppler has joined #nixos
<Guest90267> it's weird that the wifi works at first but stops after a couple of second. I tried again to try to get the "date" when it breaks to check the logs
noudle has joined #nixos
chloekek has joined #nixos
moet has quit [Client Quit]
wildtrees has quit [Quit: Leaving]
wildtrees has joined #nixos
<chris___> I'm trying to define a container declaritively, according to the manual I need to set a "hostAddress". This option does not seem to be correct though? The error I'm getting is: "he option `containers.example.hostAddress' defined in `<unknown-file>' does not exist"
<chris___> Does anyone have ideas? I've also tried to put it under `networkOptions` (reading the containers.nix from github) - but no luck with this either (similar error message).
ddellacosta has quit [Ping timeout: 265 seconds]
b1000101 has quit [Remote host closed the connection]
<gchristensen> iirc someone was tlaking about tape storage here the other day. are they here? anyone remember who that was?
<symphorien> gchristensen: https://logs.nix.samueldr.com/nixos/2019-10-16#2686667 red[m] apparently
<gchristensen> red[m]: PM me when you can :)
<DigitalKiwi> Guest90267: i've been having that problem too
<Guest90267> DigitalKiwi: oh really? Did you figure it out?
<DigitalKiwi> (crap wifi on broadcom) but i think a lot of it was dhcpcd and networkmanager were both conflicting somehow and didn't before? i did this networking.dhcpcd.enable = false;
<DigitalKiwi> and that helped and i also might have changed the driver i'm using...
marusich has joined #nixos
tmplt has quit [Ping timeout: 265 seconds]
<Guest90267> oh yeah. dhcpcd probably shouldn't run if network-manager is running.
<DigitalKiwi> networking.wireless.enable = false;
<DigitalKiwi> networking.enableB43Firmware = false;
<DigitalKiwi> i don't know if the wireless.enable one is necessary idk it was already there
<Guest90267> there was some useDHCP changes recently too.
<DigitalKiwi> err, as in i had it there already, so probably
<Guest90267> thanks I'll try those.
<meatcar> Is it possible to mutate the .git directory during any of the build phases in a mkDerivation? I'm trying to update the derivation for a package which has submodules, but the .gitmodules aren't available right away for fetchgit's fetchSubmodules to run, and need to be set-up during build.
<DigitalKiwi> it almost seemed like the default changed from enable being false to true
<DigitalKiwi> oh and i also changed my kernel
<DigitalKiwi> boot.kernelPackages = pkgs.linuxPackages_latest;
<DigitalKiwi> anyway between all of that (and i tried a lot of combinations in between too...) it's a lot better now than it was i think..
<DigitalKiwi> i feel like there were multiple problems and they all compounded each other
niso has joined #nixos
<Guest90267> it seems networking.useDHCP and networking.dhcpcd were set to true by default even in may.
<Guest90267> I meant `networking.dhcpcd.enable`
<niso> hi, by chance someone can tell me where /etc/samba/smb.conf is touched? https://github.com/NixOS/nixpkgs/blob/4c0afa17702c32f40c70482bd16e47b37b30214e/pkgs/servers/samba/3.x.nix#L12
u0_a1331 has quit [Ping timeout: 252 seconds]
<DigitalKiwi> Guest90267: hmm, actually, thinking more about it, i think it was running before, so that isn't what changed, but that it running at the same time as networkmanager without causing problems...
<DigitalKiwi> silly computers being programmed by humans to do weird stuff
toppler has quit [Ping timeout: 268 seconds]
ng0_ has joined #nixos
<Guest90267> DigitalKiwi: thanks for the help. Setting `networking.dhcpcd.enable = false;` and `networking.useDHCP = false;` seems to have fixed the problem for me.
fendor_ has joined #nixos
<DigitalKiwi> nice
<exarkun> Is there any support in nixos for configuring zfs pools? I see that pre-existing zfs filesystems can be mounted from pre-existing pools. Do pools and filesystems have to be created manually, imperatively, interactively rather than declaratively?
<gchristensen> correct
ng0 has quit [Ping timeout: 260 seconds]
ng0_ is now known as ng0
<DigitalKiwi> exarkun: i found this extremely useful https://github.com/a-schaefers/themelios
toppler has joined #nixos
<exarkun> thanks. I'm just looking for zfs for extra storage, not for zfs-on-root.
johnnyfive has quit [Ping timeout: 268 seconds]
<smw_> exarkun: you declaratively implement mounting and whatnot. But the actual creation is imperative. Not sure you would want to do otherwise unless doing it at scale to many identical machines.
<jco> thank you symphorien! I'm building ocaml v4.08, so far it is good :)
lord| has joined #nixos
<gchristensen> +1 having nixos manage my datasets would be frightful
fendor_ has quit [Quit: Leaving]
Heirlung has quit [Ping timeout: 276 seconds]
<tokudan> gchristensen, same for me. i've actually got a problem with services that just create their own directory, as i've got a server with an encrypted zpool where I have to manually login, decrypt it and then start the services
<gchristensen> ah
<tokudan> gitolite starts up every time, i have to stop it, destroy those directories, mount the zpool and then start gitolite again
<tokudan> still lacking a decent idea to prevent those services from starting
<gchristensen> I think you can wait for certain paths to appear in the unit
Heirlung has joined #nixos
<smw_> tokudan: you can modify their systemd configurations to depend on disks being available.
<smw_> tokudan: nixos makes modifying systemd configurations easy. Although to be fair, systemd has its own system as well for this :-)
<tokudan> smw_, hmm... yeah, looks like systemd automatically creates units for those mounts, even if i mount them manually
<meatcar> Anyone know how to set this variable in `pkgs.fetchgit`? https://github.com/NixOS/nixpkgs/blob/da727650419989f9f87d5885a2241df87428edd7/pkgs/build-support/fetchgit/nix-prefetch-git#L301 I need to pull in some submodules in an unorthodox manner, and need to do that before fetchgit wipes the .git directory.
Fare has quit [Ping timeout: 265 seconds]
reallymemorable has joined #nixos
waleee-cl has quit [Quit: Connection closed for inactivity]
mounty has quit [Ping timeout: 246 seconds]
Zer0xp has joined #nixos
fresheyeball has quit [Quit: WeeChat 2.4]
cosimone has quit [Quit: Terminated!]
toppler has quit [Ping timeout: 240 seconds]
toppler has joined #nixos
Fare has joined #nixos
<DigitalKiwi> gchristensen: did you see my message on signal about nixops
<DigitalKiwi> oh and btw everyone should use signal thank you
mounty has joined #nixos
<jco> indeed, but my friends use whatsapp :(
<DigitalKiwi> that's horrible
<jco> and messenger ^^
<DigitalKiwi> i'm still trying to figure out a way to get people to :<
vesper11 has joined #nixos
<DigitalKiwi> "this is the preferred method of contacting me" only works so well if people don't really want to talk to you that much to begin with :(
<DigitalKiwi> and so many people don't understand the reasons to or they don't care
<aminechikhaoui> i thought whatsapp used the same encryption protocol as signal ?
<DigitalKiwi> and i probably sound like some sort of radicalist trying to explain it
vesper has quit [Ping timeout: 264 seconds]
rawtaz has joined #nixos
rawtaz has quit [Client Quit]
<Yaniel> whatsapp uses the same protocol yes
<DigitalKiwi> it is/was, but, eh, the government is trying to make them give a back door/mitm (and they might already have if i have correct information shared keys with governments)
<MichaelRaskin> Also, Signal is completely horrible
<Yaniel> or at least they say they do
<Yaniel> not that it matters if the app itself is backdoored
<DigitalKiwi> how so? it used to be barely useable but now it's as good as anything
<MichaelRaskin> Without Google Play it is nominally installable but consumes more battery than basically anything else, combined
MarcWeber has joined #nixos
<jco> hey! anyone using kde with nixos?
<DigitalKiwi> it's my default sms app eventhough nobody uses it that i textheh
MarcWeber has quit [Disconnected by services]
* DigitalKiwi raises hand at jco
<MichaelRaskin> And it doesn't _just_ wants your number, desktop signal seems to break if I wipe Signal from phone
<jco> i'm asking this because i get an ugly visual bug:
<AmandaC> desktop signal is just a remote view into the mobile one, isn't it?
<infinisil> I'm rooting for Matrix
<DigitalKiwi> i mean, yeah? i wouldn't expect it to keep working, though it is amusing that i have 3 signal numbers that i don't control the number for anymore...
<emily> AmandaC: no
<emily> it works while your phone is off
<DigitalKiwi> AmandaC: it can't send sms
<MichaelRaskin> DigitalKiwi: Well, it puts it above Telegram in clinginess, maybe below WhatsApp
<emily> unlike Telegram it has encryption that is not actually a joke
<MichaelRaskin> I think its default number-binding behaviour is weaker, though
<DigitalKiwi> i'm just sad the desktop app doesn't have voice/video calls
<MichaelRaskin> (and you cannot pin it in any other way)
<DigitalKiwi> but it looks like they plan to, there is a setting to enable/disable access to mic/camera
<DigitalKiwi> it is unfortunate that it requires a phone number
<MichaelRaskin> It effectively requires Google Apps _and_ phone number.
<DigitalKiwi> but at least you can use a google voice or second sim that you don't use for anything or w/e
<jco> i'm on nixos 19.09
<gchristensen> yeah:(
<DigitalKiwi> it's one of the links from here https://medium.com/@mshelton/locking-down-signal-d71678f653d3 right above registration lock
<DigitalKiwi> mshelton is a good follow on twitter btw
<DigitalKiwi> (there are like 2-3 other ones on the same topic in that paragraph)
<tokudan> gchristensen, so... systemd paths do not seem to work for my issue. apparently if systemd doesn't know how to ensure that a path is available, it's just ignored as a requirement.
ng0 has quit [Ping timeout: 260 seconds]
<jco> do you have this visual glitch too DigitalKiwi?
<DigitalKiwi> i haven't noticed anything other than screen tearing and that's not specific to kde for me
abathur has joined #nixos
mrCyborg has quit [Read error: Connection reset by peer]
<AmandaC> jco: that's your fairly standard designer-doesn't-account-for-other-languages-being-longer issue you'll see in a lot ofplaces. Can you make the window bigger to fix it?
<AmandaC> if not, you'll probably just have to make an issue on the KDE bug tracker
tsrt^ has joined #nixos
ng0 has joined #nixos
<DigitalKiwi> have you considered not being french
rardiol has joined #nixos
<jco> everytime i go to freenode and someone realize i'm french i get jokes lol
<DigitalKiwi> this is actually the one i meant to link earlier https://source.opennews.org/articles/shields-using-signal-without-your-phone-number/
<rardiol> Hi. My pulseaudio isn't working and I suspect it has something to do with session-c1.scope failing to start and XDG_RUNTIME_DIR not being set. Who/when is supposed to set XDG_RUNTIME_DIR?
<gchristensen> jco: ouch. we have lots of French people here :)
<AmandaC> There are dozens of them?
<gchristensen> sure
<DigitalKiwi> nothing wrong with being french
cosimone has joined #nixos
shibboleth has joined #nixos
shibboleth has quit [Remote host closed the connection]
<DigitalKiwi> other than i failed french :<
shibboleth has joined #nixos
<jD91mZM2> Hello again, I am trying to add a default.nix using buildRustPackage for a program of mine that doesn't seem to be easily compiled with carnix/crate2nix. I'm getting a little stuck since it forces me to specify cargoSha256 and it'd be a little hard to maintain that if I had to update that after every commit that changes the Cargo.lock... Is there any way to tell buildRustPackage not to verify the
<jD91mZM2> lock file?
toppler has quit [Ping timeout: 268 seconds]
<symphorien> not that I know
<jD91mZM2> Alternatively, how is the cargoSha256 computed before being compared? Can I reproduce this and fill in nix with all the values it wants?
<symphorien> it is the hash of the archive generated with cargo-vendor
<symphorien> so I guess the answer is no
<symphorien> In my experience, you don't need to change cargo.lock so often, so maintaining the hash by hand is still reasonable
<jD91mZM2> Darn. Do you think nixpkgs would accept a PR that adds some "impure" value that sort of bypasses the checks?
<symphorien> unlikely
<__monty__> Definitely not.
<jD91mZM2> I mean as long as it's never actually used inside nixpkgs....
ddellacosta has joined #nixos
<symphorien> anyway, with the sandbox on, I wonder how you would implement it
<jD91mZM2> Oh, I assumed fetchurl had some kind of way to disable the hash... Surely?
<symphorien> but if you want an impure thing, why don't you just use cargo in a nix-shell ?
<jD91mZM2> Well I wish to be able to use `nix-build <tarball here>`
<symphorien> jD91mZM2: builtins.fetchtarball, yes, but it's a builtin :)
<symphorien> you can do "nix-shell tarball here" and add `shellHook = "cargo build; exit 0"
<symphorien> `
<__monty__> Maybe a fixed output derivation is what you're after?
<__monty__> That wouldn't rebuild though of course.
<symphorien> __monty__: buildRustPackage already has it, but jD91mZM2 does not want to change the hash when the content changes
toppler has joined #nixos
<__monty__> symphorien: Yeah, but I mean cheat with a dummy fixed output hash.
<jD91mZM2> symphorien: My main goal right now is that since I can't build the package with carnix/crate2nix I'd push up whatever I build into cachix so people could use the binary cache, if I understand directly
<jD91mZM2> __monty__: Sounds potentially cool, how can I potentially cheat?
<tokudan> smw_, the mount requirements are ignored as well if systemd does not know how to resolve them
<__monty__> You'd have to figure it out. I've never done so because it's a terrible idea.
<smw_> tokudan: even if you Require= and After= them?
<symphorien> jD91mZM2: I don't see how buildRustPackage is inferior to crate2nix. When you change your cargo.toml you still have to regenerate the .nix files with crates2nix, no ?
<jD91mZM2> Thing is, by downloading the source nix already checks revision, hash of contents (which is also a part of the revision but ok i guess), and all the things
<jD91mZM2> symphorien: That's a damn good point. I must be overestimating how often that changes.
bvdw has quit [Read error: Connection reset by peer]
<symphorien> well it changes when you update or add dependencies
<jD91mZM2> Of course, just didn't know how often I'd do that I guess
<symphorien> My experience is with nix-du, which I release once every 6 months, and I update cargo.toml once every 6 months
bvdw has joined #nixos
<symphorien> this stays bearable :)
chloekek has quit [Ping timeout: 240 seconds]
<jD91mZM2> Alright. Thanks!
<gchristensen> grr I think adding NAT to my server for my wireguard VPN broke a bunch of other things on my host
<tokudan> smw_, yep, it's just ignored
_pash has quit [Quit: leaving]
<jD91mZM2> My final idea to cheating the long compilation times that arise when using Rust+Nix is to make a GitLab CI keep pushing stuff to cachix
<__monty__> Why would it be any longer than rust without nix?
<jD91mZM2> __monty__: Because Nix wants purity (good) so either you use something like carnix/crate2nix (when it works) to split each crate up and build each crate purely. Oooor... You recompile all dependencies from scratch on every tiny change.
<DigitalKiwi> same with haskell
<__monty__> Why not carnix all the deps and then write your more complicated setup by hand? Best of both worlds?
<jD91mZM2> __monty__: Thing is that most of the time some dep is failing for some obscure reason that only god knows why and I just don't have time to fix
<jD91mZM2> Days since last problem with crate2nix: 0
<jD91mZM2> The crate "anyhow" failed this morning because it seemed to interpret something from the build script wrong and tried to compile stuff with the wrong flags
{^_^} has joined #nixos
<gchristensen> ,botsnack
<{^_^}> Oh thanks, have a cookie yourself
<DigitalKiwi> <3 nh2_
<manveru> gchristensen: you bored? :)
<{^_^}> nh2_'s karma got increased to 1
<DigitalKiwi> <3 nh2_
<{^_^}> nh2_'s karma got increased to 2
<manveru> DigitalKiwi++
<{^_^}> DigitalKiwi's karma got increased to 3
<gchristensen> manveru: nah, botsnack is my test command for {^_^} :)
<DigitalKiwi> tried to earlier and it wasn't here :(
<manveru> it's alive!
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/8aeb45d148d (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/4c0afa17702 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
Cale has quit [Ping timeout: 250 seconds]
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/8aeb45d148d (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
<etu> 1woo
<gchristensen> I have a problem where zfs snapshots slurp up all my disk space until there is no more
<Athas> How do I depend on LLVM 7.0 when writing a Nix derivation?
<gchristensen> I need to set some quota or reservation or something... but I'm not sure that applies to snapshots.
<DigitalKiwi> i just delete them :<
<{^_^}> [nixpkgs] @bendlas opened pull request #72044 → systemd.network.dhcpNetworks: init nixos option → https://git.io/JeEDf
<{^_^}> [nixpkgs] @matthuszagh opened pull request #72045 → pythonPackages.python-language-server: 0.28.3 -> 0.29.1 → https://git.io/JeEDI
Zer0xp has quit [Quit: Bye!]
snicket has joined #nixos
chloekek has joined #nixos
Cale has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
<meatcar> can someone do a brief review of a mkDerivation? It's my first one, it builds fine, I want to make sure I'm not missing something crucial. It was tricky to figure out, as there were nested depenencies on other repos that had to be linked up. https://gist.github.com/meatcar/fc43f8c1c13f8f9d2709be0c2b7ecf0d
rardiol has quit [Remote host closed the connection]
growpotkin has joined #nixos
<{^_^}> [nixpkgs] @bcdarwin opened pull request #72046 → c3d: 2018-10-04 -> unstable-2019-10-22; mark unbroken → https://git.io/JeEDc
toppler has joined #nixos
<{^_^}> [nixpkgs] @nrdxp opened pull request #72047 → eva: init at 0.2.5 → https://git.io/JeEDl
<infinisil> meatcar: If this is for nixpkgs, you can't use builtins.fetchGit there
<infinisil> And the pkgs.fetchFromGitHub function supports fetching submodules recursively, so you maybe don't need to do the dependency replacement there
<infinisil> For nixpkgs as well you should set a `meta.platforms` attribute
<infinisil> meatcar: And what does ./res contain? Because most directories in $out have somewhat of a conventional structure
<meatcar> infinisil: the submodule bit was tricky because the repo doesn't keep its submodules in .gitmodules, and I couldn't figure out a way to hook into fetchgit and do it before the building starts.
<meatcar> infinisil: can I find some docs on the $out structure somewhere? res/ has a systemd service, some config files, translations, etc.
chris___ has quit [Quit: Lost terminal]
<infinisil> Oh man, why do they have such a special submodule cloning setup? https://github.com/cylgom/ly/blob/master/makefile#L96-L102
<meatcar> finally, why can't builtins.fetchGit be used in nixpkgs?
<meatcar> infinisil: I know, right? I think submodules are conceptually less pure, you can use them without pinning a commit.
avocadoom has joined #nixos
<infinisil> meatcar: Unfortunately the structure of $out isn't very cleanly documented, I'd really like to have this documented eventually
<infinisil> meatcar: fetchGit does fetching during evaluation, which I think isn't good for hydra because it increases evaluation time or something
<infinisil> And I guess it's a bit less pure because it uses the git installed on the system, not a git from nixpkgs
Hasan has joined #nixos
<gchristensen> arghhh
jimmyeatworld has joined #nixos
<meatcar> infinisil: got it, thanks a lot. I'll poke around other nixpkgs and see where they put stuff in $out.
<infinisil> Yeah that's what I'm doing too
<hpfr[m]> Does listing your user in nix.trustedUsers allow nixos-rebuild without sudo
<gchristensen> backported commit is breaking me :(
<symphorien> meatcar: a good approximation is: replace /usr/ and /usr/local by $out/ in the absolute path where they install it in normal distros
<infinisil> hpfr[m]: See `man nix.conf` section on trusted-users
<{^_^}> [nixpkgs] @babariviere opened pull request #72049 → iosevka: 2.3.0 -> 2.3.2 → https://git.io/JeED2
<infinisil> gchristensen: Which one?
Hasan is now known as hasan
hasan is now known as hasan-zia
<gchristensen> dangit ... nevermind
<hpfr[m]> infinisil: “additional rights when connecting to the nix daemon, such as...” the examples it gives aren’t relevant, but later it says it’s essentially equivalent to root access to the system. I’m not exactly sure what additional rights connecting to the nix daemon entail
<infinisil> hpfr[m]: I don't know of any other things than the ones listed there
<infinisil> Oh
<hpfr[m]> Additional binary caches and unsigned NARs are the only thing?
<infinisil> But nixos-rebuild always needs root, can't get around that
<infinisil> It's the only thing I know of
<hpfr[m]> I have a remote builder that I ssh to my user account for, and I had to add my user account to trusted users on the remote builder to get it to work without an error
<infinisil> Oh what was the error?
<{^_^}> [nixpkgs] @bcdarwin closed pull request #46349 → gradient_halide: init at 2018-08-31 → https://git.io/fAgxE
<hpfr[m]> error: you are not privileged to build derivations
<hpfr[m]> Which I found in nix-daemon.cc checks if (!trusted)
<infinisil> Oh is this the user the *daemon* is running with perhaps?
<infinisil> Weird
<infinisil> Nix is supposed to allow builds for unprivileged users I
<infinisil> 'm pretty sure
<jD91mZM2> Definitely, there's allowed-users for that
<jD91mZM2> Source: I skimmed through the man page 5 minutes ago and am now clearly an expert
<jD91mZM2> (and by skimmed I mean accidentally moved my eye over that section while looking for something else)
<infinisil> jD91mZM2: The default for allowed-users seems to be * (everyone)
<jD91mZM2> Right, so I think something's very fishy with hpfr[m]'s system
<hpfr[m]> ... not sure what constitutes “very fishy” but the system I run remote builds on is pretty bare bones as far as config
<infinisil> hpfr[m]: Is it a NixOS machine?
<hpfr[m]> Yes
<infinisil> hpfr[m]: Can you do builds on that machine if you log into a shell through ssh?
hpfr has joined #nixos
<hpfr[m]> infinisil: I don’t know, I only ever run nixos-rebuild really
<hpfr[m]> Which requires root
shibboleth has quit [Ping timeout: 260 seconds]
toppler has quit [Ping timeout: 240 seconds]
<AmandaC> https://github.com/NixOS/nix/issues/2002 mentions "allowed-uris" -- where would I set that for a nixos-managed hydra server?
<{^_^}> nix#2002 (by dhess, 1 year ago, closed): Pinning dependencies is not well-supported with Nix 2.0 restricted mode
<infinisil> hpfr: Oh! I found it I think
<infinisil> trusted in that context doesn't mean trusted-users
<hpfr> seems to require trusted users
<infinisil> But whether the user is root
<hpfr> I don't think that's the case, because adding @wheel (which my user I ssh into is part of) to trustedUsers on the remote machine fixed the error
<infinisil> Okay never mind then haha
<infinisil> I'm trying to do some git blames
zupo has joined #nixos
<infinisil> Weird!
<hpfr> I could remove @wheel from nix.trustedUsers and add it to nix.allowedUsers to test it, but the variable naming in nix-daemon.cc is pretty bad if that works
reallymemorable has quit [Quit: reallymemorable]
tertl3_ has joined #nixos
tmplt has joined #nixos
tertl3_ is now known as tertl3
toppler has joined #nixos
<{^_^}> [nixpkgs] @jonringer opened pull request #72050 → minecraft: 2.1.5965 -> 2.1.7658 → https://git.io/JeEDb
<infinisil> Nah never mind what I said
<infinisil> Hmm..
<infinisil> Kind of totally seems like you need to be a trusted user to do builds through the daemon
gkmngrgn has joined #nixos
<niso> is http://nixos.wiki/ official? their whois entry is "protected"
<Shell> niso: quote from the front page, "Welcome to the unofficial user's wiki"
<niso> Shell: i guess being able to read is an advantage....thanks~
<infinisil> jD91mZM2: Yeah saw it too
<jD91mZM2> Ah
<infinisil> Maybe I'll ask eelco tomorrow at the hackday :)
<jD91mZM2> How interesting, especially since I'm not a trusted user on my machine and can build all the things
<infinisil> Yeah I never saw that error before either
cosimone_ has joined #nixos
cosimone has quit [Ping timeout: 250 seconds]
<hpfr> infinisil: jD91mZM2: seems like they should add a similar variable called allowed and use that in the wopBuildDerivation case
<hpfr> rather than trusted
<infinisil> Feel like that might be the case yes
<tmplt> I'm in the process of creating a certificate with `security.acme` but I'm not entirely sure how it works. I presume I have to configure nginx (or similar) to present the challanges on the domain I want the cert for, yes?
kvda has joined #nixos
smw_ has quit [Quit: Computer has gone to sleep]
smw_ has joined #nixos
smw_ has quit [Client Quit]
<infinisil> tmplt: Yeah, are you trying to reimplement services.nginx.virtualHosts.*.enableACME?
<tmplt> infinisil: yes, I want exactly that, but for `services.murmur`
drakonis1 has joined #nixos
lucus16 has joined #nixos
<tmplt> Or is there a better approach?
<infinisil> tmplt: You can just do enableACME and give murmur access to the generated cert
<Shell> tmplt: I have nginx serve up /var/lib/acme/acme-challenge as /.well-known/acme-challenge on the default domain, and have security.acme put the challenges in there.
drakonis2 has joined #nixos
__monty__ has quit [Quit: leaving]
<infinisil> I do have a murmur module here that doesn't do that, but some related things: https://github.com/Infinisil/system/blob/master/config/new-modules/murmur.nix
<infinisil> And all I do for the cert is enableACME, which should exactly do what Shell described
<Shell> (as not-https)
<tmplt> okey, I'll try that
drakonis_ has quit [Ping timeout: 246 seconds]
<infinisil> Shell: I really suggest to just use enableACME, no need to do stuff manually when it's already packaged and well supported
<Shell> infinisil: in my particular case I want to put keys in certain groups etc, which I don't think I can do with enableACME.
<infinisil> I really love that about NixOS, that simple options can be used to have higher-level functionality
drakonis1 has quit [Ping timeout: 276 seconds]
<infinisil> Shell: You can
<niso> uhm, atleast a couple of weeks ago setting up acme with nix was pain, did something new get merged?
<Shell> there's also domains where I don't really want a specific virtualhost for them cos they've got nothing to do with the web.
<infinisil> security.acme.certs.${domain}.allowKeysForGroup
<tmplt> infinisil: but how do you deal with ownership? And how do you send SIGUSR1 to murmur so that it reloads its SSL settings?
<tmplt> oh
<tmplt> I see
<Shell> tmplt: I set security.acme.certs.domain.postRun = "systemctl reload whatever"
<infinisil> niso: Have you not seen enableACME before perhaps?
<infinisil> I think everybody is using it by now :P
<tmplt> will that setting work if I generate the cert via nginx?
jco has quit [Quit: jco]
<niso> infinisil: yes, and i dug through pretty much all PRs related to that, i ended up hacking up a solution based on this: https://github.com/NixOS/nixpkgs/pull/63613
<{^_^}> #63613 (by petabyteboy, 18 weeks ago, open): [WIP] nixos/acme: switch to lego and support DNS challenge
<infinisil> Yeah, the nginx module sets security.acme options underneath, which you can adjust however you need
<tmplt> infinisil: ah, neat
<niso> (however it's still semi-manual)
<{^_^}> [nixpkgs] @rardiol opened pull request #72051 → keeperrl: init at 2019-10-21 → https://git.io/JeEy8
<infinisil> niso: Ah yeah, dns challenge isn't there yet, that would be nice
<niso> infinisil: my main problems were caused by rate-limits
<{^_^}> [nixpkgs] @rardiol closed pull request #43409 → keeperrl: init at alpha24 → https://git.io/fNL8r
<infinisil> I myself have my name server running on a nixos machine managed by nixops, so that would make this a bit easier
shibboleth has joined #nixos
<infinisil> s/would/should
<infinisil> s/easier/simpler
melling has quit [Quit: WeeChat 2.6]
<niso> hmmm i see
<infinisil> niso: Today disasm told me he's planning to try get some basic dns provider support into nixops tomorrow on the hackathon
<niso> infinisil: nice, is there a way to keep updated on the status?
toppler has quit [Ping timeout: 265 seconds]
<infinisil> Maybe following disasm on github, or watching nixops PR's :)
<niso> infinisil: initially i was planning on fixing up mentioned Draft, however, while i managed to fix some bugs in it i fear that i won't be able to get the whole thing running alone, what's the best way to proceed? just commend the changes and hope that someone else picks it up?
<niso> infinisil: will do, thanks
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<tmplt> infinisil: how should I allow murmur to read the generated certs? I'm not sure how 'allowKeysForGoup' should be used.
petercommand has quit [Quit: leaving]
<infinisil> niso: Not much of an idea, maybe try to discuss with the people who wrote the acme module or the ones who made PR's to extend it
<infinisil> tmplt: Actually I think there's a problem with this, because the murmur module in nixpkgs doesn't set any group for it, meaning it runs as nogroup
<infinisil> The idea would be to set allowKeysForGroup to the group murmur is using, but that's bad when it's nogroup
<niso> infinisil: alright, added it to my todo list, thanks
<tmplt> infinisil: should I just make a copy of it in using acme's `postRun` instead?
<niso> infinisil: by chance disasm uses another name on github?
<infinisil> So the first thing you should do is set `users.users.murmur.group = "murmur"; users.groups.murmur = {}`, then `security.acme.certs.* = { allowKeysForGroup = true; group = "murmur"; }`
<infinisil> (untested)
toppler has joined #nixos
<infinisil> niso: Yup
<infinisil> niso: Ah wait no, it's @disassembler on github
xkapastel has quit [Quit: Connection closed for inactivity]
<niso> ah, thanks
ng0 has quit [Quit: Alexa, when is the end of world?]
<{^_^}> [nixpkgs] @seppeljordan opened pull request #72052 → Update pypi2nix → https://git.io/JeEyP
<tmplt> infinisil: that sets the group alright, but I don't think the system unit is in the group. How can I check that?
<tmplt> hmm, the unit file only says User=murmur; the group should be derived from that I figure
<infinisil> tmplt: Yeah, systemd runs services as the primary group of the user it runs as
zupo has joined #nixos
<tmplt> infinisil: can I query systemd for whatever group the service is running as?
<Yaniel> I think `systemctl info <service>` shows that
<Yaniel> s/info/show/
<{^_^}> [nixpkgs] @jonafato opened pull request #72053 → keepassxc: 2.4.3 -> 2.5.0 → https://git.io/JeEyA
<Yaniel> hum, apparently not
<tmplt> I get a GID (group ID?)
<Yaniel> sounds right yes
<infinisil> Ah nice, didn't know about systemctl show
isthis4real has joined #nixos
<tmplt> the GID is 499 which maps to 'murmur' in /etc/group; odd that murmur cant read the certs then
Fare has quit [Ping timeout: 250 seconds]
<infinisil> Hm, are all path components accessible to it?
<tmplt> infinisil: what do you mean?
<infinisil> In order for a user to read /foo/bar/baz it needs access to read /foo, /foo/bar and /foo/bar/baz
<infinisil> If any of those are inaccessible it fails
<infinisil> Hm no actually the service sets StateDirectoryMode, so this shouldn't be a problem
<infinisil> But maybe check anyways
<tmplt> infinisil: the domain dir is in group murmur thanks to allowKeysForGroup, but /var/lib/acme is root:root
<infinisil> Oh snap, yeah that is a problem
<infinisil> I think that's a bug in the acme module
<infinisil> bug/oversight
abathur has quit [Ping timeout: 240 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @jonringer pushed 422 commits to python-unstable: https://git.io/JeESU
<infinisil> Thinking about the best way to fix this..
wildtrees has quit [Quit: Leaving]
<tmplt> infinisil: doesn't seem like it. If i `chown murmur {fullchain,key}.pem` and restart murmur it works
<infinisil> Oh
<infinisil> Ah right! the acme directory is root:root, but it's 755, meaning readable by everyone
<infinisil> tmplt: What are the permissions of /var/lib/acme/<domain>?
<infinisil> And what were they of the .pem files?
drakonis has quit [Quit: WeeChat 2.6]
<tmplt> infinisil: remind me, how do I get the mod of a file?
<infinisil> ls -laa
<infinisil> (is what I use anyways, could use `stat` to get it of a file directly though)
<infinisil> I think the perms are gonna be root:root 700
<infinisil> (700 = rwx------)
hasan-zia has quit [Quit: Textual IRC Client: www.textualapp.com]
<infinisil> I suspect that the service doesn't get started again when you change the allowKeysForGroup option. And only when the service starts it fixes the /var/lib/acme/<cert> directory permissions to the new values
<Shell> iirc there's a bug where keys don't wind up with the right permissions if (1) the key was already generated and then (2) you change allowKeysForGroup at a later time.
<infinisil> Ah yeah then that's it
<Shell> (I have no idea whether this has been filed on github, I was busy when I came across it)
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<infinisil> Should be fixable by running `systemctl restart acme-<cert>`, and I think I've actually heard somebody complain about something like this yesterday at nixcon :P
zupo has joined #nixos
<infinisil> (which unfortunately kind of moved them away from nixos)
zupo has quit [Client Quit]
toppler has quit [Ping timeout: 245 seconds]
knupfer has joined #nixos
<{^_^}> #48845 (by arianvp, 1 year ago, open): nixos/acme: allowKeysForGroup has no effect after cert is already created
<Shell> yep
<infinisil> Oh boy, it was just this issues anniversary without any comments :(
<infinisil> Maybe I'll take a look at this tomorrow at the hackathon too
<Shell> sounds like a nixcon hackday project
<Shell> heh
<tmplt> infinisil: that worked, apparently
<tmplt> Could have sworn I already tried that
<{^_^}> [nixpkgs] @risicle opened pull request #72054 → gdal: add patch for CVE-2019-17545 → https://git.io/JeESX
<infinisil> Restarting the service?
<tmplt> yeah
<tmplt> let me confirm
<infinisil> And you reset the permissions before that?
toppler has joined #nixos
<tmplt> infinisil: allowForGroup must be true AND the service has to be rerun to fix permissions
<hpfr> does anyone know how to get emoji working with the nixos fontconfig module? because I can't seem to get it to work with JoyPixels
<infinisil> tmplt: The former makes sense as that option controls whether permissions get changed :)
<infinisil> But good to know restarting it fixes it, I'm testing a permanent fix right now too
<tmplt> infinisil: well yeah, but having to restart the service doesn
<tmplt> *isn't an implied required
<tmplt> was this reported as an issue?
<infinisil> Not sure I get that
chris__ has quit [Quit: Lost terminal]
<tmplt> infinisil: if I change allowForGroup I figure things will be rerun and permissions to work, even if allowForGroup was false the previous build
<infinisil> Ah I see yeah
hpfr has quit [Remote host closed the connection]
jimmyeatworld has quit [Quit: leaving]
kvda has joined #nixos
<hpfr[m]> How does the nixos option fonts.fonts work? It takes a list of packages, but is there something different about it than listing font packages in environment.systemPackages?
<tmplt> infinisil: you happen to know how to format murmur.ini's `host` field correctly? Or have you not had to touch it? I'm having trouble getting UDP traffic to work
<infinisil> tmplt: I haven't touched it no, this is the config for my (alternate) murmur service in my repo: https://github.com/Infinisil/system/blob/a4a8c5d0a7747f4715c276ff9fb760ceb3369384/config/machines/protos/default.nix#L25-L30
<infinisil> (which is not really relevant, but just in case)
<tmplt> infinisil: okey, but thanks for all the help, any case
<infinisil> :D
<infinisil> tmplt: What problem are you having with the host field though?
<{^_^}> [nixpkgs] @jonringer pushed 5 commits to python-unstable: https://git.io/JeE9T
ng0 has joined #nixos
orivej has joined #nixos
LiuWeiHua[m] has joined #nixos
<{^_^}> [nixpkgs] @Infinisil opened pull request #72056 → nixos/acme: Fix allowKeysForGroup not applying immediately → https://git.io/JeE9L
<infinisil> tmplt: ^^ :)
toppler has quit [Ping timeout: 265 seconds]
<tmplt> infinisil: cheers
b has quit [Quit: leaving]
b has joined #nixos
toppler has joined #nixos
cosimone_ has quit [Ping timeout: 268 seconds]
jonringer has quit [Ping timeout: 240 seconds]
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
<tmplt> Can I index a list? (or alternatively unpack a list of a single element? `[ foobar ] -> foobar`)
<infinisil> > lib.elemAt [ "foobar" ] 0
<{^_^}> "foobar"
<tmplt> thanks
<infinisil> > lib.head [ "foobar " ]
<{^_^}> "foobar "
<infinisil> Probably a bit simpler for this case ^
knupfer has quit [Ping timeout: 245 seconds]
<Raito_Bezarius> Hi there, is there any way to do curryfication on attrset function?
<infinisil> Raito_Bezarius: Not sure what you mean by that
<Raito_Bezarius> without manually doing a wrapper, let's say I have f = { x, y, z }: do something and I'd like to create g = { x, y }: compute z from x, y and do f {x, y, z}
<Raito_Bezarius> I know z and I'd like to bind z in my attrset and recreating the signature with { x, y } only
<infinisil> Raito_Bezarius: Something like this? `g = { x, y }@args: f (args // { z = x + y; })`
<Raito_Bezarius> Right!
MmeQuignon has joined #nixos
<Raito_Bezarius> (I always forget to use the @args stuff…)
<infinisil> :)
<Raito_Bezarius> Thank you!
orivej has quit [Ping timeout: 265 seconds]
Fare has joined #nixos
Wizek has quit [Quit: Connection closed for inactivity]
gkmngrgn has quit [Ping timeout: 250 seconds]
mbrgm_ has joined #nixos
Ariakenom has quit [Quit: Leaving]
mbrgm has quit [Ping timeout: 276 seconds]
mbrgm_ is now known as mbrgm
toppler has quit [Ping timeout: 268 seconds]
<m1cr0man> Hey folks. I really want to use https://github.com/NixOS/nixpkgs/pull/63613 on a new deployment I'm doing where I need wildcard certs + dns validation. Is there a way for me to use this change without creating a fork of nixpkgs (as in, applying it from my configuration.nix)?
<{^_^}> #63613 (by petabyteboy, 18 weeks ago, open): [WIP] nixos/acme: switch to lego and support DNS challenge
<m1cr0man> The config seems to revolve around cfg.certs being non-empty so I can't just add my own service config for cert management
iqubic has quit [Remote host closed the connection]
jonringer has joined #nixos
drakonis has joined #nixos
tmplt has quit [Ping timeout: 252 seconds]
selfsymmetric-mu has joined #nixos
toppler has joined #nixos
<selfsymmetric-mu> Hi! How do I define a custom systemd service in NixOS? I'm trying to follow the instructions for setting up a Signal DBus service but /etc/systemd is readonly on NixOS.
<selfsymmetric-mu> I have the .conf and .service files.
shibboleth has quit [Quit: shibboleth]
jluttine has quit [Ping timeout: 240 seconds]
Heirlung has quit [Quit: ZNC 1.6.5+deb1+deb9u2 - http://znc.in]
fendor has quit [Read error: Connection reset by peer]
reallymemorable has joined #nixos
kleisli has joined #nixos
kleisli_ has joined #nixos
teressa has joined #nixos
mexisme has joined #nixos
tertl3 has quit []