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
jaeckel has joined #nixos
ruim has joined #nixos
hmpffff has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88730 → python37Packages.pyftdi: 0.49.0 -> 0.51.2 → https://git.io/JfarG
<cole-h> ldlework: Note: config.* will almost never do what you expect. AFAIU, it's supposed to be a read-only snapshot (or close enough) of your current configuration.
mauli has joined #nixos
<infinisil> cole-h: Right and wrong. The `config` argument from the top of the module is the final config set. But assigning `config = ` in the module itself is actually what adds definitions for this final set
<infinisil> Note that e.g. `environment.systemPackages = ...` is just a shorthand for `config.environment.systemPackages = ...`
Chiliparrot has quit [Ping timeout: 260 seconds]
<infinisil> :)
<cole-h> My whole world has been flipped upside down
<superbaloo> https://github.com/NixOS/nixpkgs/blob/master/doc/languages-frameworks/rust.section.md#compiling-rust-crates-using-nix-instead-of-cargo I might be missing something but it does not look like the carnix section is accurate
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<superbaloo> and I can't get carnix to work, anything I try fails
dxtr has quit [Ping timeout: 256 seconds]
Chiliparrot has joined #nixos
kvda has joined #nixos
<energizer> infinisil: iirc it yells at me when i try to config.foo = bar. what's that about?
<superbaloo> ha well, cargo changes the cargo.lock format in 1.41
<superbaloo> which explains the failures I see
<infinisil> energizer: Do you think this should be enough information for me to know the problem?
mauli has quit [Ping timeout: 260 seconds]
asbachb has joined #nixos
<infinisil> (spoiler: it's not!)
<energizer> infinisil: yes i did think that, since there's only ever one error message ive seen from that and iirc it happens every time. but ok i guessed wrong :-)
<infinisil> config.foo = bar is literally the most generic module system assignment
<infinisil> I could give you a dozen values for foo and bar that each give a different error
drakonis1 has joined #nixos
<asbachb> Hi. Is there a way to prevent packages from beeing compiled. I want that rebuild switch fails in case the package is not available in cache.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88731 → python27Packages.pyacoustid: 1.1.7 -> 1.2.0 → https://git.io/Jfar0
<infinisil> energizer: So I guess the best answer I can give you with that is: There's nothing inherent about that code that would throw an error
<energizer> asbachb: how about -j0
<energizer> infinisil: ok that answer works for me :)
<infinisil> But for the future, always provide as much info as possible
<infinisil> You're much more likely to get good answers with that
drakonis_ has quit [Ping timeout: 256 seconds]
<energizer> if i knew the error i wouldve quoted it of course
<{^_^}> [nixpkgs] @Infinisil merged pull request #88719 → [20.03] haskellPackages.shh: Mark unbroken → https://git.io/JfaaF
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to release-20.03: https://git.io/Jfarg
justanotheruser has joined #nixos
<cole-h> adisbladis: When you get a nixops2 package up and running, let me know... I'm too lazy to figure out python packaging atm, but ready to hop on master.
pjan has quit [Quit: さようなら]
<asbachb> energizer: Thanks.
gustavderdrache has quit [Quit: Leaving.]
<NobbZ[m]> I have lorri as a demon + direnv. When in a "direnv+lorri" environment, lorri uses my systems nixpkgs channel, though when I do lorri shell then the environment is correctly built against my users nixpkgs channel.
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JfarK
<energizer> infinisil: is that saying modules aren't allowed to have an attr named `config`?
orivej_ has joined #nixos
orivej has quit [Ping timeout: 272 seconds]
markus1189 has quit [Ping timeout: 265 seconds]
markus1189 has joined #nixos
<quinn> energizer: most modules have a config attr
<energizer> so what's that error condition about?
<infinisil> energizer: If you assign `options` or `config` at the top-level of your module, you can't assign any option values at the top-level, but have to move them to config.* instead
<quinn> energizer: see line 174: Massage a module into canonical form, that is, a set consisting of ‘options’, ‘config’ and ‘imports’ attributes. */
<infinisil> So you can't have `options = ...; environment.systemPackages = ...`, but instead you need to do `options = ...; config.environment.systemPackages = ...; `
<quinn> infinisil: this is a better explanation than mine (cause you understand it better than me) nice
<energizer> infinisil: i see, thanks
<infinisil> I wish the error explained it a bit better, the current one is a bit confusing
mauli has joined #nixos
hmpffff has quit [Quit: nchrrrr…]
<energizer> show the trace and post a link to the source code of the package causing the error
mauli has quit [Ping timeout: 260 seconds]
<asbachb> But I wonder why hydra build does not fail.
mauli has joined #nixos
<cole-h> Have you tried updating your channels?
<asbachb> cole-h_: Yes. That's latest.
<lovesegfault> Trying to build a system optimized for skylake using nixpkgs.localSystem.platform and setting gcc. arch and gcc.tune. I want to build this on a non-skylake server, how can I do that?
<lovesegfault> I think this counts as cross-compiling?
<asbachb> https://gist.github.com/asbachb/cb0a20335f6b1e582933f0188189fe6c - Maybe because I need to set something else to "unstable"?
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<cole-h> asbachb: You probably need to redefine the ExecStart to not reference `cfg.package.bin` then
<cole-h> Since it's not getting the module from unstable, just the package (which no longer has a bin output)
iceypoi has joined #nixos
thc202 has quit [Ping timeout: 260 seconds]
lemsip has quit [Quit: bye]
emilsp has joined #nixos
Piece_Maker has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/56ddb0a32ac (from 89 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
pjan has joined #nixos
<asbachb> cole-h: I'll gove it a try tomorrow. Thanks.
Acou_Bass has quit [Ping timeout: 265 seconds]
Piece_Maker is now known as Acou_Bass
icey_ has quit [Ping timeout: 272 seconds]
mauli has quit [Ping timeout: 260 seconds]
orivej has joined #nixos
asbachb has quit [Ping timeout: 245 seconds]
orivej_ has quit [Ping timeout: 272 seconds]
kvda has joined #nixos
<{^_^}> [nixops] @adisbladis opened pull request #1351 → Add typing extensions as an explicit dependency → https://git.io/JfaoM
<cole-h> adisbladis: Hey, that PR might actually solve the issue I was running into when trying to overlay nixops :D
MmeQuignon has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88733 → python27Packages.pydub: 0.23.1 -> 0.24.0 → https://git.io/JfaKU
mac10688 has joined #nixos
<cole-h> adisbladis++ Indeed it does. :D.
<{^_^}> adisbladis's karma got increased to 87
evanjs has quit [Read error: Connection reset by peer]
<mac10688> So I've been trying the past few days to try to set a background for my xmonad environment. clever recently assisted in showing that the code should be loading from .xsession. I added code to load a custom background using feh which I know that works because I can run it in terminal and it changes the background. But it doesn't work when I load xmonad.
<mac10688> How are people writing custom config files to load a background?
evanjs has joined #nixos
philr_ has joined #nixos
<quinn> mac10688: i didn't think of this when we last spoke, but i think xsession is only triggered if you use a display manager. if you start xmonad from a tty it probably won't work.
day|flip has joined #nixos
<mac10688> I think I am using a display manager
<mac10688> I tried googling earlier
<{^_^}> [nixops] @adisbladis merged pull request #1351 → Add typing extensions as an explicit dependency → https://git.io/JfaoM
<{^_^}> [nixops] @adisbladis pushed 3 commits to master: https://git.io/JfaKl
<mac10688> I think a display manager is basically the login page right? In which case I am using sddm
<mac10688> I'm probably wrong so feel free to correct me
<Henson> mac10688: I did a bit of a hack to run the xmonad window manager on top of KDE. So KDE would set the background for me, and instead of loading the kwin_x11 window manager would load xmonad instead.
<quinn> mac10688: that's strange. try using .xsession instead of .xsessionrc, i think i used .xsession a year ago when i had that setup
iyzsong has joined #nixos
<Henson> mac10688: that way I'd get all of the goodies of KDE along with a real tiling window manager.
<quinn> Henson: why'd you do it that way?
<quinn> oh, what are those goodies?
<mac10688> yeah I am totally set on .xsession now. clever even showed me the code where it's looking for ~/.xsession
<mac10688> yeah, I'm curious Henson
<Henson> quinn: pretty much all of the nice graphical configuration stuff in the KDE system settings (multiple monitor config, bluetooth, network-manager, printers, etc.)
<day|flip> trying to used nix from a non nixos. can't seem to get chromium started. it keep giving me this error. https://hastebin.com/dozamoxuse.shell
mauli has joined #nixos
<Henson> I think I also had spectacle working for screen shots and krunner to launch apps. I had xmobar at the top of my screen.
<Henson> I've been a long time KDE user and so I really like the system configuration options and didn't want to learn how to do it with command-line tools.
<quinn> Henson: that's interesting and cool
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Henson> I eventually found trying to configure xmonad to do what I wanted to be too complicated. I love Haskell, but don't want to spend 3 days reading about some crazy Haskell abstraction in order to make a really simple change to my window manager. I really liked xmonad, but it eventually became too frustrating to maintain.
<quinn> mac10688: try adding &> /tmp/debug to the end of your feh command and then read that file
<mac10688> xmonad doesn't seem big on abstractions to me
<mac10688> well what's weird, is that I had xmobar and stalliontry and all kinds of stuff working. Then through some confusion I accidentally renamed the file
<mac10688> now I've renamed it to .xsession but it won't read from it anymore
<mac10688> it's driving me bonkers lol
<adisbladis> cole-h: Nice! :)
<quinn> mac10688: if you compare Xorg itself and the library to the way it's exposed by xmonad, it's definitely an abstraction
<adisbladis> I was just going to move my personal machines over to nixops master =)
<Henson> mac10688: I can't remember exactly what it was that had me stuck, but the effort to learn how to do it was greater than my desire to do it. That happened for a bunch of things, so eventually I got stuck in an uncomfortable place and couldn't get out.
<quinn> mac10688: you can just sudo rm ~/.xsession and then remake it if it's acting up
<cole-h> adisbladis: My main motivation was the --test flag for deploy :P
<Henson> mac10688: do you have your xmonad stuff under source control?
<mac10688> I do!
<Henson> mac10688: but the thing that has gone wrong is outside of your source control?
<mac10688> finally, someone lets me feel smart on this irc channel lol
<Henson> :-)
<mac10688> ok Henson you got me there. I've been adding more stuff to my source control
mauli has quit [Ping timeout: 272 seconds]
<mac10688> I kind of just rushed past all this stuff a year ago to get it working as a proof of concept
<mac10688> now I'm going back to clean it up and trying to make it look nicer
<mac10688> and get a deeper understanding
user_0x58 has quit [Ping timeout: 260 seconds]
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/198cac07cfa (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
mac10688 has quit [Quit: WeeChat 2.7.1]
mac10688 has joined #nixos
reallymemorable has quit [Quit: reallymemorable]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88734 → python27Packages.plotly: 4.6.0 -> 4.7.1 → https://git.io/Jfa6e
marusich has quit [Quit: Leaving]
orivej has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88735 → python37Packages.pyenchant: 3.0.1 -> 3.1.0 → https://git.io/Jfa6C
Henson has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<{^_^}> [nixpkgs] @veprbl merged pull request #88728 → libsForQt5.qscintilla: fix darwin build → https://git.io/Jfaw9
<{^_^}> [nixpkgs] @veprbl pushed 2 commits to master: https://git.io/Jfa64
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @veprbl opened pull request #88736 → openscad: use wrapQtApp for macOS app → https://git.io/Jfa6u
<{^_^}> [nixpkgs] @cdepillabout merged pull request #88604 → Update tensorflow-haskell dependencies. → https://git.io/Jf2wp
<{^_^}> [nixpkgs] @cdepillabout pushed 2 commits to haskell-updates: https://git.io/Jfa6w
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88737 → python27Packages.unidiff: 0.5.5 -> 0.6.0 → https://git.io/Jfa6o
<{^_^}> [nixpkgs] @veprbl merged pull request #88713 → sherpa: 2.2.9 -> 2.2.10 → https://git.io/Jfa2q
<{^_^}> [nixpkgs] @veprbl pushed 2 commits to master: https://git.io/Jfa6K
h0m1 has quit [Ping timeout: 260 seconds]
user_0x58 has joined #nixos
justanotheruser has quit [Ping timeout: 272 seconds]
h0m1 has joined #nixos
justanotheruser has joined #nixos
soju has quit [Quit: Connection closed for inactivity]
johnnyfive has quit [Quit: I quit now.]
johnnyfive has joined #nixos
gxt__ has quit [Remote host closed the connection]
buckley310 has joined #nixos
gxt__ has joined #nixos
user_0x58 has quit [Ping timeout: 260 seconds]
bhipple has joined #nixos
<{^_^}> [nixpkgs] @bhipple merged pull request #88706 → terraria-server: 1.4.0.3 -> 1.4.0.4 → https://git.io/Jfazb
<{^_^}> [nixpkgs] @bhipple pushed 2 commits to master: https://git.io/Jfai6
mac10688 has quit [Quit: WeeChat 2.7.1]
mac10688 has joined #nixos
<mac10688> quinn: hey I think i did it! I got the background to show with services.xserver.displayManager.sessionCommands. I didn't get .xsession to work but I finally got something!
<cole-h> lovesegfault: ping
jluttine has quit [Ping timeout: 256 seconds]
foldingcookie has joined #nixos
meh` has joined #nixos
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
aw has joined #nixos
spacefrogg has joined #nixos
<ldlework> Can anyone see anything wrong with this module? It doesn't seem to do anything... https://gist.github.com/dustinlacewell/c6ffd7547f181d09cce2096c020c9485
<ldlework> oh
<ldlework> I just saw the problem
<ldlework> error: 'mkOption' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/options.nix:30:5 called with unexpected argument 'name', at /nixcfg/modules/nixos/services/irccat.nix:59:17
nix has joined #nixos
<ldlework> how is that right? name is an argument to mkOption?
nix has quit [Remote host closed the connection]
<energizer> no it isnt
meh` has quit [Ping timeout: 246 seconds]
<energizer> i mean, you're calling mkOption {name = something} but mkOption doesnt have a name parameter
<ldlework> our poor wiki
<ldlework> thanks
o1lo01ol1o has joined #nixos
felixfoertsch23 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88739 → python27Packages.traitsui: 6.1.3 -> 7.0.0 → https://git.io/JfaPC
felixfoertsch has quit [Ping timeout: 260 seconds]
felixfoertsch23 is now known as felixfoertsch
o1lo01ol1o has quit [Ping timeout: 265 seconds]
jluttine has joined #nixos
mac10688 has quit [Quit: WeeChat 2.7.1]
<{^_^}> [nixpkgs] @c00w closed pull request #87855 → Add regenGoMod option → https://git.io/JfBxc
fusion809 has joined #nixos
bhipple has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88740 → python37Packages.zeroconf: 0.26.0 -> 0.26.1 → https://git.io/JfaPX
zebrag has joined #nixos
day|flip has quit [Remote host closed the connection]
inkbottle has quit [Ping timeout: 240 seconds]
<ldlework> how can I get nixops to see my custom defined modules which I have defined locally?
<ldlework> oh nm i'm dumb
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/df35e709036 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<hexa-> > map (concat "foo") [ "bar" "bla" "abc" ]
<{^_^}> [ <CODE> <CODE> <CODE> ]
<hexa-> oh right <CODE>
<hexa-> > concat
<{^_^}> <LAMBDA>
dingenskirchen has quit [Remote host closed the connection]
dingenskirchen has joined #nixos
marcusr has quit [Remote host closed the connection]
drakonis_ has joined #nixos
<cole-h> > :p map (concat "foo") [ "bar" "bla" "abc" ]
<{^_^}> attribute 'reset' missing, at (string):27:12
<cole-h> > :p map (n: n + "foo") [ "bar" "bla" "abc" ]
<{^_^}> [ "barfoo" "blafoo" "abcfoo" ]
<cole-h> hexa-: ^ ?
<hexa-> i'm derping around in nix apparently
<hexa-> i'm trying the following
<hexa-> wants = (map (lib.concat "postgresqlBackup-") config.services.postgresqlBackup.databases);
marcusr has joined #nixos
<hexa-> and I end up with error: value is a string while a list was expected, at /nix/store/vgyn5vl07sgqchsrmjxkhdw6wkv55ljd-991dk606y0dk4m9vpjyji8pkdpm15ic2-nixpkgs-src/lib/trivial.nix:80:18
drakonis1 has quit [Ping timeout: 260 seconds]
<hexa-> took inspiration from https://nixos.org/nix/manual/#ss-functions
<hexa-> where it says that map (concat "foo") [ "bar" "bla" "abc" ] evalutes to [ "foobar" "foobla" "fooabc" ].
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/df35e709036 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
<hexa-> not sure if lib.concat is the correct concat?
<hexa-> cole-h: oh, missed that. thanks
<cole-h> hexa-: Where `concat = x: y: x + y` :P
<hexa-> oh boy
<hexa-> should do more than skimming apparently
<cole-h> > let concat = x: y: x + y; in map (concat "foo") [ "bar" "bla" "abc" ]
<{^_^}> [ <CODE> <CODE> <CODE> ]
<cole-h> > :p let concat = x: y: x + y; in map (concat "foo") [ "bar" "bla" "abc" ]
<{^_^}> [ "foobar" "foobla" "fooabc" ]
<cole-h> :^)
<energizer> > lib.strings.concatStrings ["a" "b" "c"]
<{^_^}> "abc"
<hexa-> yep, I was blind
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88742 → python27Packages.w3lib: 1.21.0 -> 1.22.0 → https://git.io/JfaXo
marcusr has quit [Remote host closed the connection]
marcusr has joined #nixos
drakonis_ has quit [Ping timeout: 256 seconds]
ldlework has quit [Quit: co'o ro do]
ldlework has joined #nixos
jluttine has quit [Ping timeout: 258 seconds]
cole-h has quit [Quit: Goodbye]
cole-h has joined #nixos
veleiro has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88743 → python27Packages.Wand: 0.5.9 -> 0.6.1 → https://git.io/Jfa1l
<veleiro> what can you do about not having your network interface setup properly in configuration.nix, but require network to parse your configuration.nix
<energizer> you can imperatively set up network
<energizer> in the installer
drakonis_ has joined #nixos
<hexa-> or rollback if you have had a working configuration
<veleiro> hmm
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 is now known as Supersonic
<energizer> or you can build an image with everythign set up on another computer and transfer it over
<veleiro> true, i went with the rollback
<veleiro> it worked, thanks hexa-!
jluttine has joined #nixos
<veleiro> i just noticed times ive had to use 'nixos-rebuild boot' in place of switch because immediate switches without reboot would result in "cannot connect to daemon"
lordcirth has quit [Remote host closed the connection]
lordcirth has joined #nixos
cmk_zzz_ has joined #nixos
cmk_zzz has quit [Ping timeout: 260 seconds]
mauli has joined #nixos
<la-s> does anybody here know what to do when the cached source for something you're trying to build is corrupted?
<spinlock[m]> Is it possible to get a NIX_PATH entry, as given?
<spinlock[m]> practise" for that
<spinlock[m]> When I add an entry to the nix path (ex: `foo=/etc/nixos/bar`), either through `$NIX_PATH` or the `-I`, I can reference that path with the handy `<foo>` angle brackets. This is great, however I'm finding that there are times where I want the verbatim path, and not the store `/nix/...` path. Is there a common way to do this? I suspect I can write something with `builtins.getEnv`, but I'm curious if there's a "best
mauli has quit [Ping timeout: 240 seconds]
<la-s> Maybe you should just make foo be a separate environment variable?
<la-s> it to me sounds like you're misusing NIX_PATH
<spinlock[m]> "abusing" is probably more accurate. that sounds like a good idea though actually. if it's a separate variable then I think I can access it directly and also push it into `nix.nixPath` 🤔
<{^_^}> [nixpkgs] @davidak opened pull request #88744 → nixos/chromium: add example and update URL → https://git.io/Jfa1x
hooo has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88745 → qtractor: 0.9.13 -> 0.9.14 → https://git.io/JfaMO
waleee-cl has quit [Quit: Connection closed for inactivity]
lambda-11235 has joined #nixos
<spinlock[m]> Las: That worked beautifully. thanks bunches
<la-s> np
rogue_koder_ has quit [Ping timeout: 260 seconds]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Ping timeout: 260 seconds]
mauli has joined #nixos
mac10688 has joined #nixos
<mac10688> man i just enabled picom and I feel like a freaking boss!
<spinlock[m]> nice :D
<mac10688> picom + tiling window manager. This is getting closer to the aesthetics I've been wanting for a long time
mauli has quit [Ping timeout: 246 seconds]
<spinlock[m]> mac10688: an unbeatable combo! If you see any visual glitches with `picom`, check out the `--experimental-backends` flag
<mac10688> spinlock[m]: Thanks for the tidbit!
user_0x58 has joined #nixos
<puzzlewolf> @Las What exactly do you mean with "cached source"? The upstream source that's pulled during build or sth cached by the nix build system?
<lovesegfault> cole-h: pong
<lovesegfault> Was having dinner
mauli has joined #nixos
<lovesegfault> waddup
ddellacosta has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/fb1c7bf633d (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
buckley310 has quit [Quit: Connection closed for inactivity]
mauli has quit [Ping timeout: 260 seconds]
<ldlework> Looking for help maintaining Styx, the nix-based static content generator - if anyone's interested in that.
<la-s> nora: the one that is cached by the build system, but I found out that it (alsa-lib source) wasn't corrupted, the contents in the git repo are just inherently different from the packaged versions on some sites, since it uses autoconf. It would still be useful what to do in that case though.
<la-s> to know*
<puzzlewolf> What is the problem you're having?
<la-s> well, none now, I just added the autoreconfhook and fixed it
<puzzlewolf> Then probably open a PR to fix it for everyone :D
{^_^} has quit [Remote host closed the connection]
ddellacosta has quit [Ping timeout: 272 seconds]
{^_^} has joined #nixos
rogue_koder has joined #nixos
mauli has joined #nixos
<puzzlewolf> Or first open an issue ;)
mac10688 has quit [Quit: WeeChat 2.7.1]
mac10688 has joined #nixos
Maxdamantus has quit [Ping timeout: 265 seconds]
Maxdamantus has joined #nixos
mauli has quit [Ping timeout: 260 seconds]
drakonis has quit [Quit: WeeChat 2.8]
palo1 has joined #nixos
drakonis_ has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos
palo has quit [Ping timeout: 246 seconds]
palo1 is now known as palo
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
lordcirth has quit [Remote host closed the connection]
lordcirth has joined #nixos
mauli has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88746 → python37Packages.tablib: 1.1.0 -> 2.0.0 → https://git.io/JfaDO
mauli has quit [Ping timeout: 260 seconds]
zebrag has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @zowoq opened pull request #88747 → yara: 3.11.0 -> 4.0.1 → https://git.io/JfaDB
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88748 → python27Packages.stevedore: 1.31.0 -> 1.32.0 → https://git.io/JfaDR
zebrag has joined #nixos
drakonis has joined #nixos
zebrag has quit [Client Quit]
drakonis_ has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos
ninjin has quit [Remote host closed the connection]
ninjin has joined #nixos
<{^_^}> [nixpkgs] @bjornfor merged pull request #88736 → openscad: use wrapQtApp for macOS app → https://git.io/Jfa6u
kaliumxyz has joined #nixos
<{^_^}> [nixpkgs] @bjornfor pushed commit from @veprbl to master « openscad: use wrapQtApp for macOS app »: https://git.io/JfaDz
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88749 → python27Packages.update_checker: 0.16 -> 0.17 → https://git.io/JfaDg
noudle has joined #nixos
drakonis has quit [Ping timeout: 260 seconds]
Maxdamantus has quit [Ping timeout: 260 seconds]
Maxdamantus has joined #nixos
tom39291 has quit [Ping timeout: 240 seconds]
<hyper_ch_> nixos unstable still having build problems
tom39291 has joined #nixos
joebobjoe has joined #nixos
<{^_^}> [nixpkgs] @moinessim opened pull request #88750 → dotnetCorePackages: Add support for Darwin → https://git.io/JfaD9
dan224 has joined #nixos
<joebobjoe> I have been having a persistant issue with nix on darwin. I think that whenever mac updates it overwrites /etc/zshrc where nix sources itself
<joebobjoe> so I lose access to nix in my shells all the time
<joebobjoe> when I look in /etc, .zshrc and .bashrc are read-only. are they not supposed to be written to?
<energizer> normally environment variables aren't supposed to be set in zshrc
o1lo01ol1o has joined #nixos
<energizer> it's more typical to do that in ~/.zprofile
dan224 has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88751 → python27Packages.spglib: 1.14.1.post0 -> 1.15.1 → https://git.io/JfaDA
mauli has joined #nixos
o1lo01ol1o has quit [Ping timeout: 260 seconds]
dan224 has joined #nixos
mauli has quit [Ping timeout: 260 seconds]
user_0x58 has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88752 → python27Packages.sqlalchemy-utils: 0.36.3 -> 0.36.5 → https://git.io/JfayT
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88753 → python37Packages.trimesh: 3.6.36 -> 3.6.38 → https://git.io/JfayO
cole-h has quit [Quit: Goodbye]
jakobrs has joined #nixos
<jakobrs> How do I unset a configuration option? lib.mkForce null doesn't work.
maxdevjs has quit [Ping timeout: 272 seconds]
rauno has joined #nixos
<{^_^}> [nixpkgs] @aycanirican opened pull request #88754 → guid: fix compilation of Setup.hs and disable tests → https://git.io/JfayZ
<{^_^}> nix#3616 (by amckinlay, 1 minute ago, open): macOS updates often break nix installation (multi-user install)
Maxdamantus has quit [Ping timeout: 256 seconds]
noudle has quit []
Maxdamantus has joined #nixos
Heirlung- has joined #nixos
Heirlung has quit [Read error: Connection reset by peer]
Heirlung- is now known as Heirlung
Maxdamantus has quit [Ping timeout: 272 seconds]
Maxdamantus has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #85673 → nixos-shell: init at 0.1.1 → https://git.io/JfTFK
maddo has joined #nixos
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/Jfayi
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88755 → python27Packages.stripe: 2.47.0 -> 2.48.0 → https://git.io/JfayP
<joebobjoe> can anyone help me fix this warning?
<joebobjoe> whenever I run a nix-env operation like -u I get warning: name collision in input Nix expressions, skipping '/Users/andrewmckinlay/.nix-defexpr/channels_root/nixpkgs'
<freeman42x[m]1> code review question, is the following a good way of providing `nwjs-sdk` when nix-shell runs? https://github.com/fairy-tale-agi-solutions/haskell-editor-setup/pull/100/files/75f2fd5aa13ee3f315f73ee26982ab2a5e4f86af..a89ad6866684704aab66da46560fe8ff36cb4c06
<joebobjoe> fixed it. seems like the intstaller installed different ~/.nix-defexpr/channels and ~/.nix-defexpr/channels_root pointing to the same thing. maybe I ran the installer at different times, as one link is from march and the other may
<jakobrs> Is there any way to make building the NixOS iso faster?
<jakobrs> specifically the mksquashfs part.
kawerte has joined #nixos
<{^_^}> [nixpkgs] @bjornfor merged pull request #88440 → nix-bundle: 0.3 -> 0.4 → https://git.io/JfgII
<{^_^}> [nixpkgs] @bjornfor pushed commit from @matthewbauer to master « nix-bundle: 0.3 -> 0.4 »: https://git.io/JfayN
marusich has joined #nixos
cosimone has joined #nixos
kawerte has quit [Remote host closed the connection]
<eyJhb> talyz, rycee: a tmp fix for this situation, might be to mount it into $HOME
<craftyguy> is there a 'python_latest' package similar to the linuxPackage_latest that will always install the latest release version when upgraded?
quinn has quit [Quit: ZNC 1.7.5 - https://znc.in]
<{^_^}> [nixpkgs] @FRidh opened pull request #88756 → Python: fix virtualenv with Python 2. → https://git.io/JfaSI
agsdheidjd has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 3 commits to master: https://git.io/JfaSO
<{^_^}> [nixpkgs] @vcunat merged pull request #88657 → thunderbird, thunderbird-bin: 68.8.0 -> 68.8.1 → https://git.io/JfaIm
lord| has quit [Ping timeout: 265 seconds]
lord| has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #87619 → ipget: 0.3.2 -> 0.6.0 → https://git.io/JflX5
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JfaSs
aveltras has joined #nixos
mallox has joined #nixos
<{^_^}> [nixpkgs] @bjornfor merged pull request #88254 → ofono: fix incorrect plugin path check in patch → https://git.io/JfzPh
<{^_^}> [nixpkgs] @bjornfor pushed commit from @jonascarpay to master « ofono: fix incorrect plugin path check in patch »: https://git.io/JfaSB
Jackneill has quit [Ping timeout: 256 seconds]
nixbitcoin_ has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 116 commits to staging-next: https://git.io/JfaSR
nixbitcoin has quit [Ping timeout: 240 seconds]
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]
shad_ has quit [Ping timeout: 256 seconds]
shad has joined #nixos
<kloenk> I can't build something on my hydra, but I can build it localy. What could be the problem?
matthiaskrgr has joined #nixos
<talyz> rycee: Yes, exactly. It would make make managing semi-misbehaving programs' files much nicer, so thanks! :)
agsdheidjd has quit [Ping timeout: 260 seconds]
agsdheidjd has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 117 commits to staging: https://git.io/JfaSu
FRidh has joined #nixos
<talyz> eyJhb: Hm, you mean bind mount the persistent dir into a subdir of $HOME? That could work, yes :o
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @vbgl pushed commit from @sternenseemann to master « ocamlPackages.afl-persistent: init at 1.3 »: https://git.io/JfaSa
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
mauli has joined #nixos
nikivi has joined #nixos
Jackneill has joined #nixos
mauli has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @FRidh pushed 1000 commits to python-unstable: https://git.io/JfaSX
lambda-11235 has quit [Quit: Bye]
<eyJhb> talyz: yes :p
rauno has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @vcunat pushed to release-20.03 « Merge #88657: thunderbird*: 68.8.0 -> 68.8.1 »: https://git.io/JfaS7
nixbitcoin has joined #nixos
nixbitcoin_ has quit [Ping timeout: 240 seconds]
asymptotically has joined #nixos
fendor has joined #nixos
simba1 has joined #nixos
Chiliparrot has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed to master « pythonPackages.pyyaml_3: remove old unused version »: https://git.io/Jfa9e
<energizer> eyJhb: why a bind mount instead of a symlink?
<eyJhb> energizer: that question will go to talyz, it is his module :p
<NobbZ[m]> ,channels
<{^_^}> Largest Nix channels: #nixos, #nixos-dev, #nixos-chat, #nixos-aarch64, #nixos-security, #nixcon, #nixos-officehours, #nixops, #haskell.nix, #nix-darwin, #nixos-de, #nixos-emacs, #nixos-on-your-router, #nixos-nur, #nix-lang, #nixos-fr, #nixos-systemd, #nixos-borg, #nixos-wiki
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
<{^_^}> [nixpkgs] @bjornfor merged pull request #88193 → usbguard: 0.7.6 -> 0.7.8 + systemd service update → https://git.io/JfzGT
<{^_^}> [nixpkgs] @bjornfor pushed 3 commits to master: https://git.io/Jfa9k
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88757 → reaper: 5.987 -> 6.10 → https://git.io/Jfa9q
joebobjoe has quit [Quit: leaving]
marcusr has quit [Remote host closed the connection]
marcusr has joined #nixos
meh` has joined #nixos
<{^_^}> [nixpkgs] @gebner merged pull request #88753 → python37Packages.trimesh: 3.6.36 -> 3.6.38 → https://git.io/JfayO
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/Jfa9C
<{^_^}> [nixpkgs] @FRidh merged pull request #88756 → Python: fix virtualenv with Python 2. → https://git.io/JfaSI
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to staging: https://git.io/Jfa98
pjt_014 has quit [Ping timeout: 256 seconds]
mauli has joined #nixos
jakobrs has quit [Quit: WeeChat 2.7.1]
<kloenk> I'm also unable to reproduce a build from hydra.nixos.org
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88758 → remmina: 1.4.3 -> 1.4.4 → https://git.io/Jfa9r
cosimone has quit [Remote host closed the connection]
mauli has quit [Ping timeout: 260 seconds]
iyzsong has quit [Ping timeout: 260 seconds]
cosimone has joined #nixos
<{^_^}> [nixpkgs] @matthiasbeyer opened pull request #88759 → sigal: 2.0 -> 2.1 → https://git.io/Jfa9F
iyzsong has joined #nixos
<srhb> kloenk: Oh?
<kloenk> srhb: I tried to build alacritty, becaus it fails on my hydra, but afer running this `curl https://hydra.nixos.org/build/118982115/reproduce | bash` it only downloaded nixpkgs and printed a cryptic line
kmein has joined #nixos
veleiro has quit [Ping timeout: 256 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/bcb05f050e9 (from 71 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<srhb> kloenk: What's the cryptic line?
<kloenk> srhb: just this: `using these flags: --arg nixpkgs { outPath = /tmp/build-118982115/nixpkgs/source; rev = "79147264abdadc7b5cf0a3260bd8aaedf17aa81a"; shortRev = "7914726"; revCount = "225434"; } -I nixpkgs=/tmp/build-118982115/nixpkgs/source --arg officialRelease false --option extra-binary-caches https://hydra.nixos.org/ --option system x86_64-linux /tmp/build-118982115/nixpkgs/source/pkgs/top-level/release.nix -A alacritty.x86_64-linux
<kloenk> /nix/store/lbfwb01wrq7hfzfcg68phnjybdz3hmgn-alacritty-0.4.2`
<kloenk> srhb: is it a nix flake problem? becaus I have the experimental features enabled?
<srhb> kloenk: Are you sure that failed? Looks like success to me.
<srhb> Moreover it probably just substituted that path.
<kloenk> srhb: its not written to result either. Can I somehow force a local rebuild of that version?
<srhb> kloenk: The rebuild script does not produce a result symlink. That final path is the built path.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88761 → rakudo: 2020.05 -> 2020.05.1 → https://git.io/JfaHO
<kloenk> ah, didn't see the final path.
<kloenk> But that didn't help me with my hydra sha256 miss problem. but thanks
<srhb> kloenk: And yes, you can run nix-build with the arguments it printed for you, but it might have cleaned up the nixpkgs path, so you'll have to reproduce that on the specific rev, (eg by providing the url to a tarball of that rev from github)
<srhb> kloenk: Er, and with --check added to rebuild
o1lo01ol1o has quit [Remote host closed the connection]
<srhb> kloenk: But I'm not sure what you're really trying to achieve
<srhb> kloenk: At a guess, you want to know why your hydra build failed. Are you sure that's the same rev?
<s1341> hi all
<s1341> how do i specify a secret for initrd ssh?
<srhb> kloenk: Easy check is to see whether it has the same outPath
<s1341> i now get the following:
<s1341> - boot.loader.initrd.secrets values must be unquoted paths when
<s1341> using a bootloader that doesn't natively support initrd
<s1341> boot.initrd.secrets = {
<s1341> secrets, e.g.:
<s1341> };
<s1341> "/etc/secret" = /path/to/secret;
<s1341> Note that this will result in all secrets being stored
<s1341> world-readable in the Nix store!
<kloenk> Yes, I want to know why my hydra fail, but I also want to know why hydra.nixos.org did not fail
<srhb> s1341: You should use a pastebin for multi line pastes in the future :)
<s1341> srhb woops sorry.
<srhb> kloenk: Sure. Try checking the outPath of your failed hydra build.
<s1341> i think i'm using grub...
<s1341> doesn't grub support initrd secrets
<s1341> ?
<kloenk> s1341: the grub secret is not merged yet
<s1341> kloenk: uh. i see.
<s1341> so how do i do this without grub secrets support?
Vikingman has quit [Remote host closed the connection]
<kloenk> s1341: this pr makes it working: https://github.com/NixOS/nixpkgs/pull/85418
<{^_^}> #85418 (by lopsided98, 5 weeks ago, open): nixos/grub: support initrd secrets
<s1341> kloenk: how do i get that PR into my system?
<{^_^}> [nixpkgs] @alexbiehl opened pull request #88762 → Properly add /nix/ and /nix/store/ first the the tarball → https://git.io/JfaHZ
<kloenk> srhb: did `nix build` drop the `--check` flag?
<srhb> kloenk: It's nix-build that has --check, it's called something else for nix build.. --repeat 1 or something.
<kloenk> s1341: probaply clone you own nixpkgs, rebase the pr on it, and the set NIX_PATH=nixpkgs=/path/to/checkout
<srhb> kloenk: But the reproduce script doesn't specify either by default
<kloenk> srhb: thanks, for my own hydra im using flakes, so i have a flake uri to rebroduce
<s1341> kloenk thanks
<srhb> kloenk: In general, when you're confused why one build is failing and one you think is the same isn't, a good way to debug is to get the drv from each of them and nix-diff them to find the difference.
GiGa has joined #nixos
GiGa has quit [Changing host]
GiGa has joined #nixos
<srhb> kloenk: If there isn't one, you've likely hit an impuriy.
<GiGa> Morning all
<kloenk> srhb: thanks, didn't know of nix-diff
<srhb> kloenk: But in my experience that's pretty rare, and accidental differences in the drv is by far the most common.
<GiGa> I'm trying to get pcov (PHP code coverage tool) running in a container, yet I'm always told the attribute is missing.
<GiGa> environment.systemPackages = with pkgs; [ php74Packages.pcov ];
<GiGa> I'm not sure why though
leah2 has quit [Ping timeout: 260 seconds]
<immae> GiGa: on my side (latest unstable) it’s indeed not there
<maralorn> c00w: I don‘t understand why you gave up on `regenGoMod`. Which property das `go mod tidy` have, that is problematic? My understanding is, that go mod tiday crawls the source code to find package references. That sounds very pure to me.
<maralorn> c00w: I am not saying you're wrong. I have no clue about `go`. I am just very curious because it looked like such a useful option.
<GiGa> immae: that's weird. I'm also on unstable. I can see it listed here: https://nixos.org/nixos/packages.html?attr=php74Packages.pcov&channel=nixos-20.03&query=pcov
<immae> I see it there though: php74Extensions.pcov
<GiGa> Aha, let me try that.
noudle has joined #nixos
<immae> there were recent changes in php packaging that are not in 20.03 yet
<GiGa> immae: that seems to have got it, thanks
<immae> cool
<GiGa> Now I just need to work out how to tell configuration.nix to include that in the php.ini config
<GiGa> Presumably just chuck the php.ini stuff in phpOptions?
<immae> GiGa: use php74.withExtensions (p: [p.phpcov]) as "phpPackage" in phpfpm config
knupfer has joined #nixos
<GiGa> immae: I've currently got this container set to use Apache, rather than Nginx. Do I still need that line?
<immae> it will be elsewhere but yes you need to use this as "php package"
<immae> you use apache "php module" right?
gnidorah has joined #nixos
__monty__ has joined #nixos
<immae> in that case it’s services.httpd.phpPackage = php74.withExtensions (p: [p.phpcov])
<immae> hmm actually you will get only this package, so you need to specify the default ones too it seems something like: php74.withExtensions (p: php74.enabledExtensions ++ [p.phpcov])
<{^_^}> [nixpkgs] @adisbladis merged pull request #88701 → transmission: 2.94 -> 3.00 → https://git.io/JfaEo
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/JfaHr
<GiGa> immae, That gives me an undefined variable of php74: https://pastebin.com/zEnSQBgp
<immae> well you need to prepend it with pkgs if you don’t use the "with pkgs;"
thc202 has joined #nixos
<immae> pkgs.php74.withExtensions (..)
MmeQuignon has joined #nixos
marcusr has quit [Remote host closed the connection]
marcusr has joined #nixos
alp has joined #nixos
<la-s> is there any optimal way to share overlays between the system configuration and the user environment?
<GiGa> immae: That now gets error: "attribute 'phpcov' missing, at /var/lib/containers/evitabumgmt/etc/nixos/configuration.nix:29:49" on that line, so we're making progress :)
<GiGa> immae: That now gets error: "attribute 'phpcov' missing, at /var/lib/containers/evitabumgmt/etc/nixos/configuration.nix:29:49" on that line, so we're making progress :)
<GiGa> Sorry, didn't mean to send that twice
jgeerds_ has joined #nixos
<immae> GiGa: yes it’s because I copied your name, but the real name is pcov :p
<GiGa> immae: I did wonder, so I tried that too: error: attribute 'pcov' missing, at /var/lib/containers/evitabumgmt/etc/nixos/configuration.nix:29:49
Maxdamantus has quit [Ping timeout: 256 seconds]
<immae> May I see what your configuration.nix looks like? I just tested it locally and it works fine for me
<GiGa> Sure, do you want the whole lot?
<immae> Just the line with phpPackage = ...
Maxdamantus has joined #nixos
<kloenk> srhb: found the impuritie: my isp is shity, und files are corrupted while downloading
<kloenk> la-s: I think not yet: you can use flakes, but they are experimental
<srhb> kloenk: Oh, yuck.
orivej has joined #nixos
<GiGa> immae: phpPackage = pkgs.php74.withExtensions (p: [p.pcov]);
<srhb> la-s: Not optimal, but you can eg. set both <nixpkgs-overlays> and the nixos option to point at the same set of overlays.
<la-s> thanks!
<srhb> la-s: There isn't currently a way that I know of to do it with less than two options.
<immae> GiGa: Ah, I have it working with php74.withExtensions (p: [php74.extensions.pcov])
<immae> I don’t understand why it’s not in "p" though...
<immae> note that as I said you should probably include "standard" extensions (like pdo & co), so it would be more like php74.withExtensions (p: php74.enabledExtensions ++ [php74.extensions.pcov])
alp has quit [Ping timeout: 252 seconds]
<immae> (GiGa: and prepend pkgs. where necessary of course)
ruim has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88763 → pantheon.switchboard-plug-power: 2.4.1 -> 2.4.2 → https://git.io/JfaQ3
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
civodul has joined #nixos
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<GiGa> immae: that seems to have done it, thanks.
fendor has quit [Remote host closed the connection]
<immae> cool
<GiGa> Do I still need php74extensions.pcov in systemPackages?
fendor has joined #nixos
<immae> it depends
<immae> in systempackage it will permit you to run the pcov command from your shell (if there is such things). If you don’t need it then you may remove it
<GiGa> Great, thank you
<GiGa> I'll work that out then, as I'm still reading the docs :)
<immae> You’re welcome!
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/37d4e29f331 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<GiGa> I shall make notes so I don't have to ask again :) .
orivej_ has joined #nixos
<GiGa> Got to get my head around Codeception and using pcov next
nixbitcoin has quit [Remote host closed the connection]
KeiraT has quit [Remote host closed the connection]
nixbitcoin has joined #nixos
o1lo01ol1o has joined #nixos
orivej has quit [Ping timeout: 272 seconds]
KeiraT has joined #nixos
Valodim has left #nixos [#nixos]
leah2 has joined #nixos
o1lo01ol1o has quit [Ping timeout: 246 seconds]
nschoe has quit [Ping timeout: 252 seconds]
Gohla has quit [Quit: Bye.]
Gohla has joined #nixos
<la-s> does anybody know of a way to evaluate configuration.nix so that you can use the attributes defined within it, also taking into account the imports within it?
<LnL> nix repl '<nixos/nixos>'
<LnL> you can inspect config, etc. with that
<{^_^}> [nixpkgs] @chrbauer opened pull request #88764 → Fix dependencies issues of postgresql-syntax and re+base → https://git.io/Jfa7Y
<la-s> Thanks! That is surprisingly simple
markus1189 has quit [Ping timeout: 246 seconds]
<LnL> even works on non nixos systems, you just have to also add -I nixos-config=./configuration.nix there
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88765 → sqlcipher: 4.3.0 -> 4.4.0 → https://git.io/Jfa73
orivej_ has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
Chiliparrot has joined #nixos
mauli has joined #nixos
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
markus1189 has joined #nixos
orivej has quit [Ping timeout: 260 seconds]
orivej_ has joined #nixos
mauli has quit [Ping timeout: 246 seconds]
cosimone has quit [Quit: Quit.]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88766 → snakemake: 5.16.0 -> 5.17.0 → https://git.io/Jfa7w
<{^_^}> [nixpkgs] @pasqui23 closed pull request #66571 → [WIP]beakerbrowser:init at 0.8.8 → https://git.io/fj5o8
<{^_^}> [nixpkgs] @masipcat opened pull request #88767 → Librem 5 Phone packages → https://git.io/Jfa7M
<GiGa> Hmm, pcov still isn't being loaded as an extension
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88768 → sudo: 1.8.31p1 -> 1.9.0 → https://git.io/Jfa7N
<GiGa> in fact, everything in services.httpd.phpOptions seems to be getting ignored
sigmundv has joined #nixos
chloekek has joined #nixos
<GiGa> immae: Should adding the extension like we did also add it in php.ini?
tobeportable has joined #nixos
<GiGa> Interesting, the PHP ini for Apache _is_ being updated, just not the command line one
<GiGa> Is there a way to configure php.ini for the command line PHP?
artistsvoid has quit [Quit: leaving]
<srhb> GiGa: Looks like php itself takes arguments related to extensions. Check out the comments and the links to docs in the php/defaut.nix ?
FRidh has quit [Quit: Konversation terminated!]
<srhb> GiGa: Apologies if I'm repeating something, I didn't read the full backlog.
<GiGa> srhb: I'll try to find that file in the repo, one sec.
<GiGa> srhb: not repeating at all
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
<GiGa> OK, got the file
<srhb> GiGa: So what skimming it implies to me is that you can use php.withExtensions as your php package of choice to get whatever extensions composed into the php.ini
<GiGa> srhb: That seems to work for Apache / Nginx but doesn't apply to the command line version.
<srhb> GiGa: Which php package did you override?
<GiGa> srhb: Full config is here: https://pastebin.com/zEnSQBgp
<GiGa> phpPackage = php74.withExtensions (p: [p.phpcov]);
chloekek has quit [Ping timeout: 246 seconds]
<srhb> GiGa: You're just putting a bunch of php stuff in systemPackages, not a composed withExtensions php :)
<srhb> GiGa: I think that's the key you're missing.
<GiGa> So that's added pcov to the Apache called version of PHP, but I need to add it to the command line PHP so I can work out code coverage with codeception
<srhb> If that's the "command" you're referring to, at least.
o1lo01ol1o has joined #nixos
<srhb> GiGa: iow you want something like environment.systempackages = [ (php.withExtensions ... ) ];
<srhb> GiGa: Does that make sense?
<GiGa> srhb: not sure
<GiGa> Aha, possibly
<srhb> GiGa: So, right now you have php74 in your systemPackages
<GiGa> srhb: Yep, I've replaced it with (php74.withExtensions (p: [pkgs.php74.extensions.pcov]))
<srhb> GiGa: I think you can essentially consider that equivalent to (php.withExtensions (p: []))
<srhb> GiGa: Right, something like that :)
<srhb> Ah, turns out there's some default extensions, but you get he basic idea.
<{^_^}> [nixpkgs] @umazalakain opened pull request #88770 → agda: fix typo in library management documentation → https://git.io/Jfa5V
<GiGa> srhb: that's certainly heading the right way. How do I now customise the php.ini for that though?
<GiGa> srhb: that config has overwritten the default extensions too, so I need to work out how to add to the list, rather than replace it
orivej has quit [Quit: No Ping reply in 180 seconds.]
mallox has quit [Quit: WeeChat 2.8]
<GiGa> Think I just found how to do that, just testing
o1lo01ol1o has quit [Remote host closed the connection]
<aanderse> GiGa: you should consider phpfpm instead of httpd.enablePHP
orivej has joined #nixos
<asymmetric> is anyone around to help me with updating the iosevka font? i'm having trouble with node packaging
mallox has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88771 → stress-ng: 0.11.08 -> 0.11.10 → https://git.io/Jfa5P
<aanderse> i don't think the new awesome php.withExtensions works well with httpd.phpPackage (yet?)
<GiGa> aanderse: I can but this is only my dev box. Plus it wouldn't help with my command line issue
<asymmetric> oh wow, somebody took care of it already https://github.com/NixOS/nixpkgs/pull/88533
<{^_^}> #88533 (by rileyinman, 2 days ago, open): iosevka, iosevka-bin: 2.3.3 -> 3.0.1
<GiGa> perhaps I need to use php.buildEnv somehow?
<aanderse> let myphp = php.withExtensions.... in { environment.systemPackages = [ myphp ]
<srhb> GiGa: I think you just need to used "enabled" as the existing list
<aanderse> you have that?
turion has joined #nixos
<srhb> GiGa: So, use all to get your new one, and appent it with enabled, I believe?
<srhb> Bear in mind I'm not versed in this ecosystem, aanderse probably knows it better :)
<GiGa> I think I'm struggling to build the config
<srhb> GiGa: What config exactly?
<aanderse> oh i see
<aanderse> yeah you're adding vanilla php to systemPackages. you need to add your custom php
<GiGa> configuration.nix. I'm using Nixos Containers for this dev environment
<srhb> Oh, you mean you want to access something in the php.ini not covered solely by extensions?
<srhb> If that's the case, yes, the buildEnv example looks like what you want.
<srhb> GiGa: Since it allows extraConfig on top of extensions.
<GiGa> The scenario is, as I understand it, that in order to calculate code coverage I need to add pconv (or similar) to the CLI config for PHP.
<aanderse> sorry i jumped in halfway through without reading full history...
<GiGa> As calling "vendor/bin/codecept" uses the CLI PHP
<GiGa> aanderse: nothing to apologise for, I appreciate all the help
<GiGa> I just don't know enough about Nix but am trying to learn through doing
<srhb> GiGa: What I'm not sure about is whether you want additional php config on top of enabling codecov
<srhb> GiGa: If you just want pcov, withExtensions is enough
<srhb> GiGa: eg php.withExtensions({ all, enabled} : enabled ++ [all.pcov])
<GiGa> srhb: yes, it needs additional config in php.ini it seems
<srhb> Then you want the buildEnv example, yes.
gnidorah has quit [Quit: Connection closed for inactivity]
<srhb> Just replace imagick opcache with pcov, and adjust extraConfig as needed.
asbachb has joined #nixos
<asbachb> Do I get it right, that currently it's only possible to have one `PathChanged` config: https://nixos.org/nixos/options.html#pathconfi
<GiGa> I don't think pconv is part of all
<srhb> GiGa: Oh.
<GiGa> if I use "all.pconv" the configuration builds
<GiGa> but the extension isn't loaded
<srhb> GiGa: Take a look at the php.ini that it builds
zupo has joined #nixos
<{^_^}> [nixpkgs] @markuskowa merged pull request #88256 → avocode: 4.6.2 -> 4.6.3 → https://git.io/JfzM3
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/Jfa5N
<GiGa> Hmm, OK, progress
<GiGa> Let me just check I've done this right...
<aanderse> GiGa: the extension isn't loaded on command line php or httpd php?
<GiGa> aanderse: extension not loaded on the command line
<{^_^}> [nixpkgs] @markuskowa merged pull request #88182 → libfabric: 1.10.0 -> 1.10.1 → https://git.io/JfzYr
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/Jfa5h
<GiGa> Right, I think this is the solution and I now need to fix codeception
<GiGa> Adding this to systemPackages:
<GiGa> (php74.withExtensions({ all, enabled} : enabled ++ [all.pcov]))
<{^_^}> [nixpkgs] @flokli merged pull request #84243 → comedilib: init at 0.11.0 → https://git.io/Jvbai
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/Jfadv
<{^_^}> [nixpkgs] @markuskowa merged pull request #87413 → python27Packages.python-utils: 2.3.0 -> 2.4.0 → https://git.io/JfCN6
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/Jfadf
<GiGa> And then viewing the php.ini additional config as stated via "php -i" shows pcov is being loaded (it's right at the bottom of the file, not in the alphabetical list).
<GiGa> So that's good
<srhb> GiGa: Ah, so it was right.
<srhb> Good :)
<GiGa> So I now need to work out how to add the extra config ("pcov.enabled=1" etc.) to php.ini
<GiGa> srhb: yes, sorry, I expected it to still be sorted alphabetically, not appended.
<GiGa> My bad
<srhb> GiGa: the extraConfig parameter from buildEnv
<GiGa> srhb: I think so, I'm just not sure where to put php.buildEnv in the config
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88772 → spring-boot-cli: 2.2.6 -> 2.3.0 → https://git.io/JfadT
<srhb> GiGa: The short version: pkgs.php.buildEnv { extensions = { all, enabled }: enabled ++ [ all.pcov ]; extraConfig = "pcov.enabled = 1"; }
<srhb> GiGa: Transferring your withExpression to the extensions argument of buildEnv and adding extraConfig, basically.
<{^_^}> [nixpkgs] @cdepillabout merged pull request #88764 → Fix dependencies issues of postgresql-syntax and re+base → https://git.io/Jfa7Y
<{^_^}> [nixpkgs] @cdepillabout pushed 2 commits to haskell-updates: https://git.io/JfadL
<{^_^}> [nixpkgs] @markuskowa merged pull request #85280 → qtstyleplugin-kvantum-qt4: 0.11.2 -> 0.15.
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/Jfadq
<GiGa> aanderse: unexpected LET
<GiGa> Let me pastbin the config
<aanderse> sure, please
<freeman42x[m]1> are these all the possible ways of specifying a way to install a package? https://github.com/fairy-tale-agi-solutions/haskell-editor-setup/pull/104/files#diff-2a75584ae6b7de4ec7a345182ee28423R37
Darkmatter66 has joined #nixos
<GiGa> aanderse: I fully accept my noobness
<srhb> freeman42x[m]1: What do you mean exactly? I mean, given that we can import nix file from wherever, the number of ways to specify even just systemPackages is innumerable.
<aanderse> GiGa: we all start as noobs :D
Darkmatter66_ has quit [Ping timeout: 265 seconds]
<srhb> freeman42x[m]1: In other words, none of my packages are installed from any of the paths you list.
<GiGa> srhb: Is your solution in the systemPackages section or outside of it?
<freeman42x[m]1> srhb: I am obviously only asking about the main ways to install packages
<GiGa> aanderse: true
<srhb> freeman42x[m]1: Okay, that was not obvious to me. I don't have a good gauge of what is more common in the community.
<srhb> GiGa: It doesn't matter. I prefer let... in; like aanderse proposed.
<srhb> GiGa: Keeping my systemPackages free of longer expressions.
<aanderse> and of course you can reuse the expression too then
<GiGa> srhb: I think "let" is probably cleaner. Apparently I just don't know how to do that properly!
<GiGa> aanderse: yep
<GiGa> I'm just letting in the wrong place
<aanderse> currently php.buildEnv + apache httpd is broke, so looking at a workaround...
<srhb> GiGa: Yes, you can't `let ... in ...` in an attrset nakedly
<srhb> GiGa: eg this is illegal
<srhb> > { let foo = 42; in foo; }
<{^_^}> error: syntax error, unexpected LET, at (string):312:3
<srhb> GiGa: This, however, is legal
<GiGa> srhb: is that what I'm doing with the config I've built (https://pastebin.com/zNfKdWGh)
<srhb> > let foo = 42; in { bar = foo; }
<{^_^}> { bar = 42; }
<srhb> GiGa: Yes
<GiGa> I see
<srhb> GiGa: Try floating your let expression to the top of the file, outside the main attrset.
<srhb> GiGa: Just after the top argset, say.
<GiGa> srhb: forgive me, what's an arqset?
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/37d4e29f331 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
<asbachb> Any hints? https://gist.github.com/asbachb/d8c5066eaa24581f53ce049fced2b628#file-gistfile1-txt-L89 - `error: attribute 'coreutils' missing, at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:217:28`
<aanderse> GiGa: i haven't tried to build this yet, but i think this gets you a fair bit closer: https://pastebin.com/FDaTq0ex
<srhb> GiGa: It's short for argument set, the set of arguments at the top of many nixos modules, `{ ... }:`
orivej has quit [Ping timeout: 256 seconds]
orivej_ has joined #nixos
<aanderse> oh maybe Jan Tojnar already fixed services.httpd.phpPackage... nice :D
<srhb> asbachb: It looks like you're trying to pass in coreutils in the NixOS module args
<srhb> asbachb: As if it were an argset passed to callPackage
<srhb> asbachb: It's not.
<srhb> asbachb: The function that composes nixos modules is completely different
<srhb> asbachb: So arbitrary packages are not available like that. Only config, pkgs, options, lib, basically.
<srhb> asbachb: You want to grab coreutils from the pkgs argument.
<GiGa> aanderse: that's much closer now. I can see the php.ini has the extra config now too.
<GiGa> aanderse: so now I just have a codeception config issue, but that's fine
<GiGa> srhb: noted, thanks for the definition
o1lo01ol1o has joined #nixos
<GiGa> aanderse: I had to take out phpCust.composer as that wasn't valid apparently
<aanderse> GiGa: oh... phpCust.packages.composer
<aanderse> sorry
<GiGa> (attribute 'composer' missing(
<GiGa> aanderse: ah, yes, I should have spotted that
<asbachb> srhb: Thanks. Got it fixed.
<GiGa> That now builds
<GiGa> I think I even understand what's going on
<GiGa> Thanks immae, srhb and aanderse
<GiGa> Now to fix codeception :)
meh` has quit [Ping timeout: 264 seconds]
<GiGa> Codeception still says "no code coverage driver available", so I need to work out why that is
<GiGa> but I really appreciate all the help with this folks.
<GiGa> I think there's just one hurdle left
<aanderse> :)
meh` has joined #nixos
<GiGa> I need to take a break, been sat here all morning.
<GiGa> Thank you for your help folks. I'll try to type this up later so I can blog about it once I've got everything working. Hopefully help someone else that way.
<aanderse> GiGa: awesome! good luck. and don't be shy to ask for help if you get stuck again :)
chloekek has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88773 → simgear: 2019.1.1 -> 2020.1.1 → https://git.io/Jfady
<{^_^}> [nixpkgs] @aanderse merged pull request #83287 → nixos/rtorrent: add service → https://git.io/Jvy5k
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/JfadQ
AndersonTorres has joined #nixos
GiGa has quit [Quit: Leaving]
<asbachb> Is nixos 20.03 openssl version 1.0.2?
<bqv> > nixos-20.03.openssl.version
<{^_^}> undefined variable 'nixos-20' at (string):312:1
<bqv> > nixos-20_03.openssl.version
<{^_^}> "1.1.1g"
<bqv> asbachb: ^
<AndersonTorres> Hey! Do we have a nix interpreterb bot??
<bqv> > "No, definitely not"
<{^_^}> "No, definitely not"
<asbachb> Mh. I wonder why `nix-shell -p sslscan` results into `Package ‘openssl-1.0.2u’ in /nix/store/vibyf5af9v3qxlfsj9j25khi0h3c38bd-nixos-20.03.1950.48723f48ab9/nixos/pkgs/development/libraries/openssl/default.nix:132 is marked as insecure, refusing to evaluate.`.
<AndersonTorres> > "sorry for the inconvenience"
<{^_^}> "sorry for the inconvenience"
teto has joined #nixos
<{^_^}> [nixpkgs] @bjornfor merged pull request #88770 → agda: fix typo in library management documentation → https://git.io/Jfa5V
<{^_^}> [nixpkgs] @bjornfor pushed commit from @umazalakain to master « agda: fix typo in library management documentation »: https://git.io/Jfadh
<AndersonTorres> > let me="I'm a newbie"; in "${me}, sorry for the inconvenience"
<{^_^}> "I'm a newbie, sorry for the inconvenience"
<bqv> asbachb: things might still depend on_1_0_2
<bqv> *openssl_1_0_2
<etu> > nixos-20_03.sslscan.buildInputs
<{^_^}> [ <CODE> ]
<etu> meh
<bqv> > nixos-20_03.openssl_1_0_2.version
<{^_^}> "1.0.2u"
<clever> > :p nixos-20_03.sslscan.buildInputs
<bqv> Is in instantiating them…?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<etu> > :p map (p: p.name) nixos-20_03.sslscan.buildInputs
<{^_^}> [ "openssl-1.0.2u" ]
<clever> /home/clever/apps/nixpkgs/pkgs/top-level/all-packages.nix: sslscan = callPackage ../tools/security/sslscan {
<clever> /home/clever/apps/nixpkgs/pkgs/top-level/all-packages.nix- openssl = openssl_1_0_2.override { enableSSL2 = true; };
<clever> when callPackage loads the file, the ssl is changed in 2 ways
mallox has quit [Ping timeout: 256 seconds]
<clever> both the version it starts with, and forcing ssl2 support on
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
<etu> asbachb: Can recommend to look into testssl as well
<etu> > nixos-20_03.testssl.meta.description
orivej has joined #nixos
<{^_^}> "CLI tool to check a server's TLS/SSL capabilities"
<asbachb> clever: Ah. I see.
phnom has joined #nixos
mallox has joined #nixos
rembo10_ has quit [Quit: ZNC 1.7.5 - https://znc.in]
<asbachb> etu: Thanks for the hint.
<{^_^}> [nixpkgs] @shlevy merged pull request #88762 → dockerTools: Properly add /nix/ and /nix/store/ first to layer.tar → https://git.io/JfaHZ
<{^_^}> [nixpkgs] @shlevy pushed 2 commits to master: https://git.io/JfaFE
hmpffff has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88774 → superTux: 0.6.1.1 -> 0.6.2 → https://git.io/JfaF2
<nbp> Has anybody done any domotique hub with Nix/NixOS. I see that we have an home-assistant service, but it lacks addons, and added components are not listed anywhere (?)
<etu> nbp: home-assistant in nixos works, but it's a bit flaky when it comes to components.
<etu> nbp: And if the component doesn't have missing deps it might work
<nbp> etu: I looked at it, but using it with nix-shell did not seems to change any after using extraComponents.
orivej has quit [Read error: Connection reset by peer]
<nbp> I tried to set it up in a nixos-container but it was completely useless, nix-shell is the best result I've got so far.
orivej has joined #nixos
<etu> nbp: I'm not sure why, but the package doesn't care about your extraComponents unless you set an option for the service. It doesn't make any sense.
<etu> nbp: And the entire packaging is horrible
asbachb has quit [Ping timeout: 245 seconds]
<bqv> Damn, I was about to set it up
<nbp> etu: unless you set an option for the service? What do you mean?
<etu> nbp: Check my second link
<nbp> etu: you mean the explicit listing of components?
<{^_^}> [nixpkgs] @rnhmjoj merged pull request #87842 → tamzen: init at 1.11.4 → https://git.io/JfBDQ
<{^_^}> [nixpkgs] @rnhmjoj pushed 3 commits to master: https://git.io/JfabJ
<etu> nbp: services.home-assistant.autoExtraComponents = false;
<nbp> … one last chance to home-assistant, before I fallback on making a static webpage …
orivej has quit [Read error: Connection reset by peer]
peanutbutter144 has joined #nixos
orivej_ has joined #nixos
jakobrs has joined #nixos
<jakobrs> Is there a command that will fix incorrect store dates?
lord| has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88775 → uncrustify: 0.70.1 -> 0.71.0 → https://git.io/JfabO
lord| has joined #nixos
<bqv> The store intentionally has no dates
<jakobrs> Yeah that's what I mean
<jakobrs> I accidentally ... set the dates
<jakobrs> So now everything in the store is dated 24. May 14:07
WilliButz has quit [Remote host closed the connection]
orivej_ has quit [Read error: Connection reset by peer]
orivej has joined #nixos
<jakobrs> I know I can do `find /nix/store -exec touch --date=@0 -am --no-dereference {} +` but I'm not sure if that resets everything correctly.
<srhb> jakobrs: Try and see if repair-path fixes it
<bqv> jakobrs: lmao
<srhb> jakobrs: as in nix-store --repair-path. It'll only work for substitutable paths though
WilliButz has joined #nixos
teto has quit [Ping timeout: 244 seconds]
<srhb> jakobrs: I think manually resetting should work just fine, however it's unix 1 iirc.
<srhb> not 0
<jakobrs> nix-store --repair-path does reset the modify time but not the access time
<jakobrs> I'm assuming that's intentional
knupfer has quit [Ping timeout: 260 seconds]
<jakobrs> Do you know why it's 1 and not 0?
<srhb> jakobrs: I don't. I would guess some bug related to 0.
<srhb> jakobrs: 14bc3ce3d6d5745717fa19b8b43b5fdd117ff757 in nix
<{^_^}> [nixpkgs] @markuskowa merged pull request #87934 → nixos/cde: add extraPackages option → https://git.io/Jf0mk
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/Jfabz
teto has joined #nixos
<jakobrs> ok
thoughtpolice has quit [Read error: Connection reset by peer]
dmj` has quit [Ping timeout: 272 seconds]
<jakobrs> I'm using `unshare -m` followed by `umount -l /nix/store` to directly modify the store in case that matters.
Tritlo has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @markuskowa merged pull request #82242 → disk-filltest: init at 0.8.1 → https://git.io/JvK3H
<{^_^}> [nixpkgs] @markuskowa pushed 3 commits to master: https://git.io/JfabV
mpickering has quit [Ping timeout: 272 seconds]
<srhb> jakobrs: Again I think it's safe to do this manipulation. Every store path you have right now is broken, so I doubt you're _worse_ off, but I don't know for sure. :-)
scoates has quit [Ping timeout: 260 seconds]
davidtwco has quit [Ping timeout: 260 seconds]
orivej has quit [Ping timeout: 258 seconds]
eddyb[legacy] has quit [Ping timeout: 260 seconds]
<srhb> jakobrs: But you can test it out on a subset and check with nix-store --verify --check-contents
orivej has joined #nixos
midchildan has quit [Ping timeout: 260 seconds]
pittma has quit [Ping timeout: 260 seconds]
steveeJ has quit [Ping timeout: 260 seconds]
geekthattweaks has quit [Ping timeout: 272 seconds]
nick_h has quit [Ping timeout: 272 seconds]
thoughtpolice has joined #nixos
Tritlo has joined #nixos
sethetter has quit [Ping timeout: 240 seconds]
zimbatm has quit [Ping timeout: 260 seconds]
sam_w has quit [Ping timeout: 260 seconds]
chrisaw has quit [Ping timeout: 240 seconds]
hamishmack has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @markuskowa merged pull request #88198 → omnisharp-roslyn: 1.35.0 -> 1.35.1 → https://git.io/Jfzc9
<{^_^}> [nixpkgs] @markuskowa pushed 3 commits to master: https://git.io/Jfaby
hmpffff has quit [Quit: nchrrrr…]
raboof has quit [Ping timeout: 260 seconds]
nand0p has quit [Ping timeout: 265 seconds]
terrorjack has quit [Ping timeout: 260 seconds]
zimbatm has joined #nixos
<jakobrs> How long does nix-store --verify --check-contents take? It's been going for a couple of minutes now and it's found five suspicious paths.
sgraf has quit [Ping timeout: 272 seconds]
thoughtpolice has quit [Ping timeout: 260 seconds]
nand0p has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/196cc470050 (from 65 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<srhb> jakobrs: Oh, a long long while I imagine. I thought it took a path argument, maybe I was wrong
chrisaw has joined #nixos
<srhb> jakobrs: I guess it's --verify-path to only check some
<jakobrs> literally just finished 10 seconds ago
<srhb> I guess I'm a pessimist. Sad. :)
chrisaw has quit [Max SendQ exceeded]
<jakobrs> it's interesting though: the paths modified are: extra-utils (twice), systemd-units (twice), virtualbox and lirc
<jakobrs> I guess I'll just do repair-path on those
<srhb> jakobrs: Bear in mind that bitrot will also cause this.
sgraf has joined #nixos
Tritlo has quit [Ping timeout: 260 seconds]
midchildan has joined #nixos
thoughtpolice has joined #nixos
Tritlo has joined #nixos
sethetter has joined #nixos
sam_w has joined #nixos
eddyb[legacy] has joined #nixos
steveeJ has joined #nixos
pittma has joined #nixos
raboof has joined #nixos
chrisaw has joined #nixos
hamishmack has joined #nixos
geekthattweaks has joined #nixos
dmj` has joined #nixos
<{^_^}> [nixpkgs] @talyz merged pull request #86070 → gitAndTools.gitin: init at 0.27.8 → https://git.io/JftFM
<{^_^}> [nixpkgs] @talyz pushed 5 commits to master: https://git.io/JfaNf
mpickering has joined #nixos
orivej has quit [Ping timeout: 272 seconds]
terrorjack has joined #nixos
orivej_ has joined #nixos
aither has quit [Quit: ZNC 1.7.1 - https://znc.in]
scoates has joined #nixos
nick_h has joined #nixos
aither has joined #nixos
<jakobrs> Why do the iso images have so large closures?
<jakobrs> I have a custom iso image here that has a closure size of 1295 paths or 5.7GiB
<jakobrs> I suppose these 1294 dependencies are paths that are "false positives" in a sense?
davidtwco has joined #nixos
<edef> yes
b42 has quit [Ping timeout: 260 seconds]
Gohla has quit [Quit: Bye.]
<edef> since the ISO mentions those paths
<edef> but Nix has no way of knowing they're internal references
<jakobrs> Is there anything I can do about it or am I just supposed to ignore it? I noticed it when uploading the path to a binary cache.
Gohla has joined #nixos
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
<edef> not much you can do about it, but you could just upload the ISO by itself rather than uploading it as a binary cache store path
orivej has joined #nixos
AndersonTorres has quit [Ping timeout: 260 seconds]
AndersonTorres has joined #nixos
<gchristensen> what if you compress it?
<gchristensen> as another build, then decompress it as a final build
<bqv> ghetto removeContext
<jakobrs> How would that work?
orivej has quit [Ping timeout: 246 seconds]
<jakobrs> I mean, can't I just "nix add-to-store ./result/iso/*.iso" for the same effect?
<gchristensen> you can but not as part of a build
orivej has joined #nixos
<bqv> installPhase = "nix add-to-store ./result/iso/*.iso"
<symphorien> the poor man's solution is to rot13 the iso in a derivation, and do it again in another
<jakobrs> Is it possible to locally change a part of NIX_PATH inside an expression?
<jakobrs> So that I could do
<gchristensen> bqv: that doesn't work without recursive nix, and since the inputs would still be inputs it wouldn't work
<bqv> Aw
<gchristensen> you need a step where there are no relevant inputs for nix to scan in the output
<jakobrs> let original = with-path "nixos-config=./file.nix"; (import <nixpkgs/nixos> {}).config.system.build.isoImage
<bqv> Why not just import ./file.nix?
<jakobrs> where `with-path "path"; expr` evaluates to what `expr` would evaluate to if "path" was prepended to the path
<{^_^}> [nixpkgs] @jtojnar closed pull request #57614 → Librem5 phone apps → https://git.io/fjeCX
<jakobrs> bqv: because I'm not importing <nixos-config>, some file in <nixpkgs/nixos> is
<gchristensen> jakobrs: you can just pass the config file as an option
dingenskirchen1 has joined #nixos
<jakobrs> `-I nixos-config=$PWD/file.nix`
dingenskirchen has quit [Ping timeout: 260 seconds]
dingenskirchen1 is now known as dingenskirchen
<bqv> No, as an option to nixos
<jakobrs> oh
<gchristensen> import <nixpkgs/nixos> { configuration = import ./file.nix; };
<jakobrs> But would it theoretically be possible to have something like `with-path` above?
<gchristensen> less nixos/default.nix -> { configuration ? import ./lib/from-env.nix "NIXOS_CONFIG" <nixos-config>, system ? builtins.currentSystem }:
<gchristensen> only with scopedImport, and it is not advisable as it is very slow, and it is much better to be explicit about passing inputs
<talyz> energizer: Well, I'm using bind mounts in the module since it's generally more transparent than symlinks and was easy to implement. It likely doesn't make any big difference in most cases, though.
<jakobrs> I mean as a new primitive
<jakobrs> Not that there's any reason for it, just theoretically.
<gchristensen> it is already possible, just not a good idea :)
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
<emily> til scopedImport
raghavsood has joined #nixos
<raghavsood> ,channels
<{^_^}> Largest Nix channels: #nixos, #nixos-dev, #nixos-chat, #nixos-aarch64, #nixos-security, #nixcon, #nixos-officehours, #nixops, #haskell.nix, #nix-darwin, #nixos-de, #nixos-emacs, #nixos-on-your-router, #nixos-nur, #nix-lang, #nixos-fr, #nixos-systemd, #nixos-borg, #nixos-wiki
<{^_^}> [nixpkgs] @Infinisil merged pull request #88743 → python27Packages.Wand: 0.5.9 -> 0.6.1 → https://git.io/Jfa1l
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/JfaAv
b42 has joined #nixos
<raghavsood> I'm trying to package a program that requires a db set up command (`app --install`) to be run every time the db config is changed. What would be the most idiomatic way to do that in a nix module? Looking for something like `if cfg.db has changed`
<bqv> Is it not idempotent?
dermetfan has joined #nixos
<bqv> Theres an onChanged hook, somewhere
<raghavsood> It is not idempotent - if you run it on an already set up db, it will drop the entire database and recreate a new, empty one
<infinisil> bqv: That's a home-manager thing
<infinisil> raghavsood: Can you give more info?
<bqv> Ah
agsdheidjd has quit [Ping timeout: 260 seconds]
waleee-cl has joined #nixos
calbrecht has quit [Ping timeout: 272 seconds]
iyzsong has quit [Ping timeout: 260 seconds]
calbrecht has joined #nixos
<raghavsood> infinisil: The app in question is https://github.com/knadh/listmonk - I wasn't looking towards home manager since it is something you'd usually put on a server.
<raghavsood> to set it up, you give it credentials to postgres, then run `listmonk --install`, which sets up the schema
agsdheidjd has joined #nixos
<raghavsood> Which also brings me to a follow up question - is it idiomatic to have the module for `listmonk` auto enable postgres? listmonk cannot run without postgres, so that feels necessary. The gitea module also enables postgres if you set the postgres options, so I feel like it is idiomatic
linarcx has joined #nixos
<infinisil> Yeah that's idiomatic
<infinisil> raghavsood: Now what does "the db config is changed" mean? How do you know it changed?
<jakobrs> Is there a function to get the name of a package from its outPath?
<bqv> No
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88776 → vamp-plugin-sdk: 2.9 -> 2.10 → https://git.io/JfaAz
opthomasprime1 has joined #nixos
Chiliparrot has joined #nixos
<raghavsood> infinisil: I'm here because I can't find a way to know if it is changed :D. By `changed`, I mean that if the postgres connection settings (namely host, database, user) have been updated (do not match their previous settings). Alternatively, I'm considering running a simple bash script in `ExecStartPre` that connects, checks to see if the db has the
<raghavsood> listmonk tables already, and runs the install step if it does not
<raghavsood> The whole `do not match their previous settings` is a bit iffy since I don't necessarily want to clobber the db if someone just wants to change the user and still use their old db
<raghavsood> `ExecPreStart` scripts might be the only useful option
<infinisil> Checking if it exists already sounds like the most reasonable solution
opthomasprime1 has quit [Remote host closed the connection]
<raghavsood> Right then, seems like that's the route I'll be taking
<raghavsood> infinisil: thanks!
opthomasprime1 has joined #nixos
<infinisil> You might want to take a look at postgres' ensureUser and ensureDatabase options
<infinisil> These do something similar
opthomasprime1 has left #nixos [#nixos]
turion has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @bjornfor merged pull request #88775 → uncrustify: 0.70.1 -> 0.71.0 → https://git.io/JfabO
<{^_^}> [nixpkgs] @bjornfor pushed commit from @r-ryantm to master « uncrustify: 0.70.1 -> 0.71.0 »: https://git.io/JfaAK
<jakobrs> It uses rot13 from the pkgs.bsdgames package
<raghavsood> Looks like ensureUser and ensureDatabase will help make sure listmonk's user and database are good to go, but can't actually verify the schema
<jakobrs> And it does legitimately work:
<jakobrs> $ nix-store -qR ./result
<jakobrs> /nix/store/zg1mgwzx5clkl01mi3a7a3y6kwja4k1k-second-layer
<{^_^}> [nixpkgs] @talyz merged pull request #82753 → engelsystem: init at 3.1.0 → https://git.io/JvPgA
<{^_^}> [nixpkgs] @talyz pushed 5 commits to master: https://git.io/JfaAX
dragonker has joined #nixos
<{^_^}> [nixpkgs] @adisbladis merged pull request #87889 → pulseaudio: enable soxr (resampler) support → https://git.io/JfRWa
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to staging: https://git.io/JfaAQ
<dragonker> hello, everybody! I have read everything i could find to enable virtualization with qemu/kvm but still says that it could not detect a default hypervisor
<dragonker> weirder, the service starts active after boot but soon stops
<dragonker> systemctl says the following
<dragonker> May 24 10:22:53 outlands dnsmasq[1030]: reading /etc/resolv.confMay 24 10:22:53 outlands dnsmasq[1030]: using nameserver 192.168.0.1#53May 24 10:22:53 outlands dnsmasq[1030]: read /etc/hosts - 3 addressesMay 24 10:22:53 outlands dnsmasq[1030]: read /var/lib/libvirt/dnsmasq/default.addnhosts - 0 addressesMay 24 10:22:53 outlands dnsmasq-dhcp[1030]:
<dragonker> read /var/lib/libvirt/dnsmasq/default.hostsfileMay 24 10:24:51 outlands systemd[1]: libvirtd.service: Succeeded.
<dragonker> May 24 10:22:53 outlands dnsmasq[1030]: reading /etc/resolv.confMay 24 10:22:53 outlands dnsmasq[1030]: using nameserver 192.168.0.1#53May 24 10:22:53 outlands dnsmasq[1030]: read /etc/hosts - 3 addressesMay 24 10:22:53 outlands dnsmasq[1030]: read /var/lib/libvirt/dnsmasq/default.addnhosts - 0 addressesMay 24 10:22:53 outlands dnsmasq-dhcp[1030]:
<dragonker> read /var/lib/libvirt/dnsmasq/default.hostsfileMay 24 10:24:51 outlands systemd[1]: libvirtd.service: Succeeded.
<dragonker> Ah, sorry. Tried to create newlines between messages
<jakobrs> Is it considered better to do "${from}" or `$from` and `inherit from;`?
<bqv> those are not equivalent
<jakobrs> I know they're not equivalent; that's why I'm asking if one is preferred
<bqv> to do what?
<commandocrypto[m> I would be shocked if a db setup command wasnt idempotent (for a particular checkout of the project). How could it be different each time??
<jakobrs> See the rot13.nix file from the gist I just created
<adisbladis> There is no "better" here
<bqv> although, at least if you use {} then it'll be typechecked
<bqv> well, not typechecked, but, syntax checed
<adisbladis> In this case I'd actually prefer `inherit`
<raghavsood> commandocrypto[m: It's not so much so that it is different (the resulting schema will always be the same). It's just that it will clobber any data you have in your db, you always end up with empty tables: https://github.com/knadh/listmonk/blob/master/install.go#L26
<bqv> that would too, yeah
<adisbladis> Because it will cause less rebuilds for the builder script
<jakobrs> yeah right because it's the same script, just with different values of `$from` each time
<jakobrs> I mean, in the real world I should probably have written the builder script in a separate file, and then I'd have to use `inherit from;` anyway.
cr4y1 has joined #nixos
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
jakobrs has left #nixos ["WeeChat 2.7.1"]
kaliumxyz has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @marsam merged pull request #88737 → python27Packages.unidiff: 0.5.5 -> 0.6.0 → https://git.io/Jfa6o
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jfax3
<{^_^}> [nixpkgs] @marsam merged pull request #88747 → yara: 3.11.0 -> 4.0.1 → https://git.io/JfaDB
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jfaxn
zebrag has joined #nixos
turion has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88777 → wesnoth: 1.14.11 -> 1.14.12 → https://git.io/Jfax8
orivej has quit [Quit: No Ping reply in 180 seconds.]
<{^_^}> [nixpkgs] @marsam merged pull request #88755 → python27Packages.stripe: 2.47.0 -> 2.48.0 → https://git.io/JfayP
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jfaxz
orivej has joined #nixos
<{^_^}> [nixpkgs] @claudiiii opened pull request #88778 → ripcord: 0.4.24 -> 0.4.25 → https://git.io/Jfaxg
dragonker has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @symphorien opened pull request #88779 → boolector: 3.0.0 -> 3.2.1 → https://git.io/JfaxV
evils has quit [Quit: Lost terminal]
agsdheidjd has quit [Ping timeout: 264 seconds]
evils has joined #nixos
evils has quit [Remote host closed the connection]
evils has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88780 → tor: 0.4.2.7 -> 0.4.3.5 → https://git.io/Jfaxi
drakonis has joined #nixos
drakonis_ has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos
alexherbo2 has joined #nixos
evils has quit [Quit: Lost terminal]
wnklmnn has joined #nixos
evils has joined #nixos
drakonis has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @rnhmjoj merged pull request #87676 → katago: 1.3.5 -> 1.4.2 → https://git.io/Jf8rl
<{^_^}> [nixpkgs] @rnhmjoj pushed 2 commits to master: https://git.io/Jfaxh
orivej_ has joined #nixos
<bqv> what's the healthiest way to nixos-infect these days?
orivej has quit [Read error: Connection reset by peer]
<clever> bqv: my kexec stuff is probably the simplest now
<LnL> I've used clever's kexec thing a few times
<LnL> only scary part there is partitioning but never had any problems with it
<bqv> excellent, ok
<jluttine[m]> Are instructions about Python development mode in section "15.17.1.2.3. Develop local package" in https://nixos.org/nixpkgs/manual/ up to date? It seems to me that my package gets actually installed to store instead of symlinked to my working directoy.. I might be doing something else wrong too..
nschoe has joined #nixos
misasaki has joined #nixos
misasaki has quit [Client Quit]
<fps> hmm, i have an overlay https://paste.debian.net/1148576/ and a nix expression https://paste.debian.net/1148577/
evanjs has quit [Ping timeout: 246 seconds]
<fps> in combination they work to install my little package..
EatThem has joined #nixos
evils has quit [Quit: Lost terminal]
<fps> now i wonder how to use nix-env to get a development shell. i tried this: nix-shell -E 'with import <nixpkgs> {}; (python37Packages.callPackage ../ogfx-ui.nix {})'
<flokli> adisbladis++
<{^_^}> adisbladis's karma got increased to 88
<fps> but i don't get e.g. jalv or ogfx-tools build outputs in my path
cole-h has joined #nixos
<{^_^}> [nixpkgs] @davidtwco opened pull request #88782 → mdcat: 0.17.0 -> 0.17.1 → https://git.io/Jfap0
<emily> bqv: the kexec stuff is also in nixos-generators, fwiw https://github.com/nix-community/nixos-generators
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
<emily> hmmm, I guess it's stuck on a revision from 2018-05-20 :|
<fps> ,channels
<{^_^}> Largest Nix channels: #nixos, #nixos-dev, #nixos-chat, #nixos-aarch64, #nixos-security, #nixcon, #nixos-officehours, #nixops, #haskell.nix, #nix-darwin, #nixos-de, #nixos-emacs, #nixos-on-your-router, #nixos-nur, #nix-lang, #nixos-fr, #nixos-systemd, #nixos-borg, #nixos-wiki
orivej has joined #nixos
<bqv> heh, yeah
iwq has quit [Ping timeout: 246 seconds]
numkem has joined #nixos
<{^_^}> [nixpkgs] @NickHu opened pull request #88783 → libayatana-appindicator: init at 0.5.4 libayatana-indicator: init at 0.6.3 ayatana-ido: init at 0.4.90 → https://git.io/JfapM
<{^_^}> [nixpkgs] @NickHu opened pull request #88784 → redshift: enable appindicator support → https://git.io/Jfap9
<{^_^}> [nixpkgs] @NickHu opened pull request #88785 → parcellite: enable appindicator support → https://git.io/Jfapb
chiastre has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @NickHu opened pull request #88786 → clipit: enable appindicator support → https://git.io/Jfaph
rembo10 has joined #nixos
rembo10 has quit [Client Quit]
rembo10 has joined #nixos
iwq has joined #nixos
evils has joined #nixos
<raghavsood> Is there a normal pattern for ConditionPathExists in systemd units? Regarding my previous "Single run init command" for a module, I'm currently looking to set up a oneshot service. A lockfile would help ensure it isn't run on reboots. Where should such a lock file go?
<cole-h> lovesegfault: Reason I pinged you yesterday was to talk about the nixpkgsPath nixops PR
<cole-h> lovesegfault: I was wondering if you ever experimented with actually running it, because I'm not seeing how it would work (unless it's just framework for the Python wizards to come along and actually implement)
rembo10 has quit [Client Quit]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #88441 → systembus-notify: init at 1.0 → https://git.io/JfgLu
<{^_^}> [nixpkgs] @matthewbauer pushed commit from @oxalica to master « systembus-notify: init at 1.0 (#88441) »: https://git.io/JfahO
agsdheidjd has joined #nixos
<cole-h> (I started to write some more docs for it but then realized that `nixpkgsPath` isn't an argument to the default.nix, and eval-machine-info.nix isn't exposed anywhere)
vidbina has joined #nixos
rembo10 has joined #nixos
EatThem has quit [Quit: Leaving]
philr_ has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @flokli merged pull request #88683 → lieer: 1.1 -> 1.2 → https://git.io/Jfani
<{^_^}> [nixpkgs] @flokli pushed 3 commits to master: https://git.io/Jfahl
rembo10 has quit [Quit: ZNC 1.8.0 - https://znc.in]
Diogo has quit [Quit: The Lounge - https://thelounge.chat]
<bqv> Broadcast message from root@kexec (Sun 2020-05-24 16:00:01 UTC):
<bqv> The system is going down for reboot at Sun 2020-05-24 16:05:01 UTC!
<bqv> o_O
Diogo has joined #nixos
<bqv> and again...
<bqv> why does it want to reboot?
<clever> bqv: its configured to reboot every hour at the end of the hour
<clever> bqv: you can cancel with `shutdown -c`
<clever> bqv: and entirely block it with `systemctl stop autoreboot.timer`
<{^_^}> [nixpkgs] @calbrecht opened pull request #88787 → python: extend python test with site-packages import → https://git.io/Jfah1
<clever> bqv: its there so if you get the network config wrong and lock yourself out, it restores control to the previous OS
pamplemousse has joined #nixos
<bqv> right
<bqv> that makes sense
rembo10 has joined #nixos
orivej has quit [Ping timeout: 258 seconds]
orivej_ has joined #nixos
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
alexherbo25 has joined #nixos
alexherbo2 has quit [Ping timeout: 272 seconds]
alexherbo25 is now known as alexherbo2
<{^_^}> [nixpkgs] @vcunat pushed to release-20.03 « Merge #87237: gcc10, gfortran10: init at 10.1.0 »: https://git.io/JfahN
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
rembo10 has quit [Quit: ZNC 1.8.0 - https://znc.in]
orivej has joined #nixos
<{^_^}> [nixpkgs] @kampka opened pull request #88788 → wesnoth: 1.14.11 -> 1.14.12 → https://git.io/Jfajm
rembo10 has joined #nixos
<{^_^}> [nixpkgs] @puckipedia opened pull request #88789 → Request ZFS/LUKS passwords via Plymouth → https://git.io/Jfajn
orivej has quit [Quit: No Ping reply in 180 seconds.]
drakonis has joined #nixos
orivej has joined #nixos
drakonis_ has quit [Ping timeout: 272 seconds]
orivej has quit [Quit: No Ping reply in 180 seconds.]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88790 → amass: 3.6.1 -> 3.6.2 → https://git.io/JfajK
orivej has joined #nixos
domogled has quit [Ping timeout: 256 seconds]
rembo10 has quit [Quit: ZNC 1.8.0 - https://znc.in]
rembo10 has joined #nixos
jco has joined #nixos
jco has quit [Client Quit]
<{^_^}> [nixpkgs] @Mic92 closed pull request #60996 → Warn on deprecated /var/run in shell paths → https://git.io/JfajD
pamplemousse has quit [Ping timeout: 272 seconds]
numkem has quit [Ping timeout: 258 seconds]
<NickHu> I'd like to get more involved with nixpkgs, and I've gotten a fair few number of prs merged over the years. I've just been reading https://github.com/NixOS/nixpkgs/issues/50105, and I was just wondering if anyone closer to the project could give me feedback as to whether or not I meet the criteria. If not, I'd also welcome suggestions on what I could be doing better to become more involved :)
<{^_^}> #50105 (by Infinisil, 1 year ago, open): New nixpkgs committers requirements/process
nschoe has quit [Ping timeout: 256 seconds]
user_0x58 has joined #nixos
<cole-h> NickHu: I don't think it's just PR count, but whether somebody else (dunno if it has to be a current committer or not) thinks you're doing an exemplary job helping out NixOS/nixpkgs.
<asymmetric> is it ok to use yarn2nix for a packge in nixpkgs? or should i use the npm workflow?
ddellacosta has joined #nixos
orivej has quit [Ping timeout: 256 seconds]
justanotheruser has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @romildo opened pull request #88791 → nixos/lumina: use xsession provided → https://git.io/JfVeL
linarcx has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
gustavderdrache has joined #nixos
linarcx has joined #nixos
<NickHu> cole-h: Yeah, I know it's more than PR count. I guess I'm really asking for feedback on how I'm doing with respect to contributing to nixpkgs
drakonis has quit [Ping timeout: 260 seconds]
abathur has quit [Quit: abathur]
<{^_^}> [nixpkgs] @marsam merged pull request #88790 → amass: 3.6.1 -> 3.6.2 → https://git.io/JfajK
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfVel
<cole-h> Well, I'm not an authoritative source on this (not a committer either), but I think you could do more with respect to *other people's* PRs. `is:pr reviewed-by:nickhu -author:nickhu` shows 3 total, whereas `reviewed-by:cole-h -author:cole-h` shows 79 total!
<cole-h> (Granted, many of these are me restarting borg evals because of GitHub API weirdness, but I hope you get my point.)
<chrisaw> Folks - I have a really strange issue - trying to use the Vivaldi browser. The package for it has 2 options: proprietaryCodecs and enableWidevine - both of which I've set via nixpkgs.config.vivaldi = { }; but they're being completely ignored (on 20.09) - any ideas?
drakonis1 has joined #nixos
tobeportable has quit [Ping timeout: 272 seconds]
<cole-h> chrisaw: I don't think that's how you set those options -- you need to override the package itself to enable them.
<cole-h> > pkgs.vivaldi.override { proprietaryCodecs = true; enableWidevine = true; }
<{^_^}> "<derivation /nix/store/dfkpvxsc2al15rxg6jbykjry4gmk0j3z-vivaldi-3.0.1874.38-1.drv>"
cosimone has joined #nixos
<chrisaw> cole-h: Ahhh, that makes a lot more sense. Probably using outdated syntax - just found the snippet online.
<chrisaw> Follow-up question - how can I then add that package to my environment.systemPackages value?
<{^_^}> [nixpkgs] @marsam merged pull request #88771 → stress-ng: 0.11.08 -> 0.11.10 → https://git.io/Jfa5P
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfVeE
<cole-h> Without crafting an overlay, you could do: `environment.systemPackages = [ pkgs.asdf (pkgs.vivaldi.override { proprietaryCodecs = true; enableWidevine = true; }) pkgs.jkl ];`
<cole-h> Note the parentheses: otherwise it'll look for a package `pkgs.vivaldi.override` and a package `{ proprietaryCodex = true; enableWidevine = true; }`
<cole-h> (or something to that effect)
<chrisaw> cole-h: +1000 beers for you! That's EXACTLY what I did wrong and exactly the problem I faced. :D
<cole-h> :^)
<NickHu> cole-h: That's a good point. Seeing as most of the PRs are about bumping versions, it seems like a review is a bit redundant. Other than that it's difficult to find PRs that I'm interested in
<cole-h> NickHu: Even reviews for version bumps are invaluable. Otherwise, it falls to somebody else, and that person may not come by in a long while.
drakonis has joined #nixos
<NickHu> But for a version bump, are you suggesting that we should test the application works extensively or that just checking that it builds is fine? Because in the case of the latter, a review wouldn't be doing anything OfBorg isn't
<cole-h> Well, ofborg is only a bot :) Human reviews >>> bot reviews.
nschoe has joined #nixos
<LnL> having somebody who actually uses a project test it is very useful to check for issues that a build wouldn't catch
commandocrypto[m is now known as comrandroxaos[m]
<cole-h> The way I usually test PRs is `nix-shell -p nixpkgs-review --run 'nixpkgs-review pr #####'`, then test the produced binar(y/ies). If it's a graphical application, I'll run it and click around. If it's a CLI application, I'll `binary --help` and then run it and make sure it doesn't segfault or something
imalsogreg has joined #nixos
<{^_^}> [nixpkgs] @romildo opened pull request #88792 → plano-theme: 3.34-2 -> 3.36-1 → https://git.io/JfVei
noudle has quit []
<cole-h> The only times I drop a review and don't test /that/ in-depth are when they require some sort of infrastructure (e.g. if I wanted to test a Hashicorp Vault update -- I don't have a vault setup, so I can't really do much there)
orivej has quit [Quit: No Ping reply in 180 seconds.]
<LnL> that has a nixos test :)
<cole-h> Just an example :P
<LnL> yeah I know, we can't feasibly do that for every package
abathur has joined #nixos
orivej has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #88782 → mdcat: 0.17.0 -> 0.17.1 → https://git.io/Jfap0
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfVeX
<imalsogreg> I'm having some trouble learning to use hydra. When I add a project that links to the github.com/shlevy/declarative-hydra-example, the evaluation of `.jobsets` fails with a database error. (`DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception: DBD::Pg::st execute failed: ERROR: null value in column "type" violates not-null constraint`). Anyone know how I can debug?
justanotheruser has joined #nixos
<{^_^}> [nixpkgs] @veehaitch opened pull request #88793 → nodePackages.redoc-cli: init at 0.9.8 → https://git.io/JfVeS
<{^_^}> [nixpkgs] @dywedir opened pull request #88794 → k6: 0.24.0 -> 0.26.2 → https://git.io/JfVe9
<emily> cole-h: you probably want to include commenter: not just reviewed-by:
<emily> since the latter only shows up if you remember to click the specific github review ui
<cole-h> Which brings the totals to 8 and 124, respectively.
<emily> sure
<cole-h> (I only used reviewed-by because that's what is used in the "give this person committer because they're really cool" thread)
<emily> tbh I don't think comparing/worrying about specific numeric totals is really productive, people can contribute to nixpkgs in varied ways
<emily> I do wish there were more concrete standards/procedures for commit access but I'm not sure ">N PR reviews" is really the right way to decide that
<cole-h> I agree. I was just trying to demonstrate some areas in which they could feasibly do more.
<emily> especially since, frankly, I've seen some pretty bad reviews sometimes too; I get the desire to established sustained participation but I think focusing on quantity is a mistake
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88795 → bitwarden_rs-vault: 2.13.2b -> 2.14.0 → https://git.io/JfVed
Rusty1 has joined #nixos
<{^_^}> hydra#762 (by knl, 1 week ago, merged): Fix declarative jobset missing type value
orivej_ has joined #nixos
orivej has quit [Ping timeout: 272 seconds]
quinn has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #88730 → python37Packages.pyftdi: 0.49.0 -> 0.51.2 → https://git.io/JfarG
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfVej
<imalsogreg> lopsided98: Thanks! Trying that out.
alexherbo21 has joined #nixos
alexherbo2 has quit [Ping timeout: 260 seconds]
alexherbo21 is now known as alexherbo2
mac10688 has quit [Quit: WeeChat 2.7.1]
mac10688 has joined #nixos
<{^_^}> [nixpkgs] @veprbl merged pull request #88766 → snakemake: 5.16.0 -> 5.17.0 → https://git.io/Jfa7w
<{^_^}> [nixpkgs] @veprbl pushed commit from @r-ryantm to master « snakemake: 5.16.0 -> 5.17.0 (#88766) »: https://git.io/JfVvZ
zebrag has quit [Ping timeout: 240 seconds]
<asymmetric> can anyone help debug why an npm package build fails with "EACCES: permission denied, mkdir /homeless-shelter"?
zebrag has joined #nixos
vidbina has quit [Ping timeout: 256 seconds]
<cole-h> Because it's trying to access $HOME, which is set to /homeless-shelter (a non-existent directory)
<cole-h> Try `export HOME=$(mktemp -d)` in the preBuild or some other phase
<{^_^}> [nixpkgs] @flokli pushed to master « lieer: use fetchFromGitHub instead of fetchPypi »: https://git.io/JfVvc
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
tobeportable has joined #nixos
orivej_ has quit [Ping timeout: 265 seconds]
orivej has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #88725 → nixos/networkmanager: apply --filter-policy=STRICT to modemmanager service → https://git.io/JfaVF
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JfVv0
<hyper_ch_> nixos unstable still stuck... :(
marsh has quit [Ping timeout: 272 seconds]
rogue_koder has quit [Remote host closed the connection]
rogue_koder has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #88570 → qboot: 20170330 -> 20200423 → https://git.io/Jf2Z9
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JfVvw
rembo10 has quit [Quit: ZNC 1.8.0 - https://znc.in]
numkem has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #88765 → sqlcipher: 4.3.0 -> 4.4.0 → https://git.io/Jfa73
<{^_^}> [nixpkgs] @marsam pushed 4 commits to master: https://git.io/JfVvo
rembo10 has joined #nixos
<numkem> clever: for posterity, since I deleted my local nix config, my hydra binary cache is being used by just having nix.binaryCaches and nix.binaryCachePublicKeys defined. The whole problem was because of the weird merge with the local config.
cosimone has quit [Ping timeout: 260 seconds]
cosimone has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #88704 → python37Packages.mpv: 0.4.5 -> 0.4.6 → https://git.io/Jfaz8
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfVv6
phnom has quit [Quit: Konversation terminated!]
mallox has quit [Quit: WeeChat 2.8]
user_0x58 has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #88700 → python27Packages.pdf2image: 1.10.0 -> 1.13.1 → https://git.io/JfaEZ
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfVv9
<{^_^}> [nixpkgs] @Infinisil merged pull request #88778 → ripcord: 0.4.24 -> 0.4.25 → https://git.io/Jfaxg
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/JfVvA
morgrimm has joined #nixos
<morgrimm> Hey folks - quick question. I'm setting up acme cert refreshes, and then hooking them into nginx vhosts with useACMEHost
<morgrimm> Is there a specific setting I need to turn on to make acme set the correct cert perms?
<morgrimm> nginx can't read the permissions, and I've tried setfacl to set them manually, but it doesn't have any effect
<morgrimm> setting the acme group/allowKeysFromGroup to nginx also didn't work, but I'd rather not do that either way
<morgrimm> Ah, shit - the cert is already created, and looks like #48845 got re-opened.
<{^_^}> https://github.com/NixOS/nixpkgs/issues/48845 (by arianvp, 1 year ago, open): nixos/acme: allowKeysForGroup has no effect after cert is already created
<morgrimm> Guess I'll refresh it lol
<NickHu> emily: Yeah, I think you make valid points. In general I wouldn't think to look at other people's PRs because it seems kind of artificial for me to test something just because a PR exists, rather than actually using the software - for instance, I might miss something that is blindingly obvious to someone who knows what the program is supposed to do
<NickHu> That being said thanks for your feedback cole-h, I've tried to do a few more reviews today to add value :)
Soo_Slow has joined #nixos
hmpffff has joined #nixos
ilios has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88796 → cheat: 3.10.0 -> 3.10.1 → https://git.io/JfVfI
orivej has quit [Quit: No Ping reply in 180 seconds.]
abathur has quit [Quit: abathur]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88797 → circleci-cli: 0.1.7523 -> 0.1.7868 → https://git.io/JfVfW
orivej has joined #nixos
<{^_^}> [nixpkgs] @NinjaTrappeur opened pull request #88798 → prosody: 0.11.3 -> 0.11.5 → https://git.io/JfVf4
justanotheruser has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @Julow opened pull request #88799 → Declare several versions of OCamlformat → https://git.io/JfVfE
mac10688 has quit [Quit: WeeChat 2.7.1]
mac10688 has joined #nixos
Rusty1 has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
chloekek has quit [Ping timeout: 256 seconds]
user_0x58 has joined #nixos
pamplemousse has joined #nixos
<lovesegfault> cole-h: hey
<lovesegfault> I didn't try it yet, no
<lovesegfault> I assumed there was some more glue needed
<lovesegfault> cc. adisbladis
<cole-h> Yep, there is
<cole-h> I already talked with adisbladis about it -- he has something cooking, but has work to do elsewhere first.
<{^_^}> [nixpkgs] @marsam merged pull request #88772 → spring-boot-cli: 2.2.6 -> 2.3.0 → https://git.io/JfadT
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfVfy
<clever> numkem: ah, that would explain things
<lovesegfault> cole-h: got it :)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88801 → clightd: 4.0 -> 4.1 → https://git.io/JfVf7
dxtr has joined #nixos
dxtr has quit [Client Quit]
andi- has quit [Ping timeout: 260 seconds]
<asymmetric> cole-h: thanks :)
Chiliparrot has joined #nixos
noudle has joined #nixos
morgrimm has quit [Ping timeout: 256 seconds]
ddellacosta has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88802 → cloudflare-wrangler: 1.9.0 -> 1.9.1 → https://git.io/JfVJU
<lovesegfault> Eh, how can I disable tests for a haskell package in my overlay?
<lovesegfault> the package in question is haskellPackages.x509
fendor_ has joined #nixos
<cole-h> `.overrideAttrs ({ ... }: { doCheck = false; })`?
<cole-h> Or does that not work for haskellPackages
<lovesegfault> the problem is if I write `haskellPackages.foobar = super.haskellPackages.foobar...` I will erase all other haskellPackages
<lovesegfault> since I am overlaying the whole attrset
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88803 → codespell: 1.16.0 -> 1.17.1 → https://git.io/JfVJl
<cole-h> lovesegfault: `haskellLib.dontCheck super.foobar` maybe
<lovesegfault> cole-h: wat
fendor has quit [Ping timeout: 258 seconds]
dingenskirchen has quit [Remote host closed the connection]
<cole-h> `x509 = super.haskellLib.dontCheck super.x509;` or something
dingenskirchen has joined #nixos
smatting has joined #nixos
fendor_ has quit [Remote host closed the connection]
morgrimm has joined #nixos
andi- has joined #nixos
fendor has joined #nixos
justanotheruser has joined #nixos
pamplemousse has quit [Ping timeout: 240 seconds]
<craftyguy> has anyone set up ccache for nix-build?
zupo has joined #nixos
<{^_^}> [nixpkgs] @anmonteiro opened pull request #88804 → cockroachdb: 19.1.5 -> 20.1.0 → https://git.io/JfVJo
fusion809 has quit [Remote host closed the connection]
<craftyguy> or maybe that's what ccacheStdenv is supposed to provide?
<nbp> etu: Ok, I finally managed to get tasmota devices appearing in home-assistant, many configuration issues in mosquitto to get messages going through the MQTT server.
orivej has quit [Ping timeout: 260 seconds]
<morgrimm> Anyone find a workaround for nginx read permissions on acme certs?
marsh has joined #nixos
fendor has quit [Read error: Connection reset by peer]
fendor has joined #nixos
orivej has joined #nixos
<emily> morgrimm: you should probably just chmod manually after setting allowKeysForGroup
<energizer> my nixos has lately been failing to wake from suspend. screen turns on but black. how to debug?
<emily> morgrimm: I recommend making an acme group, having certificates owned by acme:acme, turning on allowKeysForGroup, and adding nginx to the acme group, but the defaults of the enableACME are to just set the certificate user/group to nginx
<etu> nbp: Hooray 🎉
<nk3> i'm happy that i don't need to fiddle with certbot ever again after trying nixos :)
drakonis1 has quit [Ping timeout: 258 seconds]
<morgrimm> emily: After reading the roundup of issues atm, I did that for now - I think I missed a step though. The cert group is acme, and has allowKeys set to acme as well - nginx has acme as an extra group
<morgrimm> permissions look right on the cert files themselves
<morgrimm> But the nginx service still doesn't have perms to load them
<morgrimm> I don't have an acme user though - the certs are still root owned
user_0x58 has quit [Remote host closed the connection]
medvid has quit [Quit: WeeChat 2.3]
user_0x58 has joined #nixos
slack1256 has joined #nixos
medvid has joined #nixos
<symphorien> I have a slow connection to some machine to which nix copy some derivation
<symphorien> is it possible to have the receiving machine use the binary cache to fetch some of the dependencies ?
<{^_^}> [nixpkgs] @marsam merged pull request #88797 → circleci-cli: 0.1.7523 -> 0.1.7868 → https://git.io/JfVfW
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfVUC
<{^_^}> [nixpkgs] @fiksn opened pull request #88806 → SleepyHead: use qt5.makeDerivation and fix for Darwin → https://git.io/JfVUW
<{^_^}> [nixpkgs] @NinjaTrappeur opened pull request #88807 → prosody: add passthru tests → https://git.io/JfVU0
drakonis1 has joined #nixos
cryptomonad has joined #nixos
<emily> morgrimm: are you sure the running service has picked up the group change?
<emily> morgrimm: I strongly suggest against having certs owned by root because it means lego runs as root.
<morgrimm> I hope so - I've rebuilt nixos, and rebooted the machine, so I hope it picked it up on restart
<pie_> Profpatsch: ldlework and styx; <ldlework> The thing I like about using Nix for this, is that you can just whip up secondary tools and bring in anything you want to process your data however you'd like.
<morgrimm> emily: Do you recommend chowning each cert dir based on the user the service using it is running?
<morgrimm> i.e. my domain is run by nginx, so I should just manually chown the cert dir for nginx?
<{^_^}> [nixpkgs] @romildo opened pull request #88808 → matcha-gtk-theme: 2020-05-09 -> 2020-05-24 → https://git.io/JfVU1
<emily> morgrimm: I personally think the best setup is to have an acme user/group used for all cert users/groups and add the users of services to the acme group where relevant... if you want to split it up further then I guess you could do something like nginx-used certs are owned by (acme:nginx)
<morgrimm> Makes sense, I don't think it's particularly useful to get more granular with it than that
<emily> these options are kind of in flux, we've discussed making allowKeysForGroup mandatory and getting rid of at least the user setting
<emily> since the default enableACME setup isn't really ideal (nginx gets write perms to certificates, harder to share certs across services, ...)
<morgrimm> Yeah, it seems much more flexible to enforce direct setup through acme, and then letting users plug those in whereever they need
<{^_^}> [nixpkgs] @marsam merged pull request #88802 → cloudflare-wrangler: 1.9.0 -> 1.9.1 → https://git.io/JfVJU
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfVU5
abathur has joined #nixos
<emily> yeah. the reason for potentially wanting multiple users/groups is to keep certain certificates isolated from each other, but nixos containers or fancy ACL setups are probably a better way of achieving that
<{^_^}> [nixpkgs] @marsam merged pull request #88801 → clightd: 4.0 -> 4.1 → https://git.io/JfVf7
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfVUb
<morgrimm> Anyone wanting that level of isolation is likely to be cool with putting in more work for a container-based setup
<morgrimm> Damnit, the service is still not picking up the change after a switch/reboot :/
justanotheruser has quit [Ping timeout: 260 seconds]
<morgrimm> perms on the certs are now acme:acme, and the nginx user is in the acme group - which has the read perms
<{^_^}> [nixpkgs] @marsam merged pull request #88709 → python27Packages.parsel: 1.5.2 -> 1.6.0 → https://git.io/Jfaga
<{^_^}> [nixpkgs] @marsam pushed 3 commits to master: https://git.io/JfVTT
<{^_^}> [nixpkgs] @marsam merged pull request #88803 → codespell: 1.16.0 -> 1.17.1 → https://git.io/JfVJl
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfVTk
benob has joined #nixos
<{^_^}> [nixpkgs] @marsam closed pull request #88777 → wesnoth: 1.14.11 -> 1.14.12 → https://git.io/Jfax8
<morgrimm> emily: Seems the service is trying to write a new file in place of the cert that already exists - which would explain the failure, since I've only given it r perms
<morgrimm> a vhost with useACMEHost shouldn't be expecting write perms, right?
<emily> nginx shouldn't expect to write there, but lego certainly will
<srid> how good is the AMD Ryzen 7 3700 PRO processor? (as for as compiling and running stuff on dedicated servers is concerned)
<srid> Ashy: ^
evanjs has joined #nixos
<{^_^}> [mobile-nixos] @samueldr merged pull request #149 → boot/gui: Use libffi rather than bespoke bindings → https://git.io/JfafB
<{^_^}> [mobile-nixos] @samueldr pushed 12 commits to master: https://git.io/JfVTO
<morgrimm> emily: Lego is the acme service though, right? That's working fine, it can set up the cert fine
<morgrimm> Well, the acme service runs lego*
<{^_^}> [nixpkgs] @marsam merged pull request #88796 → cheat: 3.10.0 -> 3.10.1 → https://git.io/JfVfI
<{^_^}> [nixpkgs] @marsam pushed 3 commits to master: https://git.io/JfVTn
<{^_^}> [nixpkgs] @marsam merged pull request #88708 → python27Packages.Nuitka: 0.6.7 -> 0.6.8.1 → https://git.io/Jfagk
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfVTc
<quinn> so i'm trying to perform antiquotation on a string i'm importing, but the problem is the syntax for the string (asterisk dialplan) includes ${FOO} already. any thoughts?
<symphorien> ,escape'
<{^_^}> Escape this in " and '' strings with: '
<symphorien> ,escape
<{^_^}> Usage: ,escape <text> to show how to escape the given text in Nix
<symphorien> ,escape ${FOO}
<{^_^}> Escape this in '' strings with: ''${FOO}
<{^_^}> Escape this in " strings with: \${FOO}
<symphorien> ^ quinn
<{^_^}> [nixpkgs] @msfjarvis opened pull request #88809 → rtl8821ce: bump to 69765eb288a8dfad3b055b906760b53e02ab1dea → https://git.io/JfVTR
<quinn> ,escape }
<{^_^}> Escape this in " and '' strings with: }
<quinn> symphorien: i gotta level with you dog, escaping it did not occur to me. thank you
<quinn> symphorien++
<{^_^}> symphorien's karma got increased to 28
orivej has quit [Read error: Connection reset by peer]
<symphorien> (btw, the new escape function of the bot is really nice)
orivej has joined #nixos
<quinn> that is veryy nice yes
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<emily> morgrimm: right. not sure what's wrong, but I'd make sure the permissiosn on all the directories make sense as well as the files
benob has quit [Remote host closed the connection]
meh` has quit [Ping timeout: 246 seconds]
remirol has joined #nixos
orivej has quit [Quit: No Ping reply in 180 seconds.]
nixbitcoin has quit [Quit: nixbitcoin out]
lorimer has quit [Ping timeout: 258 seconds]
orivej has joined #nixos
nixbitcoin has joined #nixos
<{^_^}> [nixpkgs] @flokli opened pull request #88810 → fetchgitlab: fix passing tags as rev → https://git.io/JfVT1
morgrimm has quit [Ping timeout: 265 seconds]
<calbrecht> energizer: i have no clue. but the same problem. :) i blame it on a bios update and disabling the powermgmnt of it because of strange crackling in sound. but that makes me suspicious, are you on master and is it by any chanve a lenovo?
<energizer> calbrecht: nixos-unstable, desktop
<energizer> calbrecht: i found a guide on debugging suspend issues but havent gone through it yet https://01.org/blogs/rzhang/2015/best-practice-debug-linux-suspend/hibernate-issues
justanotheruser has joined #nixos
dxtr has joined #nixos
<calbrecht> hey thanks, will read through it at times :)
<calbrecht> did you have any succes so far?
<energizer> not yet
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88811 → fondo: 1.3.8 -> 1.3.9 → https://git.io/JfVTb
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej_ has joined #nixos
<calbrecht> it's just that it doesn't bother me so much, that i prefered to wait until it solves by time. because this is another mind bending adventure, i guess.
<bigvalen> Do people use mail relays on Nixos ? I was hoping to use gmail as an outbound relay with Postfix..but it seems the base config doesn't support sasl auth.
<energizer> for me it's pretty annoying that i can't wake from suspend and have to reboot
seku has joined #nixos
<calbrecht> i just do not suspend :)
<nk3> i do suspend but i do not hibernate
<calbrecht> i have lidEventCommands = "systemctl suspend" in my configuration.nix, so i guess i do neither.
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
andreas303 has quit [Remote host closed the connection]
<nk3> calbrecht: i don't have that and my system does suspend when i close the lid, no idea why
chloekek has joined #nixos
andreas303 has joined #nixos
orivej_ has quit [Ping timeout: 272 seconds]
orivej has joined #nixos
morgrimm has joined #nixos
<calbrecht> so you are lucky :) most hits on a quick search complain about not suspending ;)
cole-h has quit [Quit: Rebooting]
<{^_^}> [nixpkgs] @wishfort36 opened pull request #88812 → tamzen: 1.11.4 -> 1.11.5 → https://git.io/JfVkw
<Profpatsch> pie_: context?
<Profpatsch> ah, data processing with arbitrary tools
cole-h has joined #nixos
morgrimm has quit [Ping timeout: 256 seconds]
dxtr has quit [Quit: Reconnecting]
dxtr has joined #nixos
linarcx has quit [Ping timeout: 260 seconds]
<ldlework> Profpatsch: join us in #nixos-styx!
<{^_^}> [nixpkgs] @romildo merged pull request #88152 → jdupes: 1.14.0 -> 1.15.0 → https://git.io/JfuPA
<{^_^}> [nixpkgs] @romildo pushed 2 commits to master: https://git.io/JfVIe
<Profpatsch> > In Greek mythology, Styx (/ˈstɪks/; Ancient Greek: Στύξ [stýks][citation needed]) is a deity and a river that forms the boundary between Earth and the Underworld.
<{^_^}> error: syntax error, unexpected ',', expecting ')', at (string):312:19
<Profpatsch> I see
<nk3> o.O
smatting has quit [Ping timeout: 256 seconds]
<numkem> I'm working on an option module and I'd like to see an example of the case where I'd want to add something to a set only if a variable is true
<das_j> clever: do you have a nix package for https://github.com/raspberrypi/rpi-eeprom ?
<njha> I have a custom kernel built from a git repo, but when I `nixos-generate-config` `nixos-rebuild dry-run` it tries to replace the kernel.
<njha> When that happens my device doesn't boot anymore
<njha> it looks like I can pin a version of nixpkgs, but how can I pin just the kernel package?
orivej has quit [Ping timeout: 272 seconds]
orivej has joined #nixos
<Ralith_> anyone using rust with rust-analyzer? I cannot get it to find cargo
mac10688 has quit [Quit: WeeChat 2.7.1]
slack1256 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88814 → grails: 4.0.3 -> 4.1.0.M1 → https://git.io/JfVIo
cr4y1 has quit [Remote host closed the connection]
<superbaloo> cole-h: I got those tests running in a CI. Thanks a lot for the example :)
<cole-h> :D Happy to help.
<{^_^}> [nixpkgs] @flokli merged pull request #88810 → fetchgitlab: escape rev to support "+" in it → https://git.io/JfVT1
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JfVI6
<superbaloo> now I have to fix an issue in either crate2nix or nixpkgs :D but tests run :D
cr4y1 has joined #nixos
<cole-h> And so the yak gets shaven
<superbaloo> yup
<superbaloo> yak hair all the way down
mac10688 has joined #nixos
dan224 has quit [Ping timeout: 260 seconds]
<superbaloo> that project started as me trying things for a wifi setup at home, then "how nice would that be to run a software defined router" -> "now I need a test harness" -> laurn -> and now I'm fixing rust tests compilation ...
<cole-h> Hehe
<cole-h> What's broken about the test compilation?
<superbaloo> it doesn't provide the CARGO_BIN_EXE_ variables like cargo does
<cole-h> And what problem does that cause? :P
<superbaloo> a compilation error
<cole-h> Oh nice
<cole-h> lol
<clever> das_j: nope
<das_j> okay, thanks
<das_j> will try to package
<clever> das_j: toss me a link after you make it, i might be able to use it too
<das_j> I will :)
<clever> das_j: though, id also like to see some nix derivations to bake a bootconf.txt into an img, that could be useful
<mpickering> In the python packaging is there some equivalent of extend from haskell packaging?
<mpickering> the manual doesn't actually have an example of how to extend the package set with a new library from what I can see
<calbrecht> Ralith_: do you know https://github.com/mozilla/nixpkgs-mozilla, this did work last week
<mpickering> and does the pypi page not show information about dependencies of a package..?
<mpickering> what world have I entered here
<{^_^}> [nixpkgs] @veprbl closed pull request #88757 → reaper: 5.987 -> 6.10 → https://git.io/Jfa9q
xd1le has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88815 → hcxdumptool: 6.0.5 -> 6.0.6 → https://git.io/JfVLv
xd1le has joined #nixos
kahiru has quit [Remote host closed the connection]
<energizer> mpickering: are you making a python library/application?
kahiru has joined #nixos
<{^_^}> [nixpkgs] @veprbl merged pull request #88049 → reaper: update to 6.10, fix libjack2 missing dependency → https://git.io/JfEuc
<{^_^}> [nixpkgs] @veprbl pushed 3 commits to master: https://git.io/JfVLc
fendor has quit [Read error: Connection reset by peer]
<Ralith_> calbrecht: I don't think that has rust-analyzer in it
<mpickering> energizer: I worked out there is pythonPackages.callPackage now
corpix has joined #nixos
<mpickering> and then the python library attempted to download a binary into my /nix/store when I ran it
<energizer> mpickering: what's your overall goal?
<mpickering> Have a nix-shell which has a wrapped python with the library avaiable
<mpickering> I solved that issue though and now have to deal with this package
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88816 → helmsman: 3.3.0 -> 3.4.1 → https://git.io/JfVLz
<energizer> fwiw pkgs.python is cpython 2 (which is EOL), pkgs.python3 is current
growpotkin has joined #nixos
<calbrecht> Ralith_: ok, i confused it with rust-analysis then
maxdevjs has joined #nixos
<Gaelan> Any tools for finding out why a store path ends up in an ELF?
morgrimm has joined #nixos
turion has quit [Ping timeout: 265 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/fe58ddb0438 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<hexagoxel> is there a construct that matches haskell's exception-handling `try` for derivations?
<hexagoxel> for a derivation `d`, `f d` would be a derivation that produces either a file containing the output of trying to build `d` (if it fails) or a folder "success" that contains the output of `d` ?
<hexagoxel> "output of trying to build `d`" as in: the stdout/stderr of `nix-build d`
morgrimm has quit [Ping timeout: 272 seconds]
simba1 has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @romildo merged pull request #88677 → lxqt.lxqt-panel: 0.15.0 -> 0.15.1 → https://git.io/JfaZR
<{^_^}> [nixpkgs] @romildo pushed 3 commits to master: https://git.io/JfVLj
drakonis1 has quit [Ping timeout: 256 seconds]
<samueldr> hmm, with the nixos modules system, I think there is no way to have an option A depend on B, and B depend on A, only when one is set, right?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88818 → imgurbash2: 3.1 -> 3.2 → https://git.io/JfVtf
<{^_^}> [nixpkgs] @romildo merged pull request #88792 → plano-theme: 3.34-2 -> 3.36-1 → https://git.io/JfVei
<{^_^}> [nixpkgs] @romildo pushed 3 commits to master: https://git.io/JfVtJ
<samueldr> when both are unset, they will cause infinite recursion since it would try to set one according to the "unknown if set" other one, which depends on the other one "unknown if set" still
<{^_^}> [nixpkgs] @romildo merged pull request #88808 → matcha-gtk-theme: 2020-05-09 -> 2020-05-24 → https://git.io/JfVU1
<{^_^}> [nixpkgs] @romildo pushed 2 commits to master: https://git.io/JfVtT
morgrimm has joined #nixos
xd1le has quit [Read error: Connection reset by peer]
xd1le has joined #nixos
<hexagoxel> samueldr: you d
<hexagoxel> whoops
<samueldr> I d?
<hexagoxel> could do it manually right? have it be {a?null, b?null}
<samueldr> the modules system (what makes nixos options possible) is a bit more involved, it recursively resolves across all options
<hexagoxel> oh sorry, in that case I am out of my depth.
<samueldr> it's not a nix language feature, but a system built using nix
<samueldr> no worries :)
drakonis1 has joined #nixos
alexherbo2 has quit [Quit: The Lounge - https://thelounge.chat]
<calbrecht> Ralith_: nixpkgs-mozilla -> rustup nightly, git clone rust-analyzer, cargo build
alexherbo2 has joined #nixos
<cole-h> Don't need to `rustup nightly`, just use `latest.rustChannels.nightly.rust` and you'll get all the goodies
<Ralith_> also, rust-analyzer is already in nixpkgs :p
<calbrecht> ok
<Ralith_> got things working in the end, was just a morass of emacs jank
<calbrecht> yai emacs :) do you use rustic?
<morgrimm> Ralith_: I have a nix shell with rust nightly and rust-analyzer set up, with git sources - super easy to do
<morgrimm> neovim finds ra perfectly fine too
cole-h has quit [Quit: Rebooting]
seku has quit [Quit: Connection closed]
cole-h has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #88807 → prosody: add passthru tests → https://git.io/JfVU0
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JfVt6
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88819 → jsonnet: 0.15.0 -> 0.16.0 → https://git.io/JfVtX
<calbrecht> cole-h yes, or for pinning rustNightly = (rustChannelOf { date = "2020-04-22"; channel = "nightly"; });
<cole-h> Correct.
cole-h has quit [Client Quit]
asbachb has joined #nixos
nschoe has quit [Ping timeout: 272 seconds]
chloekek has quit [Ping timeout: 240 seconds]
cole-h has joined #nixos
<Ralith_> morgrimm: now use that one neovim process with multiple projects which use different versions of rustc :P
morgrimm has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88820 → just: 0.5.10 -> 0.5.11 → https://git.io/JfVtN
andreas303 has quit [Ping timeout: 240 seconds]
dingenskirchen has quit [Remote host closed the connection]
dingenskirchen has joined #nixos
<{^_^}> [nixpkgs] @IvarWithoutBones opened pull request #88821 → sm64pc: init at unstable-2020-05-19 → https://git.io/JfVtj
<ldlework> If I runCommand and pipe the output of some command to $out
<ldlework> how can I get that content?
<ldlework> I tried `foo = runCommand ...; bar = readFile foo` but it doesn't work
knupfer has quit [Ping timeout: 260 seconds]
xd1le has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos
<{^_^}> [nixpkgs] @mweinelt opened pull request #88822 → pim6sd: init at unstable-2019-05-31 → https://git.io/JfVqU
drakonis1 has quit [Read error: Connection reset by peer]
<ldlework> oh
<Gaelan> ldlework, I believe the feature you're describing is called import-from-derivation (or IFD for short). It's supported, but experimentally, and some projects (including nixpkgs) avoid it for now
drakonis1 has joined #nixos
<clever> ldlework: the nix code you gave should work
xd1le has joined #nixos
<ldlework> Yeah I'm doing something stupid.
drakonis_ has quit [Ping timeout: 272 seconds]
<lovesegfault> cole-h: FWIW that didn't work :(
<cole-h> :(
<asbachb> I wonder how to calculate the hash: https://github.com/NixOS/nixpkgs/blob/master/pkgs/servers/mail/postfix/default.nix#L33 - I thought `nix-prefetch-url ftp://ftp.cs.uu.nl/mirror/postfix/postfix-release/official/postfix-3.4.10.tar.gz --type sha256` should work.
<cole-h> asbachb: You want to add `--unpack`
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
<asbachb> cole-h: That does not work: `tar: This does not look like a tar archive`
andreas303 has joined #nixos
<cole-h> Weird
user_0x58 has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88824 → lean: 3.13.1 -> 3.14.0 → https://git.io/JfVq4
xd1le has quit [Quit: Quit]
<asbachb> cole-h: Do you get a hash with `--unpack`?
<{^_^}> [nixpkgs] @dasJ opened pull request #88825 → raspberrypi-eeprom: Init at 2020-05-15 → https://git.io/JfVqE
aveltras has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @cole-h opened pull request #88826 → zoxide: 0.4.0 -> 0.4.1 → https://git.io/JfVqa
<cole-h> asbachb: Nope, same thing happens to me. Even though curling it and `tar -xvzf` extracts it...
alexherbo2 has quit [Ping timeout: 272 seconds]
maddo has quit [Quit: See ya]
morgrimm has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88827 → libbytesize: 2.2 -> 2.3 → https://git.io/JfVqr
corpix has quit [Ping timeout: 240 seconds]
corpix has joined #nixos
<clever> asbachb: did you give it the correct sha256?
<{^_^}> [nixpkgs] @rnhmjoj opened pull request #88828 → Add proper descriptions to some `settings` option types → https://git.io/JfVqX
morgrimm has quit [Ping timeout: 272 seconds]
geekimerssive[m] has joined #nixos
<asbachb> clever: I'm a little bit unsure what you mean.
<Ralith_> can anyone direct me to an example of packaging a binary .deb intended for ubuntu?
<clever> asbachb: what did you change to get the error?
<cole-h> clever: `nix-prefetch-url 'ftp://ftp.cs.uu.nl/mirror/postfix/postfix-release/official/postfix-3.4.10.tar.gz' --unpack` itself fails
<clever> cole-h: but pkgs.fetchurl wants the packed hash, so --unpack will give the wrong hash
<asbachb> clever: The error appeared when addedn `--unpack` and without the hash doesn't match.
<cole-h> clever: ...oh
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<clever> asbachb: when i run nix-prefetch-url on the above url, i get the exact same hash as in the nix file you linked
dermetfan has quit [Ping timeout: 260 seconds]
shabius has quit [Ping timeout: 260 seconds]
<cole-h> Weird, I don't. I get `0mdqa9w1p6cmli6976v4wi0sw9r4p5prkj7lzfd1877wk11c9c73`
<asbachb> cole-h: me too
<clever> if you look at the storepath it produced, what is the size?
alexherbo2 has joined #nixos
<cole-h> It's 112.0 lol
<cole-h> I'm confused
<clever> version? bytes?
<cole-h> `nix path-info -sh /nix/store/kjwciwa0y5qrvsrv7h4hhfbhfbk3smd3-postfix-3.4.10.tar.gz` -> "/nix/store/kjwciwa0y5qrvsrv7h4hhfbhfbk3smd3-postfix-3.4.10.tar.gz 112.0"
<cole-h> So bytes I guess.
<clever> cole-h: just run ls -lh on the path, what does it say?
<bbigras> What is the command in this channel to find which package a binary belongs to?
<cole-h> It's a 0 size, nice.
<clever> ,locate
<{^_^}> Use ,locate <filename> to find packages containing such a file. Powered by nix-index (local installation recommended) https://github.com/bennofs/nix-index
<clever> cole-h: then your download failed successfully, and it gave you the hash of an empty file
<bbigras> clever: thank you very much
<cole-h> Then the question becomes: why does `curl`ing that link work?
teto has quit [Quit: WeeChat 2.8]
<asbachb> Actually it seems that prefetch downloads something
<clever> cole-h: no idea
<cole-h> Well, I'm not invested in this :P Hope you figure out what's going on asbachb
orivej has quit [Ping timeout: 256 seconds]
orivej_ has joined #nixos
<asbachb> clever: Can you paste the command you executed?
litschi has quit [Ping timeout: 264 seconds]
<clever> asbachb: nix-prefetch-url ftp://ftp.cs.uu.nl/mirror/postfix/postfix-release/official/postfix-3.4.10.tar.gz
<bbigras> ,locate aarch64-linux-gnu-gcc
<{^_^}> Couldn't find in any packages
gentauro has quit [Read error: Connection reset by peer]
<clever> bbigras: cross compiling to aarch64 linux?
gentauro has joined #nixos
<bbigras> 😭
<clever> bbigras: you want to use pkgsCross.aarch64-multiplatform.stdenv.mkDerivation
<bbigras> clever: in trying. A pr fails with that command missing
<bbigras> Even for a rust app?
<clever> > pkgsCross.aarch64-multiplatform.stdenv.cc
<{^_^}> "<derivation /nix/store/2h2v1y5247csadzfjaa3j6km1dkdvscb-aarch64-unknown-linux-gnu-stage-final-gcc-debug-wrapper-9.3.0.drv>"
<clever> bbigras: thats the gcc that it would have used
<Ralith_> is there a way to get patchShebangs to look past a bunch of header comments?
<bbigras> clever: can I just add that as a dependency?
<clever> bbigras: maybe
<bbigras> clever: I'll try. Thank you very much
<asbachb> clever: would you mind to do: `ls -l /run/current-system/sw/bin/nix-prefetch-url`
<clever> asbachb: lrwxrwxrwx 1 root root 74 Dec 31 1969 /run/current-system/sw/bin/nix-prefetch-url -> /nix/store/994h5zvp7vcyf60m89r2vygf27rwbw9v-nix-2.3.1/bin/nix-prefetch-url
<asbachb> Mh. I'm on 2.3.4
<asbachb> I guess cole-h is too.
<cole-h> Yep
<{^_^}> [nixpkgs] @emilazy opened pull request #88829 → [20.03] nixos/acme: change default keyType to ec256 → https://git.io/JfVme
cosimone has quit [Quit: Quit.]
<cole-h> asbachb: I just tried 2.3.3 and the proper hash gets fetched from tehre
<bbigras> clever: do you think the bot on GitHub uses cross compiling and would need the pkgCross stuff or it uses a native aarch64 machine?
<clever> bbigras: can you link the logs from the bot?
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
<bbigras> clever: https://logs.nix.ci/?key=nixos/nixpkgs.88616&attempt_id=c0415209-0780-4dd3-83b0-197f040cf6da
user_0x58 has joined #nixos
<clever> bbigras: thats a native aarch64 build, so it should already have that gcc
asymptotically has quit [Remote host closed the connection]
<asbachb> cole-h: Sorry to ask, but how you switched to 2.3.3?
orivej has joined #nixos
<cole-h> asbachb: `nix-shell -p nix -I nixpkgs=channel:nixos-19.09
<cole-h> `
<clever> ,tofu asbachb
<{^_^}> asbachb: To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000) then replace it with the correct hash Nix expected. See: tofu-vim
<bbigras> clever: weird. Thanks
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88830 → libxsmm: 1.13 -> 1.15 → https://git.io/JfVm3
<maralorn> Is it encouraged/allowed to make a PR to enter myself as package maintainer for Haskell packages for which I already feel like the maintainer?
alexherbo2 has quit [Ping timeout: 240 seconds]
<cole-h> I mean, if you're planning to maintain then, I feel that puts you in a pretty good position to be a maintainer... ;^)
<asbachb> clever: Yeah. I'm aware of that. I just wondered why I could not reproduce the hash.
<cole-h> Something may have changed. Sounds like a good bug report to NixOS/nix
<maralorn> cole-h: Yeah, that‘s clear. But I found the maintainer list in configuration-hackage2nix.yaml and it‘s very short. So I wonder if this should only be done for very important packages or something.
<cole-h> Ah, we don't have individual packages for haskell stuff do we
<cole-h> nh2: Knowing you're involved with our Haskell stuff, how should this be done? ^
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88831 → lite: 1.03 -> 1.05 → https://git.io/JfVmW
<maralorn> It feels pretty much unmaintained.
hmpffff has quit [Quit: nchrrrr…]
<nh2> maralorn cole-h: Peti explained his idea it in one of the last Haskell-maintenance-in-nix sessions that happen on Fridays (you are very welcome to join! It is quite fun), he puts things into the maintainer list under `peti:` that he specifically careas about it. I'm sure everybody would be happy if you put yourself in there and help out!
<maralorn> But I wonder if entering myself there might e.g. lead to highlights when someone opens an issue against one of the packages.
<nh2> I don't know if the Haskell packages have automatic clever github integration to ping you on changes
<maralorn> nh2: Yeah, wanted to join for weeks, but every friday something else comes up.
<cole-h> nh2: I'm there almost every week ;) Must not have been paying attention though
cr4y1 has quit [Ping timeout: 265 seconds]
<nh2> maralorn: I also couldn't join the last 2 weeks due to business
kvda has joined #nixos
<maralorn> nh: Okay, then I guess I’ll make a PR for the packages that are already in my personal monitoring.
<{^_^}> nix#3618 (by asbachb, 47 seconds ago, open): regression: nix-prefetch-url seems unable to fetch ftp source
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88832 → lyra: 1.3 -> 1.4 → https://git.io/JfVmK
quinn has quit [Ping timeout: 272 seconds]
<nh2> maralorn: yes
<maralorn> Huh
<maralorn> Sadly I have an unmerged other PR, which contains my addition to the maintainers list.
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JfVmX
<{^_^}> [nixpkgs] @ryantm merged pull request #88699 → python37Packages.opt-einsum: 3.1.0 -> 3.2.1 → https://git.io/JfaEt
<maralorn> So if the haskell pr get‘s merged first, which is realistic, because Haskell maintenance works far above nixpkgs average , that might actual break.^^
<emily> maralorn: a PR that references maintainer-list entries that don't exist won't get merged
<emily> you should just roll that commit into the PR(s)
agsdheidjd has quit [Ping timeout: 246 seconds]
quinn has joined #nixos
<maralorn> emily: Won‘t that create merge conflicts?
<emily> maybe if multiple PRs are merged (though I think it'd just work as long as the commit has the same hash in both?)
<emily> though I'm not actually wholly sure the hackage2nix package-maintainers list actually maps to a real maintainers list, so it might not matter
<emily> but e.g. ofborg will refuse to test your PRs if you reference maintainers that don't exist
<maralorn> I‘ll just give it a shot.
noudle has quit []
agsdheidjd has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #88815 → hcxdumptool: 6.0.5 -> 6.0.6 → https://git.io/JfVLv
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JfVmD
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88833 → matcha-gtk-theme: 2020-05-09 -> 2020-05-24 → https://git.io/JfVmS
philr_ has joined #nixos
orivej has quit [Ping timeout: 265 seconds]
MmeQuignon has quit [Ping timeout: 260 seconds]
orivej has joined #nixos
<{^_^}> [nixpkgs] @veprbl merged pull request #88806 → SleepyHead: use qt5.makeDerivation and fix for Darwin → https://git.io/JfVUW
<{^_^}> [nixpkgs] @veprbl pushed commit from @fiksn to master « sleepyhead: use qt5.makeDerivation and fix for Darwin (#88806) »: https://git.io/JfVmN
leungbk has joined #nixos
calbrecht has quit [Ping timeout: 272 seconds]
calbrecht has joined #nixos
<{^_^}> [nixpkgs] @romildo closed pull request #88833 → matcha-gtk-theme: 2020-05-09 -> 2020-05-24 → https://git.io/JfVmS
tobeportable has quit [Quit: Leaving]
orivej has quit [Ping timeout: 240 seconds]
agsdheidjd has quit [Ping timeout: 260 seconds]
orivej has joined #nixos
cantstanya has quit [Ping timeout: 240 seconds]
agjacome has joined #nixos
<{^_^}> [nixpkgs] @maralorn opened pull request #88834 → haskell-updates: Add maralorn as maintainer for same haskell packages → https://git.io/JfVYL
<njha> can I make the nixos firewall allow all connections from a certain IP
<njha> it looks like `networking.firewall.extraCommands` is my best bet
<njha> but that seems like a hack :(
cantstanya has joined #nixos
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 272 seconds]
mbrgm_ is now known as mbrgm
<{^_^}> [nixpkgs] @asbachb opened pull request #88835 → postfix: 3.4.10 -> 3.4.12 → https://git.io/JfVYG
drakonis2 has joined #nixos
thc202 has quit [Ping timeout: 252 seconds]
drakonis1 has quit [Ping timeout: 240 seconds]
agjacome has quit [Quit: agjacome]
agjacome has joined #nixos
wnklmnn has quit [Quit: Leaving]
asbachb has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88836 → mkp224o: 1.4.0 -> 1.5.0 → https://git.io/JfVY2
jgeerds_ has quit [Ping timeout: 256 seconds]