worldofpeace_ changed the topic of #nixos to: NixOS stable: 20.03 ✨ https://discourse.nixos.org/t/nixos-20-03-release/6785 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || use ,channels for a list of Nix* related channels || nixcon videos: https://tinyurl.com/nixcon2019 || Link to the output of nix-info
<cole-h> kalbasit: Maybe you can use `setfont` from `kbd`
johnjay has joined #nixos
justanotheruser has joined #nixos
justanotheruser has joined #nixos
justanotheruser has quit [Signing in (justanotheruser)]
justanotheruser is now known as Guest75362
<kalbasit> πŸŽ‰
<kalbasit> cole-h: this worked `setfont latarcyrheb-sun32`. Thanks!
<cole-h> :D
pbb has quit [Ping timeout: 272 seconds]
pbb has joined #nixos
dustinm has joined #nixos
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/c3e2cbf23ef (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
hlisp has joined #nixos
agsdheidjd has quit [Ping timeout: 256 seconds]
veleiro`` is now known as veleiro
veleiro has quit [Changing host]
veleiro has joined #nixos
bastion-tester has joined #nixos
morgrimm has joined #nixos
alp has quit [Ping timeout: 272 seconds]
cr4y1_ has quit [Ping timeout: 272 seconds]
<bdju> trying to use kde connect from sway. my devices aren't seeing each other. I've never used this before so not sure if I'm doing something wrong
fabianhjr has quit [Quit: Leaving.]
morgrimm has quit [Ping timeout: 256 seconds]
cr4y1 has joined #nixos
<{^_^}> [nixpkgs] @aanderse opened pull request #87776 β†’ zabbix: update source url β†’ https://git.io/Jf4FE
<kvda> This is interesting, so switching to pkgsStatic and musl toolchain, how would you link against OSX System lib
thc202 has quit [Ping timeout: 240 seconds]
<clever> kvda: osx doesnt allow static, ever
<kvda> Ahhh
<kvda> Is it possible to keep that a dyn link?
<kvda> While use sqlite as static..
<quinn> bdju: don't have much information to contribute, but i have observed dbus issues using sway, that may be your culprit (: ):
<clever> you can still staticly link some libs, while dynamicly linking others
<kvda> It's probably more of a ocaml question now
<kvda> great thanks clever
<bdju> quinn: interesting, thanks for the info
<energizer> my `nixos-rebuild switch` takes a minute or two, can i profile it?
veleiro` has joined #nixos
<clever> energizer: what about `nixos-rebuild dry-run` ?
<aterius> energizer: Do you have os-prober enabled?
<aterius> That was the biggest time sink for me
smatting has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates Β« hackage-packages.nix: automatic Haskell package set update Β»: https://git.io/Jf4F6
<energizer> aterius: no
<energizer> clever: that is much faster
<clever> energizer: then its not the nix eval
teto has quit [Ping timeout: 265 seconds]
<clever> energizer: what does `ps -eH x` say its doing for most of the slow time of switch?
veleiro has quit [Ping timeout: 265 seconds]
vidbina has quit [Ping timeout: 265 seconds]
thelounge792 has joined #nixos
<energizer> clever: https://bpa.st/raw/RA3Q
<clever> energizer: ah, ive seen that before too, systemd is asking for a pw somewhere, for some reason
<clever> no idea why
maddo has quit [Quit: See ya]
thelounge79 has quit [Ping timeout: 258 seconds]
thelounge792 has quit [Ping timeout: 264 seconds]
<energizer> am i interested in the "running" one or the "waiting" ones?
<clever> energizer: probably running, the others look like they depend on it
<clever> energizer: does that network card exist?
<Gaelan> kvda to expand on that: on macos, pkgsStatic is "static for everything but libSystem"
<Gaelan> no musl, musl is only a linux thing
sigmundv has quit [Read error: Connection reset by peer]
<kvda> Gaelan mm yet musl can compile bins that work on osx/windows
cr4y1 has quit [Ping timeout: 272 seconds]
<Gaelan> wait what? i'm 99% sure musl is only a linux thing.
<energizer> clever: good idea. i couldnt find that interface anywhere
<energizer> replacing it with wlan0 much faster switch
<energizer> specifically networking.interfaces.wlan0.useDHCP = true;
hmpffff has quit [Ping timeout: 256 seconds]
<energizer> i thought the "wlan0" style was semi-deprecated tho?
hmpffff_ has joined #nixos
<Gaelan> kvda the list of supported targets on that page only lists linux targets?
kharon has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
kharon has joined #nixos
pbb has quit [Quit: No Ping reply in 180 seconds.]
<{^_^}> [nixpkgs] @marsam merged pull request #87769 β†’ podman: 1.9.1 -> 1.9.2 β†’ https://git.io/Jf4Dm
<{^_^}> [nixpkgs] @marsam pushed 3 commits to master: https://git.io/Jf4bo
<{^_^}> [nixpkgs] @romildo opened pull request #87777 β†’ balsa: 2.5.9 -> 2.6.1 β†’ https://git.io/Jf4bK
pbb has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #87655 β†’ [20.03] gitAndTools.gh: 0.6.4 -> 0.8.0 β†’ https://git.io/Jf8Gf
<{^_^}> [nixpkgs] @marsam pushed 3 commits to release-20.03: https://git.io/Jf4b6
<lovesegfault> I have a foo.nix file that I want to rename to bar.nix. I want to keep the original foo.nix so as not to disrupt users' workflows for a while, but I want to add a deprecations notice. How can I do that?
<kvda> Gaelan I'm not sure of the details yet, will try this over the next week, here's an article saying that it can compile to Window/Linux from OSX https://blog.filippo.io/easy-windows-and-linux-cross-compilers-for-macos/
nikivi has quit [Ping timeout: 240 seconds]
<cole-h> lovesegfault: How do you use foo.nix? Just in an `imports = [];`?
<lovesegfault> cole-h: foo.nix right now looks like this: args: import ./bar.nix args
matthiaskrgr has quit [Ping timeout: 252 seconds]
<kvda> Gaelan I'd guess that mingw comes into play here for Windows
<Gaelan> that's for cross compiling from macos to linux kvda
<lovesegfault> (cc. andi- )
<Gaelan> yeah, so it's musl for linux and mingw for windows
<kvda> Ok so it's not musl, you're right
<kvda> I'm back to square one haha
<cole-h> lovesegfault: I think you could do `import (builtins.trace "warning: bar.nix is deprecated" ./bar.nix) args`
JJJollyjim_ has joined #nixos
<kvda> Might need to switch to Rust from Ocaml :/
<Gaelan> kvda, nix itself handles cross compiling pretty well i think
<Gaelan> i don't know about ocaml specifically
<lovesegfault> cole-h: does that show up in a scary color?
<cole-h> lovesegfault: I don't think so, looking for the "scary color" trace rn
<kvda> so with switching over the musl by using pkgsStatic.stdenv I won't be able to produce an OSX bin?
<cole-h> lovesegfault: Ah, lib.warn
<cole-h> lovesegfault: That one will print scary color stuff ^
<lovesegfault> :D
* lovesegfault makes scary one
codygman has quit [Ping timeout: 260 seconds]
<JJJollyjim_> hey, is it possible to run a nixos test with an overlay applied to pkgs?
<JJJollyjim_> it seems like either importing the test directly or using pkgs.nixosTests.___ it reimports a fresh pkgs
<JJJollyjim_> which i don't want
<Gaelan> kvda no, pkgsStatic only means msul on linux
<Gaelan> musl*
<Gaelan> on macos, it means statically link to everything, but still link dynamically to libSystem
<Gaelan> so it should just work
<{^_^}> [nixpkgs] @marsam merged pull request #87770 β†’ sensu-go: 5.18.1 -> 5.20.0 β†’ https://git.io/Jf4yo
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jf4b7
<{^_^}> [nixpkgs] @marsam merged pull request #87763 β†’ golangci-lint: 1.26.0 -> 1.27.0 β†’ https://git.io/Jf4PZ
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jf4b5
<{^_^}> [nixpkgs] @zowoq opened pull request #87778 β†’ cni-plugins: 0.8.5 -> 0.8.6 β†’ https://git.io/Jf4bd
mocker has quit [Quit: Connection closed for inactivity]
<kvda> Gaelan ah great, ok that's some progress then thanks again +clever
hmpffff_ has quit [Ping timeout: 272 seconds]
hlisp has quit [Remote host closed the connection]
ardumont has quit [Ping timeout: 252 seconds]
ardumont has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/8ba41a1e149 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
h0m1 has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @marsam opened pull request #87779 β†’ gopass: 1.9.1 -> 1.9.2 β†’ https://git.io/Jf4NC
h0m1 has joined #nixos
user_0x58 has quit [Read error: Connection reset by peer]
user_0x58 has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #87781 β†’ terraform: 0.12.24 -> 0.12.25 β†’ https://git.io/Jf4Nw
oborot has joined #nixos
wnklmnn has quit [Quit: Leaving]
dnlkrgr has quit [Ping timeout: 244 seconds]
kaliumxyz has joined #nixos
dnlkrgr has joined #nixos
m0rphism has quit [Ping timeout: 264 seconds]
dnlkrgr has quit [Client Quit]
Fare has joined #nixos
shafox has joined #nixos
Guest75362 has quit [Ping timeout: 260 seconds]
Guest75362 has joined #nixos
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/bd561f60a95 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
chin-tastic has joined #nixos
kaliumxyz has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
aiverson has joined #nixos
gustavderdrache has quit [Quit: Leaving.]
CMCDragonkai1 has joined #nixos
<aiverson> Is the nixos systemd units module missing the user and group options? systemd documents them, but they seem to be missing in the nixos option definition.
<edef> you can set serviceConfig.User
vika_nezrimaya has quit [Ping timeout: 258 seconds]
<aiverson> I don't see it. Is that `systemd.services.whatever.user`?
felixfoertsch23 has joined #nixos
felixfoertsch has quit [Ping timeout: 240 seconds]
felixfoertsch23 is now known as felixfoertsch
<notgne2> avalenn: the `serviceConfig` attr set option just serializes to the config file iir
<notgne2> *iirc
<notgne2> so any of the fields probably wont be under any NixOS documentation, it's just plainly mapped into the SystemD config
<notgne2> imo those options should all be overlayed through another Nix layer, but abstracting SystemD in any way seems deeply political
Fare has quit [Ping timeout: 244 seconds]
misasaki has joined #nixos
misasaki has quit [Client Quit]
rogue_koder_ has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @ryantm merged pull request #87519 β†’ squirrel-sql: 4.0.0 -> 4.1.0 β†’ https://git.io/JfWPr
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/Jf4xW
<notgne2> oh damn, just noticed that was the wrong ping, aiverson ^
JJJollyjim_ has quit [Quit: Konversation terminated!]
rogue_koder_ has joined #nixos
steshaw has joined #nixos
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/7829e5791ba (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
turona has quit [Ping timeout: 265 seconds]
turona has joined #nixos
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
aw has joined #nixos
c382feb92 has joined #nixos
spacefrogg has joined #nixos
red[evilred] has quit [Quit: Idle timeout reached: 10800s]
sb0 has joined #nixos
srl295 has quit [Quit: Connection closed for inactivity]
user_0x58 has quit [Ping timeout: 260 seconds]
kvda has quit [Ping timeout: 256 seconds]
kvda has joined #nixos
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
aiverson has left #nixos ["Killed buffer"]
Supersonic112 is now known as Supersonic
<{^_^}> [nixpkgs] @bhipple merged pull request #87771 β†’ salt: 3000.2 -> 3000.3 β†’ https://git.io/Jf4yp
<{^_^}> [nixpkgs] @bhipple pushed 2 commits to master: https://git.io/Jf4pM
<{^_^}> [nixpkgs] @bhipple merged pull request #87776 β†’ zabbix: update source url β†’ https://git.io/Jf4FE
<{^_^}> [nixpkgs] @bhipple pushed 2 commits to master: https://git.io/Jf4pS
<jasom> so I was looking into getting NIS to work with NixOS, and I have everything working *except* login shells not named /bin/sh; I see there's already an LDAP module, does anyone know how it addresses that problem?
sarcasticadmin has quit [Ping timeout: 240 seconds]
<jasom> e.g. user "foo" has a login shell of "/bin/tcsh" and there is no /bin/tcsh, nor is /bin/tcsh in /etc/shells so the login is rejected because of an invalid shell.
domogled has quit [Ping timeout: 256 seconds]
drakonis1 has quit [Quit: WeeChat 2.8]
LysergicDreams has quit [Ping timeout: 256 seconds]
<cransom> for the very short period i was dealing with ldap and nixos, i was setting nixos users shells to /run/current-system/sw/bin/$theirshell . that doesn't do well for other systems, but what i had at the time.
<jasom> I suppose I can always make an overlay that puts the shells I need in /bin
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/7829e5791ba (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<clever> jasom: only a module can do that, overlays cant
<jasom> clever: hmm you're right.
* jasom assumes upstreaming a module to put other shells in /bin is a no-go
<clever> jasom: you can just add custom modules to the imports list
kharon has left #nixos ["WeeChat 2.8"]
drakonis has quit [Read error: Connection reset by peer]
drakonis has joined #nixos
morgrimm has joined #nixos
<jasom> clever: oh, that's so obvious I didn't think of it
<{^_^}> [nixpkgs] @bhipple merged pull request #87781 β†’ terraform: 0.12.24 -> 0.12.25 β†’ https://git.io/Jf4Nw
<{^_^}> [nixpkgs] @bhipple pushed 2 commits to master: https://git.io/Jf4px
waleee-cl has quit [Quit: Connection closed for inactivity]
LysergicDreams has joined #nixos
<mica[m]> Has anyone tried to use DisplayCal on 20.03?
<jasom> just a simple activationscript can do it then
lord| has quit [Read error: Connection reset by peer]
<clever> jasom: yep
lord| has joined #nixos
proofofkeags has quit [Remote host closed the connection]
proofofkeags has joined #nixos
drakonis has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos
<quinn> jasom: check out https://search.tx0.co/
proofofkeags has quit [Ping timeout: 265 seconds]
<quinn> it's a search from nixos configurations from the wiki
<jasom> now the question is, does anyone *want* NIS in NixOS besides me? Right now it "Works on My Machine"(TM)
<jasom> FWIW doing this made me fall in love with nix all over again. It was surprisingly easy to get everything working. The only part of nixos I had to actually modify was nsswitch.nix.
<jasom> The only part I haven't figured out is to require either nscd or sssd to be running; NixOS has nscd on by default, so I'm not super worried about it, but systemd-logind and NIS do not play well together without a caching server
bastion-tester has quit [Ping timeout: 272 seconds]
<superbaloo> having some fun with unshare()
morgrimm has quit [Ping timeout: 264 seconds]
cole-h has quit [Quit: Goodbye]
ddellacosta has quit [Ping timeout: 256 seconds]
Fare has joined #nixos
aiverson has joined #nixos
bastion-tester has joined #nixos
user_0x58 has joined #nixos
johnw has joined #nixos
Guest75362 is now known as justanotheruser
alp has joined #nixos
simba1 has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/b03aaae436e (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @Infinisil closed pull request #85704 β†’ Revert grub update, grub 2.04 -> 2.02 β†’ https://git.io/JfkLx
endformationage has quit [Quit: WeeChat 2.6]
<{^_^}> [nixpkgs] @srhb merged pull request #87778 β†’ cni-plugins: 0.8.5 -> 0.8.6 β†’ https://git.io/Jf4bd
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/JfBv7
<{^_^}> [nixpkgs] @srhb merged pull request #87729 β†’ cheat: 3.9.0 -> 3.10.0 β†’ https://git.io/Jf4OB
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/JfBv5
<{^_^}> [nixpkgs] @danieldk opened pull request #87789 β†’ mkl: fix expectation of MKLROOT being set in pkg-config files β†’ https://git.io/JfBvh
`_ has quit [Ping timeout: 264 seconds]
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
user_0x58 has quit [Quit: Leaving]
dingenskirchen has quit [Remote host closed the connection]
dingenskirchen has joined #nixos
hmpffff has joined #nixos
dermetfan has joined #nixos
plp__ has quit [Ping timeout: 260 seconds]
plp_ has joined #nixos
oborot has quit [Ping timeout: 265 seconds]
hmpffff_ has joined #nixos
palo1 has joined #nixos
hmpffff has quit [Ping timeout: 256 seconds]
palo has quit [Ping timeout: 272 seconds]
palo1 is now known as palo
Fare has quit [Quit: Leaving]
<emily> is there a nice way to express "the patched source of some derivation, as a derivation"?
jtobin has quit [Quit: leaving]
knupfer has joined #nixos
eoli3n_ has joined #nixos
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/9a29fe5808c (from 16 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
asheshambasta has joined #nixos
orivej_ has joined #nixos
<jackdk> emily: you want to build a derivation of the source, or rebuild the same derivation with different patches?
orivej has quit [Ping timeout: 256 seconds]
<emily> the former, a derivation of the patched unpacked source
<{^_^}> [nixpkgs] @doronbehar opened pull request #87790 β†’ krop: move libsForQt5.poppler out of propagatedBuildInputs β†’ https://git.io/JfBJ6
eoli3n__ has joined #nixos
<jtojnar> emily I do not think there is any nice way
knupfer has quit [Ping timeout: 256 seconds]
shafox has quit [Ping timeout: 265 seconds]
rauno has joined #nixos
<jtojnar> it would be nice to have applyPatches combinator but IIRC the issue with it is the copying between store and /build and store again and /build again is slow
alp has quit [Remote host closed the connection]
alp has joined #nixos
rogue_koder_ has quit [Remote host closed the connection]
mallox has joined #nixos
hmpffff has joined #nixos
hmpffff_ has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @vbgl opened pull request #87791 β†’ ocamlPackages.batteries: fix for OCaml 4.10 β†’ https://git.io/JfBU8
xantoz has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @lheckemann merged pull request #87219 β†’ postgres: Do not log timestamp β†’ https://git.io/JfcJT
<{^_^}> [nixpkgs] @lheckemann pushed 3 commits to master: https://git.io/JfBUE
xantoz has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
opthomasprime has joined #nixos
opthomasprime has left #nixos [#nixos]
hmpffff_ has joined #nixos
<{^_^}> [nixpkgs] @zowoq opened pull request #87792 β†’ nixos/podman: libpod.conf -> containers.conf β†’ https://git.io/JfBUP
KeiraT has quit [Ping timeout: 240 seconds]
hyper_ch2 has joined #nixos
CMCDragonkai1 has quit [Quit: CMCDragonkai1]
hmpffff has quit [Ping timeout: 256 seconds]
matthiaskrgr has joined #nixos
nikivi has joined #nixos
hmpffff has joined #nixos
KeiraT has joined #nixos
artistsvoid has joined #nixos
<aiverson> How would I troubleshoot why, in a nixops deployment containing a key and a service, the service can't access the key? All the users and groups seem to line up, but trying to read the content of the file into an environment variable results in a `Permission denied` error message.
hmpffff_ has quit [Ping timeout: 256 seconds]
<clever> aiverson: if you `sudo -u <foo> -i` to that user, and then try to `ls -l` the key, what happens?
lsix has joined #nixos
<aiverson> `This account is currently not available.`
<clever> aiverson: `sudo -u foo bash`
<aiverson> `ls: cannot open directory '/run/keys/': Permission denied`
hmpffff_ has joined #nixos
<aiverson> Ah, I need to add the `keys` group to the user. That should be documented.
zeenk has joined #nixos
hmpffff has quit [Ping timeout: 265 seconds]
hyper_ch2 has quit [Quit: Connection closed]
matthiaskrgr has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net - currently broken?]
nikivi has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
hyper_ch2 has joined #nixos
johnjay has quit [Read error: Connection reset by peer]
johnjay has joined #nixos
knupfer has joined #nixos
euank has joined #nixos
Ariakenom has joined #nixos
kvda has joined #nixos
<JJJollyjim> If I have a symlink to a store path, is there a command to cement it as an indirect GC root?
<JJJollyjim> (I got the thing into the store with copy-closure, so I wasn't able to --add-root it at build time)
<JJJollyjim> (or --out-path or whatever)
hmpffff has joined #nixos
hmpffff__ has joined #nixos
civodul has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #86376 β†’ Modify buildGoModules to use -mod=vendor instead of the go package cache. β†’ https://git.io/JfY7x
<{^_^}> [nixpkgs] @Mic92 pushed 7 commits to master: https://git.io/JfBkW
hmpffff_ has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @FRidh pushed 280 commits to staging-next: https://git.io/JfBk4
hmpffff has quit [Ping timeout: 246 seconds]
<s1341> @rycee
konobi has quit [Ping timeout: 256 seconds]
<s1341> @rycee any chance you can merge my pr: https://github.com/rycee/home-manager/pull/1105
<{^_^}> rycee/home-manager#1105 (by s1341, 7 weeks ago, open): zplug: Add initial support for zplug package manager
teto has joined #nixos
konobi has joined #nixos
thc202 has joined #nixos
gagbo has joined #nixos
alexherbo2 has joined #nixos
knupfer has quit [Read error: Connection reset by peer]
<Izorkin> flokli: how to need to merge #86900 ?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/86900 (by Izorkin, 1 week ago, open): mariadb: 10.3.22 -> 10.4.12
vidbina has joined #nixos
nikivi has joined #nixos
matthiaskrgr has joined #nixos
nschoe has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 283 commits to staging: https://git.io/JfBkd
knupfer has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed commit from @Ericson2314 to staging-next Β« Revert "Revert "libbfd: fix build"" Β»: https://git.io/JfBkp
sgo is now known as stigo
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/ce9ed9baed6 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
agsdheidjd has joined #nixos
<{^_^}> [nixpkgs] @filalex77 opened pull request #87793 β†’ jrnl: 1.9.8 -> 2.4.2 β†’ https://git.io/JfBI8
kvda has quit [Ping timeout: 246 seconds]
cr4y1 has joined #nixos
<{^_^}> [nixpkgs] @zowoq opened pull request #87794 β†’ podman, etc packages: switch to buildGoModule β†’ https://git.io/JfBIR
<{^_^}> [nixpkgs] @filalex77 opened pull request #87795 β†’ topgrade: 4.4.0 -> 4.5.0 β†’ https://git.io/JfBIE
konobi has quit [Ping timeout: 256 seconds]
smatting has joined #nixos
maddo has joined #nixos
konobi has joined #nixos
<{^_^}> [mobile-nixos] @telent opened pull request #147 β†’ initial port to motorola-potter (Moto G5 Plus) β†’ https://git.io/JfBI1
alp has quit [Ping timeout: 272 seconds]
cr4y1 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @srhb merged pull request #87571 β†’ cargo-tarpaulin: init at 0.12.4 β†’ https://git.io/JfWhZ
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/JfBLf
hyper_ch2 has quit [Quit: Connection closed]
hmpffff__ has quit [Read error: Connection reset by peer]
hmpffff has joined #nixos
hmpffff_ has joined #nixos
kvda has joined #nixos
<pjt_014> JJJollyjim: nix-store -r /nix/foo --add-root aname --indirect
hyper_ch2 has joined #nixos
<pjt_014> If I understand what you're asking
hmpffff has quit [Ping timeout: 260 seconds]
alp has joined #nixos
<JJJollyjim> Ahh ty pjt
<{^_^}> [nixpkgs] @megheaiulian opened pull request #87797 β†’ nomachine-client: 6.9.2 -> 6.10.12 β†’ https://git.io/JfBLg
jgeerds has joined #nixos
knupfer has quit [Read error: Connection reset by peer]
hmpffff has joined #nixos
<{^_^}> [nixpkgs] @sternenseemann opened pull request #87798 β†’ apostrophe: 2.2.0.2 β†’ 2.2.0.3 β†’ https://git.io/JfBLX
<{^_^}> [nixpkgs] @turion opened pull request #87799 β†’ vscodium: Fix .desktop file β†’ https://git.io/JfBL1
hmpffff_ has quit [Ping timeout: 240 seconds]
maxdevjs has quit [Remote host closed the connection]
fendor has joined #nixos
maxdevjs has joined #nixos
<{^_^}> [nixpkgs] @vbgl merged pull request #87765 β†’ ocamlPackages.jingoo: 1.2.18 β†’ 1.3.4 β†’ https://git.io/Jf4P1
<{^_^}> [nixpkgs] @vbgl pushed commit from @sternenseemann to master Β« ocamlPackages.jingoo: 1.2.18 β†’ 1.3.4 Β»: https://git.io/JfBtt
<sephii> I'm struggling trying to list all versions of a Python package. I tried `nix-env -qa django` and `nix-env -qa python37Packages.django` but both don't yield any result. How do you search for such packages?
<{^_^}> [nixpkgs] @colemickens closed pull request #87775 β†’ vlc: 3.0.8 -> 3.0.10 β†’ https://git.io/Jf4df
__monty__ has joined #nixos
hyper_ch2 has quit [Quit: Connection closed]
hyper_ch2 has joined #nixos
<__monty__> Are none of the firefox expressions available on darwin?
simba1 has quit [Quit: WeeChat 2.8]
simba1 has joined #nixos
hyper_ch2 has quit [Quit: Connection closed]
alp has quit [Ping timeout: 265 seconds]
cyberia has quit [Quit: brb]
alp has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<pjt_014> how do I specify a channel with nix-shell -p ?
<sb0> pjt_014: -I <channel> maybe?
<sb0> -I channel_name=<channel>
<clever> nix-shell -p always loads <nixpkgs>
<clever> so you must `-I nixpkgs=something`
<pjt_014> yep, that's it. thanks
cr4y1 has joined #nixos
hyper_ch2 has joined #nixos
<{^_^}> Channel nixos-20.03 advanced to https://github.com/NixOS/nixpkgs/commit/a4f8cec54dc (from 14 hours ago, history: https://channels.nix.gsc.io/nixos-20.03)
cfricke has joined #nixos
cfricke has quit [Client Quit]
hyper_ch2 has quit [Quit: Connection closed]
alexherbo22 has joined #nixos
Yaniel has quit [Remote host closed the connection]
alexherbo2 has quit [Ping timeout: 265 seconds]
alexherbo22 is now known as alexherbo2
sigmundv has joined #nixos
hyper_ch2 has joined #nixos
cptchaos83 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
cptchaos83 has joined #nixos
Yaniel has joined #nixos
cptchaos83 has quit [Client Quit]
cptchaos83 has joined #nixos
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from @edolstra to master Β« Update flake.lock and blogs.xml [ci skip] Β»: https://git.io/JfBmf
asymptotically has joined #nixos
<{^_^}> [nixpkgs] @garrison opened pull request #87800 β†’ bibtool: 2.67 -> 2.68 β†’ https://git.io/JfBmt
hyper_ch2 has quit [Quit: Connection closed]
Soo_Slow has joined #nixos
hyper_ch2 has joined #nixos
zaeph has quit [Ping timeout: 272 seconds]
alp has quit [Remote host closed the connection]
alp has joined #nixos
m0rphism has joined #nixos
ebopp has joined #nixos
cr4y1 has quit [Remote host closed the connection]
<ebopp> for what reason do some sources in nixpkgs have a sha256 = "sha256-V8bXam33..." hash including uppercase characters? is this just base64 vs base32?
cr4y1 has joined #nixos
<jtojnar> ebopp correct
<jtojnar> recent nix prints SRI hashes on mismatch so people just copy those
<ebopp> any reason to choose one over the other? or is it arbitrary?
CMCDragonkai1 has joined #nixos
<sshow> does anyone have a successful deluge daemon setup?
<niksnut> ebopp: it's wrong, it should be hash = "sha256-V8bXam33..."
<{^_^}> [nixpkgs] @remunds opened pull request #87801 β†’ write_stylus: updated broken icon hash β†’ https://git.io/JfBmM
<MichaelRaskin> I think it still does work as sha256 = …
<ebopp> niksnut: inside fetchFromGitHub?
<niksnut> it works, but it's ugly
<niksnut> especially since you could write sha256 = "sha512-..."
<ebopp> niksnut: oh, yes that makes sense. there are a ton of packages using sha256 on nixpkgs though.
<ebopp> interestingly, the hash syntax seems to be hash = "sha256:<base32>" and hash = "sha256-<base64>"… not exactly intuitive
zupo has joined #nixos
<niksnut> yeah the sha256:<base32> syntax is old
fendor has quit [Ping timeout: 256 seconds]
simba1 has quit [Quit: WeeChat 2.8]
<pjt_014> while using nix-copy-closure I just got "error: cannot add path '/nix/store/...' because it lacks a valid signature", yet I have an ssh connection to the same device. What's that about
<pjt_014> ?
<{^_^}> [nixpkgs] @aepsil0n opened pull request #87803 β†’ alot: 0.9 β†’ 0.9.1 β†’ https://git.io/JfBYq
h0m1 has quit [Quit: WeeChat 2.8]
<{^_^}> [nixpkgs] @paumr opened pull request #87804 β†’ nixos/emacs: formatted with nixpkgs-fmt β†’ https://git.io/JfBYG
<bqv> There is a `nix sign-paths`
h0m1 has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 97 commits to haskell-updates: https://git.io/JfBYC
<pjt_014> good to know, but why is this needed? I've never seen this before
<bqv> no idea
<{^_^}> [nixpkgs] @peti opened pull request #87805 β†’ Update Haskell package set to LTS 15.12 (plus other fixes) β†’ https://git.io/JfBYz
<pjt_014> hm.
<pjt_014> also what do I sign it with?
dugur has quit [Remote host closed the connection]
<pjt_014> hmm. it's insisting I sign it with something within the store itself
tokudan[m] has quit [Quit: tokudan[m]]
tokudan[m] has joined #nixos
<{^_^}> [nixpkgs] @nlewo merged pull request #87794 β†’ podman, etc packages: switch to buildGoModule β†’ https://git.io/JfBIR
<{^_^}> [nixpkgs] @nlewo pushed 6 commits to master: https://git.io/JfBYP
detran has quit [Quit: ZNC 1.7.5 - https://znc.in]
detran has joined #nixos
kaliumxyz has joined #nixos
kaliumxyz has quit [Client Quit]
kvda has joined #nixos
janneke has quit [Quit: janneke quits Mes'sing]
knupfer has joined #nixos
janneke has joined #nixos
knupfer has quit [Client Quit]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates Β« haskell-ghc-lib-parser-ex: update overrides for the update 8.10.x version Β»: https://git.io/JfBOm
pjt_014 has quit [Ping timeout: 246 seconds]
Ariakenom has quit [Ping timeout: 260 seconds]
Ariakenom has joined #nixos
shafox has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates Β« hackage2nix: update list of broken packages Β»: https://git.io/JfBOn
orivej_ has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
<{^_^}> [nixpkgs] @devhell opened pull request #87806 β†’ doc/rl-2009: Remove unnecessary </programlisting> β†’ https://git.io/JfBOi
saurabhkukade has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates Β« hackage-packages.nix: automatic Haskell package set update Β»: https://git.io/JfBOM
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<saurabhkukade> I am having issue while building haskell project. I am doing nix-build release.nix and getting error while building as `Setup: Encountered missing or private dependencies:
<saurabhkukade> base ==4.11.*`
<{^_^}> [nixpkgs] @peti pushed 7 commits to haskell-updates: https://git.io/JfBOH
<{^_^}> [nixpkgs] @jtojnar pushed 4 commits to master: https://git.io/JfBO5
alexherbo21 has joined #nixos
alexherbo2 has quit [Ping timeout: 256 seconds]
alexherbo21 is now known as alexherbo2
shafox_ has joined #nixos
shafox has quit [Read error: Connection reset by peer]
o1lo01ol1o has joined #nixos
saurabhkukade has left #nixos ["ERC (IRC client for Emacs 26.3)"]
orivej has quit [Read error: Connection reset by peer]
andreas303 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @mmilata opened pull request #87807 β†’ [20.03] samba: 4.11.5 -> 4.11.9 β†’ https://git.io/JfB3n
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chloekek has joined #nixos
andreas303 has joined #nixos
cfricke has joined #nixos
h0m1 has quit [Quit: WeeChat 2.8]
h0m1 has joined #nixos
kvda has joined #nixos
orivej has joined #nixos
kvda has quit [Client Quit]
mthst has joined #nixos
h0m1 has quit [Client Quit]
h0m1 has joined #nixos
nschoe has quit [Remote host closed the connection]
nschoe has joined #nixos
<bqv> You know what
<bqv> I'm starting to think I don't care if there are some keys in the nix store
<bqv> There's no good solution to that problem
<{^_^}> [nixpkgs] @mmilata opened pull request #87808 β†’ [20.03] slirp4netns 0.4.3 -> 0.4.5 β†’ https://git.io/JfB3p
<bqv> I need it to be possible to reboot a machine without manual intervention, and to reboot into a new config without manual intervention. With those two restraints, it follows that nix is able to access the secrets independently, which means they are in the store
corpix has quit [Remote host closed the connection]
<immae> bqv: they need to be in "a store", but they don’t need to be in the local store. I made a module that I use via nixops where only the local store will contain the secrets, the distant ones will never have them (it comes with a script that installs them in /var/secrets with proper permissions, so it’s resilient accross reboots)
<bqv> So you build a configuration, but it depends on something not in the same store?
zupo_ has joined #nixos
matthiaskrgr has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net - currently broken?]
nikivi has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
<bqv> Thats no better than having files lying around, imo
<bqv> And id rather not use nixops for this
<niso> bqv: having the keys in the store makes them accessible for everyone, having them in another directory allows you to set appropriate permissions
<bqv> But then you have to keep that separate store in sync with your config/system
<bqv> This is the problem I'm trying to solve
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/8ba41a1e149 (from 13 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
<bqv> Fully accountable system states
<niso> bqv: if you use nixops you can use deployment.keys.your-secret-key.destDir which will somewhat sync your keys
<niso> bqv: as in: it will sync your key to the server (and place it in the dir) but it won't remove it from there
steshaw has quit [Remote host closed the connection]
<immae> bqv: the activationScript is responsible for synchronising /var/secrets
<immae> It’s either that or having the keys in the store...
matthiaskrgr has joined #nixos
<bqv> Hmm
<bqv> Ok I'm intrigued, do you have an example immae?
nikivi has joined #nixos
<immae> bqv: Hold on. Again, I’m using nixops, it’s an important part of the process
<bqv> Oh, nevermind then
<immae> ok
<bqv> Screw it, keys in the store
<immae> Otherwise Infinisl made some work to have a similar feature locally, but it is less flexible (as in: as far as I understood, you need one file per secret and this "file" cannot be built via a nix expression, which was important for me)
<niso> bqv: uhm, maybe rsync your keys to a remote dir?
<niso> bqv: giving all your software access to your secrets is a realy bad idea :/
<bqv> Yes, it is, but in the name of convenience I am willing to sacrifice it. That said, I like the idea of maintaining a "secret store" and having activation actually be an operation that acts on both stores
<bqv> I'll probably steal some ideas from that module
<bqv> Its quite cool
<{^_^}> [nixpkgs] @thefloweringash closed pull request #86525 β†’ binutils: backport fix for 'invalid string offset' on arm β†’ https://git.io/Jf38r
<niso> bqv: in the name of convenince some people also version their secrets in git :P
<bqv> I already do that, just not keys
<{^_^}> [nix] @edolstra pushed to auto-uid-allocation Β« Dynamically allocate UIDs Β»: https://git.io/JfBGv
<niso> bqv: also, i think some software won't even work if it's secret file has too insecure file permissions
gxt has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @evils opened pull request #87810 β†’ wxGTK31: 3.1.2 -> 3.1.3 β†’ https://git.io/JfBGL
<bqv> Mm true, ssh is like that
alp has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @andir opened pull request #87811 β†’ firefox: 76.0 -> 76.0.1 β†’ https://git.io/JfBGt
gxt has joined #nixos
knupfer has joined #nixos
fendor has joined #nixos
<{^_^}> [nixpkgs] @joachimschmidt557 opened pull request #87812 β†’ nixos/mysql: refactor enable option β†’ https://git.io/JfBG8
<{^_^}> [nixpkgs] @andir merged pull request #87779 β†’ gopass: 1.9.1 -> 1.9.2 β†’ https://git.io/Jf4NC
<{^_^}> [nixpkgs] @andir pushed 2 commits to master: https://git.io/JfBGu
alp has joined #nixos
<Izorkin> Mic92: you can check working netdata with simple sandbox mode - https://github.com/NixOS/nixpkgs/compare/master...Izorkin:sandbox-netdata
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos
CMCDragonkai1 has quit [Ping timeout: 264 seconds]
iyzsong has joined #nixos
fendor has quit [Read error: Connection reset by peer]
steshaw has joined #nixos
chloekek has quit [Ping timeout: 240 seconds]
fendor has joined #nixos
fendor has quit [Remote host closed the connection]
teto has quit [Quit: WeeChat 2.8]
fendor has joined #nixos
inkbottle has joined #nixos
fendor_ has joined #nixos
<s1341> Mic92: is there an easy way to compile a given binary with scudo on nixos?
Ariakenom has quit [Ping timeout: 246 seconds]
fendor has quit [Client Quit]
fendor_ is now known as fendor
zebrag has quit [Ping timeout: 258 seconds]
Ariakenom has joined #nixos
<Mic92> Izorkin: do we need anthing else to also get ebpf working_
tjg1 has quit [Ping timeout: 272 seconds]
FRidh has joined #nixos
<Izorkin> Mic92: i have not tried to enable the plugin ebpf
<{^_^}> [nixpkgs] @FRidh opened pull request #87813 β†’ python38: 3.8.2 -> 3.8.3 β†’ https://git.io/JfBZg
tjg1 has joined #nixos
<Izorkin> Mic92: last time you writed that need a package netdata/kernel-collector
<{^_^}> [hydra] @gilligan opened pull request #759 β†’ Devshell β†’ https://git.io/JfBZy
loupinfre[m] has joined #nixos
<{^_^}> [nixpkgs] @FRidh opened pull request #87814 β†’ Staging next β†’ https://git.io/JfBZ9
hlisp has joined #nixos
<{^_^}> [nix] @edolstra pushed to auto-uid-allocation Β« canonicalisePathMetaData(): Support a UID range Β»: https://git.io/JfBnq
<manveru> what are ya'll using for exception monitoring? afaict neither Sentry nor Errbit are packaged and all other services I could find are SaaS only
<bqv> yeah i had that issue a while back
<bqv> i just settled for not bothering
hlisp has quit [Read error: Connection reset by peer]
orbekk1 is now known as orbekk
mthst has quit [Ping timeout: 260 seconds]
<niso> manveru: for log monitoring in general i'm using grafana
<manveru> yeah, i use that already
<manveru> but this is for sending exceptions directly from applications to a place that allows you to associate it with issues, see the backtrace, environment, etc...
agsdheidjd has quit [Ping timeout: 256 seconds]
corpix has joined #nixos
<niso> oh, i see. i've neither a setup for that, nor a usecase
agsdheidjd has joined #nixos
dm9 has joined #nixos
mthst has joined #nixos
dguibert has joined #nixos
eoli3n_ has quit [Remote host closed the connection]
<{^_^}> [hydra] @knl opened pull request #760 β†’ Correct the link to hydra-api.yml file β†’ https://git.io/JfBcy
<{^_^}> [nixpkgs] @jtojnar pushed to master Β« tracker: remove unnecessary dependency Β»: https://git.io/JfBc5
eoli3n_ has joined #nixos
<{^_^}> [nixpkgs] @mmilata opened pull request #87815 β†’ ghostscript: 9.50 -> 9.52, jbig2dec: 0.17 -> 0.18 β†’ https://git.io/JfBcx
<{^_^}> [nixpkgs] @Scriptkiddi opened pull request #87816 β†’ precice: 2020-01-20 -> 2.0.2 β†’ https://git.io/JfBCT
hyper_ch2 has quit [Quit: Connection closed]
o1lo01ol_ has joined #nixos
o1lo01ol1o has quit [Ping timeout: 240 seconds]
evanjs has quit [Remote host closed the connection]
hlisp has joined #nixos
mthst has quit [Ping timeout: 256 seconds]
corpix has quit [Quit: corpix]
<{^_^}> [nixpkgs] @edolstra pushed to master Β« Remove unused files Β»: https://git.io/JfBWF
hlisp_ has joined #nixos
hlisp has quit [Ping timeout: 265 seconds]
avalenn has quit [Quit: authenticating]
avalenn has joined #nixos
zupo has quit [Ping timeout: 256 seconds]
avalenn has quit [Client Quit]
avalenn has joined #nixos
eoli3n_ has quit [Remote host closed the connection]
eoli3n_ has joined #nixos
<hyperfekt> ,locate libudev.pc
<{^_^}> Found in packages: eudev, libudev.dev, systemd_with_lvm2.dev
zupo has joined #nixos
corpix has joined #nixos
<{^_^}> [nixpkgs] @alexeymuranov opened pull request #87817 β†’ [20.03-backport] xonotic: split glx, sdl, dedicated, data (#83461) β†’ https://git.io/JfBld
sb0 has quit [Quit: Leaving]
drakonis has joined #nixos
drakonis_ has quit [Ping timeout: 256 seconds]
waleee-cl has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #87016 β†’ nixos/nsswitch cleanup nss modules β†’ https://git.io/JfZs6
<{^_^}> [nixpkgs] @flokli pushed 12 commits to master: https://git.io/JfB8C
drakonis has quit [Ping timeout: 244 seconds]
WilliButz has quit [Quit: bye]
WilliButz has joined #nixos
morgrimm has joined #nixos
iyzsong has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos
iyzsong has joined #nixos
iyzsong has quit [Changing host]
iyzsong has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #86378 β†’ cri-o: switch to buildGoModule β†’ https://git.io/JfYbz
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfB8d
cfricke has quit [Quit: WeeChat 2.8]
Rusty1 has joined #nixos
hlisp_ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @marsam merged pull request #87745 β†’ sane-airscan: 0.9.17 -> 0.99.0 β†’ https://git.io/Jf4z7
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfB4n
<{^_^}> [nixpkgs] @marsam merged pull request #87746 β†’ backport: sane-airscan: 0.9.17 -> 0.99.0 β†’ https://git.io/Jf4zp
<{^_^}> [nixpkgs] @marsam pushed 2 commits to release-20.03: https://git.io/JfB4c
coco has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #87733 β†’ flashplayer: 32.0.0.363 -> 32.0.0.371 β†’ https://git.io/Jf4GX
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfB4g
evanjs has joined #nixos
eoli3n_ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @marsam pushed 3 commits to master: https://git.io/JfBBs
<{^_^}> [nixpkgs] @marsam merged pull request #87719 β†’ sarasa-gothic: 0.8.0 -> 0.12.6 β†’ https://git.io/Jf4U0
eoli3n_ has joined #nixos
eoli3n_ has quit [Remote host closed the connection]
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
eoli3n_ has joined #nixos
eoli3n_ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @marsam merged pull request #87542 β†’ yabai: 3.0.0 -> 3.0.1 β†’ https://git.io/JfWHY
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfBBS
eoli3n_ has joined #nixos
<d4rkshad0w> When one is writing a nixos service module that needs to generate a .yaml config, is there a way to generate a part of the code from the example configuration? Or do I have to do this by hand?
Khetzal has quit [Quit: \o/]
coco has quit [Quit: WeeChat 2.6]
<etu> d4rkshad0w: you can probably use builtins.toJSON to generate the file, json is a subset of yaml so if the software use a yaml parser it should be able to read the json file
jtobin has joined #nixos
maddo has quit [Remote host closed the connection]
<d4rkshad0w> I probably meant it the other way around. Can I generate the implementation (or rather the `options.services.service` part) pulling structure and description (from comments) from the yaml file?
maddo has joined #nixos
coco has joined #nixos
jtobin has quit [Remote host closed the connection]
coco has quit [Client Quit]
bebarker has joined #nixos
evanjs has quit [Ping timeout: 256 seconds]
jtobin has joined #nixos
<d4rkshad0w> I want to create a module running mautrix telegram, which is configured by a big yaml file. It would be cool to take the example configuration run a script over it, and have a .nix file containing the `options.services.mautrix-telegram` with correct options, default values and description set.
coco has joined #nixos
evanjs has joined #nixos
<manveru> d4rkshad0w: yeah... you'd have to write that script
<coco> newbie question: i upgraded nixos and home-manager to 20.03. now i can't log in anymore; i get "failed to start session" in lightdm. i'm using x11 + i3. any pointers to where i look for the problem?
<d4rkshad0w> I'll have a look into it...
<{^_^}> [nixpkgs] @nhey opened pull request #87820 β†’ nixosTests.kubernetes: port tests to python β†’ https://git.io/JfBR6
bbarker has quit [Ping timeout: 265 seconds]
domogled has joined #nixos
<b42> d4rkshad0w: if you want to merge default options with user-defined options you can use yq like this: https://github.com/NixOS/nixpkgs/blob/79c0cb5daf9cd71fdc3eafe0c962fe8a44ab0ef5/nixos/modules/services/web-apps/discourse.nix#L318
<b42> the file with user-defined options can be generated with builtins.toJSON
<d4rkshad0w> Not exactly what I'm looking for (I guess) but thanks anyway :)
jtobin has quit [Remote host closed the connection]
<b42> ah, sorry, i misunderstood the question
jtobin has joined #nixos
hyper_ch2 has joined #nixos
<Izorkin> flokli: aanderse: how to need to merge PR #86900
<{^_^}> https://github.com/NixOS/nixpkgs/pull/86900 (by Izorkin, 1 week ago, open): mariadb: 10.3.22 -> 10.4.12
eoli3n_ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @zowoq opened pull request #87821 β†’ skopeo: don't set policy and tmpdir during build β†’ https://git.io/JfB0Z
<{^_^}> [nixpkgs] @NeQuissimus pushed 3 commits to master: https://git.io/JfB0c
<{^_^}> [nixpkgs] @NeQuissimus pushed 3 commits to release-20.03: https://git.io/JfB0l
<d4rkshad0w> <b42 "ah, sorry, i misunderstood the q"> np
epl692 has left #nixos ["The bravest thing I have is hope."]
WilliButz has quit [Remote host closed the connection]
WilliButz has joined #nixos
Khetzal has joined #nixos
<aanderse> Izorkin: that pr is on our list, we will get it merged very soon! flokli is still doing some minor review i believe
<aanderse> thanks for all your work!
<aanderse> i tested and everything works well
domogled has quit [Ping timeout: 265 seconds]
WilliButz has quit [Client Quit]
gustavderdrache has joined #nixos
WilliButz has joined #nixos
<Izorkin> aanderse: after i want to try add sandbox mode)
benedikt93 has joined #nixos
rauno has quit [Remote host closed the connection]
<aanderse> Izorkin: i think that is a fantastic idea! i think we can probably apply a large amount of sandboxing options to mysql
eoli3n_ has joined #nixos
<aanderse> i think mysql/mariadb documentation has some information on that IIRC
Soo_Slow has quit [Quit: Soo_Slow]
cosimone has joined #nixos
<Izorkin> aanderse: need drop commit mysql: build with protobuf 3.7 and create new PR?
<aanderse> Izorkin: thats a question for flokli
<{^_^}> [nixpkgs] @anmonteiro opened pull request #87822 β†’ ocamlPackages.x509: 0.11.1 β†’ 0.11.2 β†’ https://git.io/JfBEV
linarcx has joined #nixos
dguibert has quit [Remote host closed the connection]
hlisp has joined #nixos
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
hyper_ch2 has quit [Quit: Connection closed]
rogue_koder has joined #nixos
knupfer has quit [Read error: Connection reset by peer]
chloekek has joined #nixos
dugur has joined #nixos
jkarni_ has joined #nixos
<bqv> https://github.com/Infinisil/nixoses this repo is actually pretty cool
<bqv> i feel like i want to use this
<infinisil> No guarantees if you do!
dguibert has joined #nixos
gulplante has joined #nixos
<infinisil> Though other than bash script ugliness with process handling, it's working well for me :)
<immae> infinisil the topic earlier this morning was about secrets, am I right in that your system doesn’t permit to generate a secret via a nix expression or did I miss something?
<infinisil> I guess it still allows it with `secrets.foo.file = pkgs.writeText "foo" "SECRET"`, but the intention is to use `secrets.foo.file = ./secret` instead
<infinisil> And then the secret won't end up in the store
<immae> yes I was thinking more of secrets.foo.source = "some static text ${some_dynamic_variable}"; which I use in many places
aswanson has joined #nixos
<infinisil> Yeah that's not possible without writing it to the store
<immae> ok
<immae> Thanks for the confirmatoin
alp has quit [Ping timeout: 246 seconds]
shafox_ has quit [Ping timeout: 256 seconds]
shafox has joined #nixos
dingenskirchen has quit [Quit: dingenskirchen]
dingenskirchen has joined #nixos
cole-h has joined #nixos
mocker has joined #nixos
hlisp_ has joined #nixos
hlisp has quit [Ping timeout: 260 seconds]
<balsoft> What's up with CI in nix repo?
c382feb92 has quit [Quit: The Lounge - https://thelounge.chat]
c382feb92 has joined #nixos
<balsoft> > No runner matching the specified labels was found: macos.
<{^_^}> error: syntax error, unexpected ':', expecting ')', at (string):310:50
<flokli> Izorkin: posted a comment to the mariadb PR
dingenskirchen has quit [Quit: dingenskirchen]
dingenskirchen has joined #nixos
hmpffff_ has joined #nixos
hmpffff has quit [Ping timeout: 265 seconds]
Darkmatter66_ has quit [Read error: Connection reset by peer]
Ariakenom has quit [Quit: WeeChat 2.7]
<bqv> infinisil: no worries :) i love experimental stuff. is there anything particularly unstable/missing?
morgrimm_ has joined #nixos
<{^_^}> [hydra] @edolstra merged pull request #760 β†’ Correct the link to hydra-api.yml file β†’ https://git.io/JfBcy
<{^_^}> [hydra] @edolstra pushed 2 commits to master: https://git.io/JfBg3
Darkmatter66 has joined #nixos
jkarni_ has quit [Ping timeout: 265 seconds]
jkarni_ has joined #nixos
morgrimm has quit [Ping timeout: 240 seconds]
hlisp has joined #nixos
hlisp_ has quit [Ping timeout: 240 seconds]
sarcasticadmin has joined #nixos
alp has joined #nixos
Pot2Dash has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @vbgl opened pull request #87824 β†’ ocamlPackages.dune_2: enable for OCaml < 4.07 β†’ https://git.io/JfBgr
c382feb92 has quit [Ping timeout: 256 seconds]
proofofkeags has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to release-20.03: https://git.io/JfBgK
<{^_^}> [nixpkgs] @vcunat merged pull request #87773 β†’ [20.03] firefox: Add patch to fix AES GCM IV bit size β†’ https://git.io/Jf4QF
FRidh has quit [Ping timeout: 265 seconds]
<infinisil> bqv: Missing are tests, and unstable is the whole interface
<bqv> lmao
FRidh has joined #nixos
<infinisil> :P
<bqv> it looks reasonably simple, though
<infinisil> Yeah
knupfer has joined #nixos
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/1dff0476d97 (from 79 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
sigmundv has quit [Read error: Connection reset by peer]
sigmundv has joined #nixos
ddellacosta has joined #nixos
steshaw has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @rnhmjoj pushed 2 commits to release-20.03: https://git.io/JfB2q
misasaki has joined #nixos
sMuNiX has joined #nixos
philr has quit [Ping timeout: 265 seconds]
<sMuNiX> hi, anyone knows how to get past this error: unsupported builtin function 'unpack-channel' ?
<sMuNiX> it happens after running 'nix-channel --update'
orivej has quit [Ping timeout: 256 seconds]
<sMuNiX> builder for '/nix/store/mfirgzpv3l733sp0wcnsj51r4vpai0yf-nixos-unstable-small-20.09pre225694.ce9ed9baed6.drv' failed with exit code 1
<{^_^}> [nixpkgs] @DamienCassou merged pull request #87728 β†’ cypress: 4.4.1 -> 4.5.0 β†’ https://git.io/Jf4Ov
<{^_^}> [nixpkgs] @DamienCassou pushed 2 commits to master: https://git.io/JfB2g
zaeph has joined #nixos
hlisp has quit [Remote host closed the connection]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hlisp has joined #nixos
<{^_^}> [nixpkgs] @antoinerg opened pull request #87825 β†’ pythonPackages.dash*: bump β†’ https://git.io/JfB2w
sarcasticadmin has quit [Ping timeout: 246 seconds]
kharon has joined #nixos
growpotkin has joined #nixos
misasaki has quit [Quit: WeeChat 2.8]
hlisp has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @veprbl merged pull request #87754 β†’ mu: 1.4.3 -> 1.4.5 β†’ https://git.io/Jf4oP
<{^_^}> [nixpkgs] @veprbl pushed 3 commits to master: https://git.io/JfB2Q
aveltras has joined #nixos
<cole-h> sMuNiX: What version is your nix?
sarcasticadmin has joined #nixos
<cole-h> Because unpack-channel was added as a builtin over a year ago
WoC has joined #nixos
drakonis has joined #nixos
<{^_^}> [nixos-search] @garbas merged pull request #30 β†’ import name/homepage as keyword β†’ https://git.io/JflAT
<{^_^}> [nixos-search] @garbas pushed commit from @Mic92 to master Β« import name as keyword (#30) Β»: https://git.io/JfB2h
<sMuNiX> cole-h: nix (Nix) 2.4pre20200501_941f952
proofofkeags has quit [Remote host closed the connection]
proofofkeags has joined #nixos
drakonis_ has quit [Ping timeout: 265 seconds]
<balsoft> infinisil: I looked at your nixoses thing, it's pretty interesting. Do you think it would be within the spirit of the project to add an "separate service" option? I.e. have a profile that can be updated separately from the rest of the system and a systemd service that would run an executable from that profile. We could still keep the system reproducible, but move some of the activation logic to the client (to reduce
<balsoft> unneccessary system rebuilds and uploads).
<infinisil> balsoft: Yes I'm very interested in something like that!
<infinisil> Having multiple Nix profiles for separate things. The best example is having one hardware profile and one config profile. This would allow you to roll back the config even if you upgraded hardware
opticnerve has joined #nixos
<balsoft> Yep
<balsoft> infinisil: We're working on our own deploy script that does that, but if we could integrate our work into your nixoses that would be pretty awesome
<balsoft> Because that would mean more features for you and less maintenance for us :)
<infinisil> balsoft: I wouldn't mind that :D
<{^_^}> [nixpkgs] @flokli merged pull request #86900 β†’ mariadb: 10.3.22 -> 10.4.12 β†’ https://git.io/JfGir
<infinisil> balsoft: Who is "we"?
<{^_^}> [nixpkgs] @flokli pushed 10 commits to master: https://git.io/JfBaZ
<balsoft> infinisil: "we" as in "serokell"
proofofkeags has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @dsyer opened pull request #87826 β†’ Update skaffold to v1.9.1 β†’ https://git.io/JfBac
<infinisil> Cool :)
<balsoft> I can't promise anything for obvious reasons, but I'll try to experiment and see if I could get it working.
proofofkeags has joined #nixos
<infinisil> balsoft: I do intend to switch the bash deploy script to probably Haskell fyi
devalot has quit [Quit: ZNC - http://znc.in]
<balsoft> Lol
<balsoft> Guess what our script is written in ;)
<infinisil> I'd hope haskell!
<infinisil> but probably bash
nschoe has quit [Remote host closed the connection]
<balsoft> Both :) We have a bash version that we're using for most things and we also have a Haskell version we're trying out
<balsoft> They aren't as full-featured as your project, though.
<infinisil> Oh nice
<infinisil> Even with the little amount of bash there is in nixoses, it's already been the cause of some headaches
morgrimm_ has quit [Ping timeout: 246 seconds]
<infinisil> So I really don't think that's the way forward
nschoe has joined #nixos
<balsoft> It's basically "build locally, ssh to a remote user, do stuff", where "stuff" is either sudo switch-to-configuration switch or nix-env --set ... && systemctl restart ...
KendyChat has joined #nixos
<infinisil> I see
cr4y1 has quit [Quit: Leaving]
<flokli> balsoft: you might want to join #nixos-systemd for the "systemd units" discussion. This has been popping up recently.
<balsoft> flokli: thanks
cr4y1 has joined #nixos
<infinisil> flokli: What's the discussion about?
<flokli> infinisil: I'll add an introduction there. the logbot should also have logs
nschoe has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
jgeerds has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @aanderse closed pull request #74486 β†’ mariadb: 10.3.20 -> 10.4.10 β†’ https://git.io/JeXd7
erasmas has joined #nixos
hlisp has joined #nixos
Guest493 has joined #nixos
staxatl has joined #nixos
staxatl has quit [Remote host closed the connection]
KendyChat has quit []
KendyChat has joined #nixos
sarcasticadmin has quit [Ping timeout: 258 seconds]
<Guest493> I've been facing a few issues when upgrading from 19.09 to 20.03. The largest ones so far is that the Terminus font is no longer recognized on my system (I'm using the terminus_font package) and the xfce power manager plugin has disappeared. How should I fix this?
dm9 has quit [Quit: WeeChat 2.8]
hlisp has quit [Ping timeout: 265 seconds]
<Guest493> The other extra fonts specified in my nix config are still being recognized
Soo_Slow has joined #nixos
<ar> that sounds like removal of bitmap font support
<{^_^}> [nixpkgs] @mweinelt opened pull request #87827 β†’ activemq: 5.14.5 β†’ 5.15.12 β†’ https://git.io/JfBVe
justanotheruser has quit [Ping timeout: 272 seconds]
<Izorkin> aanderse: please check this variant - https://pastebin.com/NXZ8EY9R
jkarni_ has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #87684 β†’ nixos/manual: document use of systemd to mount filesystems β†’ https://git.io/Jf8K5
<{^_^}> [nixpkgs] @flokli pushed commit from @glasserc to master Β« nixos/manual: document use of systemd to mount filesystems (#87684) Β»: https://git.io/JfBVc
<siers> I added gnupg.agent.enable = true; but I can't still decrypt
<siers> I get errors about pinentry
vidbina has quit [Ping timeout: 256 seconds]
<niso> siers: you want to add gnupg.agpend.pinentryFlavor = "curses"; (as an example)
<siers> ah, alright :) it said "it'll pick the right flavor" in the description of the option :D it lied!
<Guest493> ar: Setting allowBitmaps and useEmbeddedBitmaps didn't change anything. What's weird is that it doesn't complain if I specify a bitmap font but set allowBitmaps to false
<Guest493> Do I need to reboot?
never_released_ has quit [Read error: Connection reset by peer]
<aanderse> i can't seem to recall... can i make `mkRemovedOptionModule` work with submodule options? what is the recommendation there?
astraliam[m] has joined #nixos
<siers> niso, hm, gtk2 didn't work
<siers> even after restarting display-manager
<siers> and a gpg-agent reload
xcmw has joined #nixos
<Guest493> Does anyone know if the xfce4-power-manager panel plugin needs to be explicitly enabled in 20.03? After the upgrade the panel plugin disappeared
justanotheruser has joined #nixos
hlisp has joined #nixos
morgrimm has joined #nixos
<niso> siers: did you install pinentry_gtk2 ?
<siers> niso, I assumed that'd install the package implicitly
<siers> let's try that then
<{^_^}> [nixpkgs] @vbgl closed pull request #87057 β†’ ocamlPackages.tyxml: 4.3.0 -> 4.4.0 β†’ https://git.io/JfZBC
<{^_^}> [nixpkgs] @vbgl merged pull request #87214 β†’ ocamlPackages.tyxml: 4.3.0 β†’ 4.4.0; ocamlPackages.eliom: 6.10.1 β†’ 6.12.0 β†’ https://git.io/Jfce2
<{^_^}> [nixpkgs] @vbgl pushed to master Β« ocamlPackages.tyxml: 4.3.0 β†’ 4.4.0 Β»: https://git.io/JfBV9
OmnipotentEntity has quit [Ping timeout: 240 seconds]
hlisp has quit [Ping timeout: 256 seconds]
<siers> niso, no dice. did you set up your gpg-agent.conf?
morgrimm has quit [Ping timeout: 265 seconds]
<niso> siers: i configured it via home-manager, $HOME/.gnupg/gpg-agent.conf was generated by it + links to the store
morgrimm has joined #nixos
<{^_^}> [nixpkgs] @flokli pushed to master Β« nixos/manual: fix build Β»: https://git.io/JfBwt
catern has quit [Quit: catern]
alexherbo2 has quit [Quit: The Lounge - https://thelounge.chat]
<niso> siers: i recall having troubles with it too, i'm not sure anymore how i fixed it, might have restarted some service
<{^_^}> [nixpkgs] @matthias-t opened pull request #87828 β†’ Fix RethinkDB build β†’ https://git.io/JfBwc
<niso> siers: looks like all it took for me was reloading gpg-agend via "gpgconf --reload gpg-agent" (either that or i did a reboot - according to my history file)
<siers> haha, nice time traveling :)
<jperras> I have a (hopefully) very simple question about --arg values being passed to nix derivations: https://gist.github.com/jperras/54e38f195f641314414654ab64f3fed6
never_released has joined #nixos
<siers> niso, I bet I need a reboot
<niso> siers: aka restart some service we're too lazy to lookup :P
<siers> yeah
<siers> well, systemctl doesn't show any gpg services
jkarni_ has joined #nixos
sarcasticadmin has joined #nixos
<Izorkin> aanderse: not read file from home dir - (Errcode: 13 "Permission denied")
<{^_^}> [nixpkgs] @peterhoeg merged pull request #87722 β†’ jdupes: build with additional hardening β†’ https://git.io/Jf4Ii
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/JfBw2
catern has joined #nixos
dguibert has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @peterhoeg pushed 0 commits to f/jdupes: https://git.io/JfBwi
turlando has quit [Read error: Connection reset by peer]
<siers> niso, yeah, works on the computer that I can restart, but I don't want to lose my work
jkarni_ has quit [Ping timeout: 265 seconds]
hlisp has joined #nixos
<niso> siers: nice
jb55 has quit [Remote host closed the connection]
cr4y1 has quit [Quit: Leaving]
cr4y1 has joined #nixos
WoC has left #nixos ["Leaving"]
jb55 has joined #nixos
cjpbirkbeck has joined #nixos
hlisp has quit [Ping timeout: 256 seconds]
<siers> niso, only restart helped :(
<siers> sad
<balsoft> siers: gpg-agent has been a pain for me to set up too
<niso> siers: well but now you know that your configuration is correct - thus you can just restart-services till you find the correct one
user_0x58 has joined #nixos
<{^_^}> [nixpkgs] @emilazy closed pull request #87806 β†’ doc/rl-2009: Remove unnecessary </programlisting> β†’ https://git.io/JfBOi
<eadwu[m]> ldlework: I haven't used Proton, but it should work just launching it from what I read on different subreddits, maybe the envs aren't passed?
dingenskirchen has quit [Remote host closed the connection]
dingenskirchen has joined #nixos
turlando has joined #nixos
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
Twey has joined #nixos
Soo_Slow has quit [Quit: Soo_Slow]
hlisp has joined #nixos
hlisp has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @sternenseemann opened pull request #87830 β†’ ocamlPackages.x509: 0.11.1 β†’ 0.11.2 β†’ https://git.io/JfBot
<Twey> Hey… if I want to override the buildInputs to a Ruby gem on an application produced with bundlerApp to add a new native dependency (specifically β€” asciidoctor in nixpkgs depends on the `mathematical` gem, but its support for the gem is broken because `mathematical` includes a .so that needs `liblasem` in its RPATH)
<Twey> Does anybody know how this works? I've not played much with the Ruby infrastructure. I see there seem to be some overrides here: https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/ruby-modules/gem-config/default.nix that I could override, but I don't know how to get them into bundlerApp
<Twey> Can I just do bundlerApp.override { gemConfig = defaultGemConfig // …; } ?
phreedom has quit [Remote host closed the connection]
<virus_dave> Hello! I am repeatedly running into the problem at the top of https://logs.nix.samueldr.com/nix-darwin/2020-02-03 ("cannot link ....: File exists"). Before i go about nuking this by following @clever's suggestion, is there anything i can do to hel pdebug this problem? FWIW my /nix/store/.links has 348089 entries
sigmundv has quit [Read error: Connection reset by peer]
_kwstas has joined #nixos
phreedom has joined #nixos
turion has joined #nixos
OmnipotentEntity has joined #nixos
turion has quit [Client Quit]
sigmundv has joined #nixos
rogue_koder has quit [Remote host closed the connection]
rogue_koder has joined #nixos
_kwstas has quit [Client Quit]
o1lo01ol_ has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
MmeQuignon has joined #nixos
o1lo01ol1o has quit [Ping timeout: 260 seconds]
hlisp has joined #nixos
zupo has joined #nixos
hlisp has quit [Ping timeout: 246 seconds]
drakonis_ has joined #nixos
drakonis has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @peterhoeg merged pull request #80521 β†’ plasma and qtquick2 controls theme: init at 5.68 β†’ https://git.io/JvBkS
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/JfBK8
<Twey> infinisil: Ah, I found a better way β€” I can just override super.defaultGemConfig :) Thank you!
MmeQuignon has quit [Quit: WeeChat 2.8]
MmeQuignon has joined #nixos
<bqv> balsoft: ill say to you what someone in this channel said to me: "you're doing it wrong"
<balsoft> bqu: what am I doing crazy, dare I ask?
<balsoft> s/crazy/wrong/, obviously
jgeerds has joined #nixos
<bqv> balsoft: heck if I know…
<bqv> I still haven't worked it out myself, but I feel better having been told that I'm doing it wrong :)
orivej has quit [Quit: No Ping reply in 180 seconds.]
zeenk has quit [Quit: Konversation terminated!]
orivej has joined #nixos
<balsoft> bqv: Ah, that's good to know.
hlisp has joined #nixos
evanjs has quit [Quit: ZNC 1.7.5 - https://znc.in]
evanjs has joined #nixos
hlisp has quit [Ping timeout: 256 seconds]
<aanderse> Izorkin: since this PR uses `PrivateTmp` i think continuing to write into /tmp is fine... no?
<{^_^}> [nixpkgs] @evils opened pull request #87831 β†’ grimshot: init at 2020-05-08 β†’ https://git.io/JfB6R
<{^_^}> [nixpkgs] @Twey opened pull request #87832 β†’ gem-config.mathematical: add lasem to rpath β†’ https://git.io/JfB6u
drakonis has joined #nixos
<{^_^}> [nixpkgs] @bhipple merged pull request #87789 β†’ mkl: fix expectation of MKLROOT being set in pkg-config files β†’ https://git.io/JfBvh
<{^_^}> [nixpkgs] @bhipple pushed 2 commits to master: https://git.io/JfB62
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
shafox has quit [Remote host closed the connection]
endformationage has joined #nixos
zupo has joined #nixos
<{^_^}> [nixpkgs] @prusnak closed pull request #79753 β†’ nodejs: pin to 12.x by default β†’ https://git.io/JvcNh
evils has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #87820 β†’ nixosTests.kubernetes: port tests to python β†’ https://git.io/JfBR6
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JfB6Q
<Izorkin> aanderse: with `PrivateTmp` not working import databases. File /tmp/mysql_init removed
evils has joined #nixos
afrangart[m] has joined #nixos
mthst has joined #nixos
afrangart[m] has left #nixos [#nixos]
o1lo01ol1o has quit [Ping timeout: 256 seconds]
hlisp has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #87825 β†’ pythonPackages.dash*: bump β†’ https://git.io/JfB2w
<{^_^}> [nixpkgs] @jonringer closed pull request #87331 β†’ python27Packages.dash-renderer: 1.3.0 -> 1.4.0 β†’ https://git.io/JfCWT
<{^_^}> [nixpkgs] @jonringer pushed 4 commits to master: https://git.io/JfBiJ
gulplante has quit [Quit: WeeChat 2.7.1]
asheshambasta has quit [Ping timeout: 244 seconds]
hlisp has quit [Ping timeout: 256 seconds]
alp has quit [Ping timeout: 240 seconds]
<ornxka> is there a way to rebuild a user profile with nix-env
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
domogled has joined #nixos
dsg has quit [Remote host closed the connection]
domogled has quit [Ping timeout: 256 seconds]
user_0x58 has quit [Ping timeout: 260 seconds]
hlisp has joined #nixos
<cyris212> Is there a way to add Windows as a systemd-boot entry?
snajpa has left #nixos [#nixos]
<{^_^}> [nixpkgs] @bhipple merged pull request #87799 β†’ vscodium: Fix .desktop file β†’ https://git.io/JfBL1
<{^_^}> [nixpkgs] @bhipple pushed 2 commits to master: https://git.io/JfBix
<cyris212> I've tried osprober with GRUB. As a result my system stop booting...
<bqv> oh btw, immae, niso, infinisil, i decided on a better solution for secrets - I'll indeed have them in the store, but encrypted by a keyfile, which is also stored in the flake, but in .hg so it's filtered out whenever nix dumps the flake to the store, and copied somewhere as part of operations. so the master keyfile is encrypted in the repo, and never in the store, and also on each machine. keys are
<bqv> encrypted in the repo and in the store, and can be decrypted to tmpfs as part of activation/init. means apart from that initial bootstrap of having the master key on each machine, all requirements are met and it's reasonably safe.
<{^_^}> [nixpkgs] @Izorkin opened pull request #87833 β†’ Sandbox mysql β†’ https://git.io/JfBih
<danderson> bqv: is this setup in a public repo somewhere? Very curious how you're doing both flakes and the secrets management part
<bqv> no, cause i literally just thought it up
<danderson> heh
<bqv> i'm going to implement it shortly
<bqv> and it will be in my repo
<danderson> sweet, got a link I can throw in my to-read list?
<danderson> (once you've implemented, that is)
<bqv> github:bqv/nixos
hlisp has quit [Ping timeout: 260 seconds]
<bqv> and yeah can't promise it'll be done immediately
<danderson> thanks!
<bqv> np
<danderson> no worries, I'm not in a hurry :)
<danderson> still planning how to get nixos into prod over here, and I think both nixops improvements and flakes are kinda necessary at this point
<danderson> so I need to play with flakes, and having examples is very useful.
<bqv> there are many, now :) i think at this point the best way to find some is to just search github...
<{^_^}> [nixpkgs] @andir opened pull request #87834 β†’ [20.03] firefox: 76.0 -> 76.0.1 β†’ https://git.io/JfBPk
<danderson> yup. Still wish there was documentation, but I guess that'll come later :)
captn3m0 has quit [Ping timeout: 256 seconds]
captn3m0- has joined #nixos
mthst has quit [Quit: the bouncer died]
knupfer has quit [Quit: knupfer]
KindTwo has joined #nixos
knupfer has joined #nixos
dsg has joined #nixos
<superbaloo> bqv: on that matter, would you know any way to get output signed by a keystored on an external device?
<superbaloo> like storing kernel signature on pkcs11 or alike
<superbaloo> (not kernel signature, key signing a kernel for secureboot)
<bqv> Ah, no, not experienced with that
<bqv> Sorry
KindOne has quit [Ping timeout: 256 seconds]
<superbaloo> I believe this is very much touching the limits of functional programming here :D since I'm trying to introduce an side-effect
<superbaloo> I still can't come up with a good solution for that :/
mthst has joined #nixos
<{^_^}> [nixpkgs] @andir merged pull request #87748 β†’ nss: fix building for aarch32 on aarch64 β†’ https://git.io/Jf42l
<{^_^}> [nixpkgs] @andir pushed 2 commits to staging: https://git.io/JfBPB
<danderson> superbaloo: this is relevant to my interests!
KindTwo is now known as KindOne
<danderson> I haven't looked at how nixos does kernel signing, but in my arch secure boot setup, I was using sbsign to sign the EFI binary
<danderson> afaict sbsign supports external PKCS#11 engines
<superbaloo> danderson: I got a yubikey to sign both kernel and its modules
<danderson> ah, so it works!
<danderson> excellent
<superbaloo> but I can't get it integrated in a nix-build
<danderson> aah, I see.
<danderson> yeah, that's also where I wasn't sure what to do. One rough idea I had was to make that happen in the activation script rather than the build
nixbitcoindev_ has quit [Quit: nixbitcoin out]
<cyris212> Woot, I just replaced systemd-boot with GRUB and it still boots through systemd-boot.
<danderson> but that has the obvious downside of requiring the signature to happen on the machine trying to install the kernel
<{^_^}> [nixpkgs] @srhb merged pull request #87749 β†’ kubernetes: 1.17.3 -> 1.17.5 β†’ https://git.io/Jf42o
<{^_^}> [nixpkgs] @srhb pushed 2 commits to release-20.03: https://git.io/JfBPg
<superbaloo> danderson: yup, ideally that's what I'm trying to avoid
Guest493 has quit [Quit: Connection closed]
<danderson> superbaloo: what's your key policy on the yubikey? Do you require a touch to issue a signature?
<superbaloo> one touch per session
<danderson> ... it supports that? I thought the options were "no", "one per operation", or "cached for 15s"
<{^_^}> [nixpkgs] @danieldk opened pull request #87836 β†’ mkl: fix expectation of MKLROOT being set in pkg-config files β†’ https://git.io/JfBPw
<superbaloo> huum nevermind
<superbaloo> no
<superbaloo> I load a session, enter the password for that.
<danderson> (this is another complaint I have about yubikey's PIV mode :( )
<superbaloo> and then it signs without touch
KindTwo has joined #nixos
<danderson> ok, so PIN but no physical presence test
<superbaloo> sorry, I'm mixing myself here. I use touch-policy for my ssh key only
<danderson> so, the only option I can think of that makes the signed kernel derivation reproducible, is to have an indirection outside of nix
KindOne has quit [Ping timeout: 272 seconds]
cosimone has quit [Quit: Quit.]
<{^_^}> [nixpkgs] @srhb merged pull request #87798 β†’ apostrophe: 2.2.0.2 β†’ 2.2.0.3 β†’ https://git.io/JfBLX
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/JfBP6
<danderson> one derivation produces the unsigned kernel. Then outside nix entirely, you take that kernel, sign it, and store it somewhere as a binary blob.
alp has joined #nixos
<danderson> Then your signed kernel derivation just downloads that file and places it in the derivation.
<superbaloo> danderson: yeah, I got to that point too
hlisp has joined #nixos
<danderson> upside is it's entirely reproducible by anyone. Downside is the process of upgrading kernels is harder now, you have to first ratchet the version in the source derivation, then do a manual operation, then ratchet the version on the signed build :/
<danderson> hm, does the derivation hash include hashes of its outputs?
<danderson> I can't remember if yes, or if it's only a hash of the inputs
<superbaloo> not that I know
KindTwo is now known as KindOne
<superbaloo> you can get the hash of a derivation before building it
<superbaloo> I'd guess not
<danderson> if it's a hash of the inputs, and you're willing to sacrifice perfect binary reproducibility, then you can skip the manual step
<superbaloo> well, to be fair, signature should be reproducible
<danderson> have your signed kernel derivation grab the unsigned kernel and make a signature. Random people building from source can't reproduce the exact signature (because of IVs and other random elements)
<danderson> but they can still pull the cached derivation, assuming you have a cache somewhere
<superbaloo> one other alternative would be to use a network-hsm-like behavior
<superbaloo> expose the yubikey on the network, and build with network exposed
<danderson> then the only thing you need is some way to keep the yubikey session open during the entire nix-build, so it doesn't pause and prompt you
<danderson> (or maybe a prompt is fine, I dunno)
<danderson> yeah, so, exposing the key over the network creates a signing oracle
<danderson> so now you have a much larger problem where you have to prove that the requestor is trustworthy :)
<superbaloo> :)
<danderson> you _can_ do it with TPM and secure boot attestations, but it's quite hard.
<superbaloo> not saying this is perfect!
hlisp has quit [Ping timeout: 240 seconds]
<danderson> Alternatively, make your signing oracle have a list of exact hashes that it's willing to sign
<superbaloo> I was thinking of giving the build a "client-key" to authenticate to the signing server
<danderson> then if someone asks you to sign a specific hash for a kernel you know you've built, you can do it safely
<superbaloo> (tls like)
<danderson> right, but now you're trusting the entire userspace of the client machines to be uncompromised
<{^_^}> [nixpkgs] @emilazy opened pull request #87837 β†’ treewide: remove uses of p7zip β†’ https://git.io/JfBPQ
<danderson> if I can get root on your box, I can use the client key to sign my malware'd kernel and subvert your secure boot
<superbaloo> yup
<superbaloo> not saying this is anywhere perfect
<danderson> (to be clear, once you have root it's game over already, it's just a question of how deeply you can become persistent on the box)
<superbaloo> I'm just exposing my thoughs here
<superbaloo> thoughts
<danderson> yup yup
<danderson> this all depends on your threat model, what are you trying to defend against :)
<superbaloo> very much :)
<danderson> I assumed if you're trying to distribute signed kernels, you're defending against not trusting the machines to do the right thing
<danderson> otherwise you'd do what I did on my arch laptop, and just have the signing key on the machine
<danderson> (on an encrypted drive, so if the laptop is off you can't persuade it to secure-boot into a hostile kernel, but if you have root on my machine you can sign whatever you want)
<{^_^}> [nixpkgs] @srhb merged pull request #87795 β†’ topgrade: 4.4.0 -> 4.5.0 β†’ https://git.io/JfBIE
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/JfBPb
<superbaloo> to be fair, I do not many usecase, it's merely for my own laptop/desktop
<superbaloo> have*
<superbaloo> like it's not my dayjob
<danderson> oh for sure, same
<danderson> doesn't mean we can't overengineer the crap out of it! :D
<superbaloo> :D
Henson has joined #nixos
knupfer has quit [Quit: knupfer]
ATuin has joined #nixos
knupfer has joined #nixos
knupfer has quit [Client Quit]
<Henson> is there anything for the Nix expression language akin to Haskell's trace function in Debug.Trace, to let me debug the flow of expressions?
knupfer has joined #nixos
* Henson discovers builtins.trace
knupfer has quit [Client Quit]
<srhb> Henson: You probably also want to check lib/debug.nix
<srhb> There are some nicer wrappers in there
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
dsg has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @srhb merged pull request #85062 β†’ agedu: 20180918 -> 20200206 β†’ https://git.io/JvjtB
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/JfBXq
<Henson> srhb: thank you for the tip
alp has quit [Ping timeout: 258 seconds]
xcmw has joined #nixos
<{^_^}> [nixpkgs] @sikmir opened pull request #87838 β†’ newsboat: fix on darwin β†’ https://git.io/JfBXZ
nixbitcoin has joined #nixos
<{^_^}> [nixpkgs] @srhb merged pull request #84252 β†’ sfizz: unstable-2020-01-24 -> 0.3.2 β†’ https://git.io/JvboN
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/JfBXn
nixbitcoin has quit [Client Quit]
nixbitcoin has joined #nixos
<mica[m]> Is anyone using DisplayCal, it is broken in 20.03
mthst has quit [Quit: the bouncer died]
LysergicDreams has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @talyz merged pull request #87406 β†’ arcanist: Fix on darwin β†’ https://git.io/JfCFY
<{^_^}> [nixpkgs] @talyz pushed 2 commits to master: https://git.io/JfBX0
<srhb> mica[m]: How is it broken?
<srhb> ls
<srhb> Woops
<{^_^}> [nixpkgs] @srhb merged pull request #83711 β†’ libfive: 2018-07-01 -> 2020-02-15 β†’ https://git.io/Jv7qn
<{^_^}> [nixpkgs] @srhb closed pull request #66128 β†’ libfive: 2018-07-01 -> 2019-08-05 β†’ https://git.io/fjQUw
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/JfBXz
LysergicDreams has joined #nixos
<mica[m]> srhb: when I plug in my calibration device and click calibrate, it errors out with not finding the package wx, which is wxWidgets for Python
whatsup567 has joined #nixos
<mica[m]> The package is also pretty out of date... I've started trying to update it, but I probably don't have the necessary skill.
whatsup567 has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @Frostman opened pull request #87840 β†’ starship: 0.41.0 -> 0.41.1 β†’ https://git.io/JfBX6
<srhb> mica[m]: That does sound odd, considering most of the UI(?) is probably in wx, and looks like it's properly depending on it at runtime
<srhb> I don't have a calibratythingy to test anything but that with though..
sMuNiX has quit [Ping timeout: 265 seconds]
<skrzyp> I'm making a headless storage/music/media server with nixOS, and there's a question now - can I declaratively "pair" with my Bluetooth speakers in Nix?
ssdd has joined #nixos
<skrzyp> or just put their HCI addresses and let Nix automatically pair with them each time?
<{^_^}> [nixpkgs] @vbgl merged pull request #87240 β†’ ocamlPackages.lablgtk: 2.18.8 β†’ 2.18.10 β†’ https://git.io/JfcWq
<{^_^}> [nixpkgs] @vbgl pushed 2 commits to master: https://git.io/JfBXN
<srhb> skrzyp: I would guess "no" to the former and "you could run `bluetoothctl pair $someaddress` when some conditions are met to the latter
dongcarl has quit [Ping timeout: 272 seconds]
<srhb> skrzyp: I'm not sure why you really want this though. afaik you _need_ to do the one-time interaction with the other end at least once, and from then on I would think bluetoothd does the connection automatically and without intervention.
<{^_^}> denoland/deno#5411 (by Xe, 23 minutes ago, open): Doesn't build in NixOS 20.03
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<marcinkuzminski> we've updated out nix from 18.03 to 20.03, in our python build stack we've got some custom code that inherited other package and copied some information over, before the build $PWD was something like: `/tmp/nix-build-python2.7` now it's `/build/XXX` this causes some filesystem access problems, i cannot find it in the changelog, was that changed, and is that configurable ?
<Gaelan> marcinkuzminski, try nix.useSandbox = false
<simpson> Cadey: Looks like it starts, at least, if ldd can examine it. strace maybe?
<Cadey> execve("./deno", ["./deno"], 0x7ffd09cd9d10 /* 100 vars */) = -1 ENOENT (No such file or directory)
<LnL> marcinkuzminski: that has been the case for quite some time now
<LnL> oh 18.03
<marcinkuzminski> Gaelan: thanks, let us check it
<{^_^}> [nixos-hardware] @00-matt opened pull request #163 β†’ dell/xps/13-9360: Stop using i18n.consoleFont β†’ https://git.io/JfB1q
<LnL> I'm not sure the sandbox influences that, and I'd highly recommend to keep that enabled especially for python stuff
<mica[m]> srhb: yes, unfortunate. I'm trying to update displaycal, but the DRV fails trying to copy something from the source.
eoli3n_ has quit [Remote host closed the connection]
<srhb> mica[m]: Oh?
eoli3n_ has joined #nixos
<Gaelan> marcinkuzminski, slightly longer answer: nix sandboxes builds to prevent them from accessing anything other than their inputs, as declared in nix. The idea is to make sure you know exactly what goes into your builds, which makes it more likely that you'll be able to reproduce them. Long-term, it'd probably be a good idea to figure out how to get files into the build within the confines of nix instead of going around it, but useSandbox = false should
<Gaelan> work OK as a workaround
<mica[m]> srhb: yes, the copyright file. I can't tell what part of the build script thinks that file is there though
alp has joined #nixos
<marcinkuzminski> LnL: 18.03 is quite old, i think it didn't have an sandbox... and we're doing very custom stuff on a "big" python app
<simpson> Cadey: Huh. That suggests bogus linkage or bad interpreter, but everything looks fine. You could ask the `file` command; it will spit out the interpreter path, and maybe that's hardcoded and will need a patchelf.
<Cadey> ./deno: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=b914ea3fdbf0a4300975e7f314d7e7d8d7f44c2a, with debug_info, not stripped
<marcinkuzminski> Gaelan: we're doing exactly what sandbox is preventing, but it's for a reason that our two apps work in such way that one overwrite the other, and it needs some of its file for building JS, it's complicated :D
<simpson> Cadey: Huh, funky. I don't see the problem offhand; upstream will have to help. You can try various tricks listed under "I've downloaded a binary, but can't run it" at https://nixos.wiki/wiki/FAQ
zaeph1 has joined #nixos
<marcinkuzminski> LnL: thanks for that commit, it's exactly what we're having and it generates a problem for us
<Gaelan> see also https://github.com/NixOS/nixpkgs/pull/87653, which isn't having this problem afaict
<{^_^}> #87653 (by 06kellyjac, 2 days ago, open): Deno: release 1.0.0
<Gaelan> simpson Cadey ^
lord| has quit [Remote host closed the connection]
knupfer has quit [Ping timeout: 240 seconds]
lord| has joined #nixos
o1lo01ol1o has joined #nixos
zaeph has quit [Ping timeout: 265 seconds]
zaeph1 is now known as zaeph
<pikajude> i started getting this weird error when using tab completion with nix recently
<pikajude> _arguments:comparguments:325: invalid argument: (--option ^[[3mNAME^[[0m ^[[3mVALUE^[[0m)^[[3mNAME^[[0m[set a Nix configuration option (overriding nix.conf)]
<pikajude> long shot but does anyone have any idea what this is about
<Gaelan> btw is the workflow for staging documented anywhere? my current understanding: big rebuilds get merged into staging, which then gets merged into master…when someone feels like it? also something something staging-next?
<marcinkuzminski> Gaelan: is there a way to disable sandbox via CLI /env flag ?
o1lo01ol1o has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @dywedir merged pull request #87838 β†’ newsboat: fix on darwin β†’ https://git.io/JfBXZ
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/JfB1w
<srhb> marcinkuzminski: If you're a trusted user, yes. It's inherently unsafe.
<srhb> marcinkuzminski: --option sandbox false
<{^_^}> [nixpkgs] @bhipple merged pull request #87836 β†’ [20.03] mkl: fix expectation of MKLROOT being set in pkg-config files β†’ https://git.io/JfBPw
<{^_^}> [nixpkgs] @bhipple pushed 2 commits to release-20.03: https://git.io/JfB1P
user_0x58 has joined #nixos
shabius has quit [Quit: Leaving]
dsg has joined #nixos
morgrimm has quit [Ping timeout: 272 seconds]
xcmw has joined #nixos
aveltras has quit [Quit: Connection closed for inactivity]
shabius has joined #nixos
<{^_^}> Channel nixos-20.03 advanced to https://github.com/NixOS/nixpkgs/commit/7829e5791ba (from 19 hours ago, history: https://channels.nix.gsc.io/nixos-20.03)
ericsagnes has quit [Ping timeout: 246 seconds]
<spinlock[m]> Is it possible to make a haskell package with a font dependency?
<spinlock[m]> I see a lot of packages doing something like `FONTCONFIG_FILE = makeFontsConf { fontDirectories = [ freefont_ttf ]; };`, but this raises `called with unexpected argument 'FONTCONFIG_FILE'` when used with `haskellPackages.callPackage`
evils has quit [Quit: Lost terminal]
hmpffff has joined #nixos
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from @edolstra to master Β« Update flake.lock and blogs.xml [ci skip] Β»: https://git.io/JfBMI
knupfer has joined #nixos
hmpffff_ has quit [Ping timeout: 265 seconds]
<Asmadeus> So.. I like the idea of the test VMs and been trying to use it for tests in my own stuff, it works well, but sometimes I need to debug stuff: how do you go around to that? I've thought of setting up openssh in the vm together with `forward_port` in python driver but I never see the port being opened (which I find odd, even checked entering qemu's netns just in case, but I have no clue about vde really..)
<Asmadeus> how do you folks do it?
<bqv> that variable needs to be set at runtime, not build time, spinlock[m]
<bqv> make a wrapper
<marcinkuzminski> srhb, Gaelan, LnL thanks disabling sandbox made it to build, we're going to review that if we can have that with sandbox as recommended.
ebopp has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @erictapen opened pull request #87841 β†’ unifiStable: 5.12.66 -> 5.12.72 β†’ https://git.io/JfBMZ
<spinlock[m]> bqv: Ahh. Thanks! Is that what `haskellPackages.shellFor` is used for? (sorry, still learning)
<bqv> nah, that'll be for ad-hoc development. you want the tools provided by the 'make-wrapper' package. you'll see a lot of derivations do something with 'wrapprogram', that's what you'll want to use
<spinlock[m]> thanks bunches 🍻
<{^_^}> [nixpkgs] @andir merged pull request #87772 β†’ [19.09] firefox: Add patch to fix AES GCM IV bit size β†’ https://git.io/Jf49s
<{^_^}> [nixpkgs] @andir pushed 3 commits to release-19.09: https://git.io/JfBMR
<{^_^}> [nixpkgs] @vbgl merged pull request #87822 β†’ ocamlPackages.x509: 0.11.1 β†’ 0.11.2 β†’ https://git.io/JfBEV
<{^_^}> [nixpkgs] @vbgl pushed commit from @anmonteiro to master Β« ocamlPackages.x509: 0.11.1 β†’ 0.11.2 Β»: https://git.io/JfBM2
evils has joined #nixos
<T0pH4t> is there a format tool for nix files?
ericsagnes has joined #nixos
<T0pH4t> ah nixpkgs-fmt
o1lo01ol1o has joined #nixos
<Gaelan> is there a convention for naming derivations based on a detached git commit from upstream?
<Gaelan> i'm dealing with a package (mrustc) where I need changes that happened after the last commit, so I just copied the commit hash from master
<Gaelan> changes that happened after the last release*
<bqv> I use the shortrev
<LnL> a derivation or just adding a patch to the existing build?
<Gaelan> a derivation
<Gaelan> I'm changing fetchFromGitHub { rev = "v0.9"; } to fetchFromGithub { rev = "0mf34rl824jcmy39619cxl9l22mm47z2cc2v7sp6aymqjg103lgs"; }
plp_ has quit [Read error: Connection reset by peer]
plp_ has joined #nixos
<emily> Gaelan: unstable-YYYY-MM-DD
<emily> is the nixpkgs convention
<emily> (with the commit date)
<Gaelan> emily++
<{^_^}> emily's karma got increased to 26
redcedar[m] has joined #nixos
<LnL> yeah, commit date in that case + -unstable so nix-env --upgrade doesn't prioritize it over stable versions
eoli3n_ has quit [Ping timeout: 272 seconds]
morgrimm has joined #nixos
eoli3n_ has joined #nixos
morgrimm has quit [Ping timeout: 260 seconds]
devalot has joined #nixos
<devalot> This is a bit weird. I just upgraded to 20.03 and the `date' command and journalctl are reporting AM/PM on all my servers instead of the traditional 24-hour time. How do I restore the original behavior?
LysergicDreams has quit [Ping timeout: 256 seconds]
knupfer has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @wishfort36 opened pull request #87842 β†’ tamzen: init at 1.11.4 β†’ https://git.io/JfBDQ
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/279d583882b (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/5256f591479 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/39b92f6e455 (from 11 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<emily> devalot: what's your locale?
<emily> (execute the locale command from a terminal if you don't know)
zupo has joined #nixos
<devalot> emily: Looks like it's en_US.UTF-8.
LysergicDreams has joined #nixos
<devalot> Ah, I bet LC_TIME="en_US.UTF-8" is controlling that.
<devalot> Looks like I need to change i18n.extraLocaleSettings
<{^_^}> [nixpkgs] @talyz merged pull request #87797 β†’ nomachine-client: 6.9.2 -> 6.10.12 β†’ https://git.io/JfBLg
<{^_^}> [nixpkgs] @talyz pushed 2 commits to master: https://git.io/JfByv
<ornxka> how do i compile c programs so that their shared objects will point to the right places
<ornxka> LDFLAGS+=-lm -lpulse -lmpdclient this leaves the binary with libpulse.so.0 => not found
<devalot> I wonder what changed in my config to make LC_TIME be set to en_US
<cole-h> ornxka: You probably need a nix-shell with libpulse
zupo has quit [Ping timeout: 256 seconds]
<ornxka> well, it works in nix-shell
<emily> devalot: yeah, strange unless you have weird i18n.* settings to begin wtih
<ornxka> but when i install it with nix-env etc it complains about missing shared libs
LysergicDreams has quit [Ping timeout: 256 seconds]
<devalot> emily: I think it's due to a change in glibc.
<{^_^}> [nixpkgs] @rycee pushed commit from @garrison to master Β« bibtool: 2.67 -> 2.68 Β»: https://git.io/JfBy8
<{^_^}> [nixpkgs] @rycee closed pull request #87800 β†’ bibtool: 2.67 -> 2.68 β†’ https://git.io/JfBmt
<Gaelan> is there a quick way to get a count of rebuild before I open a PR?
zupo has joined #nixos
<Gaelan> so I don't have to play the old "oops, switch to rebuild" game
<Gaelan> switch to staging*
codygman has joined #nixos
LysergicDreams has joined #nixos
ATuin has quit [Ping timeout: 246 seconds]
<qyliss> I'd like to do some kernel hacking. How can I test kernel builds without having to build the whole kernel afresh with Nix every time?
ehmry has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
bhipple has joined #nixos
<clever> qyliss: there is a section in the nixpkgs manual on building the kernel with nix-shell
<qyliss> Yeah, building the kernel is easy enough
Rusty1 has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<qyliss> But then I'd like to reboot into the kernel I just build
ehmry has joined #nixos
<qyliss> (don't think I can kexec? at least not with systemd, because that only works with efi)
<clever> qyliss: one sec
<clever> qyliss: does it have to run on hw, or would a vm be fine?
<qyliss> has to be hw
Darkmatter66 has quit [Quit: ZNC 1.7.5 - https://znc.in]
<clever> qyliss: this will add another entry to the grub menu, for booting a kernel+initrd pair, that runs entirely from a ramdisk
<qyliss> oh wow that's awesome
<clever> qyliss: if you just swap out line 22 to do rescue-kernel = /path/to/zImage; then it will use your custom kernel (but not any of the modules)
Darkmatter66 has joined #nixos
<qyliss> that should be fine
<qyliss> I can compile in any modules I care about changing
<qyliss> thanks!
codygman has quit [Read error: Connection reset by peer]
codygman has joined #nixos
lsix has quit [Quit: WeeChat 2.8]
<clever> qyliss: and lines 9-13 would be the nixos config for the disk image it boots, so you can bake in anything needed for testing
<balsoft> Hi everyone again! Does anybody know if there's a list of IP addresses to which nixos.org can resolve? I for sure know that some of them are (mistakenly) blocked in Russia by RKN, and would love to get them unblocked. The fact that sometimes it appears to be down is very confusing and concerning for new users.
mallox has quit [Quit: WeeChat 2.8]
<unclechu> hi, can i somehow get path to current `*.nix` module?
<clever> unclechu: ./. is always the dir the file is within
<balsoft> And yes, I know that it's unlikely we'll achieve anything, but it's worth a try. Also, I know there are technical circumventions to the issue (e.g. VPN), but it's not always viable (and it's currently illegal to use VPN to access "blocked" resources, so there's that...)
<unclechu> clever: but wouldn't it be resolved to a store path when converted to a string? hm... probably not
<MichaelRaskin> Wait what? They actually passed responsibility _for user_, not for VPN operator?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
wnklmnn has joined #nixos
<clever> unclechu: it only gets copied to the store when you treat it as a string
<balsoft> MichaelRaskin: I'm pretty sure that the "anonymiser" act actually adds some reposnibility to the user, yes
codygman has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @talyz opened pull request #87843 β†’ nomachine-client: Add archive.org to source urls β†’ https://git.io/JfByj
<clever> unclechu: so it depends a lot on what you want to do after you get that path
morgrimm has joined #nixos
<unclechu> clever: anyway, `./.` is a dir? is there any way to get path to current *.nix file?
codygman has joined #nixos
<clever> unclechu: maybe using builtins.unsafeGetAttrPos
<balsoft> energizer: thanks
<unclechu> i have a bunch of scripts for which i use name which match either the name of current directory or *.nix file, i want to reduce duplication and the area for typos
<balsoft> So basically ping Eelco then (which I don't really want to do)
<clever> unclechu: (builtins.unsafeGetAttrPos "a" { a=1; }).file
cr4y1 has quit [Remote host closed the connection]
<MichaelRaskin> balsoft: given that SPbSU failed to get the hosting of their e-learning platofrm excluded from a blanket-banned block…
cr4y1 has joined #nixos
<unclechu> clever: it seems it's working, thanks, time for hacks
<unclechu> i wish there would be normal way to do so
linarcx has quit [Ping timeout: 256 seconds]
<balsoft> MichaelRaskin: I can't find any link to the fact that it's illegal for the user of the VPN. Still, I host my own VPN (mostly to access mistakenly blocked sites, like nixos.org), so technically speaking I'm breaking the law anyways
<balsoft> unclechu: there isn't a "normal way" because nix is not always evaluated from a file
<MichaelRaskin> balsoft: I am not sure you count as operator if you don't ever _offer_ it
<balsoft> MichaelRaskin: I think it's still worth a shot, maybe they'll react better (yes, I know, I'm naive and infantile to think that a government agency will do anything after just a letter, but I still hope that they will)
zupo has joined #nixos
<MichaelRaskin> balsoft: well, it takes days for them to unblock google.com IPs…
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/5256f591479 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
LysergicDreams has quit [Ping timeout: 256 seconds]
<balsoft> MichaelRaskin: #nixos-chat I think?
<MichaelRaskin> Yes, if you want details
<{^_^}> [nixpkgs] @garbas merged pull request #87840 β†’ starship: 0.41.0 -> 0.41.1 β†’ https://git.io/JfBX6
<{^_^}> [nixpkgs] @garbas pushed 3 commits to master: https://git.io/JfBSs
<{^_^}> [nixpkgs] @talyz opened pull request #87844 β†’ [20.03] nomachine-client: 6.9.2 -> 6.10.12, add archive.org to source urls β†’ https://git.io/JfBSc
alp has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @Gaelan opened pull request #87845 β†’ libgcrypt: always pass build and host to configure β†’ https://git.io/JfBS8
LysergicDreams has joined #nixos
hlisp has joined #nixos
sMuNiX has joined #nixos
<keithy[m]> Hi, I would like to use openresty, now quite sure how this fits in with the stock nginx?
Bunogi has quit [Quit: The Lounge - https://thelounge.chat]
Pot2Dash has joined #nixos
hlisp has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @SFrijters opened pull request #87846 β†’ openbox: Use python3 instead of python2 β†’ https://git.io/JfBSd
Bunogi has joined #nixos
cr4y1_ has joined #nixos
cr4y1 has quit [Read error: Connection reset by peer]
<unclechu> clever: that was a bad idea since i cannot normally do `nix repl my-module.nix`
<clever> unclechu: you have to load the module with the module tooling, something like `nix repl '<nixpkgs/nixos>'`
fendor_ has joined #nixos
morgrimm has quit [Ping timeout: 264 seconds]
fendor_ has quit [Client Quit]
<unclechu> clever: this works, yes, `nix repl -I /etc/nixos '<somedir/my-module.nix>'`
<unclechu> thanks again
<clever> that looks a bit weird
<unclechu> clever: why so? full path didn't work for me for some reason
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<unclechu> it failed with `/etc/nixos/... was not found in the Nix search path (add it using $NIX_PATH or -I)`
<clever> the module shouldnt be passed to nix repl
<clever> except via -I nixos-config=
<clever> `nix repl '<nixpkgs/nixos>'` will load <nixos-config> which is usually your configuration.nix
<clever> and then that loads more via imports
<unclechu> clever: well, in my case i prefer to skip all the modules i don't need in my REPL, my modules more or less independent and thus more composable (so later i can separate some non-invasive *rc-configs as `default.nix` files for those repos)
<clever> unclechu: then youll want my module example
<clever> that shows how to load a custom set of modules in a default.nix
<unclechu> clever: thanks, i'll take a look later
<aiverson> Is there a way to use nixops ssh to perform scp tasks? Or to ask about what I actually want, I have a service I'm trying to migrate from one place to another that stores some state in a file, and I want to move the state alongside the service so that the up to date copy on my local box goes to the server once, then the server gradually updates it, then the updated copy can come back to my local box rather than being
<aiverson> overwritten.
<clever> aiverson: `nixops scp machine --to foo.txt .`
<aiverson> That should be in the manual.
pjt_014 has joined #nixos
<{^_^}> [nixpkgs] @veprbl merged pull request #76653 β†’ Agda rework β†’ https://git.io/JeNQ6
<{^_^}> [nixpkgs] @veprbl pushed 15 commits to master: https://git.io/JfB92
fendor has quit [Read error: Connection reset by peer]
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
<energizer> aiverson: #nixops
<keithy[m]> emily: Hi, are there any docs on recommended us pattern for openresty (saw you on the maintainers list)
wnklmnn has quit [Ping timeout: 264 seconds]
<emily> keithy: I believe you can use the nginx module with it by overriding the package setting. I don't use openresty myself though (currently on plain nginx, decided to move to either h2o or caddy instead, haven't decided which one yet)
<{^_^}> [nixpkgs] @doronbehar opened pull request #87848 β†’ ccls: Use latest llvmPackages β†’ https://git.io/JfB9H
<{^_^}> [nix] @edolstra pushed to auto-uid-allocation Β« Run builds in their own cgroup Β»: https://git.io/JfBHf
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
MmeQuignon has quit [Ping timeout: 260 seconds]
aw has joined #nixos
spacefrogg has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
LysergicDreams has quit [Ping timeout: 260 seconds]
LysergicDreams has joined #nixos
noudle has joined #nixos
opticnerve has quit [Ping timeout: 256 seconds]
__monty__ has quit [Quit: leaving]
<{^_^}> [nixpkgs] @edolstra pushed to master Β« postgresql: Use runuser instead of sudo Β»: https://git.io/JfBHu
gustavderdrache has quit [Quit: Leaving.]
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/a7c70f2e10b (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
kvda has joined #nixos
cr4y1_ has quit [Ping timeout: 240 seconds]
asymptotically has quit [Quit: Leaving]
o1lo01ol1o has quit [Remote host closed the connection]
<ornxka> i have a package that produces a .so file, just with cc `pkg-config blah blah` and then cp blah.so $out/lib/
<ornxka> but when i do ldd result/lib/blah.so i get libusb-1.0.so.0 => not found
<ornxka> i think i need to use patchelf to set rpath?
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ornxka> i see rpath in NIX_LDFLAGS, am i supposed to refer to that in my fixupPhase or is there some way to get the nix stdenv machinery to do this for me?
<{^_^}> [nix] @edolstra pushed to auto-uid-allocation Β« Reduce # of UIDs per build to 65536 Β»: https://git.io/JfBH5
o1lo01ol1o has joined #nixos
user_0x58 has quit [Ping timeout: 260 seconds]
<ornxka> libc/libm/etc are correctly specified in there, just the buildinputs are not found...
<{^_^}> [nixpkgs] @romildo merged pull request #87777 β†’ balsa: 2.5.9 -> 2.6.1 β†’ https://git.io/Jf4bK
<{^_^}> [nixpkgs] @romildo pushed 4 commits to master: https://git.io/JfBQe
<{^_^}> [nixpkgs] @romildo merged pull request #87759 β†’ enlightenment.terminology: 1.6.0 -> 1.7.0 β†’ https://git.io/Jf46X
<{^_^}> [nixpkgs] @romildo pushed 2 commits to master: https://git.io/JfBQT
o1lo01ol1o has quit [Ping timeout: 246 seconds]
agsdheidjd has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @doronbehar opened pull request #87849 β†’ gotify: adapt update script to use vendor sha β†’ https://git.io/JfBQO
<{^_^}> [nixpkgs] @romildo merged pull request #87757 β†’ enlightenment.efl: 1.24.0 -> 1.24.1 β†’ https://git.io/Jf4Kh
<{^_^}> [nixpkgs] @romildo pushed 9 commits to master: https://git.io/JfBQ3
<ornxka> ah!
<ornxka> i needed nativeBuildInputs = [ autoPatchelfHook ];
<ornxka> i cant believe i spent like 45 minutes tearing my hair out and writing wrapper scripts to set LD_LIBRARY_PATH manually when i could have put that one single line in and been done with it
<{^_^}> [nixpkgs] @romildo merged pull request #87764 β†’ arc-theme: 20200416 -> 20200513 β†’ https://git.io/Jf4PW
<{^_^}> [nixpkgs] @romildo pushed 4 commits to master: https://git.io/JfBQc
<ornxka> technically two since you need it as an input
Robertof has joined #nixos
Yaniel has quit [Quit: WeeChat 2.1]
Yaniel has joined #nixos
<{^_^}> [nixpkgs] @romildo merged pull request #87597 β†’ jgmenu: optionally install a xfce4 panel plugin β†’ https://git.io/Jfll3
<{^_^}> [nixpkgs] @romildo pushed 4 commits to master: https://git.io/JfBQB
LysergicDreams has quit [Ping timeout: 256 seconds]
LysergicDreams has joined #nixos
erasmas has quit [Quit: leaving]
<Robertof> hey! stupid question -- is there a way to do something like this in a nixos config? `boot.supportedFilesystems = lib.remove "zfs" config.boot.supportedFilesystems;` This obviously fails due to infinite recursion, but I can't think of other ways to basically get the last evaluated value and remove "zfs" from it
<{^_^}> [nixpkgs] @Mic92 merged pull request #87849 β†’ gotify: adapt update script to use vendor sha β†’ https://git.io/JfBQO
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JfBQP
<clever> Robertof: youll need to find out which module added zfs, and convince it to stop adding it
<Robertof> thanks clever, in this case it's just the base profile which has a list of fixed strings
<infinisil> So the answer is no, there's no way to remove a value from a list (at least with how lists work by default)
<Robertof> the only way I thought is to import that file, extract the static list and remove it from there
<Robertof> all of this just to not hardcode a list lol
<Robertof> thanks for the tips! i was losing my mind but it makes sense
xcmw has joined #nixos
user_0x58 has joined #nixos
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/31dcaa5eb67 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
mrus has quit [Quit: Surfing the great wave off Kanagawa]
chloekek has quit [Ping timeout: 260 seconds]
steshaw has joined #nixos
philr has joined #nixos
dermetfan has quit [Ping timeout: 260 seconds]
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/31dcaa5eb67 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/a7c70f2e10b (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
acowley has quit [Ping timeout: 272 seconds]
eoli3n_ has quit [Ping timeout: 258 seconds]
acowley has joined #nixos
morgrimm has joined #nixos
justanotheruser has quit [Ping timeout: 240 seconds]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pbb has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @jonringer merged pull request #87635 β†’ python3Packages.cirq: 0.6.1 -> 0.8.0 β†’ https://git.io/Jfldg
<{^_^}> [nixpkgs] @jonringer pushed commit from @drewrisinger to master Β« python3Packages.cirq: 0.6.1 -> 0.8.0 Β»: https://git.io/JfBdL
<{^_^}> [nixpkgs] @jonringer opened pull request #87850 β†’ python3Packages.venvShellHook: add postVenv β†’ https://git.io/JfBdt
maddo has quit [Quit: See ya]
justanotheruser has joined #nixos
kvda has joined #nixos
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 260 seconds]
mbrgm_ is now known as mbrgm
hlisp has joined #nixos
<{^_^}> [nixpkgs] @zowoq opened pull request #87851 β†’ go: 1.14.2 -> 1.14.3 β†’ https://git.io/JfBdV