andi- changed the topic of #nixos to: NixOS stable: 19.09 \o/ https://discourse.nixos.org/t/nixos-19-09-release/4306/2 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2019 || For best support,
vidbina_ has joined #nixos
<{^_^}> [nixpkgs] @jtcoolen opened pull request #77407 → protonvpn-cli-ng: init at 2.2.0 → https://git.io/JvvzV
<{^_^}> [nix] @edolstra merged pull request #3307 → builtins.fromJSON: use nlohmann/json parser instead of custom parser → https://git.io/JvvGL
<{^_^}> [nix] @edolstra pushed 3 commits to master: https://git.io/Jvvzw
<{^_^}> [nix] @edolstra merged pull request #3308 → Add a link to official channels in the docs. → https://git.io/JvvRZ
<{^_^}> [nix] @edolstra pushed 3 commits to master: https://git.io/JvvzK
<niksnut> lovesegfault: it's documented here: https://nixos.org/nix/manual/#chap-distributed-builds
<lovesegfault> niksnut: Ah, I see, nice :)
o1lo01ol1o has quit [Remote host closed the connection]
<lovesegfault> Can a machine have itself as a distributed builder?
o1lo01ol1o has joined #nixos
mexisme has quit [Ping timeout: 258 seconds]
noudle has joined #nixos
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/7fa2160f730 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
vidbina has joined #nixos
<infinisil> Hm, I'm wondering, why would anybody want to change the directory where secrets are stored
<infinisil> nixops has deployments.keys.<name>.destDir, defaulting to "/run/keys"
<infinisil> Why would anybody want to change that?
vidbina_ has quit [Ping timeout: 265 seconds]
<infinisil> Eh there probably are usecases, just can't imagine them right now
<amanjeev> just installed Zulip from unstable. amazing how this entire thing feels like magic.
mbrgm has quit [Ping timeout: 260 seconds]
mbrgm has joined #nixos
<amanjeev> i was able to import unstable ref using fetchGit and use that to target only zulip.
<amanjeev> just stopped by to say thank you
<shapr> if I want to mount partitions from my other drive, should I put them into hardware-configuration.nix ?
dozn has quit [Quit: I'm probably just changing some settings or have had an outage, I'll be back soon.]
o1lo01ol1o has quit [Remote host closed the connection]
<shapr> they don't need to be available at boot, but I haven't found other options in the nix manual
dozn has joined #nixos
tokudan has quit [Quit: Dunno.]
<lovesegfault> If I have a configuration.nix for another machine and I want to test it (make sure it's build-able) how can I do that?
<lovesegfault> i.e. can I build configuration.nix ad-hoc?
mehlon has quit [Quit: Leaving]
tokudan has joined #nixos
<{^_^}> [nixpkgs] @petabyteboy opened pull request #77408 → nixos/geary: init → https://git.io/Jvvgk
mexisme has joined #nixos
turona has quit [Ping timeout: 252 seconds]
<infinisil> shapr: You should never edit hardware-configuration.nix manually. Mount the partition, then generate hardware-configuration.nix
turona has joined #nixos
<infinisil> shapr: And I believe you can add `fileSystems."/foo/bar".options = [ "nofail" ]` to not require it for boot
<shapr> thanks
<infinisil> lovesegfault: `nixos-rebuild build` should work
<infinisil> shapr: (note that you can add that setting manually in configuration.nix)
<shapr> hm, I can't find that in https://nixos.org/nixos/options.html#filesystem
<lovesegfault> infinisil: infinisil how to specify the configuration.nix then?
<lovesegfault> (it's not /etc/nixos, suppose it's in ~/foo.nix)
<lovesegfault> ❯ nixos-rebuild build-vm -I nixos-config=system/machines/foucault.nix
<lovesegfault> Oh, nice!
takeda has quit [Ping timeout: 268 seconds]
drakonis has joined #nixos
mexisme_ has joined #nixos
<shapr> nixos is the biggest pile of yaks I've found in the past fifteen years
<shapr> it's great fun!
mexisme has quit [Ping timeout: 248 seconds]
<shapr> As I get my personal installation setup, I'm slowly twisting my brain around to wonder why I have so many things in scope
<shapr> I've put a big pile of things in environment.systemPackages and now I'm wondering if there's a separate config for packages available when I'm logged in?
<shapr> Is there environment.userPackages or something?
nckx has quit [Quit: Updating my GNU Guix System — https://guix.gnu.org]
xO1 has quit [Ping timeout: 265 seconds]
<lovesegfault> shapr: You can add pkgs per user in users.users.name
<lovesegfault> * users.users.name.packages
<jackdk> https://nixos.org/nixos/options.html#users.users.%3Cname%3F%3E.packages
<lovesegfault> shapr: also check out home-manager
<shapr> ah, that sounds like what I want
<amanjeev> +1 for home manager
<shapr> I want some easy way to separate my personal config from the machine config, so I can sync my personal config at work and at home
<amanjeev> I manage some dotfiles in my home directory that way too
<lovesegfault> shapr: home-manager!
<lovesegfault> :D
<shapr> ok then!
<lovesegfault> You might want to poke around there for an example of how to generalize your config across machines and uses
<amanjeev> I basically copied spacekookie's config
<shapr> lovesegfault: thanks!
<amanjeev> My favorite thing these days is to browse other folks' configs. lol thanks lovesegfault currently reading yours.
nckx has joined #nixos
<infinisil> ,configsearch
<{^_^}> To search public NixOS/Nixpkgs/NixOps configs, use https://search.tx0.co (Ping ${"til" + "pner"} if it acts up again)
<lovesegfault> infinisil: I'm setting up a GH actions worflow to validate my Nix config
<infinisil> Why github actions though when you already know it works when you change it and deploy it?
jumper149 has quit [Quit: WeeChat 2.7]
<shapr> in debian I could apt-build to recompile my packages for my cpu arch, is there some way to do that in nix?
vidbina has quit [Ping timeout: 265 seconds]
<lovesegfault> infinisil: I don't use NixOps to sync deployments, and I also have stale configs (with no machine currently running that config)
<infinisil> Hm I see
Guest92090 has quit [Ping timeout: 240 seconds]
ericsagnes has joined #nixos
eacameron has quit [Quit: Connection closed for inactivity]
Rusty1 has quit [Remote host closed the connection]
judson__ has quit [Ping timeout: 268 seconds]
jluttine has quit [Ping timeout: 265 seconds]
shibboleth has quit [Quit: shibboleth]
<exarkun> ,locate bin pico2wave
<{^_^}> Found in packages: picotts
tdeo has quit [Quit: Quit]
Guest92090 has joined #nixos
Rusty1 has joined #nixos
<lovesegfault> What does nixos-rebuild build-vm use?
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/Jvv24
<lovesegfault> Hmm
<lovesegfault> infinisil: Are you still around?
thc202 has quit [Ping timeout: 248 seconds]
tdeo has joined #nixos
tdeo has joined #nixos
tdeo has quit [Changing host]
<infinisil> lovesegfault: Yup
<lovesegfault> infinisil: Maybe you can help me do this in a Nix-way
<lovesegfault> These are the system configs for all my machines
<lovesegfault> Could I write a `test.nix` or something of the kind to `build-vm` on each of them?
<infinisil> lovesegfault: The thing build-vm uses: `(import <nixpkgs/nixos> { configuration = ./configuration.nix; }).vm`
<lovesegfault> infinisil: Oh!
<lovesegfault> Could i just call that straight from the cli with nix-build?
<infinisil> Yup: nix-build '<nixpkgs/nixos>' -A vm --arg configuration ./configuration.nix
<lovesegfault> Oh wow
<lovesegfault> This rocks
<infinisil> Well or with nixos-rebuild build-vm -I ...
werner291 has quit [Remote host closed the connection]
dansho has quit [Ping timeout: 268 seconds]
logzet has quit [Ping timeout: 248 seconds]
logzet has joined #nixos
Mark_ has joined #nixos
<jackdk> ,locate pci.ids
<{^_^}> Found in packages: lshw, pciutils
vld has joined #nixos
<Mark_> Hi all, Is there any way to get the graphical installer image to point to linuxLatest or is there an image available somewhere that does this? I get a firmware error when I boot to the installer image that says wifi and graphics are having issues. this is on a system76 galago pro and its what their support told me would happen unless the kernel pointed to 5.30 or later
<Mark_> once booted and when I run start display-manager the screen kind of clickers twice quickly and then nothing happens, the terminal prompt returns and there is no output
<{^_^}> [nixpkgs] @NeQuissimus pushed 5 commits to master: https://git.io/Jvv2p
<{^_^}> [nixpkgs] @NeQuissimus pushed 3 commits to release-19.09: https://git.io/Jvv2j
vld has quit [Ping timeout: 258 seconds]
tpham has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #77409 → dune_2: 2.1.1 -> 2.1.2 → https://git.io/Jvvam
<{^_^}> [nixpkgs] @lovesegfault opened pull request #77410 → i3: add passthru.providedSessions → https://git.io/Jvva3
h0m1 has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @marsam opened pull request #77411 → shadowsocks-libev: 3.3.3 -> 3.3.4 → https://git.io/Jvva2
h0m1 has joined #nixos
chagra_ has quit [Ping timeout: 265 seconds]
alex`` has quit [Ping timeout: 240 seconds]
alexherbo2 has quit [Ping timeout: 260 seconds]
judson_ has joined #nixos
judson has quit [Ping timeout: 260 seconds]
<lovesegfault> Does anyone know of a why to just test whether a nix file parses correctly?
<lovesegfault> I suppose nix eval?
<qyliss> lovesegfault: nix-instantiate --parse
<lovesegfault> :O
<lovesegfault> qyliss: Perfections :)
<lovesegfault> qyliss++
<{^_^}> qyliss's karma got increased to 24
noudle has quit []
<{^_^}> [nixpkgs] @marsam opened pull request #77412 → postgresqlPackages.plv8: 2.3.13 -> 2.3.14 → https://git.io/Jvva9
tpham has quit [Remote host closed the connection]
<buckley310> mark_, i think you'll need to build your own ISO to do that
<buckley310> (which is not as hard as it sounds)
<Mark_> buckley310, thats what I was afraid of, I am willing to give it a try, might you have any links to a good how to by any chance?
<buckley310> mark_, do you have a working nixos system already to build it on?
<Mark_> I do not
<buckley310> do you have any linux system with nix installed?
<{^_^}> [nixpkgs] @marsam opened pull request #77413 → reviewdog: 0.9.14 -> 0.9.15 → https://git.io/JvvVJ
<Mark_> not yet, I could install nix on this new pop_os install on this machine or I could get it running in vmware on my mac.
<Mark_> oh it actually looks relatively straightforward
alexherbo2 has joined #nixos
<Mark_> from that link
<Mark_> so correct me if I am wrong, I could get nixos running in vmware from the gui installer image, make the config change that will point it to linux latest, rebuild, reboot and then follow the instructions in that link to export the system as an ISO
selfsymmetric-mu has joined #nixos
Mateon3 has joined #nixos
<selfsymmetric-mu> Anyone manage to get Halo: Master Chief Collection working on Steam? When using ProtonDB I keep bouncing off the Xbox Live signin error.
<buckley310> if you can install nix on a system, then you can use the way documented at that URL, but change `installation-cd-minimal.nix` to `installation-cd-graphical-kde-new-kernel.nix`
wildtrees has quit [Quit: Leaving]
Mateon1 has quit [Ping timeout: 240 seconds]
Mateon3 is now known as Mateon1
<selfsymmetric-mu> It's rated platinum here so I imagine someone has a solution: https://www.protondb.com/app/976730
<buckley310> mark_ and yes, you can build it in a VM
<Mark_> alright thanks buckley310 will give it a go
<buckley310> mark_, you dont need to upgrade the VM and then export it, just boot the VM using whatever kernel, and then build the ISO with the new kernel
alex`` has joined #nixos
<buckley310> if you use `installation-cd-graphical-kde-new-kernel.nix`, the ISO will have the latest kernel, no matter what kernel the VM is using to run
lovesegfault has quit [Ping timeout: 265 seconds]
<Mark_> makes sense
<{^_^}> [nixpkgs] @NeQuissimus pushed to xterm_351 « xterm: 349 -> 351 »: https://git.io/JvvV2
<{^_^}> [nixpkgs] @NeQuissimus pushed 0 commits to xterm_351: https://git.io/JvvVa
jluttine has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus opened pull request #77414 → xterm: 349 -> 351 → https://git.io/JvvVV
<{^_^}> [nixpkgs] @jonringer merged pull request #77393 → pythonPackages.pycodestyle: improve tests → https://git.io/JvvWp
<{^_^}> [nixpkgs] @jonringer pushed commit from @kamadorueda to staging « pythonPackages.pycodestyle: improve tests »: https://git.io/JvvV6
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/0a8cd312568 (from 66 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
<{^_^}> [nixpkgs] @evanjs opened pull request #77415 → broot: 0.10.2 -> 0.11.4 → https://git.io/JvvVy
zeta_0 has joined #nixos
<{^_^}> [nixpkgs] @Infinisil opened pull request #77416 → Fix store imports from NixOS modules → https://git.io/JvvVd
<evanjs> meh. if anybody has an idea on how to install shell completions for broot (`broot install` is the method in the README) lemme know lol
<evanjs> just bumped the version for now
<infinisil> evanjs: Hehe I was looking into it too earlier today after the HN post :)
<infinisil> evanjs: For "standard" shells it's supposed to add it to your .bashrc or whatever automatically, but since we probably have immutable paths, you need to do that in your nix config instead. All you need is a `source ~/.config/broot/launcher/bash/br` in your bash/zsh config
<infinisil> Unfortunately there's no nice way to install this file in the derivation output directly..
justanotheruser has quit [Ping timeout: 248 seconds]
dustinm` has quit [Quit: Leaving]
ivan has quit [Quit: lp0 on fire]
Scriptkiddi has quit [Remote host closed the connection]
das_j has quit [Remote host closed the connection]
das_j has joined #nixos
Scriptkiddi has joined #nixos
pxc has quit [Ping timeout: 258 seconds]
dustinm has joined #nixos
<{^_^}> [nixpkgs] @petabyteboy opened pull request #77417 → remove old gradle versions → https://git.io/Jvvwm
felixfoertsch23 has joined #nixos
justanotheruser has joined #nixos
felixfoertsch has quit [Ping timeout: 260 seconds]
<zeta_0> clever: are you there, i have a quick question?
<{^_^}> [nixpkgs] @marsam opened pull request #77418 → gitAndTools.git-filter-repo: init at 2.24.0 → https://git.io/JvvwC
<{^_^}> [nixpkgs] @bcdarwin opened pull request #77419 → Python hydra → https://git.io/JvvwW
<evanjs> infinisil: blah. yeah that's what I was wondering. ah well
<zeta_0> is the pkg `ghcid` automatically enabled or do i need to configure some things
<zeta_0> ?
xkapastel has joined #nixos
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
aw has joined #nixos
alex`` has quit [Ping timeout: 240 seconds]
spacefrogg has joined #nixos
justanotheruser has quit [Read error: Connection reset by peer]
alexherbo2 has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @Infinisil merged pull request #77416 → Fix store imports from NixOS modules → https://git.io/JvvVd
<{^_^}> [nixpkgs] @Infinisil pushed 3 commits to master: https://git.io/Jvvwi
<thomashoneyman> i have this <githubstatus> set up for Hydra, but Hydra never even attempts to send a request to GitHub to update the status
<thomashoneyman> it looks similar to the IOHK one:
Lears has joined #nixos
<thomashoneyman> and especially the dhall-lang one:
<thomashoneyman> but no bueno
andi- has quit [Ping timeout: 260 seconds]
[Leary] has quit [Ping timeout: 258 seconds]
Mark_ has quit [Remote host closed the connection]
UndefinedIsNotAF has quit [Ping timeout: 264 seconds]
UndefinedIsNotAF has joined #nixos
ivan` has joined #nixos
vld has joined #nixos
justanotheruser has joined #nixos
fragamus has joined #nixos
justanotheruser has quit [Read error: Connection reset by peer]
vld has quit [Ping timeout: 268 seconds]
<thomashoneyman> hydra...has not been pleasant to work with, tbh
andi- has joined #nixos
<gchristensen> it is a bit of a bear
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 is now known as Supersonic
<thomashoneyman> it may be just fine in practice (though at work we have some trouble with slow evaluations)
<thomashoneyman> but it's quite difficult figuring out what to even do to get it set up and working
<thomashoneyman> for example, i would like to now set up Hydra to use webhooks instead of polling
<thomashoneyman> which i feel vaguely must be possible
<gchristensen> hmm not sure, it may be
<thomashoneyman> but my only real option is to grep around GitHub (unless there's some Hydra documentation foo i'm unaware of)
<thomashoneyman> i'm using it specifically in a teaching project to help others set up Hydra and understand what they're doing along the way
<thomashoneyman> but i'll admit i'm a bit uneasy about recommending it
<thomashoneyman> then again i haven't used any other CI for nix-based projects
<thomashoneyman> and it's fantastic it exists and for free in the first place
<thomashoneyman> so i'm not 100% complaints
<thomashoneyman> but it feels like it shouldn't be so difficult to put together a working setup
<gchristensen> yeah, it is really built and maintained for building Nixpkgs, which is a massive massive project and doesn't really work like a lot of projects would want CI to work
<gchristensen> it *can* work, and people have made it work
<thomashoneyman> ghcristensen: what's the alternative?
<thomashoneyman> Hercules CI exists
<gchristensen> I don't have a great recommendation
<gchristensen> unfortunately :/
<gchristensen> Github Actions has a Nix thing
justanotheruser has joined #nixos
<thomashoneyman> The Cachix one?
<gchristensen> I believe so
chenhq2005 has joined #nixos
<zeta_0> infinisil: for some reason haskell-ide-engine(all-hies) does not work correctly when i enter into a nix-shell with an initialized cabal project, why is this and how do i fix it?
<zeta_0> infinisil: i forgot to mention that i am using emacs as well
<zeta_0> well i have all-hies installed in home.nix so does that mean i will need to install it in default.nix for it to work in a nix-shell correctly?
mexisme_ has quit [Ping timeout: 246 seconds]
<zeta_0> i am stuck
<gchristensen> zeta_0: that is a pretty complicated question! you're going to need to include a *ton* of context including what you've tried and what exactly you're seeing, etc. Maybe ,smart-questions would help
<gchristensen> ,smart-questions zeta_0
<{^_^}> zeta_0: How to get better and faster answers to your questions: https://www.mikeash.com/getting_answers.html
lsyoyom has quit [Quit: WeeChat 2.7]
<gchristensen> Ideally, you'll be able to narrow down your question from "Something to do wieth hie, nix-shell, cabal, and emacs with home.nix"
mexisme_ has joined #nixos
Palpares has quit [Remote host closed the connection]
<{^_^}> Channel nixos-19.09 advanced to https://github.com/NixOS/nixpkgs/commit/caad1a78c47 (from 12 hours ago, history: https://channels.nix.gsc.io/nixos-19.09)
Palpares has joined #nixos
<zeta_0> gchristensen: well my home.nix emacs packages work fine inside of a nix-shell, but all-hies(installed in home.nix) loads inside of the nix-shell but none of hie's features are activated, so it's like having nothing there at all?
<{^_^}> [nixpkgs] @endgame opened pull request #77420 → melpa-packages: 2020-01-08 → https://git.io/Jvvr4
<zeta_0> gchristensen: i don't think i need to install all-hies in default.nix
<zeta_0> gchristensen: and sorry sometimes i am not to good at asking questions, i will try to be as clear as a i can
<gchristensen> sorry, I can't help -- I don't know anything about hie, cabal, or home.nix :) now is a good time to start practicing -- showing really strong effort in helping us help you will have other people more eager to help :)
<thomashoneyman> ghcristensen: just for clarification, is there the sense that Hydra would like to become a solution for companies using Nix? Or should it be understood more as a solution for Nixpkgs that may also be used by companies (if they want) but which isn't really intended for that purpose?
<zeta_0> hie is throwing this weird parse error: "parsing Config failed, expected Object, but encountered String"
<gchristensen> zeta_0: did you read that full link?
<thomashoneyman> ie. should there be an expectation that things will improve for non-Nixpkgs use cases in the future? Or more "that would be nice" but no active interest in that direction
<gchristensen> thomashoneyman: it is definitely, squarely "would be nice!". maybe we could PM a bit?
<zeta_0> gchristensen: sorry, i guess i am going to have to ask at the #haskell-ide-engine channel tomorrow, hopefully they can help
<gchristensen> zeta_0: okay, I recommend reading that whole page before doing that, though, it is worth your time and effort, and will serve you well
<zeta_0> gchristensen: ok, i'll read the link, i know i am horrible at asking questions
<gchristensen> time to get better!
<gchristensen> thomashoneyman: have you seen https://github.com/peti/hydra-tutorial ?
<zeta_0> gchristensen: i got a really efficient haskell work flow going with nix-shell, i can now setup a cabal project really quickly, now i just need to figure out how to get my development tools like all-hies working correctly with this setup, then i should be good to go with the workflow
<gchristensen> nice
<gchristensen> sounds great!
<{^_^}> [nixpkgs] @Shados closed pull request #60485 → Add support for booting as Xen dom0 on EFI systems → https://git.io/fjZvI
<{^_^}> [nixpkgs] @Shados opened pull request #77421 → Xen: build EFI binaries and drop unsupported versions → https://git.io/Jvvov
chenhq2005 has quit [Ping timeout: 240 seconds]
chenhq2005 has joined #nixos
<thomashoneyman> gchristensen: ah, i recognize this, but I hadn't spent much time with it
<thomashoneyman> i should watch the video
selfsymmetric-mu has quit [Remote host closed the connection]
<risson> Hey! What would be the process to change the name of an option? I think `programs.tmux.extraTmuxConf` could become `programs.tmux.extraConfig`
fragamus has quit [Read error: Connection reset by peer]
thomashoneyman has quit [Ping timeout: 265 seconds]
endformationage has quit [Quit: WeeChat 2.6]
ddellacosta has quit [Ping timeout: 265 seconds]
<risson> Thanks, will definitly check it out!
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
zeta_0 has joined #nixos
ivan` is now known as ivan
drakonis has quit [Quit: WeeChat 2.6]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/9e0c8f0cbed (from 8 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
chenhq2005 has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @ryantm merged pull request #77180 → libev: Add statically linked `libev` to `pkgsStatic` → https://git.io/Jejb3
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JvvKf
<{^_^}> [nixpkgs] @petabyteboy opened pull request #77422 → Feature/gradle2nix → https://git.io/JvvKk
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/0a8cd312568 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<zeta_0> gchristensen: buried deep in hie's documentation i found a section on how to enable hie in a cabal projects configuration, i'll try to get it up and running tomorrow
<{^_^}> [mobile-nixos] @samueldr opened pull request #68 → Fix shutdown/reboot in stage-1 → https://git.io/JvvK4
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
Rusty1 has quit [Quit: Konversation terminated!]
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
vld has joined #nixos
zeta_0 has joined #nixos
zeta_0 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @rissson opened pull request #77423 → nixos/tmux: rename extraTmuxConf to extraConfig → https://git.io/JvvKw
chenhq2005 has joined #nixos
vld has quit [Ping timeout: 258 seconds]
palo1 has joined #nixos
lor|d has joined #nixos
lord| is now known as Guest26745
Guest26745 has quit [Killed (hitchcock.freenode.net (Nickname regained by services))]
lor|d is now known as lord|
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/e116b4b331b (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
awaz has quit [Ping timeout: 268 seconds]
palo has quit [Ping timeout: 260 seconds]
palo1 is now known as palo
awaz has joined #nixos
justanotheruser has quit [Ping timeout: 260 seconds]
[Leary] has joined #nixos
Lears has quit [Ping timeout: 265 seconds]
justanotheruser has joined #nixos
lovesegfault has joined #nixos
mexisme_ has quit [Ping timeout: 260 seconds]
zeta_0 has joined #nixos
sb0 has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #77419 → pythonPackages.hydra: init at 0.11.3 → https://git.io/JvvwW
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/Jvv6W
xO1 has joined #nixos
tilpner_ has joined #nixos
tilpner has quit [Ping timeout: 258 seconds]
<lovesegfault> Does nix have a try catch?
<lovesegfault> I want to try to import a file, and if that fails (file not found) to set a fallback
<clever> $ cat ~/apps/nixos-configs/load-secrets.nix
<clever> if builtins.pathExists ./secrets.nix then import ./secrets.nix else {
<clever> lovesegfault: you could just check if the file exists intead
<lovesegfault> clever: Heh, I like that you know exactly what I'm doing
<lovesegfault> Yep, trying to work around secrets not being present
tilpner has joined #nixos
<clever> the part omited from the paste, is default values, to make it built (but not really secure)
<clever> that lets CI test things
<lovesegfault> Yep, exactly for CI
<clever> yep, thats the one
<clever> and then just put secrets.nix into .gitignore so you cant screw up
<lovesegfault> I made this little thing
<clever> also, check the release.nix in the same dir
<clever> my hydra is building that
<lovesegfault> clever: I will, I just need to stop using hardware-configuration.nix
<lovesegfault> just do that stuff by hand
tilpner_ has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @marsam closed pull request #48274 → buildRustPackage: introduce --no-merge-sources → https://git.io/fx4rD
hyper_ch2 has joined #nixos
seanparsons has joined #nixos
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
growpotkin has joined #nixos
<{^_^}> [nixpkgs] @kamadorueda opened pull request #77424 → pythonPackages.prospector: init and 1.2.0 + dependencies → https://git.io/Jvv6r
xkapastel has quit [Quit: Connection closed for inactivity]
<lovesegfault> clever: how can I merge attr sets
<lovesegfault> like settings = { .... } + secrets
<clever> lovesegfault: //
<lovesegfault> wat
<lovesegfault> really?
<lovesegfault> wtf
<clever> > { a=1; } // { b=2; }
<{^_^}> { a = 1; b = 2; }
<clever> > { a=1; b=42; } // { b="not 42"; }
<{^_^}> { a = 1; b = "not 42"; }
<lovesegfault> Amazing
<clever> > { a.b = 1; } // { a.c = 2; }
<{^_^}> { a = <CODE>; }
<clever> > :p { a.b = 1; } // { a.c = 2; }
<{^_^}> { a = { c = 2; }; }
<clever> lovesegfault: and its not recursive, so the entire a= got overwritten
<lovesegfault> clever: Uh-oh
<lovesegfault> Can I make it recursive?
<hyper_ch2> hmmmm, grub still claims it can't find kernel for booting :(
<clever> lovesegfault: lib.recursiveUpdate
<clever> > :p lib.recursiveUpdate { a.b = 1; } { a.c = 2; }
<{^_^}> { a = { b = 1; c = 2; }; }
* lovesegfault tries
<clever> lovesegfault: but, that one just overwrites upon collision
<clever> > :p lib.recursiveUpdate { a.a = [ 1 ]; } { a.a = 2; }
<{^_^}> { a = { a = 2; }; }
<clever> lovesegfault: if you want it to properly merge with nixos option rules, you want to use lib.mkMerge instead
<lovesegfault> clever: Does that work the same?
<lovesegfault> > :p lib.mkMerge { a.a = [ 1 ]; } { a.a = 2; }
<{^_^}> attempt to call something which is not a function but a set, at (string):273:1
philr has joined #nixos
<clever> lovesegfault: mkMerge returns a specialy tagged object, which will only merge when assigned to a nixos option
<clever> it takes a list
<clever> > :p lib.mkMerge [ { a.a = [ 1 ]; } { a.a = 2; } ]
<{^_^}> { _type = "merge"; contents = [ { a = { a = [ 1 ]; }; } { a = { a = 2; }; } ]; }
<clever> then nixos encounters an object with an _type of "merge", it will merge them, but only within nixos options
<lovesegfault> I'm confused by how to properly use this
<lovesegfault> Ah, Isee
<clever> define some custom nixos options
<clever> and then custom.config = mkMerge [ a b c ]
<clever> and nixos will merge things for you, and put the result into config.custom.confg
<clever> lovesegfault: check my vim.nix for a basic 1 option example
<lovesegfault> clever: Ah, yeah, I want to move to custom configs soon
<lovesegfault> error: value is a function while a set was expected, at ...
<lovesegfault> Hmm
<clever> lovesegfault: lists with functions in them can do that
hyper_ch2 has quit [Remote host closed the connection]
<lovesegfault> See lines 3-5 and 196
hyper_ch2 has joined #nixos
<lovesegfault> Oh!
<lovesegfault> I'm missing a {} in the import
<clever> thats only needed if the thing your importing returns a function
hyper_ch2 has quit [Remote host closed the connection]
hyper_ch2 has joined #nixos
hyper_ch2 has quit [Remote host closed the connection]
hyper_ch2 has joined #nixos
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
smatting has joined #nixos
hyper_ch2 has quit [Remote host closed the connection]
chenhq2005 has quit [Ping timeout: 258 seconds]
rogue_koder has quit [Quit: Konversation terminated!]
hyper_ch2 has joined #nixos
vld has joined #nixos
vld has quit [Ping timeout: 268 seconds]
Jackneill has joined #nixos
cfricke has joined #nixos
m0rphism has joined #nixos
is_null has joined #nixos
lovesegfault has quit [Quit: WeeChat 2.7]
civodul has joined #nixos
yobj has quit [Quit: bye]
kenshinCH has joined #nixos
chenhq2005 has joined #nixos
m0rphism has quit [Ping timeout: 258 seconds]
lsix has joined #nixos
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
yobj has joined #nixos
Tucky has joined #nixos
chagra has joined #nixos
smatting has quit [Ping timeout: 260 seconds]
mexisme_ has joined #nixos
remirol has joined #nixos
lorimer has quit [Ping timeout: 260 seconds]
lukash_|away is now known as lukash_
logzet has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
mexisme_ has quit [Ping timeout: 248 seconds]
Tucky has quit [Quit: WeeChat 2.7]
Makaveli7 has joined #nixos
vmandela has joined #nixos
johnw has quit [Ping timeout: 268 seconds]
m0rphism has joined #nixos
chkno has quit [Ping timeout: 245 seconds]
chkno has joined #nixos
johnw has joined #nixos
erictapen has joined #nixos
o1lo01ol1o has joined #nixos
vidbina has joined #nixos
chloekek has joined #nixos
Tucky has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @matthiasbeyer closed pull request #76188 → WIP: pms: init at 0.42 → https://git.io/JvvPt
domogled has quit [Quit: domogled]
<{^_^}> [nixpkgs] @adisbladis pushed to staging « mesa: 19.3.1 -> 19.3.2 »: https://git.io/JvvPO
<{^_^}> [nixpkgs] @adisbladis merged pull request #77420 → melpa-packages: 2020-01-08 → https://git.io/Jvvr4
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to release-19.09: https://git.io/JvvPZ
<{^_^}> [nixpkgs] @Lassulus merged pull request #70208 → doc : improved and cleanup of submitting-changes → https://git.io/JenQ5
<{^_^}> [nixpkgs] @Lassulus pushed 3 commits to master: https://git.io/JvvPl
vmandela has left #nixos ["Leaving"]
<Ashy> hmm, has the latest firefox not been pushed to 19.03 yet?
<jackdk> I am running nixos, but used nix-channel --add to add a channel for my user only. It fails to import if I `import <my-channel>`, because NIX_PATH doesn't list my user channels. This seems surprising to me - is it intended?
<Ashy> to handle that CVE
<clever> jackdk: you need to relog the first time you add a channel to non-root
<adisbladis> Ashy: 19.03 is not supported
<clever> jackdk: the .bashrc stuff checks if you have any channels, when deciding if your channels should be in NIX_PATH
<jackdk> thanks clever.
<Ashy> adisbladis: Oh. :O - so upgrade to 19.09 then?
<adisbladis> Ashy: Indeed.
o1lo01ol1o has quit [Remote host closed the connection]
<adisbladis> Ashy: Once a new release has been cut we're only officially supporting the previous release for about a month
<Ashy> ah right, good to know
<Ashy> 2019 kinda got away from me...
<{^_^}> [nixpkgs] @emmanuelrosa opened pull request #77425 → qutebrowser: 1.8.3 -> 1.9.0 → https://git.io/JvvPg
fusion809 has quit [Remote host closed the connection]
<adisbladis> Ashy: It got away frome everyone by now ;)
<grw> hi all- i have a problem using boot.extraModulePackages
<grw> my machine has two different dvb tuner, one is supported by mainline and one needs kernelPackages.tbs
<Ashy> adisbladis: haha
<grw> the out-of-tree one works using module from tbs, but when i try to modprobe the driver for mainline one i get [ 13.570367] v4l2_common: exports duplicate symbol v4l2_ctrl_query_fill (owned by videodev)
smatting has joined #nixos
<grw> i think this is because v4l2_common is already loaded from the tbs modules..
<grw> any ideas how i can fix?
<clever> grw: can you paste your extraModulePackages line?
nakkle has joined #nixos
<grw> is just: boot.extraModulePackages = [ pkgs.linuxPackages_4_19.tbs ]
<clever> grw: thats your problem
<grw> maybe i need config.boot.kernelPackages.tbs ?
<clever> grw: you must use config.boot.kernelPackages.tbs
<clever> grw: your mixing the 4.19 modules, with a not 4.19 kernel
<grw> i have boot.kernelPackages = linuxPackages_4_19
<clever> grw: and what does `uname -a` report?
<grw> 4.19.93
<clever> grw: ls -l /run/{current,booted}-system/kernel
<grw> i did try to use the config.boot.kernelPackages first, but i have to override some attributes of the tbs package and it did not seem to apply them this way
<grw> /run/booted-system/kernel -> /nix/store/3lx0is172gyrcxppf5wf4ppiqibvnpnx-linux-4.19.93/Image
<clever> and current-system?
<grw> same
<clever> grw: which thing are you overriding?
<clever> grw: // on kernelPackages breaks
<clever> grw: you must use the proper override function
<clever> grw: .extend takes an overlay
o1lo01ol1o has joined #nixos
<grw> clever: ah, thx. do you have an example?
<clever> grw: for example, linuxPackages_4_19 = super.linuxPackages_4_19.extend (kself: ksuper: { ... });
o1lo01ol1o has quit [Read error: Connection reset by peer]
<clever> grw: the problem, is that nixos itself, is using .extend to adjust the .kernel attribute some, which undoes whatever // did
Chiliparrot has joined #nixos
o1lo01ol1o has joined #nixos
<grw> great, thx. will report back in some hours after build :)
<grw> clever++
<{^_^}> clever's karma got increased to 303
<clever> grw: next, you want to check the source for both v4l2_common and videodev, do they actually both export v4l2_ctrl_query_fill? perhaps the module isnt compatible with that kernel version?
<grw> clever: i have videodev loaded and the out-of-tree tuner works, so i guess it is compatible?
Naptra has joined #nixos
<clever> grw: videodev and v4l2_common may not be compatible with eachother, youll want to compare their sources and see if they disagree on v4l2_ctrl_query_fill
Guanin has joined #nixos
<grw> hm, i see.. will try to check
veske has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 208 commits to staging-next: https://git.io/JvvPp
FRidh has joined #nixos
<clever> grw: check against the actual version of the source your using
<shyim> How can i use Jetbrains JDK in Jetbrains products?
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @zimbatm merged pull request #77277 → google-cloud-sdk: include openssl(1) in PATH → https://git.io/JveZi
<{^_^}> [nixpkgs] @zimbatm pushed commit from @edef1c to master « google-cloud-sdk: include openssl(1) in PATH (#77277) »: https://git.io/JvvXW
cfricke has quit [Quit: WeeChat 2.7]
<grw> clever: i think this is the actual source? or you mean after configure, etc has run?
<grw> i updated the src to point to this git version
<clever> grw: more that github may be the latest source, and your not running the latest, of both modules
Makaveli7 has quit [Quit: WeeChat 2.7]
wavirc22 has joined #nixos
dm9 has joined #nixos
Sigyn has quit [Quit: People always have such a hard time believing that robots could do bad things.]
Sigyn has joined #nixos
veske has quit [Quit: This computer has gone to sleep]
thc202 has joined #nixos
vld has joined #nixos
vld has quit [Ping timeout: 268 seconds]
zarel has quit [Ping timeout: 258 seconds]
werner291 has joined #nixos
zarel has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
sigmundv_ has joined #nixos
domogled has joined #nixos
vidbina has quit [Ping timeout: 260 seconds]
domogled1 has joined #nixos
domogled has quit [Ping timeout: 265 seconds]
domogled1 is now known as domogled
ericsagnes has quit [Ping timeout: 248 seconds]
wavirc22 has quit [Quit: wavirc22]
werner291 has quit [Quit: werner291]
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/9f453eb97ff (from 81 minutes ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<{^_^}> [nixpkgs] @flokli merged pull request #77417 → remove old gradle versions → https://git.io/Jvvwm
<{^_^}> [nixpkgs] @flokli pushed 5 commits to master: https://git.io/Jvv1C
mexisme_ has joined #nixos
o1lo01ol_ has joined #nixos
<{^_^}> [nixpkgs] @lheckemann opened pull request #77426 → otter-browser: remove → https://git.io/Jvv1B
mexisme_ has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @flokli merged pull request #77425 → qutebrowser: 1.8.3 -> 1.9.0 → https://git.io/JvvPg
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/Jvv1u
<{^_^}> [nixpkgs] @filalex77 opened pull request #77427 → lazygit: 0.12.3 -> 0.13 → https://git.io/Jvv1z
xkapastel has joined #nixos
domogled has quit [Remote host closed the connection]
domogled has joined #nixos
Church- has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @filalex77 opened pull request #77428 → bandwhich: 0.7.0 -> 0.8.0 → https://git.io/Jvv1i
domogled has quit [Quit: domogled]
Guest92090 has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @flokli merged pull request #77380 → lorri: unstable-2019-10-30 -> unstable-2020-01-09 → https://git.io/JvvsG
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/Jvv1y
<{^_^}> [nixpkgs] @zowoq opened pull request #77429 → go: 1.13.5 -> 1.13.6, go_1_12: 1.12.10 -> 1.12.15 → https://git.io/Jvv1S
<{^_^}> [nixos-weekly] @domenkozar pushed to master « Add 2020/01 »: https://git.io/Jvv17
vidbina has joined #nixos
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/9f453eb97ff (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
<{^_^}> [nixpkgs] @romildo opened pull request #77430 → shades-of-gray-theme: 1.2.0 -> 1.2.1 → https://git.io/Jvv1F
Church- has joined #nixos
iyzsong has joined #nixos
jgeerds has joined #nixos
<{^_^}> [nixpkgs] @flokli opened pull request #77431 → morph: 1.3.1 -> 1.4.0 → https://git.io/JvvMT
cosimone has joined #nixos
<{^_^}> [nixpkgs] @curiousleo opened pull request #77432 → lorri: unstable-2019-10-30 -> unstable-2020-01-09 on NixOS 19.09 → https://git.io/JvvMZ
fendor has joined #nixos
<{^_^}> [nixpkgs] @flokli closed pull request #77398 → [19.03] Mark various versions of firefox and derivatives as vulnerable → https://git.io/JvvBf
alexherbo2 has joined #nixos
juhe has joined #nixos
alex`` has joined #nixos
<{^_^}> [nixos-weekly] @domenkozar merged pull request #108 → Call for Content: 2019/15 → https://git.io/JerU6
<{^_^}> [nixos-weekly] @domenkozar pushed 6 commits to production: https://git.io/JvvMX
<{^_^}> [nixos-weekly] @domenkozar pushed to master « Call for Content: 2020/02 »: https://git.io/JvvM1
<{^_^}> [nixos-weekly] @domenkozar opened pull request #110 → Call for Content: 2020/02 → https://git.io/JvvMD
Naptra has quit [Quit: Leaving]
<juhe> Hi, I'm lookin for a solution of how to override systemd-networkd-wait-online target, so that I can configure my own parameters to it in order to match the "online" requirement of my machine. Having 'systemd.services.systemd-networkd-wait-online.serviceConfig.ExecStart = "${config.systemd.package}/lib/systemd/systemd-networkd-wait-online -i enp2s0:routable"; ' in my config doesn't seem to work, systemd calls original version which is with
<juhe> out parameters. Any idea what am I doing wrong?
ThatDocsLady_ has joined #nixos
<LinuxHackerman> juhe: it's a very odd/non-intuitive thing, iirc you need to set it to a _list_ containing first the empty string then the value that you actually want
<LinuxHackerman> juhe: that results in two ExecStart lines in the unit override file, one being ExecStart= (to "clear" the ExecStart of the service) and the next setting the value you actually want
<juhe> LinuxHackerman: sort of makes sense, will try now
<LinuxHackerman> juhe: the best of NixOS's UX meets the best of systemd's UX xD
<juhe> :-D
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<juhe> LinuxHackerman++
<{^_^}> LinuxHackerman's karma got increased to 1
<juhe> LinuxHackerman: Indeed, it works! Thank you!
<LinuxHackerman> oh no, my karma's split!
<LinuxHackerman> :D
<sphalerite> My first karma on LinuxHackerman
* juhe is confused...
<juhe> multiple irc accounts would explain it though :)
* sphalerite is LinuxHackerman
* LinuxHackerman is sphalerite
<clever> lol
<juhe> yup, now makes perfect sense
<makefu> mind=blown!
vidbina has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @vbgl merged pull request #77409 → dune_2: 2.1.1 -> 2.1.2 → https://git.io/Jvvam
<{^_^}> [nixpkgs] @vbgl pushed commit from @marsam to master « dune_2: 2.1.1 -> 2.1.2 »: https://git.io/JvvMx
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
<{^_^}> [nixpkgs] @Ma27 pushed to master « cargo-make: 0.25.1 -> 0.26.0 »: https://git.io/JvvMj
misuzu has quit [Quit: leaving]
aexoxea has joined #nixos
misuzu has joined #nixos
<{^_^}> [nixpkgs] @curiousleo opened pull request #77433 → CONTRIBUTING.md: add section "Backporting changes" → https://git.io/JvvDf
Krikke has quit [Ping timeout: 245 seconds]
ThatDocsLady_ has quit [Quit: Leaving]
erictapen has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @markuskowa merged pull request #77305 → gede: 2.14.1 -> 2.15.1 → https://git.io/Jveay
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/JvvDr
cosimone has quit [Quit: Terminated!]
brano543 has joined #nixos
acarrico has joined #nixos
Guest92090 has joined #nixos
mexisme_ has joined #nixos
<brano543> Hi guys. I am on non-nixos system (RHEL) and I am trying to propagate CA certificate file inside builGoModule. I have tried defining GIT_SSL_CAINFO, OPENSSL_X509_CERT_FILE and SSL_CERT_FILE pointing to /etc/ssl/certs/ca-bundle.crt with no success. It is still not being able to correctly fetch the Golang modules. Can anybody help me out please?
<brano543> I am 100% positive it is Nix-related as I am getting x509: certificate signed by unknown authority only inside Nix derivation. Normally I can do the steps just fine outside of nix sandbox.
mexisme_ has quit [Ping timeout: 248 seconds]
Chiliparrot has joined #nixos
<hax404> if i create pull request for an update (v1 -> 2). and in the meantime, there is a newer version (v3) of the software, should i withdraw the first pullrequest (v1->2) and build a new pull request (v1 -> 3) or it is better to only make the pull request v2 -> 3?
<hax404> i could also append the commit (v2 -> 3) to the pull request (v1 -> 2) and rename it
<{^_^}> [nixpkgs] @ehmry pushed to master « trojita: add explicit libsecret dependency »: https://git.io/Jvvyr
sb0 has quit [Quit: Leaving]
aexoxea has quit [Quit: Goodbye!]
<jtojnar> hax404 re-using the olf PR is fine
<{^_^}> [nixpkgs] @markuskowa merged pull request #77414 → xterm: 349 -> 351 → https://git.io/JvvVV
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/JvvyX
aexoxea has joined #nixos
Rusty1 has joined #nixos
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
Mateon3 has joined #nixos
Mateon1 has quit [Ping timeout: 240 seconds]
Mateon3 is now known as Mateon1
fendor has quit [Ping timeout: 258 seconds]
hyper_ch2 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @LnL7 opened pull request #77434 → [WIP] nixpkgs support warnings → https://git.io/JvvSt
virus_dave has joined #nixos
cosimone has joined #nixos
fendor has joined #nixos
xelxebar has quit [Remote host closed the connection]
xelxebar has joined #nixos
Synthetica has joined #nixos
c0c0 has joined #nixos
cfricke has joined #nixos
aexoxea has quit [Quit: Goodbye!]
chenhq2005 has quit [Ping timeout: 265 seconds]
aexoxea has joined #nixos
virus_dave has quit [Quit: virus_dave]
dansho has joined #nixos
<{^_^}> [nixpkgs] @adisbladis opened pull request #77437 → poetry: 1.0.0 -> 1.0.1 → https://git.io/JvvSN
<{^_^}> [nixpkgs] @lsix merged pull request #77412 → postgresqlPackages.plv8: 2.3.13 -> 2.3.14 → https://git.io/Jvva9
juhe has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @lsix pushed 2 commits to master: https://git.io/JvvSA
<{^_^}> [nixpkgs] @fpletz merged pull request #77427 → lazygit: 0.12.3 -> 0.13 → https://git.io/Jvv1z
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/Jvv9t
<{^_^}> [nixpkgs] @peti pushed 3 commits to haskell-updates: https://git.io/Jvv9Z
<{^_^}> [nixpkgs] @elohmeier opened pull request #77438 → portfolio: init at 0.43.1 → https://git.io/Jvv9B
remirol is now known as lorimer
<{^_^}> [nixpkgs] @nh2 merged pull request #77279 → Improve documentation for stateVersion → https://git.io/JvenY
<{^_^}> [nixpkgs] @nh2 pushed 2 commits to master: https://git.io/Jvv90
<{^_^}> [cabal2nix] @peti pushed to master « update-stackage.sh: don't match the "LTS Haskell" comment in the docs »: https://git.io/Jvv9z
erictapen has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/Jvv9X
chenhq2005 has joined #nixos
apeyroux has joined #nixos
rogue_koder has joined #nixos
<brano543> Hi guys, is there anyone who would help me set up CA bundle correctly inside derivation on non-nixos system? I am trying to use buildGoModule, however I get error x509: certificate signed by unknown authority
<LnL> nativeBuildInputs = [ cacert ]; should do the trick
<LnL> alltho that probably won't help much since it's probably trying to do a network request which isn't allowed
<brano543> LnL: Hey there. I have tried adding this option, but the result is the same. I don't know how to force Nix to know the location of CA files. Normally when I try this outside Nix it picks up correctly the certificates defined in /etc/ssl/certs/ca-bundle.crt
<LnL> there's no /etc inside the build
<brano543> LnL: I am new to Nix. Is there some way I can create it inside the derivation and set the environment correctly to pick it up?
<LnL> no
<LnL> adding cacert will set SSL_CERT_FILE to something like /nix/store/p8v4wl2xx9bzr7jj25m8g8dlyqy1h0qj-nss-cacert-3.48/etc/ssl/certs/ca-bundle.crt
<{^_^}> [nixpkgs] @aforemny opened pull request #77439 → Fix haskellPackages.ormolu → https://git.io/JvvHv
__monty__ has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #76236 → calamares: 3.2.16 -> 3.2.17.1 → https://git.io/JvvHU
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JvvHT
<dirkx> Anyone know what the right command is to run a single test from within nixos/tests ?
<brano543> LnL: Okay let me try to run the build from scratch, I will try to find the file and hack it manually, see if that works.
<{^_^}> [nixpkgs] @andir merged pull request #77431 → morph: 1.3.1 -> 1.4.0 → https://git.io/JvvMT
<{^_^}> [nixpkgs] @andir pushed 2 commits to master: https://git.io/JvvHL
<{^_^}> [nixpkgs] @fpletz merged pull request #77345 → [19.09] bind: 9.14.8 -> 9.14.9 → https://git.io/Jvedw
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to release-19.09: https://git.io/JvvHq
<dirkx> ignore my question - I had a silly wildcard in the wrong place.
<{^_^}> [nixpkgs] @peti merged pull request #77439 → Fix haskellPackages.ormolu → https://git.io/JvvHv
<{^_^}> [nixpkgs] @peti pushed 3 commits to master: https://git.io/JvvH3
<{^_^}> [nixpkgs] @offlinehacker opened pull request #77440 → rippled: 1.2.1 -> 1.4.0 → https://git.io/JvvHZ
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JvvHc
<{^_^}> [nixpkgs] @peti pushed 22 commits to haskell-updates: https://git.io/JvvHW
boogiewoogie has joined #nixos
aexoxea has quit [Quit: Goodbye!]
<{^_^}> [nixpkgs] @peti pushed 20 commits to haskell-updates: https://git.io/JvvH0
aexoxea has joined #nixos
gustavderdrache has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #77003 → kicad: split version.nix & add update.sh → https://git.io/JejZA
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JvvH2
<{^_^}> [nixpkgs] @peti pushed to revert-76842-add-doc-to-ghc-wrapper « Revert "haskell/with-packages-wrapper.nix: install "doc" outputs" »: https://git.io/JvvHV
<{^_^}> [nixpkgs] @zimbatm merged pull request #77437 → poetry: 1.0.0 -> 1.0.1 → https://git.io/JvvSN
<{^_^}> [nixpkgs] @zimbatm pushed 3 commits to master: https://git.io/JvvHX
chenhq2005 has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @peti opened pull request #77442 → Revert patch: add "doc" to ghc wrapper → https://git.io/JvvHy
kenjis has joined #nixos
ericsagnes has joined #nixos
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
<brano543> LnL: that did the trick :D although I don't understand how come this is the only supported scenario on how to add custom certificate to trusted store. I thought that Nix copies the one in system, but it seems he generates a default one.
mexisme_ has joined #nixos
ddellacosta has joined #nixos
<LnL> what does nix show-config | grep 'sandbox =' return?
<brano543> LnL: sandbox = false
<LnL> yeah so your build probably won't work otherwise
<LnL> which means it's not reproducable
<brano543> LnL: btw does this security.pki.certificateFiles inside config actually do something on non-nix OS?
<LnL> that's nixos specific and won't have impact on builds
<{^_^}> [nixpkgs] @zimbatm merged pull request #77149 → Reduce AsciiDoctor closure size → https://git.io/Jejy7
<{^_^}> [nixpkgs] @zimbatm pushed 6 commits to master: https://git.io/JvvQY
<LnL> builds don't have network at all so they don't need or have custom certificates
<brano543> LnL: I had to set the sandbox to false, otherwise I was getting errors during the auto-install script.
<LnL> if you disable the sandbox you loose many of the guarantees nix tries to provide for you
mexisme_ has quit [Ping timeout: 260 seconds]
<brano543> LnL: What is the difference exactly? I checked with ldd where are all of the linked libraries of everything that is build and it always resides inside /store.
<LnL> your build depends on the network, if anything on the servers change your build result changes making it not reproducable
<LnL> this is why for everything that's downloaded nix requires you to specify an hash
<zimbatm> Nix Friday in 20min! adisbladis will be interviewed and talk about poetry2nix (python packaging). https://www.twitch.tv/zimbatm/
<brano543> LnL: I am using the Niv project to pin the Nixpkgs to specific commit. I can't imagine how would it not depend on network. For packages which I need custom version I am using overlay.
<etu> zimbatm: oh, better leave work now so I can catch it on my way home :)
mac10688 has joined #nixos
<{^_^}> [nixpkgs] @Mic92 opened pull request #77443 → samba: move build tools to nativeBuildInputs → https://git.io/JvvQz
<zimbatm> :)
boogiewoogie has quit [Remote host closed the connection]
boogiewoogie has joined #nixos
kenjis has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Mic92 closed pull request #77443 → samba: move build tools to nativeBuildInputs → https://git.io/JvvQz
<boogiewoogie> has something changed in the way nix-shell works? I've been using this https://gist.github.com/boogewooge/460e29302e988b9908ed53a735164841 to get into an environment to install something off a script. now the nix-shell run on this expression doesn't know any of the inputs.
kenjis has joined #nixos
tigran has joined #nixos
aexoxea has quit [Quit: Goodbye!]
chagra has quit [Ping timeout: 265 seconds]
ddellacosta has quit [Ping timeout: 268 seconds]
chagra has joined #nixos
<{^_^}> [nixpkgs] @alyssais opened pull request #77444 → nixos/mailman: lots of big improvements → https://git.io/Jvv7f
aexoxea has joined #nixos
cosimone has quit [Quit: Terminated!]
ddellacosta has joined #nixos
<wedens[m]> how do I specify build directory for autotools project? (latest libvirt version) I get "Build directory must be different from source directory"
<infinisil> boogiewoogie: You want to use stdenv.mkDerivation instead of the raw derivation primitive
<infinisil> Well, at least all the buildInputs and such won't have any effect unless you do
<evanjs> Is there a place in the manual re cross-compiling/overriding libc with e.g. uclibc-ng?
tyrion-mx has joined #nixos
fendor has quit [Ping timeout: 265 seconds]
<tyrion-mx> Hola, I just copied the latest graphical installer into a usb stick with dd, but it drops me into a grub shell when I try to boot it. Any possible explanation?
<{^_^}> [nixpkgs] @Infinisil opened pull request #77445 → lib/tests: Fix module tests → https://git.io/Jvv7t
cfricke has quit [Quit: WeeChat 2.7]
chagra has quit [Ping timeout: 268 seconds]
ng0_ has joined #nixos
ng0_ has joined #nixos
ng0_ has quit [Changing host]
ng0 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @LnL7 merged pull request #77445 → lib/tests: Fix module tests → https://git.io/Jvv7t
<{^_^}> [nixpkgs] @LnL7 pushed 2 commits to master: https://git.io/Jvv7r
Henson has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
Chiliparrot has quit [Ping timeout: 248 seconds]
jgeerds has quit [Ping timeout: 260 seconds]
werner291 has joined #nixos
kenshinCH has quit [Quit: WeeChat 2.6]
fendor has joined #nixos
tilpner_ has joined #nixos
siers has quit [Quit: ZNC 1.7.2 - https://znc.in]
chagra has joined #nixos
siers has joined #nixos
tilpner has quit [Ping timeout: 240 seconds]
jgeerds has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #77364 → nixos/powertop: wait for hardware to initialize → https://git.io/JvvLJ
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/Jvv7Q
<evanjs> I see "Building statically linked packages" on the cheatsheet but I can't find any good/official examples of overriding stdenv or etc
<brano543> LnL: Thank you for giving me good advice. I have tried to reinstall nix without sandbox false, now all packages are retrieved from Nix cache. Before something needed to be recompiled. Now it was orders of magnitude faster to build it :)
<Shoubit> tyrion-mx, does the minimal/non-graphical image do the same thing? Also, try using Etcher to flash the image to your USB disk, or otherwise verify that the image isn't corrupted on disk somehow.
<{^_^}> [nixpkgs] @Mic92 pushed commit from @meatcar to release-19.09 « nixos/powertop: wait for hardware to initialize »: https://git.io/Jvv77
<tyrion-mx> Shoubit: thank you for the suggestion. I think I may have written the image to /dev/sdb1 instead of /dev/sdb ... I will try again :)
<{^_^}> [nixpkgs] @kalbasit merged pull request #76944 → go_1_12, go_1_13: skip TestExtraFiles on 32-bit arm → https://git.io/JepwU
<{^_^}> [nixpkgs] @kalbasit pushed commit from @thefloweringash to master « go_1_12, go_1_13: skip TestExtraFiles on 32-bit arm (#76944) »: https://git.io/Jvv75
<{^_^}> [nixpkgs] @mmahut closed pull request #77308 → fido2luks: init at unstable-2020-1-2 → https://git.io/JveVT
zarel has quit [Quit: ZNC 1.7.4 - https://znc.in]
zarel has joined #nixos
<{^_^}> [nixpkgs] @mmahut merged pull request #77413 → reviewdog: 0.9.14 -> 0.9.15 → https://git.io/JvvVJ
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/Jvv5f
<tigran> Hi. Trying to package VMware player - they have an installation script which itself generates and runs other shell scripts with /usr/bin/env shebang. patchShebangs doesn't help, since the scripts are generated during build. Any easy way to solve this?
janneke_ has joined #nixos
chagra has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @Infinisil merged pull request #70138 → lib/types: Introduce lazyAttrsOf → https://git.io/JenRq
<{^_^}> [nixpkgs] @Infinisil pushed 7 commits to master: https://git.io/Jvv5m
<aanderse> worldofpeace: are you around?
janneke has quit [Ping timeout: 260 seconds]
<boogiewoogie> infinisil: oh, yeah, thanks. my bad `:)
<aanderse> tigran: are you the person who posted on github or discourse or ... somewhere? about packaging the vmwareplayer?
tilpner_ is now known as tilpner
<worldofpeace> aaron: yep 👋
chagra has joined #nixos
Shoubit has quit [Remote host closed the connection]
Shoubit has joined #nixos
<tigran> aanderse: nope, I see the github issue though
<aanderse> tigran: ok, i thought someone was (or wanted to) work on that...
Shoubit has quit [Ping timeout: 258 seconds]
is_null has quit [Ping timeout: 258 seconds]
chagra has quit [Ping timeout: 258 seconds]
Lears has joined #nixos
<tigran> aanderse: okay, this seems to be useful alot, thanks
chagra has joined #nixos
<aanderse> tigran: no problem. if you get anywhere, or get stuck, or whatever... please ping me for testing etc...
<aanderse> i don't have the need for vmware player on nixos, but it would be super convenient if it was packaged
<aanderse> i would definitely use it :)
[Leary] has quit [Ping timeout: 268 seconds]
Tucky has quit [Quit: WeeChat 2.7]
rogue_koder has quit [Quit: Konversation terminated!]
rogue_koder has joined #nixos
<{^_^}> [nixpkgs] @adisbladis pushed to master « poetry: 1.0.1 -> 1.0.2 »: https://git.io/Jvv5b
oida has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @flokli merged pull request #77303 → Port elk initdb kafka → https://git.io/JvegN
<{^_^}> [nixpkgs] @flokli pushed 6 commits to master: https://git.io/Jvvde
<{^_^}> [nixpkgs] @vcunat pushed to master « firefox-esr-60: mark as vulnerable »: https://git.io/JvvdU
vidbina has joined #nixos
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
work_ has joined #nixos
FRidh has quit [Quit: Konversation terminated!]
<adisbladis> Thanks zimbatm for a nice nix friday <3
<gchristensen> zimbatm++
<{^_^}> zimbatm's karma got increased to 12
<{^_^}> [nixpkgs] @primeos pushed to master « nvme-cli: 1.9 -> 1.10.1 »: https://git.io/Jvvd3
fendor has quit [Remote host closed the connection]
fendor has joined #nixos
drakonis has joined #nixos
fendor has quit [Read error: Connection reset by peer]
<catern> hmmmm, I have my ZNC configured with NixOS, but I noticed that I have my ZNC users/networks/passwords configured in two places: my IRC client, and the ZNC configuration. I think I should have my IRC client (Emacs) get that configuration from the same source as ZNC
<catern> I see a few options: generate some Elisp to configure Emacs from Nix, have Emacs read the Nix config at runtime, or have Emacs read the ZNC config at runtime (which I could do by just building the NixOS system locally :))
<catern> which one should I do, do you think, #nixos?
ddellacosta has quit [Quit: WeeChat 2.2]
fendor has joined #nixos
is_null has joined #nixos
oida has joined #nixos
<{^_^}> [nixpkgs] @alyssais opened pull request #77450 → nixos/public-inbox: init → https://git.io/JvvdV
<{^_^}> [nixpkgs] @vcunat pushed to release-19.09 « firefox-esr-60: mark as vulnerable »: https://git.io/Jvvdo
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/f0bcd0da1c0 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
xkapastel has quit [Quit: Connection closed for inactivity]
nakkle has quit [Ping timeout: 252 seconds]
smatting has quit [Ping timeout: 260 seconds]
mexisme_ has joined #nixos
<{^_^}> [nixpkgs] @veprbl merged pull request #76592 → flacon: improvements → https://git.io/JeNqP
<{^_^}> [nixpkgs] @veprbl pushed 3 commits to master: https://git.io/Jvvdy
brano543 has quit [Remote host closed the connection]
mexisme_ has quit [Ping timeout: 248 seconds]
endformationage has joined #nixos
takeda has joined #nixos
ddellacosta has joined #nixos
mac10688 has quit [Ping timeout: 260 seconds]
knupfer has quit [Ping timeout: 248 seconds]
janneke_ is now known as janneke
vidbina has quit [Read error: Connection reset by peer]
jgeerds has quit [Ping timeout: 268 seconds]
<adisbladis> catern: Of course you should configure emacs with nix ;)
aexoxea has quit [Quit: Goodbye!]
<adisbladis> ryantm: Ping?
vidbina has joined #nixos
chagra_ has joined #nixos
philr has quit [Ping timeout: 260 seconds]
vidbina has quit [Read error: Connection reset by peer]
<davidtwco> How do I check if the user set an mkOption if it doesn't have a default?
chagra has quit [Ping timeout: 265 seconds]
knupfer has joined #nixos
vidbina has joined #nixos
laikq has joined #nixos
<infinisil> davidtwco: Ideally set a default, then check whether the value is equal to the default
<{^_^}> [nixpkgs] @primeos pushed 2 commits to master: https://git.io/JvvF8
<infinisil> There is also a way to check whether no value at all is set, but that's often not preferable
<davidtwco> infinisil: thanks, I've just found `types.nullOr` so I'll do that and default to `null`.
<laikq> How do I run nix-locate here?
<infinisil> davidtwco: Sounds good :)
<infinisil> ,locate
<{^_^}> Use ,locate <filename> to find packages containing such a file. Powered by nix-index (local installation recommended) https://github.com/bennofs/nix-index
<infinisil> laikq: ^
smatting has joined #nixos
<infinisil> Or `,locate bin foo` to find binaries named foo
opthomasprime has joined #nixos
<laikq> ,locate netlink.h
<{^_^}> Found in packages: zig, ell.dev, lkl.dev, libnl.dev, linux.dev, emscripten, tshark.dev, linuxHeaders, wireshark.dev, linux-libre.dev, linux_mptcp.dev, linux_latest.dev, linuxPackages.bcc, linux_mptcp_94.dev, linuxPackages_4_4.bcc, linuxPackages_4_9.bcc, linuxPackages_4_14.bcc, linuxPackages-libre.bcc, linuxPackages_hardened.bcc, linuxPackages_xen_dom0.bcc, linuxPackages_4_4.kernel.dev, linuxPackages_4_9.kernel.dev, and 11 more
chloekek has quit [Quit: WeeChat 2.6]
<laikq> infinisil: Thx :)
opthomasprime has left #nixos [#nixos]
rogue_koder has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @tobim opened pull request #77451 → glog: fix on darwin; provide gflags → https://git.io/JvvFa
jgeerds has joined #nixos
nexgen has joined #nixos
jluttine has quit [Quit: WeeChat 2.5]
<laikq> ,locate netlink/netlink.h
<{^_^}> Found in packages: libnl.dev
<infinisil> laikq: Btw it also works in the bots PMs, which is probably better for many lookups
drakonis has quit [Quit: WeeChat 2.6]
opthomasprime has joined #nixos
jluttine has joined #nixos
<Valodim[m]> is there a good way to do that that doesn't involve a bot? :)
<gchristensen> nix-locate
rogue_koder has joined #nixos
Chiliparrot has joined #nixos
ddellacosta has quit [Quit: WeeChat 2.2]
<{^_^}> [nixpkgs] @jonringer merged pull request #77399 → vimPlugins.defx-git: init at 2019-12-25 → https://git.io/JvvRl
<{^_^}> [nixpkgs] @jonringer pushed commit from @iv-nn to master « vimPlugins.defx-git: init at 2019-12-25 »: https://git.io/JvvFp
boogiewoogie has quit [Quit: Leaving]
gxt has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @flokli opened pull request #77452 → firefoxPackages.tor-browser*, tor-browser-bundle: remove → https://git.io/Jvvbt
kenjis has quit [Remote host closed the connection]
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
ddellacosta has joined #nixos
<jtojnar> ,escape''
<{^_^}> '' two single quotes: ''' bash curly bois: ''${} newline: ''\n tab: ''\t any character x: ''\x ''
<catern> ooh, if I'm configuring both my IRC client and my IRC server with Nix, I could generate a random password *at build time* and configure both of them with it
<catern> then I wouldn't need to store secrets in my configuration
<Taneb> They would however be stored in the nix store
<notgne2> catern: that sounds impure, unless you already know what the random password is going to be
<catern> yeah, that's going to happen anyway
<catern> notgne2: oh good point, it is impure
<Taneb> And it's not going to be reproducible
erasmas has joined #nixos
<jtojnar> bah, how would I escape '${foo}' for ''?
<jtojnar> other than ugliness like '${"$"}{foo}'
<kalbasit> The `Priority` returned by a binary cache. If a substitution was found in 2 binary caches which one will be used? Higher or lower priority?
<catern> hmm, maybe I don't care about being impure?
<gustavderdrache> > ''''\'''${foo}''
<{^_^}> "'${foo}"
<catern> is there some way I could do this that wouldn't be impure... or wouldn't be a problem... hmm....
<gustavderdrache> ''$ escapes the dollar sign
<clever> kalbasit: lower numbers are prefered, the official cache is 40, and a hydra is 100
<notgne2> catern: you could just have the secrets in a regular old file, most modules will allow you to point to this file instead of a string
<{^_^}> [nixpkgs] @FRidh pushed 71 commits to staging-next: https://git.io/Jvvbu
<catern> notgne2: sure that's standard Nix secret management
<catern> but I think most people don't have the option of generating their secrets
<gchristensen> flokli++ for this incredible clean-up effort
<{^_^}> flokli's karma got increased to 6
<notgne2> you could then configure a oneshot service in systemd that ensures the file exists and has random contents
<catern> so I wonder if having that option allows some other nicer way to do it?
<kalbasit> clever: great, thanks!
<{^_^}> [nixpkgs] @primeos opened pull request #77453 → [WIP] tdesktop: 1.8.15 -> 1.9.3 → https://git.io/Jvvba
Rusty1 has quit [Remote host closed the connection]
fusion809 has joined #nixos
<{^_^}> [nixpkgs] @zimbatm opened pull request #77454 → matterbridge: 1.11.0 -> 1.16.3 → https://git.io/JvvbD
<jtojnar> gustavderdrache thanks, did not know about ''\ though it is even uglier than ${"$"}
<gustavderdrache> i think there are quite a few pascal programmers who would disagree :P
<{^_^}> [nixpkgs] @jonringer merged pull request #76389 → stups-fullstop: init at 1.1.31 → https://git.io/JeFH0
<{^_^}> [nixpkgs] @jonringer pushed commit from @mschuwalow to master « stups-fullstop: init at 1.1.31 »: https://git.io/Jvvbb
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
justanotheruser has quit [Ping timeout: 258 seconds]
<catern> oh, I've got it
<catern> I'll just generate the key in Nix code (using some scary builtin), or in a shell script wrapping Nix code
growpotkin has joined #nixos
justanotheruser has joined #nixos
Rusty1 has joined #nixos
<catern> then the build from .drv to store path will be deterministic, it will only be .nix to .drv that is nondet
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<jared-w> notgne2: Doesn't pointing to a file in a module copy that file to the store?
opthomasprime has left #nixos [#nixos]
<notgne2> jared-w: that'd be if you used something like `builtins.readFile`, lots of modules take an actual path, which doesn't get used until runtime
Jackneill has quit [Remote host closed the connection]
<catern> is there a (scary, secret) builtin for running an arbitrary shell command at Nix code evaluation time? could I achieve this secret generation with IFD?
<notgne2> catern: you can use pkgs.runCommand but it will try its best to stop you from doing what you're trying to do
<adisbladis> catern: builtins.exec
<catern> adisbladis: ty!
<adisbladis> catern: You need to enable it via some command line switch
<adisbladis> I don't remember which one
<{^_^}> [nixpkgs] @zimbatm merged pull request #77454 → matterbridge: 1.11.0 -> 1.16.3 → https://git.io/JvvbD
<{^_^}> [nixpkgs] @zimbatm pushed to master « matterbridge: 1.11.0 -> 1.16.3 (#77454) »: https://git.io/JvvNv
<adisbladis> catern: --allow-unsafe-native-code-during-evaluation
<catern> should be --option allow-unsafe-native-code-during-evaluation true right?
<kalbasit> does `nix copy --to` copy everything to the cache? I made my cache's priority 20 but I still see it loading from cache.nixos.org
<catern> yeah, that will be fine, to have to enable it with a command line switch
laikq has quit [Remote host closed the connection]
vidbina has quit [Ping timeout: 265 seconds]
laikq has joined #nixos
<laikq> hey, I'm trying to package owlink and run into errors at runtime: "pcap: Unable to open savefile (MY-WIFI-INTERFACE: no such file or directory); netlink: Operation not supported"
<{^_^}> [nixpkgs] @jonringer merged pull request #77183 → python27Packages.catalogue: 0.0.8 -> 0.2.0 → https://git.io/JejNe
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.catalogue: 0.0.8 -> 0.2.0 »: https://git.io/JvvNI
<{^_^}> [nixpkgs] @jonringer merged pull request #67730 → pythonPackages.junit-xml: init at 1.8 → https://git.io/fjxKT
<{^_^}> [nixpkgs] @jonringer pushed commit from @multun to master « pythonPackages.junit-xml: init at 1.8 »: https://git.io/JvvNL
fendor has quit [Ping timeout: 260 seconds]
laikq has quit [Ping timeout: 265 seconds]
laikq has joined #nixos
drakonis has joined #nixos
o1lo01ol_ has quit [Ping timeout: 258 seconds]
smatting has quit [Ping timeout: 260 seconds]
smatting has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #77452 → firefoxPackages.tor-browser*, tor-browser-bundle: remove → https://git.io/Jvvbt
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JvvNg
<gchristensen> /!\ Firefox users: it is super important to upgrade to Firefox 72.0.1, which is available on nixos-unstable-small, nixos-19.09-small, and nixos-19.09. other channels are likely vulnerable. /!\ more: https://www.us-cert.gov/ncas/current-activity/2020/01/08/mozilla-patches-critical-vulnerability
mexisme_ has joined #nixos
<notgne2> > This vulnerability was detected in exploits in the wild.
<{^_^}> error: syntax error, unexpected IN, expecting ')', at (string):273:33
<notgne2> wow
<infinisil> ,exec catern adisbladis
<{^_^}> catern adisbladis: builtins.exec is a hidden unsafe impure Nix 2.0 feature that can be used to execute arbitrary commands during a Nix evaluation. Use with caution! Enable with `--option allow-unsafe-native-code-during-evaluation true`, simple example: https://gist.github.com/Infinisil/bb59b5258ccf17801179c249a9bb3342 More info: https://github.com/NixOS/nix/commit/0bb8db25
<gchristensen> oh no
mexisme_ has quit [Ping timeout: 260 seconds]
<gchristensen> those are the devil's words
smatting has quit [Ping timeout: 240 seconds]
<clever> :D
dansho has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/JvvNM
phreedom_ has joined #nixos
<{^_^}> [nixpkgs] @flokli opened pull request #77456 → firefoxPackages.tor-browser*: mark as vulnerable → https://git.io/JvvN5
drakonis has quit [Ping timeout: 268 seconds]
phreedom has quit [Ping timeout: 240 seconds]
lukash_ is now known as lukash_|away
laikq has quit [Quit: Leaving]
<jared-w> eagerly awaiting the recent haskell updates and addition of glirc to nixos-unstable :) I think it's going to get merged in pretty soon today, but idk when it'll build and trickle over to unstable
drakonis has joined #nixos
<{^_^}> [nixpkgs] @emilazy opened pull request #77458 → tor-browser-bundle-bin: 9.0.3 -> 9.0.4 → https://git.io/JvvAf
<emily> gchristensen: ping, someone should deal with ^, actively-exploited firefox 0day...
<gchristensen> did you build it?
<emily> it's the -bin
<emily> the non-bins already have a PR to remove them for being vulnerable
<emily> the -bins built and worked for me
<gchristensen> cool
<{^_^}> [nixpkgs] @grahamc merged pull request #77458 → tor-browser-bundle-bin: 9.0.3 -> 9.0.4 → https://git.io/JvvAf
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to master: https://git.io/JvvAU
<emily> thanks :3
<gchristensen> emily: can you PR a backport to 19.09?
<emily> just didn't want it left sitting in the tree, esp since the previous version being removed broke the package's installability
<emily> gchristensen: sure, but I've never done it before, can you give me a pointer to docs?
<gchristensen> `git cherry-pick -x 05c0695c6b5b051b3044338c75047c78d7f627f8` on the release-19.09 branch
<emily> thanks
<gchristensen> (there are docs on that in the nixpkgs manual, but easy enough to type it out :P)
<{^_^}> [nixpkgs] @flokli merged pull request #77456 → [19.09] firefoxPackages.tor-browser*: mark as vulnerable → https://git.io/JvvN5
<{^_^}> [nixpkgs] @flokli pushed 2 commits to release-19.09: https://git.io/JvvAT
<gchristensen> I guess I should have waited for ofborg to pass :x oops
halfbit has joined #nixos
<jared-w> Everyone has a testing environment, most just call it production :p
<emily> oops, did I break something? :<
<gchristensen> I don't think so
<gchristensen> but I didn't wait for ofborg, and I try to pretend like it is a mandatory, merge-blocking thing
<jared-w> It is on rust's github which is awesome
<{^_^}> [nixpkgs] @emilazy opened pull request #77459 → tor-browser-bundle-bin: 9.0.3 -> 9.0.4 [19.09] → https://git.io/JvvA3
<gchristensen> huh?
<emily> there you go
<jared-w> iirc nobody but the merge bots have actual commit access to master? I could be disremembering
<gchristensen> ahh right yes
<gchristensen> rust's repo has a much much more definitive way to determine if a PR should merge though
<jared-w> https://github.com/rust-lang/rust/commits/master I was wrong. But the general idea is at least upheld
<emily> jared-w: they gate everything on borg, it's true
<emily> er
<emily> on bors, rather
<jared-w> borg, bors, bergermeister, all the same :p
tpanum has quit [Read error: Connection reset by peer]
<jared-w> gchristensen: yeah that's true. Life's easy when you're "just" a language + core-ecosystem
<jared-w> Well, "easy"
<evanjs> re https://github.com/NixOS/nixpkgs/pull/77415#issuecomment-573135646 - is that normal to have e.g. '"/bin/' there like that? Or did I just copy a typo?
<evanjs> It seems to compile fine...
tpanum has joined #nixos
<emily> '" is an escape
<emily> because '' syntax hates you and wants you to die
<gchristensen> no thath is bash syntax
<gchristensen> it is making sure to replace "/bin/foo" with "/nix/store/hash-coreutils/bin/foo"
<emily> ohh
<evanjs> Oh okay cool. Noticed it after the fact and just wanted to ensure I wasn't doing anything wrong :P
<emily> I commented before clicking, never mind >_>
dm9 has quit [Quit: WeeChat 2.7]
<emily> ...it is true that '' escape syntax hates you though
<evanjs> Didn't see anything in the manual(s) so :P
<gchristensen> hehe
<evanjs> emily: yeah I don't like it either :P
<evanjs> gchristensen++
<{^_^}> gchristensen's karma got increased to 194
sigmundv_ has quit [Ping timeout: 260 seconds]
<jared-w> damned if you do, damned if you don't. Absolute path linking to binaries is super error prone but just execing random strings from a global path is also insanity
<jared-w> and most exec language implementations require an absolute path anyway so...
shibboleth has joined #nixos
<gchristensen> yeah we need an `ld` for exec()
<jared-w> can you even _do_ that with exec?
<gchristensen> nah :P
<jared-w> lol
<gchristensen> but you should be able to! :)
<jared-w> it'd be wild. Imagine if you could try several different directories so that a single system call could accidentally turn into 35,000 if you hit a pathological case
* jared-w realizes why exec doesn't have an ld
<gchristensen> okay not exactly the same thing, just the concept
<gchristensen> like bash script -> (ld-but-for-exec) -> bash script with every executable identified by absolute path
<jared-w> $__MAGIC_UNSAFE_FORBIDDEN_VERYDANGEROUS_NO_TOUCHEY_PATH_PREFIX
lordcirth has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed commit from @emilazy to release-19.09 « tor-browser-bundle-bin: 9.0.3 -> 9.0.4 »: https://git.io/JvvAW
<jared-w> # warning, this exists because nix is dumb but *nix is dumber ... <insert torvalds rant>
<{^_^}> [nixpkgs] @vcunat merged pull request #77459 → tor-browser-bundle-bin: 9.0.2 -> 9.0.4 [19.09] → https://git.io/JvvA3
<gchristensen> hehe
<jared-w> Isn't that ld-but-for-exec what all of our fixup jankiness is about?
<lordcirth> How hard would it be to change the libc to musl on some package(s) and see how much stuff works?
<gchristensen> > pkgs.pkgsMusl.helo
<{^_^}> attribute 'helo' missing, at (string):273:1
<gchristensen> > pkgs.pkgsMusl.hello
<{^_^}> "<derivation /nix/store/p63ybk5b2jri0z52i8rlsn4myajsjnmx-hello-2.10.drv>"
<gchristensen> jared-w: sure but it isn't very thorough.
<evanjs> Not as much as other libc stuff AFAIK. Since musl has a helper set that gchristensen just linked
<evanjs> Was talking to a coworker earlier about doing the same for uclibc but no clue where to start with that
<jared-w> broot does look kinda cool tho. tree+fuzzy-finder+cd+ls+ncdu
<{^_^}> [nixpkgs] @iv-nn opened pull request #77461 → vimPlugins.increment-activator: init at 2019-05-09 → https://git.io/JvvAE
<jared-w> might as well through a small sysvinit implementation in there while they're at it
<lordcirth> gchristensen, for any package, I can just try pkgs.pkgsMusl.foo ?
<{^_^}> [nixpkgs] @iv-nn opened pull request #77462 → vimPlugins.vim-cool: init at 2018-01-11 → https://git.io/JvvAz
<jared-w> they already technically have a pager
<gchristensen> give it a go
<evanjs> jared-w: yeah that was my thought. Heard about it the other day but we’re out of date on nixpkgs so why not bump it 😝 now if only there was a different way to install the shell completions
<evanjs> Think I’m going to open an issue. Nobody replied on their chat, so 🤷‍♂️
<jared-w> evanjs: Issue about the /bin/X in broot?
<{^_^}> [nixpkgs] @flokli opened pull request #77463 → firefoxPackages.icecat: mark as insecure → https://git.io/JvvAw
<{^_^}> [nixpkgs] @andir merged pull request #77463 → firefoxPackages.icecat: mark as insecure → https://git.io/JvvAw
<{^_^}> [nixpkgs] @andir pushed 2 commits to master: https://git.io/JvvAo
<andi-> Should cores and max-jobs behave the same in respect to having a nix.conf in a XDG directory overlaying the system wide nix.conf or is there some difference?
<{^_^}> [nixpkgs] @peti merged pull request #77442 → Revert patch: add "doc" to ghc wrapper → https://git.io/JvvHy
<{^_^}> [nixpkgs] @peti pushed 2 commits to master: https://git.io/JvvA6
<{^_^}> [nixpkgs] @peti pushed 0 commits to revert-76842-add-doc-to-ghc-wrapper: https://git.io/JvvAi
drakonis has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @flokli opened pull request #77464 → [19.09] firefoxPackages.icecat: mark as insecure → https://git.io/JvvAX
<{^_^}> [nixpkgs] @andir merged pull request #77464 → [19.09] firefoxPackages.icecat: mark as insecure → https://git.io/JvvAX
<{^_^}> [nixpkgs] @andir pushed 2 commits to release-19.09: https://git.io/JvvA1
drakonis has joined #nixos
neeasade has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « haskell-hoogle: drop obsolete jailbreak »: https://git.io/JvvAH
<{^_^}> [nixpkgs] @jonringer opened pull request #77465 → python3Packages.discordpy: 1.2.4 -> 1.2.5, enable, add import checks → https://git.io/JvvA7
wpcarro has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #77462 → vimPlugins.vim-cool: init at 2018-01-11 → https://git.io/JvvAz
<{^_^}> [nixpkgs] @jonringer pushed commit from @iv-nn to master « vimPlugins.vim-cool: init at 2018-01-11 »: https://git.io/JvvAA
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « git-annex: update sha256 hash for version 7.20191230 »: https://git.io/JvvAx
<infinisil> evanjs: I did try to run `broot --install` in the nix build with the hopes of this being able to extract the scripts to $HOME/.config/broot/...
<infinisil> evanjs: The only reason it didn't work was because their thing to print logs requires a terminal..
shibboleth has quit [Quit: shibboleth]
<{^_^}> [nixpkgs] @jonringer merged pull request #77461 → vimPlugins.increment-activator: init at 2019-05-09 → https://git.io/JvvAE
<{^_^}> [nixpkgs] @jonringer pushed commit from @iv-nn to master « vimPlugins.increment-activator: init at 2019-05-09 »: https://git.io/JvvAj
<infinisil> evanjs: This is what I tried: https://paste.infinisil.com/EV9BEkCObQ.diff
drakonis has quit [Ping timeout: 265 seconds]
<{^_^}> [cabal2nix] @peti pushed 2 commits to master: https://git.io/Jvvxv
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « LTS Haskell 14.20 »: https://git.io/JvvxO
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/Jvvxn
<{^_^}> [nixpkgs] @Profpatsch opened pull request #77466 → lib/customisation.nix: add addToPassthru → https://git.io/JvvxE
<{^_^}> [nixpkgs] @peti pushed 24 commits to haskell-updates: https://git.io/Jvvxg
<{^_^}> [nixpkgs] @peti pushed 26 commits to haskell-updates: https://git.io/Jvvxa
<{^_^}> [nixpkgs] @peti pushed 26 commits to haskell-updates: https://git.io/Jvvxr
<{^_^}> [nixpkgs] @peti pushed 15 commits to haskell-updates: https://git.io/JvvxK
drakonis has joined #nixos
<jared-w> is that a rate of like 10 commits per minute? o.O
<lordcirth> More likely 4 batches of commits done over days, and reviewed and pushed at 10/min
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « haskell-krank: jailbreak to fix the build »: https://git.io/JvvxD
<{^_^}> [nixpkgs] @peti merged pull request #76982 → Update Haskell package set to LTS 14.20 (plus other fixes) → https://git.io/JejvF
<{^_^}> [nixpkgs] @peti pushed 17 commits to master: https://git.io/Jvvx9
[Leary] has joined #nixos
Lears has quit [Ping timeout: 258 seconds]
alexherbo28 has joined #nixos
alex`` has quit [Ping timeout: 258 seconds]
alexherbo2 has quit [Ping timeout: 260 seconds]
alexherbo28 is now known as alexherbo2
nikivi has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @flokli merged pull request #77432 → lorri: unstable-2019-10-30 -> unstable-2020-01-09 (backport to release-19.09) → https://git.io/JvvMZ
<{^_^}> [nixpkgs] @flokli pushed 2 commits to release-19.09: https://git.io/Jvvxx
alex`` has joined #nixos
be7a has joined #nixos
<be7a> Hi, im trying to get DNS-over-TLS working with resolved, however nixos systemd currently builds without gnutls or openssl support, so the feature is currently disabled by default. So i tried to use a overlay to override the build inputs to include gnutls and while this seems to work, this results in nix rebuilding nearly all of my packages from
<be7a> source. 1) Is this to be exspected or did i made a mistake here. 2) Is having gnutls as a depdendency upstream a proper solution or not prefered?
cosimone has joined #nixos
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to staging: https://git.io/Jvvpv
nikivi has joined #nixos
<flokli> be7a: on nixos, you can set systemd.package instead of overriding systemd
<{^_^}> [nixpkgs] @veprbl opened pull request #77467 → thrift: fix checkPhase on darwin → https://git.io/JvvpT
tokudan has quit [Quit: Dunno.]
<{^_^}> [nixpkgs] @jonringer opened pull request #77468 → python.pkgs wide: fix problematic urls → https://git.io/JvvpI
<lordcirth> be7a, if a package depends on systemd, and you change systemd, then package A will have a new derivation, and so on for it's dependencies.
<lordcirth> And since this new derivation isn't cached by cache.nixos.org, it will be built from source.
<noonien> hello folks
<noonien> what should i add to my configuration.nix to pass "skylake" to -march to all packages?
<flokli> lordcirth: yes, but package.systemd won't update all these references to systemd
<flokli> it'll just replace the "running systemd" with what you point it to there
<lordcirth> That's cool, then
Synthetica has quit [Quit: Connection closed for inactivity]
<lordcirth> noonien, do you really need to rebuild the world to get that little optimization?
<flokli> probably not
<noonien> oh no, i don't need to
<noonien> just wanted to try it out
tokudan has joined #nixos
<noonien> i'll probably abandon it, but i'm curious
tokudan has quit [Remote host closed the connection]
tokudan has joined #nixos
<noonien> awesome, thanks!
alex`` has quit [Ping timeout: 268 seconds]
Neo-- has quit [Ping timeout: 260 seconds]
alexherbo2 has quit [Ping timeout: 260 seconds]
<shapr> yay, I was just about to ask the same question noonien asked!
alexherbo28 has joined #nixos
alexherbo28 is now known as alexherbo2
<infinisil> "Search path lookup"
<infinisil> Wrong chat sorry
alex`` has joined #nixos
phreedom has joined #nixos
phreedom_ has quit [Ping timeout: 240 seconds]
<shapr> My laptop has six Xeons, so I figured it'd be entertaining to rebuild some packages natively
<{^_^}> #77466 (by Profpatsch, 39 minutes ago, open): lib/customisation.nix: add addToPassthru
<infinisil> Profpatsch: Yeah saw that, don't have a big opinion on it, I never needed anything like that personally
<be7a> flokli: so, the nixos way is to make a derived version of systemd and then setting it as systemd.package?
<flokli> be7a: yes :-)
<flokli> I have a custom patch on top of systemd as well
mexisme_ has joined #nixos
<be7a> lordcirth: this could be solved by using gnutls as a depdency in the upstream package? or is out of scope?
<flokli> it depends a bit on runtime closure size increase
<lordcirth> Yeah, if you could post the closure size diff, that would be interesting
<flokli> lordcirth: https://github.com/NixOS/nixpkgs/pull/70352 was something similar, as it added gpg to the closure, to verify signatures of container images
<{^_^}> #70352 (by wucke13, 14 weeks ago, merged): systemd: add systemd-importd
<{^_^}> [nixpkgs] @paluh opened pull request #77469 → imgproxy: init at 2.8.1 → https://git.io/JvvpB
<flokli> first it was a bit too much, but it was able to be shaved down quite a bit
mexisme_ has quit [Ping timeout: 248 seconds]
<jared-w> shapr: six Xeons or a 6 core Xeon? If it's the first, how do you fit that thing in your backpack? lol
<shapr> jared-w: heh, six core Xeon, and it does produce too much heat and have insufficient battery life.
<shapr> it's a great winter laptop :-P
alexherbo2 has quit [Quit: Ping timeout (120 seconds)]
rjpcasalino has joined #nixos
alexherbo2 has joined #nixos
<{^_^}> [nixpkgs] @Ma27 pushed to master « rustracer: 2.1.28 -> 2.1.29 »: https://git.io/Jvvpa
<rjpcasalino> hey all, qq -- what's the best way to ref a program in the store (e.g., cal) in a shell script so that I can invoke it in a shell script like /usr/bin/cal $m -- thank you in advance and please let me know if there's a better place to ask this in the future
<rjpcasalino> right now I am doing this: /nix/store/d3gvywdrs808804ilpar39pir0j9g5v4-system-path/bin/cal $m $y
<rjpcasalino> which is ugly
<rjpcasalino> and probably wrong, I assume
<jared-w> "${pkgs.cal}/bin/cal"
<jared-w> pkgs.cal when interpolated turns into /nix/store/HASH so then you can just do /bin/cal to add onto the string
<evils> jared-w: how do you use that in a shell script?
civodul has joined #nixos
<jared-w> Depends on where the shell script comes from. If you're writing it inline in a nix expression you should have string interpolation and pkgs in scope already so it should just work. If you're wanting to write a "real" shell script, you can use nix-shell as a shebang and then cal will just be "in the path" and you can write `cal $m` without worrying about it
shibboleth has joined #nixos
o1lo01ol1o has joined #nixos
neeasade has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @erikarvstedt opened pull request #77470 → Fix paperless, python.pkgs.django_extensions → https://git.io/JvvhU
lovesegfault has joined #nixos
kleisli_ has quit [Ping timeout: 265 seconds]
eoli3n_ has joined #nixos
<lovesegfault> worldofpeace: Around?
<worldofpeace> lovesegfault: yep, just finished up the Office Hours stream a bit ago
<lovesegfault> Oh, sweet, how did that go?
<worldofpeace> but typically my brain likes to go slightly unconcious afterwards
<worldofpeace> lovesegfault: super cool
<worldofpeace> no cap, but it was probably healing 🤣
<lovesegfault> worldofpeace: I'll show up next time :D
<{^_^}> #77410 (by lovesegfault, 19 hours ago, open): i3: add passthru.providedSessions
<{^_^}> [nixpkgs] @veprbl merged pull request #77467 → thrift: fix checkPhase on darwin → https://git.io/JvvpT
<{^_^}> [nixpkgs] @veprbl pushed 2 commits to master: https://git.io/Jvvh4
<lovesegfault> Regarding this my whole objective is to use i3 and GDM
<pie_[bnc]> mkaito: I'm kind of trying to work on a reimplementation of tmux-resurrect with tmuxp, if youre interested
<worldofpeace> lovesegfault: here's the details https://github.com/worldofpeace/events/tree/master/office-hours
<{^_^}> tmux-plugins/tmux-resurrect#247 (by mkaito, 1 year ago, open): Help me getting this to work on NixOS?
<mkaito> pie_[bnc]: I no longer live on nixos for my workstation
<worldofpeace> lovesegfault: does it not make a desktop session none+i3? perhaps I forget how windowManagers are
<mkaito> pie_[bnc]: but many thanks for doing this, some people I know would be interested
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/2fab43b409d (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
<lovesegfault> worldofpeace: I thought I needed to register it's providedSessions
<lovesegfault> i.e. that PR
<worldofpeace> lovesegfault: to use sessionPackages, perhaps I should actually try using it now to see.
o1lo01ol1o has quit [Remote host closed the connection]
knupfer1 has joined #nixos
wpcarro has quit [Ping timeout: 268 seconds]
<shapr> I've installed mpd, and it's working, but updating spins for hours and new music files are not found. The default install does not create a log file in /var/lib/mpd so I can't understand the problem. Any idea how I could fix this?
knupfer has quit [Ping timeout: 245 seconds]
knupfer1 is now known as knupfer
rjpcasalino has quit [Ping timeout: 268 seconds]
dansho has joined #nixos
<infinisil> shapr: journalctl -u mpd -e
o1lo01ol1o has joined #nixos
alexherbo20 has joined #nixos
alexherbo2 has quit [Ping timeout: 240 seconds]
alexherbo20 is now known as alexherbo2
alex`` has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @leenaars opened pull request #77471 → csv2odf: init at 2.09 → https://git.io/Jvvh5
alex`` has joined #nixos
vidbina has joined #nixos
erasmas has quit [Quit: leaving]
ambro718 has joined #nixos
<dminuoso_> Installing two things concurrently is safe, right?
<shapr> infinisil: thanks, that pointed me to the problem
<{^_^}> [nixpkgs] @bcdarwin opened pull request #77472 → pythonPackages.nibabel: unbreak tests/package → https://git.io/Jvvje
<{^_^}> [nixpkgs] @elseym opened pull request #77473 → lib.commitIdFromGitRepo: support git-worktree → https://git.io/Jvvjv
<ambro718> Does anyone have the problem with KDE where shutting down the system hangs for two minutes because some processes don't terminate? Log files reveal that the processes in question are KDE's thumbnail.so.
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
drakonis has quit [Ping timeout: 248 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
johnnyfive has quit [Quit: I quit now.]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @alyssais opened pull request #77474 → libxml2: don't propagate Python bindings → https://git.io/JvvjZ
<{^_^}> [nixpkgs] @lopsided98 opened pull request #77475 → linux_hardkernel_4_14: 4.14.120-160 -> 4.14.157-171 → https://git.io/Jvvjn
johnnyfive has joined #nixos
zeta_0 has joined #nixos
nexgen has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @alyssais merged pull request #76469 → nixos/spamassassin: allow initPreConf to be a path → https://git.io/Jebfv
<{^_^}> [nixpkgs] @alyssais pushed to master « nixos/spamassassin: allow initPreConf to be a path »: https://git.io/Jvvjl
tjgee has joined #nixos
<meck> Anyone with experience in setting up NUT for a ups, I've got it working but cant make it turn of the ups after shutdown?
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/1b4ab876682 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
ambro718 has quit [Quit: Konversation terminated!]
tjgee has quit [Quit: don't keep calm and fuck this, fuck that, fuck you and fuck off]
nexgen has joined #nixos
ixxie has joined #nixos
drakonis has joined #nixos
<{^_^}> [nixpkgs] @andir merged pull request #71271 → [19.09] nixos/pppd: init → https://git.io/Je4RF
<{^_^}> [nixpkgs] @andir pushed 5 commits to release-19.09: https://git.io/JvvjF
jonge has quit [Remote host closed the connection]
SOO7 has quit [Quit: Quit]
jonge has joined #nixos
nexgen has quit [Remote host closed the connection]
lsix has quit [Quit: WeeChat 2.6]
SOO7 has joined #nixos
philr has joined #nixos
nexgen has joined #nixos
shibboleth has quit [Quit: shibboleth]
<manveru> i'm having quite strange issues with `keyctl`, where i can set a password, but not read it afterwards...
v0|d has joined #nixos
<dminuoso_> Mmm, what's the reason ghc 8.8.1 is not in nixos/nixos-unstable yet?
<v0|d> hello, nixos-option services|grep -E '(zeek|bro|suricata|snort)' <- rets empty. any advices on an ids service on nixos?
<dminuoso_> v0|d: Honestly most IDS is nothing but snake oil and heating software.
<v0|d> dminuoso_: :))
<v0|d> dminuoso_: so what do you suggest?
<nilsirl[m]> What is the equivalent of `nix-shell '<nixpkgs>' -A ccextractor` but selecting a nixpkgs at `~/nixpkgs`?
drakonis has quit [Ping timeout: 248 seconds]
<v0|d> should I reflow my firewall with pfSense?
<jared-w> nilsirl[m]: the thing in the quotes is just the nix path according to the man page, so "nixpkgs=~/nixpkgs" should work I think?
<symphorien> nilsirl[m]: nix-shell ~/nixpkgs -A ccextractor
<vaibhavsagar> nilsirl: `nix-shell -I nixpkgs=~/nixpkgs '<nixpkgs>' -A ccextractor` would also work I think
<vaibhavsagar> lots of options
<nilsirl[m]> Thank you, it now works
alexherbo29 has joined #nixos
alexherbo2 has quit [Ping timeout: 240 seconds]
alexherbo29 is now known as alexherbo2
mexisme_ has joined #nixos
stolyaroleh has joined #nixos
Thra11 has joined #nixos
<martyet-o> i just really dont know whats going on..
<martyet-o> nixos udevadm[7420]: Failed to scan subsystems: Permission denied
<martyet-o> when starting udev Coldplug all Devices
alexherbo2 has quit [Ping timeout: 240 seconds]
mexisme_ has quit [Ping timeout: 252 seconds]
tek[m] has joined #nixos
schorsch has joined #nixos
alex`` has quit [Ping timeout: 268 seconds]
boxscape has joined #nixos
lovesegfault has quit [Quit: WeeChat 2.7]
<schorsch> anyone got a simple example nix config of apache with ssl and acme?
<tek[m]> nix is not using a prebuilt ghc, why is that?
<infinisil> ,dnw tek[m]
<{^_^}> tek[m]: Provide as much info as possible on problems. What specifically doesn't work? What command did you run? What's the error? This makes debugging easier and helps getting faster responses
<infinisil> ,nix-info tek[m]
<{^_^}> tek[m]: Run and share the output from: nix-shell -p nix-info --run nix-info
<Thra11> Why does it use /run/user/1000 instead of /tmp as tmp when I'm in a nix-shell? And can I make it use tmp instead, as /run/user/1000 is relatively small?
alexherbo2 has joined #nixos
<tek[m]> I have hasktags and HTF in the system packages, and upon doing a rebuild, ghc is compiled. command output is `system: "x86_64-linux", multi-user?: yes, version: nix-env (Nix) 2.3.1, channels(root): "tek, nixos-19.09.1784.fd4ccdbe3a6, nixpkgs-20.03pre207249.7e8454fb856", nixpkgs: /root/.nix-defexpr/channels/nixpkgs`
<tek[m]> hasn't happened before
<Thra11> tek[m]: Are the haskell packages from the 19.09 channel or 20.03pre* (unstable?)?
<tek[m]> @thra1
<tek[m]> * @thra11 unstable
Chiliparrot has joined #nixos
<tek[m]> * Thra11: unstable
alexherbo29 has joined #nixos
<Thra11> tek[m]: Has hydra.nixos.org failed to build ghc or not yet finished building ghc for that commit?
alexherbo2 has quit [Ping timeout: 265 seconds]
alexherbo29 is now known as alexherbo2
alex`` has joined #nixos
<o1lo01ol1o> nix copy --to s3:foo --all seems to run in something a fair bit more than constant space. What's the best way to copy a large store to an s3 cache?
<tek[m]> Thra11: I see. I'll give that a look, thanks. I haven't done (manual) nix-channel --update, shouldn't that ensure that the prebuilt ghc it installed before is used again?
gustavderdrache has quit [Quit: Leaving.]
<infinisil> tek[m]: What is at the start of the build log? Where it says "These derivations will be built:", what files does it list there?
<tek[m]> is it right that I have channels for both nixos and nixpkgs with different versions?
<infinisil> Usually it should only be a "nixos" channel
<infinisil> Hm but I can't reproduce that store path
<infinisil> You need to figure out where that ghc comes from
<infinisil> E.g. by looking at the output with `-vv` or by disabling parts of your configuration temporarily
<infinisil> The stack-sha256 message there looks suspicious too, is that from haskell.nix? Possibly that's related to it building ghc
stolyaroleh has quit [Quit: Konversation terminated!]
<tek[m]> probably there
domogled has joined #nixos
domogled has quit [Client Quit]
xkapastel has joined #nixos
drakonis has joined #nixos
<infinisil> tek[m]: That's sensible
<infinisil> You could pin it though for reproducibility
<tek[m]> so is it likely the source of the problem?
<tek[m]> I'll look into that
<infinisil> Ah no
<infinisil> It's just something you could change in your config, it's not necessary
<tek[m]> ok
Thra11 has quit [Quit: WeeChat 2.7]
Thra11 has joined #nixos
o1lo01ol1o has quit [Ping timeout: 268 seconds]
<infinisil> Trying to replicate that..
<tek[m]> in any case, removing the ghcide derivation causes ghc not to be built
<infinisil> But man, evaluating ghcid-ghc865 takes a long time
atlas_ has quit [Ping timeout: 246 seconds]
<tek[m]> evaluating the expression only?
<infinisil> Well I'm calling nix-build, but it's not even done evaluating
<infinisil> Downloads many things and imports things into the store
<tek[m]> why is that?
<infinisil> Should be faster the second time
<tek[m]> I see
<infinisil> You did configure the cachix it mentions?
<tek[m]> ahhh right I commented that out because there was a build error at some point
<tek[m]> thanks :)
knupfer has quit [Ping timeout: 268 seconds]
<infinisil> Ah yeah cachix recently failed to build
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
__monty__ has quit [Quit: leaving]
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
<tek[m]> hm, cachix still fails with missing deps for `servant-auth-server-0.4.4.0...`
<tek[m]> I'm installing it from nixpkgs-unstable, maybe that's not up to date?
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
halfbit has quit [Ping timeout: 248 seconds]
alexherbo2 has quit [Quit: Ping timeout (120 seconds)]
<infinisil> It might be broken on that channel right now indeed
<tek[m]> ok
<infinisil> You can install it from an older one too though
chagra has joined #nixos
alexherbo2 has joined #nixos
be7a has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @DieGoldeneEnte opened pull request #77476 → clang: fix compilation of HIP-code → https://git.io/Jvfv2
chagra_ has quit [Ping timeout: 260 seconds]
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
noogie has quit [Ping timeout: 265 seconds]
noogie has joined #nixos
<{^_^}> [nixpkgs] @rycee opened pull request #77477 → jwt-cli: init at 2.5.1 → https://git.io/JvfvM
<zeta_0> infinisil: quick question, have you had any issues getting all-hies(haskell-ide-engine) to work in a cabal project inside of a nix-shell? it tries to build cabal and throws a weird error: cabal: The program 'ar' is required but it could not be found.
evanjs has quit [Quit: ZNC 1.7.4 - https://znc.in]
kleisli has joined #nixos
<zeta_0> infinisil: i am getting help in the #haskell-ide-channel as well, i am not sure if this issue is specific to nix
<pie_[bnc]> mkaito: im kind of bad at programming and time constraints and idk, might any of those people be interested in chipping in? :D
rengglian has joined #nixos
<mkaito> pie_[bnc]: where do I send them if they are?
<pie_[bnc]> yeah hold on i gotta find the link
<rengglian> hi is it possible to "go build main.go" within a nix-shell?
<pie_[bnc]> pie_[bnc]: primarily to me here on irc but also theres a github issue....
evanjs has joined #nixos
<pie_[bnc]> mkaito: didnt mean to link a specific post
<mkaito> I'll send it along
<mkaito> thanks for your work :)
<pie_[bnc]> \o/ I hope something that doesnt suck can come of it
<pie_[bnc]> not that tmux-resurrect sucks, its just got some issues
<pie_[bnc]> i mostly meant at my own thing :P
<{^_^}> [nixpkgs] @artemist opened pull request #77478 → nixos/factorio: add extraSettings and package options → https://git.io/Jvfvp
<siraben> I'm trying to build a program using SDL2 and SDL_ttf, and normally the header files are in /usr/include/SDL2, but now in Nix it looks like they are in their own directories and they can't see each other.
<martyet-o> mmm, can anyone help me? i ended up with not starting systemd-udev-trigger which is trying to coldplug all devices - and afaik fails on not sufficient permissions.. anyone faced this problem?
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/9ed722732da (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<ldlework> siraben: whyy
<tek[m]> zeta_0: do you have binutils installed?
<ldlework> s/whyy//
<siraben> ldlework: what do you mean
afics has joined #nixos
<ldlework> sorry thought this was a different channel
smatting has joined #nixos
<evanjs> Strange... nixos-rebuild stalling around building '/nix/store/9xkcgs09hz02dlb4xbqpzgcwvysy4v2s-login.pam.drv'... Oh crap not again.
<evanjs> I think PAM is acting up again...
<zeta_0> zeta_0: no, i thought the all-hies nix pkg comes with everything selp contained? i think i am going to change the way i install it home.nix, maybe that will fix the problem, it seems like a couple of things are outdated, that's probably why cabal is breaking
<zeta_0> tek[m]: ^
<tek[m]> zeta_0: yeah maybe it's a missing dep, I ran into the same problem iirc
<zeta_0> whoops, i accidentally entered my own nick name
<tek[m]> 🙂
kleisli has quit [Ping timeout: 258 seconds]
<evanjs> phew false alarm. nix-top messed up my shell :P running rebuild with --verbose to see if I can determine what's going on
<evanjs> nope. stalls at pam again. Guess I'll just leave it alone for a bit..
fendor has joined #nixos
<infinisil> zeta_0: If you have a github issue created, feel free to ping me
<infinisil> (in the issue)
<evanjs> Okay... strace results look a little odd, but still unsure if abnormal full of read(3, "TLSR\0\0\0\08\0\0\0\1\24\0\0j\0\0\0\0\0\0\0"..., 32768) = xxx just over and over... nixos-rebuild, what are you doing x_x
drakonis has quit [Ping timeout: 246 seconds]
<tek[m]> @evan
<tek[m]> * evanjs: what's the openat() before the reads?
leotaku has quit [Ping timeout: 265 seconds]
drakonis has joined #nixos
<tek[m]> or connect()
<zeta_0> infinisil: ok, i am going to try a couple more things to try and fix it, if that doesn't work then i'll post the issue on github, thanks
bvdw has quit [Read error: Connection reset by peer]
<evanjs> tek[m]: lol you asked that right as I tried again and it got to "copying path for firefox". Invoked it with strace this time for good measure
<tek[m]> hah
bvdw has joined #nixos
<tek[m]> well it's much slower with strace