gchristensen changed the topic of #nixos to: The Nix Ecosystem, https://nixos.org | NixOS: https://nixos.org/nixos/download.html | Nix: https://nixos.org/nix/download.html | Logs: https://logs.nix.samueldr.com/nixos/ | #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat
Boubert has joined #nixos
mmlb has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65997 → mxnet: 1.4.1 -> 1.5.0 → https://git.io/fjH1y
Boubert has quit [Client Quit]
mexisme_ has quit [Ping timeout: 272 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/df58d379ca9 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65998 → mediainfo-gui: 19.04 -> 19.07 → https://git.io/fjH15
<ToxicFrog> When in the boot process do the activation scripts run?
vmandela has joined #nixos
<ToxicFrog> I have an activation script that doesn't seem to have any effect, and my best guess is that it's running too early, before /etc exists...but I thought /etc was created before those scripts run.
lambda-11235 has joined #nixos
<ToxicFrog> Hmm.
<ToxicFrog> Actually, probably a better question: if I've defined environment.etc.foo, is there any way to refer to the generated file by path in an activationScript?
Rusty1 has joined #nixos
<gchristensen> typically when people say they have written an activation script, I ask what it does and why -- because usually activation scripts are the wrong solution. /etc is set up as part of the activation script
<ToxicFrog> Ok, this is probably the wrong place for it
<gchristensen> what are you wanting to do?
<ToxicFrog> It's an lmsensors initialization command (loads sensor thresholds into lmsensors, based on /etc/sensors3.conf, which is derived from the sensors3.conf that ships with lmsensors + a bunch of system-specific configuration)
<ToxicFrog> It needs to run every time that configuration changes and every boot
<gchristensen> gotcha
<gchristensen> I would be inclined to make that a systemd service wanted-by something early
<ToxicFrog> That said, if I can only pick one, running on boot is more important, because I'm more likely to remember to run it manually after a nixos-rebuild than after a reboot.
<gchristensen> a Type=oneshot RemainAfterExit=true service should do the trick, and it'll automatically get restarted after it changes
<ToxicFrog> The service definition wouldn't change, I think, only the contents of the file
<ToxicFrog> So I'd want `restartTriggers = [environment.etc."sensors3.conf"];` or similar
<gchristensen> if you're writing /etc/sensors3.conf with Nix, you can use the path of the sensors config in the nix store, as partof the definition
andreas303 has quit [Remote host closed the connection]
nst^ has quit []
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjH1p
srt^ has joined #nixos
andreas303 has joined #nixos
xcthulhu has joined #nixos
seanparsons has quit [Ping timeout: 246 seconds]
polman has joined #nixos
<vmandela> I am trying to convert a binary installer into a nixpkg. The installer is linked against the system libc. How do I make it run during the nixpkg installation phases ?
seanparsons has joined #nixos
<jackdk> can you patchelf it before you try to run it?
polman has quit [Ping timeout: 245 seconds]
<lambda-11235> Can meson execute external files on build? Would there be something that prevents that?
joebobjoe has joined #nixos
Chiliparrot has quit [Ping timeout: 264 seconds]
___laika has joined #nixos
<vmandela> jackdk, I get a open failed when I try to do a patchelf.
<vmandela> looking into the autoPatchelfHook now.
<ashkitten> does anyone use nut for their ups? i can't figure out how to get it to automatically shut down at critical
<ashkitten> er, automatically shut down my computer
polman has joined #nixos
<DigitalKiwi> gchristensen: https://twitter.com/ArchKiwi/status/1158176786456424448?s=20 i consider most of these rejects >.> the colors are nice at least...
<DigitalKiwi> (when they don't touch)
<ashkitten> DigitalKiwi: ooh, trans flag colors
psy3497 has joined #nixos
alex`` has quit [Ping timeout: 268 seconds]
<gchristensen> oh cool
<gchristensen> DigitalKiwi: those look great :D
<DigitalKiwi> there is another sheet that is half done, hopefully i can align it better this time!
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65999 → mosquitto: 1.6.3 -> 1.6.4 → https://git.io/fjHMT
polman has quit [Ping timeout: 245 seconds]
<vmandela> gchristensen, addressed your comments on https://github.com/NixOS/nix/pull/2946
<{^_^}> nix#2946 (by vmandela, 7 weeks ago, open): installer: handle network proxy in systemd multi-user install
<gchristensen> thank you vmandela, will test again!
<vmandela> where can I run patchelf during a nixpkg setup hook ? I keep getting "open: permission denied"
<samueldr> DigitalKiwi: are each lamdbda an individual stencil, or are you using a three-lambda'ed stencil?
<samueldr> (not critiquing, curious about the approach)
<DigitalKiwi> these ones are 2 stencils, 3 lambdas, yeah
<DigitalKiwi> times 6
<DigitalKiwi> here hold on
<lambda-11235> When building a derivation I'm working on /usr/bin/env does not exist. Shouldn't it exist with stdenv?
<samueldr> in the sandbox it doesn't exist by design
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66000 → now-cli: 15.5.0 -> 15.8.7 → https://git.io/fjHMt
<lambda-11235> samueldr: You talking to me?
<samueldr> lambda-11235: yes
<lambda-11235> Is there a way to get it for build scripts that need it?
<samueldr> DigitalKiwi: oh, I see, are they cut by hand or something like a plotter?
<DigitalKiwi> i cut these by hand out of transparency film
<DigitalKiwi> (i'm getting an electronic cutter next week)
ToxicFrog has quit [Quit: WeeChat 2.4]
<samueldr> lambda-11235: it is preferred to use patchShebangs
<samueldr> it will resolve the shebangs to the right interpreters, and patche them in-place
<samueldr> DigitalKiwi: oof, getting the alignment so close manually, good job, evne though it must be kind of annoying to be "so close" :)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66001 → nagios: 4.4.3 -> 4.4.4 → https://git.io/fjHMY
<DigitalKiwi> between my printer and not being cut perfect and dealing with the adhesive and them being so close together in the design i'm glad a few of them turned out as ok as they did heh
ericsagnes has quit [Ping timeout: 264 seconds]
polman has joined #nixos
<gchristensen> they look great :)
<{^_^}> [nixpkgs] @MP2E pushed commit from @marius851000 to master « dolphinEmuMaster: update to the latest upstream version »: https://git.io/fjHMn
<DigitalKiwi> thank you :D
<DigitalKiwi> RIP my notifs
jb55 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @MP2E closed pull request #65863 → dolphinEmuMaster: update to the latest upstream version → https://git.io/fjHTM
meteo has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66002 → monero-gui: 0.14.1.0 -> 0.14.1.2 → https://git.io/fjHMl
<danderson> So, the NixOS manual has a warning about NixOS containers and their imperfect isolation from the host system. Are there details somewhere about what this means precisely?
<danderson> specifically, how does this compare to docker containers and systemd containers
<qyliss> they are systemd containers
acarrico has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @MP2E closed pull request #54985 → [WIP] oldschool-runescape: init package → https://git.io/fhDPT
___laika has quit [Ping timeout: 268 seconds]
<gchristensen> danderson: they're pretty much the same
<danderson> okay, so the warning is "generic warning about containers not being VMs" ?
ericsagnes has joined #nixos
<gchristensen> mstly
<danderson> okay, got it. That I can live with :)
<danderson> I was worried it was something more like "because Reasons, turns out /proc/kmem is world-readable in our containers"
mexisme_ has joined #nixos
<gchristensen> do take a look, though, because sometimes nixos containercan access the whole store of the host, which you may not want
<gchristensen> that would be thrilling :D
<danderson> sometimes? Under what conditions? I'm not seeing that in the manual
<gchristensen> sorry I don't actually fully remember the details
<gchristensen> so that might have been wrong
<danderson> not that it should matter, I _think_ ? Presumably the container can't then go and change the nix store...
<gchristensen> definitely couldn't change the store
<danderson> I'll create a container and poke around
<gchristensen> but could add new paths to the store of course
mexisme_ has quit [Ping timeout: 245 seconds]
<danderson> hmm. So, poking around a tiny bit, /nix/store is a read-only bind mount from the host nix store. So yes, seems like the container can see anything in the host's store.
<gchristensen> it may not be, it might have a limited subset
<danderson> the nix daemon socket is also bind-mounted in, which presumably is how the container and its users can get their stuff build
<gchristensen> right
<danderson> poking around the nix store, I see a directory for zfs-user, which is installed on the host but not in the container
<danderson> so that suggests a shared view
<ashkitten> i got nut working!
<gchristensen> cool
<gchristensen> danderson: I'm not surprised by that, fwiw, just didn't remember
ToxicFrog has joined #nixos
MmeQuignon has quit [Ping timeout: 245 seconds]
<drakonis> ashkitten: that's nuts
<ashkitten> thanks
<drakonis> what exactly is nut tho
kp__ has quit [Quit: WeeChat 2.5]
<drakonis> i just wanted to make a funny joke
<danderson> gchristensen: yup. Just to confirm, I dug through the container startup scripts, and /nix/store is a straight read-only bind mount, no funny business
liberiga has joined #nixos
<danderson> hm. That does mean it's not safe to use hashedPassword in my configuration though, because presumably that ends up burned into the store somewhere
<danderson> ... is that right? That might just be wrong.
<gchristensen> it does :)
<danderson> darn. Hm.
mexisme_ has joined #nixos
<gchristensen> although you might decide your hashed password is "safe enough"
<gchristensen> up to you
<danderson> yup. I'm sitting with it and deciding what my threat model is
joebobjoe has quit [Ping timeout: 244 seconds]
<danderson> mostly it's all about least privileges as far as I can push it, containers were just a handy way to get some of that
<danderson> but maybe I'll tweak systemd units instead, and use all the mechanisms available there...
<DigitalKiwi> samueldr: none of them touched this time (though one did get really close) https://twitter.com/ArchKiwi/status/1158192019648503808?s=20 i'd call most of these a success
<{^_^}> [nixpkgs] @lambda-11235 opened pull request #66003 → taisei: init at 1.3 → https://git.io/fjHMK
<lambda-11235> I had some trouble compiling with LTO enabled. Does anyone have some suggestions on how to fix that?
<lambda-11235> Specifically ld was not recognizing symbols from a static library.
<{^_^}> [nixpkgs] @NeQuissimus merged pull request #65964 → kotlin: 1.3.40 -> 1.3.41 → https://git.io/fjHK2
<{^_^}> [nixpkgs] @NeQuissimus pushed commit from @r-ryantm to master « kotlin: 1.3.40 -> 1.3.41 »: https://git.io/fjHM1
acarrico has joined #nixos
<ashkitten> drakonis: network ups tools
<drakonis> ah i see
<drakonis> what a name to pick
<ashkitten> yep
joehh has quit [Remote host closed the connection]
abathur has joined #nixos
sb0 has quit [Quit: Leaving]
georges has quit [Ping timeout: 268 seconds]
meteo has joined #nixos
joebobjoe has joined #nixos
joebobjoe has quit [Ping timeout: 246 seconds]
acarrico has quit [Ping timeout: 268 seconds]
andreas303 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66004 → orcania: 2.0.0 -> 2.0.1 → https://git.io/fjHMp
<{^_^}> [nixpkgs] @aanderse closed pull request #57333 → nixos-rebuild: request elevated privileges when necessary → https://git.io/fhjUi
<{^_^}> [nixpkgs] @NeQuissimus pushed 5 commits to master: https://git.io/fjHMh
<{^_^}> [nixpkgs] @NeQuissimus pushed 4 commits to release-19.03: https://git.io/fjHMj
andreas303 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66006 → openapi-generator-cli: 4.0.1 -> 4.0.3 → https://git.io/fjHDe
Edes has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66007 → osinfo-db: 20190611 -> 20190726 → https://git.io/fjHDf
Xal has quit [Ping timeout: 246 seconds]
das_j has quit [Remote host closed the connection]
das_j has joined #nixos
Xal has joined #nixos
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
georges has joined #nixos
___laika has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66008 → parallel: 20190622 -> 20190722 → https://git.io/fjHDL
___laika has quit [Ping timeout: 246 seconds]
npmccallum has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66009 → ocamlPackages.cmdliner: 1.0.3 -> 1.0.4 → https://git.io/fjHDO
Edes has joined #nixos
laalf has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
YanMinari[c][m] has left #nixos ["Kicked by @appservice-irc:matrix.org : issued !quit command"]
laalf has joined #nixos
devalot has quit [Quit: ZNC - http://znc.in]
yangm has joined #nixos
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
aw has joined #nixos
spacefrogg has joined #nixos
mexisme_ has quit [Ping timeout: 258 seconds]
oborot has quit [Ping timeout: 248 seconds]
meteo has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66010 → openldap: 2.4.47 -> 2.4.48 → https://git.io/fjHDu
mexisme_ has joined #nixos
jluttine has quit [Ping timeout: 268 seconds]
sb0 has joined #nixos
<{^_^}> [nixpkgs] @stephengroat closed pull request #52935 → remove nox-review from pull request template → https://git.io/fhT1S
ddellacosta has quit [Ping timeout: 246 seconds]
MinceR_ has joined #nixos
Supersonic has quit [Ping timeout: 264 seconds]
MinceR has quit [Ping timeout: 245 seconds]
Wizek has joined #nixos
Supersonic has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/f2068d3aa43 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
vmandela has quit [Quit: Leaving]
mexisme_ has quit [Ping timeout: 258 seconds]
mexisme_ has joined #nixos
jluttine has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg opened pull request #66011 → mtr: 0.92 -> 0.93 → https://git.io/fjHDF
andreas303 has quit [Remote host closed the connection]
mexisme_ has quit [Ping timeout: 272 seconds]
mrCyborg has quit [Quit: The Lounge - https://thelounge.github.io]
andreas303 has joined #nixos
jluttine has quit [Ping timeout: 246 seconds]
mrCyborg has joined #nixos
<CMCDragonkai> I am using dockerBuildTools to build a container, this container has an executable that requires `/bin/sh`, what dependency do I need in nixpkgs to wrap the executable for this to work?
<CMCDragonkai> I tried `bash` and `coreutils` but both don't provide `/bin/sh`
<CMCDragonkai> Note that this is a python program that uses `subprocess.call` with `shell=True` which means its' not simply a string replacement
ddellacosta has joined #nixos
<CMCDragonkai> maybe create a symbolic link from /bin/sh to the relevant shell?
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/4b6dd53b90a (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
<{^_^}> [nixpkgs] @peterhoeg closed pull request #40534 → rkt: run api service and make socket activatable → https://git.io/vpQAz
ddellacosta has quit [Ping timeout: 248 seconds]
dansho has joined #nixos
liberiga has quit [Remote host closed the connection]
domogled has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66012 → pdns-recursor: 4.1.14 -> 4.2.0 → https://git.io/fjHyt
gxt has quit [Ping timeout: 260 seconds]
gxt has joined #nixos
joebobjoe has joined #nixos
jluttine has joined #nixos
wfranzini has quit [Remote host closed the connection]
<CMCDragonkai> seems like the only way is `ln -s ${stdenv.shell} /bin/sh`
joebobjoe has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66013 → papirus-icon-theme: 20190615 -> 20190802 → https://git.io/fjHyG
jluttine has quit [Ping timeout: 258 seconds]
Edes has quit [Ping timeout: 246 seconds]
<CMCDragonkai> Question: why do we need to use `runtimeShell` instead of `stdenv.shell` when we use `runAsRoot` in `dockerTools.buildImage`?
Edes has joined #nixos
<{^_^}> [nixpkgs] @jonringer opened pull request #66014 → cre2: 0.3.0 -> 0.3.6 → https://git.io/fjHy8
jluttine has joined #nixos
Rusty1 has quit [Quit: Konversation terminated!]
<DigitalKiwi> worldofpeace: they said it is only supposed to open on dev builds
domogled has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66015 → openimageio2: 2.0.9 -> 2.0.10 → https://git.io/fjHy0
<DigitalKiwi> worldofpeace: "No, this is not expected. The dev tools should only open by default on doing dev builds. i.e. npm run electron."
<DigitalKiwi> hmm
___laika has joined #nixos
palo1 has joined #nixos
palo has quit [Ping timeout: 244 seconds]
palo1 is now known as palo
rouma7 has quit [Remote host closed the connection]
gerschtli has quit [Quit: WeeChat 2.4]
gerschtli has joined #nixos
vmandela has joined #nixos
ajirx has joined #nixos
zupo has joined #nixos
endformationage has quit [Ping timeout: 245 seconds]
joebobjoe has joined #nixos
andreas303 has quit [Remote host closed the connection]
rsoeldner has joined #nixos
andreas303 has joined #nixos
liberiga has joined #nixos
___laika has quit [Ping timeout: 268 seconds]
joebobjoe has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66016 → pagemon: 0.01.15 -> 0.01.16 → https://git.io/fjHyQ
<{^_^}> [nixpkgs] @teto merged pull request #65762 → neovim-qt: 0.2.11 -> 0.2.12 → https://git.io/fj9Vr
<{^_^}> [nixpkgs] @teto pushed commit from @peterhoeg to master « neovim-qt: 0.2.11 -> 0.2.12 »: https://git.io/fjHy5
abbiya has joined #nixos
orivej has quit [Ping timeout: 272 seconds]
drakonis has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @peti pushed 3 commits to haskell-updates: https://git.io/fjHyN
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjHyA
rauno has quit [Ping timeout: 250 seconds]
orbekk has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « all-cabal-hashes: update to Hackage at 2019-07-07T09:46:56Z »: https://git.io/fjHyp
hyper_ch2 has joined #nixos
<{^_^}> [nixpkgs] @Rakesh4G opened pull request #66017 → Create default.nix for tiledb library → https://git.io/fjHyh
<{^_^}> [nixpkgs] @peti pushed 3 commits to master: https://git.io/fjHyj
M-Gregoire49 has quit [Quit: The Lounge - https://thelounge.chat]
M-Gregoire49 has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @Rakesh4G closed pull request #66017 → Create default.nix for tiledb library → https://git.io/fjHyh
abathur has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66018 → picard-tools: 2.20.3 -> 2.20.4 → https://git.io/fjHSv
nixbitcoin has joined #nixos
<{^_^}> [nixpkgs] @bjornfor merged pull request #66007 → osinfo-db: 20190611 -> 20190726 → https://git.io/fjHDf
<{^_^}> [nixpkgs] @bjornfor pushed commit from @r-ryantm to master « osinfo-db: 20190611 -> 20190726 »: https://git.io/fjHSk
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66019 → plantuml: 1.2019.7 -> 1.2019.8 → https://git.io/fjHSL
dansho has quit [Remote host closed the connection]
dansho has joined #nixos
lord| has quit [Quit: WeeChat 2.5]
lord| has joined #nixos
xkapastel has quit [Quit: Connection closed for inactivity]
<DigitalKiwi> worldofpeace: i got something that works!
zupo has joined #nixos
lord| has quit [Quit: WeeChat 2.5]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66020 → libsForQt5.phonon: 4.10.2 -> 4.10.3 → https://git.io/fjHSR
lord| has joined #nixos
liberiga has quit [Ping timeout: 260 seconds]
ghasshee has quit [Ping timeout: 258 seconds]
hyper_ch2 has quit [Remote host closed the connection]
magnetophon has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66021 → python37Packages.BTrees: 4.5.1 -> 4.6.0 → https://git.io/fjHSi
magnetophon has joined #nixos
andreas303 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66022 → python37Packages.azure-mgmt-keyvault: 1.1.0 -> 2.0.0 → https://git.io/fjHSP
andreas303 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66023 → python37Packages.ase: 3.17.0 -> 3.18.0 → https://git.io/fjHS1
<DigitalKiwi> kind of
<DigitalKiwi> it's not showing up in path
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66024 → python37Packages.azure-batch: 6.0.1 -> 7.0.0 → https://git.io/fjHSD
Diagon has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66025 → python37Packages.biopython: 1.73 -> 1.74 → https://git.io/fjHSS
<fasd> Is nix's melpa mirror updated often? nix-env -f "<nixpkgs>" -qaP -A emacsPackagesNg.melpaPackages shows nothing released after 01/03/2019
Edes has quit [Ping timeout: 268 seconds]
<DigitalKiwi> yay got it
<etu> fasd: There's been changes in how they are updated very recently
<etu> fasd: It's probably not in any channel yet, we're talking like last couple of days
Diagon has quit [Quit: Leaving]
rauno has joined #nixos
<fasd> nix-haskell-mod isn't in any repositories atm. would this change fix it?
<etu> fasd: There's also the newly started #nixos-emacs :)
<fasd> nice. thanks
hyper_ch2 has joined #nixos
<etu> fasd: short version: Future updates of melpa is much faster to run and will probably happen more frequently. Before it took hours to run the updater and you could get many failures. And the updater have recently been rewritten :)
ris has quit [Ping timeout: 245 seconds]
thc202 has joined #nixos
<Athas> How do I make libclang available do a derivation? 'clang' seems to just be the CLI program.
<clever> Athas: are you using clangStdenv.mkDerivation?
<Athas> clever: no, I'm just listing clang in my buildInputs. How do I use what you are suggesting?
<clever> Athas: instead of stdenv.mkDerivation, use clangStdenv.mkDerivation
lsix has joined #nixos
<Athas> Thanks, that works. What does that do?
<clever> provides clang by default, and makes sure clang actually works
<Athas> It also worked to use stdenv.mkDerivation and llvmPackages.clang-unwrapped.
<Athas> (Well, "worked" as in cmake finished without errors.)
wfranzini has joined #nixos
<clever> there is also pkgs.clang.cc, which has some clang libraries, but no libclang.so
<clever> clang.cc also has cmake files in its lib
Jackneill has joined #nixos
MinceR_ is now known as MinceR
hyper_ch2 has quit [Remote host closed the connection]
wfranzini has quit [Remote host closed the connection]
Jackneill has quit [Remote host closed the connection]
Jackneill has joined #nixos
ottidmes has joined #nixos
Jackneill has quit [Remote host closed the connection]
gxt has quit [Remote host closed the connection]
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
Jackneill has joined #nixos
fusion809 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66026 → python37Packages.asgiref: 3.1.4 -> 3.2.0 → https://git.io/fjH9I
mexisme_ has joined #nixos
asymptotically has joined #nixos
nhey_ has joined #nixos
abbiya has quit [Quit: abbiya]
abbiya has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #65944 → wt3: 3.3.11 -> 3.4.0, wt4: 4.0.5 -> 4.1.0 → https://git.io/fjHWr
<{^_^}> [nixpkgs] @Ma27 pushed 3 commits to master: https://git.io/fjH9G
andreas303 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Ma27 merged pull request #65998 → mediainfo-gui: 19.04 -> 19.07 → https://git.io/fjH15
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fjH9W
andreas303 has joined #nixos
<{^_^}> [nixos-homepage] @markus1189 closed pull request #188 → Add direct link to Manual for NixOS → https://git.io/fjH9B
linarcx has joined #nixos
<Athas> srhb: thanks for merging my package!
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fjH9z
<{^_^}> [nixpkgs] @7c6f434c merged pull request #66011 → mtr: 0.92 -> 0.93 → https://git.io/fjHDF
<danderson> argh, created my zpool with compression turned off :(
<danderson> I guess I get to resync all the things :(
veske has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66027 → python37Packages.azure-mgmt-eventgrid: 2.0.0 -> 2.2.0 → https://git.io/fjH9a
lambda-11235 has quit [Quit: Bye]
nschoe has joined #nixos
npmccallum has quit [Quit: npmccallum]
<Athas> I'm trying to write a derivation for pocl. It's fundamentally a fairly well-behaved cmake user, but during building, I get a really weird error:
<Athas> /nix/store/ih3v6znmawlxkic6r3rzj05dvxsaqf2h-clang-7.1.0/lib/clang/7.1.0/include/mm_malloc.h:27:10: fatal error: 'stdlib.h' file not found
mexisme_ has quit [Ping timeout: 246 seconds]
<Athas> It manages to build 70% of the object files according to cmake, so it's not like the C compiler setup can be completely broken.
<Athas> Well okay, 30%, but stdlib.h is so fundamental that I'm a bit surprised it can fail there, but not elsewhere.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66028 → python37Packages.asyncssh: 1.17.0 -> 1.17.1 → https://git.io/fjH91
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66029 → python37Packages.azure-mgmt-monitor: 0.6.0 -> 0.7.0 → https://git.io/fjH9y
alex`` has joined #nixos
Makaveli7 has joined #nixos
Shoubit has joined #nixos
<{^_^}> [nixpkgs] @jojosch opened pull request #66030 → dbeaver: 6.1.3 -> 6.1.4 → https://git.io/fjH9Q
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66031 → pony-stable: 0.2.0 -> 0.2.1 → https://git.io/fjH9F
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66032 → python37Packages.fints: 2.1.1 -> 2.2.0 → https://git.io/fjH9A
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/4b6dd53b90a (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66033 → python37Packages.azure-mgmt-signalr: 0.1.1 -> 0.2.0 → https://git.io/fjHHe
zacts has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66034 → python37Packages.azure-mgmt-dns: 2.1.0 -> 3.0.0 → https://git.io/fjHHU
<{^_^}> [nixpkgs] @jonringer opened pull request #66035 → python3Packages.boltztrap2: 19.1.1 -> 19.7.3 → https://git.io/fjHHq
<Izorkin> Mic92: please recheck #65222
<{^_^}> https://github.com/NixOS/nixpkgs/pull/65222 (by Izorkin, 2 weeks ago, open): mariadb: update packages
<Mic92> Izorkin: I still don't know, why we have need to galera packages, when we only have one version of mariadb.
<Mic92> s/to/two/
Chiliparrot has joined #nixos
<Izorkin> Mic92: then delete 1 version? https://mariadb.com/kb/en/library/upgrading-from-mariadb-103-to-mariadb-104-with-galera-cluster/ two version need to correct upgrade cluster
<Mic92> Izorkin: Two versions on the same node? The way I read this, is that you install the new galera version and then just restart it. But proof me wrong.
<{^_^}> [nixpkgs] @edef1c pushed to master « pgcli: 2.0.2 -> 2.1.1 »: https://git.io/fjHH8
veske has quit [Quit: This computer has gone to sleep]
<{^_^}> [nixpkgs] @edef1c pushed to master « Revert "pgcli: 2.0.2 -> 2.1.1" »: https://git.io/fjHHR
<Izorkin> Mic92: Examle claster - 3 nodes on mariadb 10.3 + galera25. On the first node we update to mariadb 10.4 + galera26. Then update on the next node.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66036 → pythia: 8.240 -> 8.243 → https://git.io/fjHHg
<Mic92> Izorkin: Yes. This means having one version of galera in nixpkgs is enough as long there is a matching mariadb, no?
<edef> note to self: actually check which branch you're on before idly pushing note-to-self WIP stuff
<Mic92> edef: Usually it is a good idea to write an explanation, when doing reverts. So people know why it was downgraded again.
kumikumi has quit [Ping timeout: 258 seconds]
<edef> yeah, sorry
<edef> i was in the minute of "oh shit, i fucked up" and wanted to fix it asap
<Izorkin> Mic92: I think yes. I wanted to add a second package in advance. Remove v26.4.2?
<Mic92> Izorkin: you can readd it in the mariadb upgrade. This also decreases the chance that people use incorrect version combinations by accident.
FRidh has joined #nixos
<Izorkin> Mic92: dropped. Force updated PR.
<{^_^}> [nixpkgs] @edef1c opened pull request #66037 → [WIP] pgcli: 2.0.2 -> 2.1.1 → https://git.io/fjHHw
<{^_^}> [nixpkgs] @edef1c pushed 2 commits to pgcli-2.1.1: https://git.io/fjHHr
<edef> oh ugh
<edef> hub pull-request defaults to creating branches on `origin`
<{^_^}> [nixpkgs] @jonringer opened pull request #66038 → Bump ase → https://git.io/fjHHK
<{^_^}> [nixpkgs] @edef1c closed pull request #66037 → [WIP] pgcli: 2.0.2 -> 2.1.1 → https://git.io/fjHHw
<{^_^}> [nixpkgs] @edef1c pushed 0 commits to pgcli-2.1.1: https://git.io/fjHH6
<{^_^}> [nixpkgs] @edef1c opened pull request #66039 → [WIP] pgcli: 2.0.2 -> 2.1.1 → https://git.io/fjHHP
zacts has quit [Quit: WeeChat 2.4]
nixbitcoin has quit [Remote host closed the connection]
nixbitcoin has joined #nixos
gxt has joined #nixos
johanot has joined #nixos
<Izorkin> Mic92: it's all right use libmysql instead of mariadb-connector-c ?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hyper_ch2 has joined #nixos
orivej has joined #nixos
metaglog has joined #nixos
<Mic92> Izorkin: Not sure what the most intuitive choice would be here. I would prefer libmysql over mariadb.connector-c.
<Izorkin> Mic92: Ok, leave libmysql
dansho has quit [Remote host closed the connection]
dansho has joined #nixos
Makaveli7 has quit [Quit: WeeChat 2.5]
hyper_ch2 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @teto opened pull request #66040 → mininet: 2.3.0d4 -> 2.3.0d6 → https://git.io/fjHH7
___laika has joined #nixos
phreedom has quit [Quit: No Ping reply in 180 seconds.]
phreedom has joined #nixos
hyper_ch2 has joined #nixos
<Taneb> Does anyone know how hydra would behave if it's given the same remote builder twice, with different configuration?
ThatDocsLady has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66041 → python37Packages.apprise: 0.7.8 -> 0.7.9 → https://git.io/fjHHj
___laika has quit [Ping timeout: 246 seconds]
<Taneb> Ah, looking at the source it seems it'd just take the last entry
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66042 → python37Packages.cfgv: 2.0.0 -> 2.0.1 → https://git.io/fjHQI
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66043 → python37Packages.django_polymorphic: 2.0.3 -> 2.1.2 → https://git.io/fjHQm
mexisme_ has joined #nixos
<{^_^}> [nixpkgs] @WilliButz merged pull request #65855 → disper: 0.3.1 -> 0.3.1.1 → https://git.io/fjHJE
<{^_^}> [nixpkgs] @WilliButz pushed 2 commits to master: https://git.io/fjHQY
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/d95b1185541 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
tapiocaphobe has joined #nixos
<{^_^}> [nixpkgs] @vbgl merged pull request #65544 → coqPackages.flocq: 3.1.0 -> 3.2.0 → https://git.io/fjSTl
<{^_^}> [nixpkgs] @vbgl pushed 2 commits to master: https://git.io/fjHQW
o1lo01ol1o has joined #nixos
<das_j> is there a way to rebuild the sqlite db?
andreas303 has quit [Remote host closed the connection]
nixbitcoin has quit [Quit: nixbitcoin]
<sphalerite> das_j: not really, besides restoring a backup
<das_j> sphalerite: Well… what if I don't
<das_j> ?
<das_j> Can I just touch every path in the store?
<sphalerite> das_j: then you're a little screwed
<sphalerite> das_j: you'll need an out-of-store nix to repair it
<das_j> so basically drop the store and run nixos-install?
<sphalerite> yeah that's probably the easiest way
<{^_^}> [nixpkgs] @vorot93 opened pull request #66044 → zeal: fix to be compatible with wrapQtAppsHook → https://git.io/fjHQr
<das_j> well, it's just 600GB
<sphalerite> how did you manage this? :p
<sphalerite> >_<
<das_j> shouldn't take too long
<das_j> I have no idea
andreas303 has joined #nixos
<das_j> The DB corrupts from time to time
<das_j> then I do `sqlite3 db.sqlite .dump | sqlite3 new.sqlite`
<das_j> however, I suspect a corrupt disk
<sphalerite> use zfs :p
<das_j> we did
<das_j> it sucked
<sphalerite> oh?
<das_j> yes
<das_j> we heavily rely on reflinking
<das_j> that's why the FS is an XFS on mdadm
<sphalerite> ah
<sphalerite> dm_integrity?
<das_j> oohh right
<das_j> why not
o1lo01ol1o has quit [Remote host closed the connection]
hyper_ch2 has quit [Remote host closed the connection]
hyper_ch2 has joined #nixos
<hyper_ch2> zfs sucks? oO
<das_j> hyper_ch2: I used it on arch
<das_j> every kernel update was a major pain
<{^_^}> [nixpkgs] @bjornfor merged pull request #66019 → plantuml: 1.2019.7 -> 1.2019.8 → https://git.io/fjHSL
<{^_^}> [nixpkgs] @bjornfor pushed commit from @r-ryantm to master « plantuml: 1.2019.7 -> 1.2019.8 »: https://git.io/fjHQM
<sphalerite> das_j: ah but not on nixos ;)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66045 → python37Packages.azure-mgmt-recoveryservicesbackup: 0.3.0 -> 0.4.0 → https://git.io/fjHQ9
<sphalerite> das_j: but yeah I don't think reflinking works on zfs
<das_j> I still use it on nixos on my deskto
<das_j> p
<das_j> but I plan on switching to XFS as well
<das_j> some day (TM)
<das_j> sphalerite: Even better than the reflinking would be if the nix daemon used an overlayfs to combine the source derivations
<das_j> but that's probably too linux-specific
jmiven has joined #nixos
<yorick> sphalerite: yeah, sad. someone should make that
<hyper_ch2> what's reflinking?
veske has joined #nixos
<yorick> hyper_ch2: on copy-on-write filesystems, just making another reference to the current file. this costs zero time or space, and then you can modify the files separately
<das_j> hyper_ch2: Basically a cooler hardlink
<yorick> it's sad that btrfs has other drawbacks
<yorick> (like no raid5 support)
<das_j> yorick: We used btrfs as well
<hyper_ch2> yorick: thx
<das_j> metadata corruption as always
<yorick> I should check up / donate money to bcachefs
<das_j> yorick: we use http://man7.org/linux/man-pages/man2/copy_file_range.2.html because it works through the nix store bindmount
kumikumi has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66046 → python37Packages.django_2_2: 2.2.3 -> 2.2.4 → https://git.io/fjH7U
fendor has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace opened pull request #66047 → nixos/pantheon: set GTK_CSD → https://git.io/fjH73
anderslundstedt has quit [Ping timeout: 245 seconds]
veske has quit [Quit: This computer has gone to sleep]
mexisme_ has quit [Ping timeout: 264 seconds]
<yorick> das_j: convince your company to donate to bcachefs ;D
<das_j> yorick: There is no company :c
hmpffff has joined #nixos
<das_j> It's a private server
<yorick> why do you have 600GB sqlite databases on a private server
melling has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66048 → python37Packages.azure-mgmt-servicefabric: 0.2.0 -> 0.3.0 → https://git.io/fjH7C
anderslundstedt has joined #nixos
melling has quit [Client Quit]
<sphalerite> yorick: I think it's the sqlite database belonging with a 600GB store, not a 600GB db
<yorick> sphalerite: thank God
melling has joined #nixos
melling has quit [Client Quit]
pietranera has joined #nixos
<pingiun> how do I import library functions like lib.strings.hasPrefix in my nix file?
<{^_^}> [nixpkgs] @lsix merged pull request #66046 → python37Packages.django_2_2: 2.2.3 -> 2.2.4 → https://git.io/fjH7U
<{^_^}> [nixpkgs] @lsix pushed 2 commits to master: https://git.io/fjH7R
<pingiun> I want to use it on a standalone nix expression that I evaluate using `nix eval`
<yorick> pingiun: import <nixpkgs/lib>
<clever> pingiun: `let pkgs = import <nixpkgs> {}; lib = pkgs.lib;`
<pingiun> thanks
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/ad34e9e2475 (from 17 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66049 → python37Packages.dockerfile-parse: 0.0.14 -> 0.0.15 → https://git.io/fjH7w
<pingiun> can you unpack multiple things from a set? like let {flatten, head} = import <nixpkgs/lib>.lists;
<{^_^}> [nixpkgs] @lsix opened pull request #66050 → Django update → https://git.io/fjH7r
<yorick> pingiun: let inherit ((import <nixpkgs/lib>).lists) flatten head;
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66051 → pspg: 1.6.5 -> 1.6.8 → https://git.io/fjH7o
<Izorkin> Mic92: no idea to corrcet check with nix-review?
<pingiun> I get an error somewhere in nixpkgs when I import from it: error: value is a string while a set was expected, at /nix/store/glzx9gah7xgfwkm2bn4ia5p6c49kf1ry-nixpkgs-19.09pre187222.002b853782e/nixpkgs/pkgs/development/interpreters/python/cpython/2.7/default.nix:177:30
<pingiun> although I'm not using the python package
<{^_^}> [nixpkgs] @mmahut merged pull request #65931 → groonga: 9.0.4 -> 9.0.5 → https://git.io/fjHC6
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjH76
<clever> 177 optional (stdenv ? cc && stdenv.cc.libc != null) stdenv.cc.libc ++
<clever> pingiun: thats a strange error to be getting
<pingiun> it's on macOS btw
<pingiun> just upgraded too
<pingiun> but yes that is line 177 for me too
<pingiun> but should I even be getting that error? why is it evaluating the python package, when I'm just importing?
<pingiun> these are my imports now:
<pingiun> inherit ((import <nixpkgs/lib>).lists) flatten head optional;
<pingiun> concatMapStrings = (import <nixpkgs/lib>).concatMapStrings;
<pingiun> pkgs = (import <nixpkgs> {}).pkgs;
<pingiun> hasPrefix = (import <nixpkgs/lib>).strings.hasPrefix;
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66052 → python37Packages.azure-mgmt-web: 0.41.0 -> 0.42.0 → https://git.io/fjH7X
<clever> pingiun: what about just `pkgs = import <nixpkgs> {}; and lib = pkgs.lib; ?
<clever> no need to import nixpkgs 4 times
<pingiun> ah yes, I thought that pkgs was an element in <nixpkgs>
<pingiun> that works
<clever> pkgs is an element in pkgs
<clever> > pkgs.pkgs.pkgs.pkgs.pkgs.hello
<{^_^}> "<derivation /nix/store/4c91sgwss7vx4vx2yld81vb9gnqpxzj9-hello-2.10.drv>"
<pingiun> so why does it evaluate the python (with error) when I do .pkgs but not when I just import <nixpkgs>?
<LnL> is that on a merge request or locally?
<clever> not sure, you would need to test each part in `nix repl` to see what is failing
tapiocaphobe has quit [Remote host closed the connection]
lemsip is now known as emilsp
<{^_^}> [nixpkgs] @aanderse closed pull request #54863 → nixos/wallabag: init → https://git.io/fhPFG
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @vorot93 to master « zeal: use qt5's mkDerivation »: https://git.io/fjH77
<{^_^}> [nixpkgs] @worldofpeace closed pull request #66044 → zeal: fix to be compatible with wrapQtAppsHook → https://git.io/fjHQr
sb0 has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66053 → pmd: 6.16.0 -> 6.17.0 → https://git.io/fjH7d
<{^_^}> [nixpkgs] @etu closed pull request #58208 → phpPackages.language-server: init at 5.4.6 → https://git.io/fjJ1e
<{^_^}> [nixpkgs] @etu reopened pull request #58208 → phpPackages.language-server: init at 5.4.6 → https://git.io/fjJ1e
psy3497 has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @offlinehacker opened pull request #66054 → telepresence: 0.93 -> 0.101 → https://git.io/fjH7N
DariusTheMede has joined #nixos
<DariusTheMede> I am trying to use jupyterWith: https://github.com/tweag/jupyterWith
domogled has joined #nixos
Lukas4454 has joined #nixos
<Lukas4454> back from Guix
<Lukas4454> the packaging is better here
Lukas4454 has quit [Client Quit]
Lukas4452 has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @suhr to master « qjackctl: use qt5's mkDerivation »: https://git.io/fjH7p
Lukas4452 has quit [Client Quit]
<{^_^}> [nixpkgs] @worldofpeace closed pull request #65979 → qjackctl: use qt5.mkDerivation → https://git.io/fjHPJ
Lukas4452 has joined #nixos
<DariusTheMede> I want to use inline-r which I `fetchgit` but something is overwriting this
<DariusTheMede> patching sources
<DariusTheMede> Replace Cabal file with edited version from http://hackage.haskell.org/package/inline-r-0.9.2/revision/1.cabal.
<DariusTheMede>
abbiya has quit [Quit: abbiya]
<DariusTheMede> Does anyone know why having a revision for a package would make nix decide to overwrite my explicit instructions to download the package from github?
abbiya has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #65864 → python3Packages.cairocffi: correct gdk-pixbuf substitution → https://git.io/fjHTd
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjH7j
<clever> DariusTheMede: cabal revisions, one min
jmiven has left #nixos ["bye"]
abbiya has quit [Client Quit]
<clever> DariusTheMede: the params revision and editedCabalFile should be set to null in your override
<clever> DariusTheMede: check this to see what they do
abbiya has joined #nixos
iyzsong has joined #nixos
zupo has joined #nixos
abbiya has quit [Quit: abbiya]
<DariusTheMede> But they seem to default to null and I can't find anything that modifies them
__monty__ has joined #nixos
mexisme_ has joined #nixos
abbiya has joined #nixos
kaliumxyz has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66055 → python37Packages.django_compressor: 2.2 -> 2.3 → https://git.io/fjH5Y
mexisme_ has quit [Ping timeout: 246 seconds]
<clever> DariusTheMede: which rev of nixpkgs are you on?
psyanticy has joined #nixos
nixbitcoin has joined #nixos
nixbitcoin has quit [Remote host closed the connection]
nixbitcoin has joined #nixos
logzet has joined #nixos
fendor has quit [Ping timeout: 246 seconds]
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
<{^_^}> [nixpkgs] @Twey closed pull request #64134 → meson: 0.49.2 -> 0.51.0 → https://git.io/fjKid
iyzsong has joined #nixos
<{^_^}> [nixpkgs] @Twey reopened pull request #64134 → meson: 0.49.2 -> 0.51.0 → https://git.io/fjKid
nschoe has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66056 → pngpp: 0.2.9 -> 0.2.10 → https://git.io/fjH5w
FRidh has quit [Ping timeout: 245 seconds]
FRidh has joined #nixos
<DariusTheMede> clever: I believe I am on 19.03? (nix-shell -I nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-19.03.tar.gz --command "jupyter lab")
<worldofpeace> ,locate libcom_err.so.2
<{^_^}> Found in packages: e2fsprogs
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/7385e92641d (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
shibboleth has joined #nixos
<clever> DariusTheMede: *looks*
nixbitcoin has quit [Quit: nixbitcoin]
<clever> DariusTheMede: thats on version 0.10.1, which doesnt agree with the output you pasted above
<clever> DariusTheMede: do you have a shell.nix in the mix?
<DariusTheMede> Yes I know and I have explicitly requested HEAD via patched-inline-r
<DariusTheMede> Yes I have a shell.nix
<clever> DariusTheMede: can you pastebin the shell.nix file?
<{^_^}> [nixpkgs] @jdanekrh opened pull request #66057 → dotnet.sdk: 2.2.203/2.2.4 -> 2.2.401/2.2.6 → https://git.io/fjH55
<DariusTheMede> patched-Naperian works as expected
<clever> DariusTheMede: what is line 3 refering to?, it may not be obeying the -I nixpkgs= at all
andymandias has quit [Quit: ZNC 1.7.3 - https://znc.in]
<clever> DariusTheMede: also, line 14 should really be refering to hspkgs.inline-r
andymandias has joined #nixos
<clever> DariusTheMede: doing it outside like that breaks the whole idea of overlays and composing overlays together
<{^_^}> [nixpkgs] @pmiddend opened pull request #66058 → fcppt: 3.0.0 -> 3.2.2 → https://git.io/fjH5A
nschoe has joined #nixos
chris-- has joined #nixos
<chris--> hi all. I anyone around whos willing to review a small pull request? it'
<chris--> it's been around for a couple of weeks and I'd like to base some additional work on it
<{^_^}> #64242 (by kampka, 4 weeks ago, open): kops: restructure package to maintain multiple versions in the future
commande1 is now known as commander
<DariusTheMede> So you are right; it is ignoring 19.03
<DariusTheMede> clever: I am not clear what you mean by hspkgs: do you mean replace pkgs.haskellPackages.inline-r.overrideAttrs byt pkgs.haskellPackages.hspkgs.inline-r.overrideAttrs?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66059 → python37Packages.azure-mgmt-rdbms: 1.8.0 -> 1.9.0 → https://git.io/fjHdU
rajivr___ has quit [Quit: Connection closed for inactivity]
rprospero has joined #nixos
acarrico has joined #nixos
__monty__ has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @lsix merged pull request #66055 → python37Packages.django_compressor: 2.2 -> 2.3 → https://git.io/fjH5Y
<{^_^}> [nixpkgs] @lsix pushed 2 commits to master: https://git.io/fjHdq
abbiya has quit [Quit: abbiya]
<clever> DariusTheMede: move the entire codeblock on 14-24, down to line 44, and use the hspkgs from 43
<clever> DariusTheMede: same for Naperian
___laika has joined #nixos
<clever> DariusTheMede: the entire problem may even vanish if you just use callCabal2nix on everything
<clever> DariusTheMede: you might also be able to use callHackage and callHackageDirect, depending on if the target is in hackage or not
<{^_^}> [nixpkgs] @garbas closed pull request #51921 → vscode-extensions: init vim, github, theme-onelight → https://git.io/fpdZF
__monty__ has joined #nixos
<Lukas4452> thanks for having the documentation build in the ISO
___laika has quit [Ping timeout: 248 seconds]
<clever> DariusTheMede: if i check nixpkgs rev 2a051165d53585630a602e831496f7157c519885 i can see:
<clever> 122891 "inline-r" = callPackage
<clever> 122904 revision = "1";
<clever> 122905 editedCabalFile = "01cxsjdxy5brdnw966928bcdivc8ab7kq91vdqkg2q801jf5jj9g";
<clever> DariusTheMede: so it is being set to a non-default value, on the version of nixpkgs your using
<DariusTheMede> Life is cruel and unforgiving
<clever> DariusTheMede: but if you use callCabal2nix, it will re-make the entire drv, based on the cabal file, and ignore the previous version
<DariusTheMede> What do I do about the package not being in the top level directory of the git repo?
<DariusTheMede> I had postUnpack before
<clever> DariusTheMede: i think this would already solve that
lucus216 has joined #nixos
<DariusTheMede> Aha
<DariusTheMede> :thumbsup:
<clever> the answers are already in the code you gave!
* DariusTheMede is ashamed
<lucus216> The graphical live CD hangs early in the boot process when started from a standard Virtualbox VM :(
<clever> lucus216: there should be pre-made virtualbox images, with nixos already installed
<lucus216> clever: I know, but I wanted to play with the installation procedures
<clever> lucus216: ah, can you screenshot where it hangs?
<{^_^}> [nixpkgs] @lsix pushed commit from @r-ryantm to release-19.03 « python37Packages.django_2_2: 2.2.3 -> 2.2.4 »: https://git.io/fjHdu
<lucus216> clever: Right after "running udev..." in stage 1. I'm going to try upgrading and rebooting my host
veske has joined #nixos
Lukas4452 has quit [Ping timeout: 244 seconds]
acarrico has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66060 → ponyc: 0.28.1 -> 0.30.0 → https://git.io/fjHdX
Lukas4452 has joined #nixos
veske has quit [Quit: This computer has gone to sleep]
gxt has quit [Ping timeout: 260 seconds]
halfbit has joined #nixos
Lukas4452 has quit [Ping timeout: 245 seconds]
<DariusTheMede> clever: that built thanks very much
<DariusTheMede> Sadly I now get a segfault :(
nixbitcoin has joined #nixos
acarrico has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66062 → python37Packages.APScheduler: 3.6.0 -> 3.6.1 → https://git.io/fjHdx
<clever> DariusTheMede: what does gdb say the backtrace is?
<{^_^}> [nixpkgs] @lsix opened pull request #66063 → motu_client: drop → https://git.io/fjHdp
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66064 → python37Packages.azure-mgmt-datamigration: 2.1.0 -> 2.2.0 → https://git.io/fjHdj
MmeQuignon has joined #nixos
Lukas4452 has joined #nixos
nschoe has quit [Ping timeout: 252 seconds]
Lukas4452 has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66065 → pulumi-bin: 0.17.17 -> 0.17.27 → https://git.io/fjHF3
hyper_ch2 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @samueldr merged pull request #66030 → dbeaver: 6.1.3 -> 6.1.4 → https://git.io/fjH9Q
<{^_^}> [nixpkgs] @samueldr pushed 2 commits to master: https://git.io/fjHFG
Lukas4452 has joined #nixos
<Lukas4452> i cant start X
fendor has joined #nixos
nschoe has joined #nixos
<Lukas4452> just installed NixOS "successfully" it boots and the live USB had a working KDE but after installing it X doesnt start
<etu> Lukas4452: Have you enabled the xserver in your config?
<Lukas4452> yes
<Lukas4452> it tries to start but fails (visible in journalctl)
<etu> Do you get any errors in the log?
shibboleth has quit [Quit: shibboleth]
<etu> That may be useful
<Lukas4452> i get many errors
<Lukas4452> EE AddScreen/Screeninit failed for driver 0
<Lukas4452> sddm: Failed to read display number from pipe
<Lukas4452> also Plymouth doesnt show up at boot
<clever> Lukas4452: sounds related to the video drivers
<Lukas4452> maybe
<lucus216> clever: upgrading my host didn't help
<DariusTheMede> clever: I am going to have to leave this for another day but thanks for the pointer
<Lukas4452> but why did the live us
<Lukas4452> b work
<clever> Lukas4452: the defaults for it may differ
<etu> Lukas4452: What videocard do you have?
<Lukas4452> some buildin intel
<Lukas4452> o what the heck
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66066 → python37Packages.emoji: 0.5.2 -> 0.5.3 → https://git.io/fjHFr
<Lukas4452> i rebuild the config and it started KDE
<Lukas4452> why?
<clever> Lukas4452: ls -l /run/{booted,current}-system ?
<Lukas4452> i may found a bug
vmandela has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66067 → python37Packages.azure-mgmt-containerinstance: 1.4.1 -> 1.5.0 → https://git.io/fjHFP
<Lukas4452> clever did that
<clever> Lukas4452: what is the output from it?
hyper_ch2 has joined #nixos
<Lukas4452> the store hashes differ
<Lukas4452> everything else is the same
<etu> So you have changed the configuration somehow
<Lukas4452> i disabled plymouth
<Lukas4452> oh now it starts x at boot
<Lukas4452> since when does plymouth block X11
<Lukas4452> how do i get plymouth work without breaking X11?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66068 → python37Packages.azure-mgmt-search: 2.0.0 -> 2.1.0 → https://git.io/fjHFH
<symphorien> Lukas4452: you can use nix-diff to see the difference
hyper_ch2 has quit [Remote host closed the connection]
<Lukas4452> difference of what?
<Lukas4452> and how do i fix plymouth?
rauno has quit [Ping timeout: 245 seconds]
<Lukas4452> symphorien?
<{^_^}> [nixpkgs] @mmahut opened pull request #66069 → pythonPackages.pytrends: init at 4.6.0 → https://git.io/fjHbJ
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66070 → python37Packages.betamax-serializers: 0.2.0 -> 0.2.1 → https://git.io/fjHbU
<symphorien> Lukas4452: of the two generations
<{^_^}> [nixpkgs] @joachifm merged pull request #66066 → python37Packages.emoji: 0.5.2 -> 0.5.3 → https://git.io/fjHFr
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/fjHbI
<Lukas4452> ok
chris-- has quit [Remote host closed the connection]
fendor has quit [Ping timeout: 268 seconds]
<Lukas4452> ...hm
hyper_ch2 has joined #nixos
<{^_^}> [nixpkgs] @angristan opened pull request #66071 → dogecoin: 1.10.0 -> 1.14.1 → https://git.io/fjHbt
<kaliumxyz> Is there any way to do nixops on windows?
<Lukas4452> dunno how that should help
<gchristensen> never in a million years did I expect that question :D
<Lukas4452> nixops?
<gchristensen> yeah
<Lukas4452> whats that again? im new here
<hyper_ch2> does nixops work in WSL?
<kaliumxyz> Nix doesn't work in WSL so i'd say no.
<kaliumxyz> Docker it is then.
<gchristensen> I understood Nix does work under WSL
<gchristensen> https://nixos.org/nixops/, Lukas4452
<kaliumxyz> I could not get it running.
<symphorien> It does but there are twaks to do so
<Lukas4452> windows doesnt deserve nix
<kaliumxyz> Not in my VM.
<symphorien> *tweaks
<kaliumxyz> Might be that it does run if you are not in a VM.
<hyper_ch2> Lukas4452: didn 't you just say it the wrong way around? Nix doesn't deserve windows
<kaliumxyz> wsl2 will come out soon which should be better.
<hyper_ch2> that will mark they year of the linux desktop
hyper_ch2 has quit [Remote host closed the connection]
hyper_ch2 has joined #nixos
<kaliumxyz> gchristensen following the basics steps in that article didn't work, with some hacks it might run on WSL.
<hyper_ch2> as windows will fin ally have a proper linux kernel ;)
<gchristensen> gotcha
nschoe has quit [Read error: Connection reset by peer]
<gchristensen> that is weird, since Geoffrey Huntley has gotten NixOS to work under WSL
<kaliumxyz> Recently?
<gchristensen> yes
<kaliumxyz> Might be because I ran it in a VM.
hyper_ch2 has quit [Remote host closed the connection]
<kaliumxyz> I didn't try anything outside of running the script though.
hyper_ch2 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66072 → python37Packages.azure-mgmt-authorization: 0.51.1 -> 0.52.0 → https://git.io/fjHbs
<symphorien> kaliumxyz: here are the results of my (sucessful) attempt at installing nix on wsl https://nixos.wiki/wiki/Nix_Installation_Guide#WSL
<hyper_ch2> hmmmm, still having issues with the new freenode webirc client.... need to check if another one is packed in nixo
<kaliumxyz> Ah great, thanks symphorien
<symphorien> kaliumxyz: also you have to disable the sandbox
nschoe has joined #nixos
ddellacosta has joined #nixos
<tilpner> hyper_ch2: See <nixpkgs/pkgs/applications/networking/irc>
<{^_^}> [nixpkgs] @domenkozar pushed commit from @mkaito to release-19.03 « haskellPackages.servant-client-core: apply patch only to 0.15 »: https://git.io/fjHbl
<hyper_ch2> tilpner: webirc
<hyper_ch2> I found shout but no idea how to get it to work
<tilpner> hyper_ch2: If you some time, I hear glowing bear is good
<{^_^}> [nixpkgs] @WilliButz opened pull request #66073 → nixos/unifi: create data directory with correct permissions → https://git.io/fjHb8
<tilpner> *have some
<hyper_ch2> tilpner: hmmm, only service I found is shout but can't get that to work
* tilpner has not used shout
<hyper_ch2> looking at glowing bear now
linuxdaemon has quit [Read error: Connection reset by peer]
<thoughtpolice> Hello. If you've been having issues with the binary cache recently, I've (hopefully) got some good news, and would appreciate some testing: https://discourse.nixos.org/t/improvements-to-cache-nixos-org-help-test-the-new-config/3620
zgrep has quit [Read error: Connection reset by peer]
zgrep has joined #nixos
ddellacosta has quit [Ping timeout: 244 seconds]
__monty__ has quit [Ping timeout: 246 seconds]
xkapastel has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace closed pull request #44494 → mdbook: 0.1.8 -> 0.2.0 → https://git.io/fNX8Z
linuxdaemon has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66074 → python37Packages.azure-mgmt-eventhub: 2.6.0 -> 3.0.0 → https://git.io/fjHbg
hyper_ch2 has quit [Remote host closed the connection]
hyper_ch2 has joined #nixos
dansho has quit [Ping timeout: 268 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hyper_ch2 has quit [Remote host closed the connection]
hyper_ch2 has joined #nixos
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/4f3bb982c9d (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
mexisme_ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66075 → python37Packages.azure-graphrbac: 0.61.0 -> 0.61.1 → https://git.io/fjHbH
owickstrom has joined #nixos
mexisme_ has quit [Ping timeout: 264 seconds]
dansho has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66076 → python37Packages.azure-mgmt-cosmosdb: 0.6.0 -> 0.7.0 → https://git.io/fjHNJ
__monty__ has joined #nixos
elux has joined #nixos
<elux> hey guys
<elux> i tried to upgrade, and flatpak now errors/asserts: "To use Flatpak you must enable XDG Desktop Portals with xdg.portal.enable.". but what is xdg.portal anyways?
linarcx has quit [Quit: WeeChat 2.5]
DariusTh` has joined #nixos
<simpson> https://flatpak.github.io/xdg-desktop-portal/portal-docs.html#common-conventions "The general flow of the portal API is that the application makes a portal request, the portal replies to that method call with a handle (i.e. object path) to Request object that corresponds to the request. The object is exported on the bus and stays alive as long as the user interaction lasts. When the user interaction is over,
<simpson> the portal sends a Response signal back to the application with the results from the interaction, if any."
<simpson> Yet another reinvention of basic message-passing concepts.
endformationage has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #65880 → binaryen: 86 -> 88 → https://git.io/fjHLY
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fjHNY
<thoughtpolice> elux: It's a mechanism to allow flatpak apps to talk to the outside system, by way of an exposed D-Bus service. xdg-desktop-portal is an application that creates those D-Bus services, so you need to enable it
halfbit has quit [Ping timeout: 252 seconds]
<thoughtpolice> simpson: I mean, to be fair it's just using D-Bus, which is a workaround for poor IPC mechanisms in Linux, sure, but it's not like that's really new or anything, just working with what's there.
DariusTheMede has quit [Ping timeout: 268 seconds]
<thoughtpolice> Guess it depends on where you draw the line.
<clever> thoughtpolice: ive done something similar with nix-bundle, i called it the escape hatch
<clever> a bash script inside the sandbox, called xdg-open, that simply echos "xdg-open <url>" into /escape-hatch
<clever> nix-user-chroot then simply runs /bin/sh -c "xdg-open <url>", outside the sandbox, done!
<clever> thoughtpolice: who needs a fancy optional daemon running on the host?? :D
<{^_^}> [nixpkgs] @marsam merged pull request #65986 → libimagequant: 2.12.3 -> 2.12.5 → https://git.io/fjHPh
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjHN4
<thoughtpolice> Mmm, forgot about nix-bundle. I finally released a tool I wrote last year too to do basically the same thing: https://github.com/thoughtpolice/nix-makeself
<simpson> thoughtpolice: Oh, sure; D-Bus itself is a poor reinvention of concepts that would be native on other, higher-level systems. My gripe is mostly that people thought that writing C was an acceptable way to get an object system.
<thoughtpolice> nix-bundle seems closer to Facebook's XAR but without the use of squashfs/fuse. I've wondered if something like that would be a good attempt for bundling Nix applications.
domogled has quit [Quit: domogled]
<clever> thoughtpolice: main issue with nix-bundle, that squashfs would solve (but that needs root-ish), is the long startup time
<clever> thoughtpolice: arx did recently add a cache thing, so it will reuse the previously unpacked stuff, but that introduces its own bugs
<clever> if arx fails to unpack a thing, it wont clear the cache
<simpson> thoughtpolice: nix-makeself looks pretty cool. I'll have to try it out.
<clever> and next time you run it, it uses the partially unpacked directory, causing various problems
<thoughtpolice> simpson: Be warned that the internals are an absolute goddamn nightmare, but it works pretty OK
<{^_^}> [nixpkgs] @ttuegel merged pull request #66020 → libsForQt5.phonon: 4.10.2 -> 4.10.3 → https://git.io/fjHSR
<{^_^}> [nixpkgs] @ttuegel pushed 2 commits to staging: https://git.io/fjHNE
<clever> my solution to the speed problem (and to support updating dynamically), is to use nix-bundle to package an "installer"
<thoughtpolice> For some reason I thought "yes it would be a good idea to just put the C and Nix code inside the Perl program"
<thoughtpolice> Presumably I was blacked out at the time I wrote it
<thoughtpolice> Not sure
<clever> and that installer copies a nix closure to ~/.daedalus/nix/store, and sets up scripts to run nix-user-chroot for you
<clever> so its entirely transparent, and ceases to be nix-bundle once installed
<clever> and the chroot has a fully working nix, so nix profiles can be used
<thoughtpolice> clever: Yeah, all of the current solutions all have sort of various overlapping flaws/deficencies. I think an approach like the one XAR uses would be the best in the long run, but that's just a theory.
<clever> main problem i have with nix-user-chroot is that debian made the silly choice to disable namespacing without root
<thoughtpolice> One thing I really like about nix-makeself for example is that the packages are just described using Nix itself which is pretty convenient, most of the others just take some list of store objects. I'd like to see that in the other tools
<simpson> thoughtpolice: I have strong expectations that aren't being met. I started writing a D-Bus client from scratch, but kept crashing other applications by accident, and on a modern Linux distro, crashing things over D-Bus can hang the system.
<simpson> If I wanted that experience, I'd go back to GPU drivers~
linarcx has joined #nixos
<clever> thoughtpolice: nix-bundle is also fully nix based, i can just `nix-build -A something` and it spits out the arx bundle
<thoughtpolice> Ah, didn't realize
linarcx has quit [Read error: Connection reset by peer]
<clever> simpson: ive had the fun of writing gpu drivers for the rpi before
linarcx has joined #nixos
<simpson> clever: Nice. I've resolved that I'm not writing another GPU driver until I've arranged for a decent high-level language on top.
rajivr___ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66077 → jenkins-job-builder: 2.10.0 -> 2.10.1 → https://git.io/fjHNr
<clever> simpson: i started with kernel code that delt with allocating chunks of memory, letting you mmap them into userland, letting you issue a render action, and waiting for an irq
linarcx has quit [Read error: Connection reset by peer]
<clever> simpson: then i went to the userland side, with zero idea how mesa and opengl where "supposed" to work, and just implemented every function the opengl app was using, lol
linarcx has joined #nixos
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/57d65085125 (from 22 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
<simpson> clever: Have you looked into Mesa's structure yet? The C obfuscates, but the overall structure is not hard to grasp. It's a state machine and input validator, neither of which are well-expressed in C.
<dminuoso> Mmm, what's the most nixos friendly language/environment to do embedded development? I was playing with the thought of using rust to target esp8266, but just looking at how the environment needs to be set up I fear this might throw me into the deepest and darkest holes of nixos and I may never crawl out of them again.
orbekk has joined #nixos
<dminuoso> (And Arduino IDE is something Im trying to avoid desperately)
elux has quit [Remote host closed the connection]
<clever> simpson: https://github.com/cleverca22/gl/blob/master/core.c#L559-L568 i dont think this is the proper way to implent a driver in opengl :P
<simpson> clever: You'd be surprised how close this is to the earliest GL drivers!
<thoughtpolice> dminuoso: It really just depends on what toolchain you want. It was not very hard, for instance, for me to get a cross-compiler based on GCC to target RISC-V emulators/softcores. Rust/ESP8266 will be a bit harder; for one you'll certainly have to use forks of LLVM for Rust. (There is no Xtensa backend in LLVM upstream right now*)
<FRidh> how can they, with XAR/squashfuse, ensure that references to native libraries that are bundled in the squashs, actually point to those native libraries and not to things elsewhere on /
<simpson> dminuoso: I wish that there were a singularly-good answer. I think that it depends on which target you're working with. pkgs/development/arduino is a little barren, but maybe that's an opportunity.
<thoughtpolice> * But there will be at some point, since an XTensa backend was proposed/accepted recently.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66078 → python37Packages.jug: 1.6.7 -> 1.6.8 → https://git.io/fjHNM
<clever> FRidh: is any chroot or namespace magic going on?
<FRidh> I mean, we typically need to patch python code to hardcode paths to .so's. I can't imagine they would not have to do that
<FRidh> clever: as far as I can tell not
<clever> FRidh: perhaps they patchelf'd things to behave more like nixos's initrd?
nhey_ has quit [Remote host closed the connection]
<Miyu-chan> Well. Eep. gitlab-runner returns the wrong runner-name on startup, but returns the right runner name on shutdown.
<Miyu-chan> This is big sad TBH
<clever> FRidh: or the nix bootstrap tools
<FRidh> clever: still won't help when you use ctypes.util.find_library. I have the impression that what can work are extension modules, because theyre in hte right folder so you can import them fine
<clever> FRidh: yeah, that kind of stuff needs a chroot
<FRidh> clever: exactly
<FRidh> so it's not that great then. At least not as powerful as nix-bundle
<FRidh> or snap
veske has joined #nixos
iyzsong has quit [Ping timeout: 268 seconds]
DariusTh` has quit [Ping timeout: 258 seconds]
<FRidh> ah, looking in the code I do see now they do a chroot
<clever> link?
<thoughtpolice> Yes I would be surprised if they didn't, considering the README claims it is designed to bundle e.g. native objects, too. Though it's unclear from their python infrastructure how they determine that. (Realistically Facebook probably has internal components that smooth that out anyway so it's "irrelevant" for their XAR usage, I bet)
<{^_^}> [nixpkgs] @zimbatm merged pull request #64242 → kops: restructure package to maintain multiple versions in the future → https://git.io/fj6JW
<{^_^}> [nixpkgs] @zimbatm pushed 4 commits to master: https://git.io/fjHNN
<clever> FRidh: i see mention of namespaces, the same stuff nix-user-chroot uses
<FRidh> indeed
johnny101m has quit [Ping timeout: 248 seconds]
<clever> it will likely have the same problems on debian, where a custom kernel patch disables namespacing for non-root users
<thoughtpolice> The real benefit of XAR even if that wasn't true though for whatever reason is that it has much better compression due to squashfs compressing across the entire filesystem image, and that the FUSE mounts can be shared between invocations. Those are big advantages none of our tools do.
<clever> and they added a /proc flag to re-enable it
<thoughtpolice> Though it adds a lot more moving parts, admittedly...
<{^_^}> [nixpkgs] @marius851000 opened pull request #66079 → Ctrtool update → https://git.io/fjHAe
<clever> i think they are forced to use fuse, because you cant mount actual filesystems when using user namespacing
<clever> your only allowed to `mount --bind`
<thoughtpolice> (Well, I guess nix-makeself sort of works around the second deficiency since it only has to unpack once, but I consider that more of an alternative solution)
<clever> because a true mounted FS would open the kernel up to buffer overflow exploits in the FS driver, along with things like setuid binaries
<clever> but now you rely on both fuse support (which itself has some security problems) and user namespacing (which debian claims has security problems)
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/4f3bb982c9d (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
_kwstas has joined #nixos
_kwstas has quit [Remote host closed the connection]
<thoughtpolice> I mean, a lot of people make the second claim, somewhat reasonably (I think at one point Arch's secure kernel just bans user namespaces entirely). The kernel just wasn't designed under the assumptions user namespaces imply ("uid == 0 does not really mean root")
hyper_ch2 has quit [Remote host closed the connection]
<thoughtpolice> At least, as far as security considerations go. I have no idea what the consensus on userns is today but I'm willing to bet the bugs aren't all fixed.
_kwstas has joined #nixos
devalot has joined #nixos
_kwstas has quit [Remote host closed the connection]
hyper_ch2 has joined #nixos
<thoughtpolice> I seem to remember at one point RedHat did the same but I'm not sure; last I remember I thought nix-makeself worked fine there, and it definitely does need unprivileged userns support
<clever> thoughtpolice: from what i heard, its more about adding a large chunk of un-audited code to the kernel
<clever> thoughtpolice: and they just didnt want to deal with auditing it for problems, so they just disable it
<colemickens> What does it mean when I do `nix-store -q --roots /nix/store/path` and it returns: {memory:16}
npmccallum has joined #nixos
<worldofpeace> ,locate krb5-config
<{^_^}> Found in packages: krb5.dev, heimdal.dev, kerberos.dev
<clever> colemickens: a currently running process refers to that path
ixxie has joined #nixos
Soo_Slow has joined #nixos
<clever> colemickens: the number is just an index into a list, and doesnt mean much
orbekk has quit [Quit: WeeChat 2.4]
<Mic92> thoughtpolice: Is this work-in-progress? https://github.com/nixos/fastly-configs
<thoughtpolice> Mic92: Yes, I'm going to coordinate with gchristensen or niksnut to get a repository setup there. In the mean time I'll probably put the VCL somewhere else, or perhaps make my own repo and we can just migrate it
hyper_ch2 has quit [Remote host closed the connection]
acmilanfan has joined #nixos
<gchristensen> thoughtpolice: ideally the config would live in nixos-org-configurations
<Miyu-chan> arianvp: Hey. What happens if you have 2 machines gitlab-runner register'ing the same --name?
domogled has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/5aeab0b2ddb (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<thoughtpolice> gchristensen: It might be possible to do that, and I see there is some Terraform stuff there (which we do have a Fastly provider for) that might be worth linking into, but I mostly figured it would be a separate repo since the cache configuration is more or less wholly separate from the actual Nix-based fleet deployment. It could go either way I suppose.
<thoughtpolice> One thing I was going to explore was using GitHub Actions to deploy the configuration, so actual contributions do not require manual intervention for us to deploy.
<thoughtpolice> (I've actually found GH actions works quite well to automate Nix-based setups. Truthfully I don't know if/what kind of automation tools we endorse, so rolling a simple one of our own might be beneficial, I'm not sure)
<alj[m]> How do I set maven to use java 11 (both installed from nixpkgs). It doesnt seem to recognize `JAVA_HOME`
<alj[m]> and I cant find the declaration in nixpkgs so i dont know how to override
<alj[m]> please help :)
<gchristensen> thoughtpolice: integrating with the existing terraform configuration would be preferable
<gchristensen> if not that, putting the config in that repo with instructions
<srhb> alj[m]: Try less `which mvn` -- that'll answer why it doesn't recognize JAVA_HOME
<alj[m]> srhb: It uses the java version it installed into the nix store. 1.8
<thoughtpolice> Apparently there's something for tarballs.nixos.org but I have no idea if it's actually in production: https://github.com/NixOS/nixos-org-configurations/blob/master/terraform/nixpkgs-tarballs.tf
<srhb> alj[m]: Next you'll probably want to create an overlay that calls the maven package with { jdk = jdk11; }
<srhb> alj[m]: Right, I'm just trying to show what's going on :)
<{^_^}> [nixpkgs] @Ma27 merged pull request #66049 → python37Packages.dockerfile-parse: 0.0.14 -> 0.0.15 → https://git.io/fjH7w
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fjHA6
<srhb> alj[m]: So the build process creates a wrapper script that points JAVA_HOME at the directory of the jdk maven was initially built with. You'll want to override that jdk.
<gchristensen> thoughtpolice: it is :)
acmilanfan has quit [Remote host closed the connection]
<alj[m]> rather its the one installed by nix ~/.nix-profile/bin/mvn
<alj[m]> srhb: How?
<worldofpeace> ,locate kadmin.local
<{^_^}> Found in packages: krb5
<thoughtpolice> gchristensen: Ugh, tarballs.nixos.org is served as a bucket with S3's "Static website" option, apparently?
<srhb> alj[m]: Have you created an overlay before?
<alj[m]> No I have not
<srhb> alj[m]: The manual section and this wiki page might be helpful: https://nixos.wiki/wiki/Overlays
<srhb> alj[m]: Your goal is to use maven.override to feed it a different jdk than the default one
<gchristensen> oh actually tarball.nixos.org is pointing to cloudfront still.
<gchristensen> thoughtpolice: is that a problem? the static website option?
<alj[m]> I look into it thanks srhb How do I know which Value to override?
<thoughtpolice> gchristensen: Well, so one of the really important features my config uses is called "Streaming Miss". Right now, streaming miss does not support TLS for the Origin. There is a "Limited Availability" program I'd like to enroll us in to change that. But the S3 static website option *requires* non-TLS
<srhb> alj[m]: try `nix edit nixpkgs.maven`
<srhb> alj[m]: You'll see that one of its arguments is "jdk"
<thoughtpolice> Streaming Miss is extremely important for semi-large objects, because it means you get the bytes streamed to you from S3. If that's not enabled, then if an object isn't in the cache, the POP has to download the object entirely, before it can serve anything.
<gchristensen> thoughtpolice: tarballs does low-traffic serving, I wouldn't worry about tarballs for now.
<srhb> alj[m]: You want an overlay that sets that argument to jdk11
<thoughtpolice> That is why you sometimes see 'nix build' for instance, seemingly "waiting" on something to start downloading for multiple seconds.
<thoughtpolice> It's waiting for the POP to fully download the object before it can even read the first response byte.
<alj[m]> srhb: Okay I'll try! Thank you
proprobe has joined #nixos
<gchristensen> well we should do streaming for cache.nixos.org for sure
<gchristensen> but tarballs.nixos.org is less interesting for now
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66080 → python37Packages.pypcap: 1.2.2 -> 1.2.3 → https://git.io/fjHAH
<thoughtpolice> gchristensen: Another thing I'd like is information about what objects are in S3, i.e. the list of all file extensions, etc. I remember you said you had a copy of the metadata around; not sure if you can query it, but it'd be nice.
<proprobe> hello everyone. I've just installed nix on a manjaro kde distro. Everything works good except that Ive gotten a problem with a package called `yarn2nix`
<thoughtpolice> (Or, well, IDK if the metadata actually contains that info. I assume it does)
<proprobe> running nix-shell in my project gives the following:
<proprobe> $ nix-shell --show-trace
justanotheruser has quit [Quit: WeeChat 2.4]
<proprobe> error: while evaluating the attribute 'buildInputs' of the derivation 'nix-shell' at /nix/store/gx5ds72p3kgdalyj1hnl73gp01dw2lfh-nixos-d98a165de78027202b8b12521bae472a6a47741d/pkgs/build-support/mkshell/default.nix:28:3:
<proprobe> while evaluating 'getOutput' at /nix/store/gx5ds72p3kgdalyj1hnl73gp01dw2lfh-nixos-d98a165de78027202b8b12521bae472a6a47741d/lib/attrsets.nix:464:23, called from undefined position:
<proprobe> while evaluating anonymous function at /nix/store/gx5ds72p3kgdalyj1hnl73gp01dw2lfh-nixos-d98a165de78027202b8b12521bae472a6a47741d/pkgs/stdenv/generic/make-derivation.nix:142:17, called from undefined position:
<proprobe> while evaluating the attribute 'yarn2nix' at /home/proprobe/workspace/cd_concert_project/nix/yarn2nix.nix:21:10:
<proprobe> linking '/nix/store/p4qhmjj57h3qx3i6hmapick63jis80wz-source.drv.chroot/nix/store/81ikflgpwzgjk8b5vmvg9gaw9mbkc86k-compress-man-pages.sh' to '/nix/store/81ikflgpwzgjk8b5vmvg9gaw9mbkc86k-compress-man-pages.sh': Operation not permitted
<gchristensen> proprobe: please use a pastebin next time :)
<srhb> proprobe: You'll want to use pastebins to avoid getting spam-kicked by bots in the future :)
justanotheruser has joined #nixos
<proprobe> oh sorry, I will def do that :)
<proprobe> here is a pastebin version of it. https://pastebin.com/STRG90J1
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66081 → python37Packages.pyglet: 1.3.2 -> 1.4.1 → https://git.io/fjHAN
<proprobe> my nix version is 2.2.2
<proprobe> Ive tested other simpler projects and it works fine. this seems to be strictly related to the `yarn2nix` package above
<gchristensen> thoughtpolice: we have .bz2, drv, ls, narinfo, txt, and xz files
<srhb> proprobe: What filesystem is your store on?
zupo has joined #nixos
<alj[m]> srhb: I created an overlay and it works within a nix-shell. How do I get it to work in standard shell?
laas has joined #nixos
<srhb> alj[m]: The wiki page describes how to make the overlay be picked up by any nix tool :)
<proprobe> srhb: its an encrypted ext4
<alj[m]> ok
<thoughtpolice> gchristensen: Ok, thanks. One more clarification: I assume .bz2 and .xz are only found under /nar/ paths for nars themselves? Is everything else under the root of the bucket?
<thoughtpolice> (I know for a fact .ls and .narinfo's are in the root, for instance, but not .drv or .txt)
<gchristensen> those questions are getting trickier to ask :P
* gchristensen writes some awk
<thoughtpolice> :P
<thoughtpolice> gchristensen: Basically, I just need to know: what file extensions can occur under the top root of the bucket, and what can occur under /nar/
<gchristensen> right
<thoughtpolice> That way I can just outright deny anything else
<gchristensen> also, I'll go ahead and update my metadata sync
<thoughtpolice> gchristensen: Cool! And if you can dump some example paths so I can test them that would of course be excellent :)
<thoughtpolice> But I can probably find some of them on my own
<gchristensen> sounds good (btw, I'm running out of time to work on this this morning, but I'll get the sync running and come back to it this evening)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66082 → python37Packages.luftdaten: 0.6.1 -> 0.6.2 → https://git.io/fjHxT
fresheyeball has joined #nixos
xcthulhu has quit [Read error: Connection reset by peer]
<thoughtpolice> I've gone ahead and deployed a configuration change that will (hopefully) allow access to all of those possible paths.
<srhb> proprobe: Can you share your code? This sounds buggy to me.
<{^_^}> [nixpkgs] @veprbl merged pull request #66036 → pythia: 8.240 -> 8.243 → https://git.io/fjHHg
<{^_^}> [nixpkgs] @veprbl pushed commit from @r-ryantm to master « pythia: 8.240 -> 8.243 (#66036) »: https://git.io/fjHxt
<fresheyeball> so I want to keep working on why my wacom mobile studio is crashing
<fresheyeball> how can I get a crash report of some kind?
xcthulhu has joined #nixos
<fresheyeball> I am frustrated by this on linux in general, I don't know how to get data about a crash
<srhb> fresheyeball: Depends how it's crashing. You may like coredumpctl.
eraserhd has quit [Quit: WeeChat 2.5]
___laika has joined #nixos
<srhb> Less useful if there's no debug symbols though
eraserhd has joined #nixos
<ivan> sometimes I run things in valgrind to know why they crash
rouma has joined #nixos
<fresheyeball> srhb: I just ran that command, "no coredumps, found"
<srhb> fresheyeball: Yes, you need to set it up beforehand.
<{^_^}> [nixpkgs] @worldofpeace merged pull request #65850 → glib,gtk: correct CLAGS for plain buildtype → https://git.io/fjHvN
<{^_^}> [nixpkgs] @worldofpeace pushed 6 commits to staging: https://git.io/fjHxq
<{^_^}> [nixpkgs] @worldofpeace merged pull request #65930 → glib: 2.60.4 -> 2.60.6 → https://git.io/fjHC0
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to staging: https://git.io/fjHxm
domogled has quit [Read error: Connection timed out]
domogled has joined #nixos
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/4b6dd53b90a (from 13 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
veske has quit [Ping timeout: 258 seconds]
___laika has quit [Ping timeout: 245 seconds]
<proprobe> srhb: it appears to be related to user_namespaces https://github.com/NixOS/nix/issues/2633. Not sure what the problem actually is but after enabling this, it seems to properly build now
<{^_^}> nix#2633 (by x80486, 28 weeks ago, closed): Error: cloning builder process: Operation not permitted installing Nix 2.2.1 in (Arch) Linux
<srhb> proprobe: Ah, great.
<{^_^}> [nixpkgs] @Ma27 merged pull request #66051 → pspg: 1.6.5 -> 1.6.8 → https://git.io/fjH7o
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fjHxl
<proprobe> srhb: but thanks anyways. Im at the beginning of learning/using nix. I'll probably pop in again for more questions in the future :)
<{^_^}> [nixpkgs] @FRidh merged pull request #66077 → jenkins-job-builder: 2.10.0 -> 2.10.1 → https://git.io/fjHNr
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « jenkins-job-builder: 2.10.0 -> 2.10.1 »: https://git.io/fjHxu
<{^_^}> nix#3006 (by matthewbauer, 1 week ago, open): Run test to determine if sandboxing is available
lyvidev has joined #nixos
<fresheyeball> srhb: systemd.coredump = {
<fresheyeball> enable = true;
<fresheyeball> extraConfig = "DefaultLimitCORE=1000000";
<fresheyeball> };
<fresheyeball> look good enough?
MmeQuignon has quit [Ping timeout: 245 seconds]
<alj[m]> srhb: I really dont get how to make my overlay work... It worked when it was a packageOverride but it seems i dont want that, right? so now the overlay is written as in the wiki but i cant figure out how to get to `pkgs` to set `jdk = pkgs.jdk11`
<fresheyeball> do I need to reboot to get it to start for real?
<fresheyeball> or did switch do it already?
<srhb> alj[m]: You'll want self.jdk11 :)
<srhb> alj[m]: self is "pkgs" after the overlays apply.
<gchristensen> thoughtpolice: the joy of syncing these cache stats files is it perpetually says 430 files remaining.
<srhb> alj[m]: (super is pkgs before your current overlay)
<alj[m]> srhb: oh.. okay... ill try
<srhb> fresheyeball: I think you need to reread the instructions on the limits, but I don't think a reboot is necessary :)
<srhb> alj[m]: In the end it'll look like this: self: super: { maven = super.maven.override { jdk = self.jdk11; }; }
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<alj[m]> srhb: now it says unexpected end 😢
<srhb> alj[m]: Count your brackets :)
<srhb> Or mine. Whomever made the mistake ;-P
<alj[m]> i have exactly 4
<srhb> alj[m]: Pastebin please. :)
<alj[m]> mine is like yours
knaun has joined #nixos
proprobe has left #nixos ["Konversation terminated!"]
<srhb> alj[m]: Mine is correct, so your error must be elsewhere.
<fresheyeball> srhb: what did I miss?
<knaun> is bash installed by default? i can't find where i specified it's installation?
<srhb> fresheyeball: The note on security.pam.loginLimits and systemd.extraConfig (not systemd.coredump.extraConfig)
<srhb> knaun: It is
<{^_^}> [nixpkgs] @angristan opened pull request #66083 → coinomi: init at 1.0.11 → https://git.io/fjHx9
<colemickens> The weird thing is, the path that nix-optimize complains, and is supposedly in use in memory was deleted (oops) and shouldn't be in use anywhere...
<colemickens> I only have one blank user profile and one current system profile that shouldn't refer to that outdated nixpkgs path. I might need a reboot though.
logzet has quit [Ping timeout: 250 seconds]
<colemickens> s/nix-optimize/nix-store --optimize/s
<colemickens> * s/nix-optimize/nix-store --optimize/g
<alj[m]> * https://pastebin.com/DpzsWnKr @freenode_srhb:matrix.org
<srhb> alj[m]: "A list of overlays placed into ~/.config/nixpkgs/overlays.nix will be automatically loaded by all nix tools."
<srhb> alj[m]: So, when that file is found it expects a list of overlays
<fresheyeball> srhb: I see I made the extraConfig wrong
<srhb> alj[m]: The one you have is a single overlay
<fresheyeball> but I don't understand what I need to do with loginLimits
<alj[m]> srhb: so.. i have to put it into a list?
<srhb> fresheyeball: the systemd.extraConfig applies to services started by systemd, iirc. You also want things launched by your user to be affected.
<srhb> alj[m]: Right! [(self: super: { ... })]
<knaun> srhb: thanks! (turns out bashrc is updated uppon nixos-rebuild switch)
<fresheyeball> srhb: I don't understand
johanot has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66084 → python37Packages.logilab_common: 1.4.2 -> 1.4.3 → https://git.io/fjHxH
<alj[m]> OMG IT WORKS srhb thank you so so much!
<fresheyeball> I don't have enought context to understand this: https://linux.die.net/man/5/limits.conf
<alj[m]> every f**king day i learn something new about nix. and it works so well after i understand. i just love nix
<srhb> alj[m]: You're welcome. Sorry for the roundabout approach, teaching to fish etc. :-P
<alj[m]> srhb++
<{^_^}> srhb's karma got increased to 60
<srhb> And yes, it's great! :)
<alj[m]> no problem at all!
<srhb> fresheyeball: The core limit ... "limits the core file size"
<srhb> fresheyeball: Like the systemd one you want to be permitted to grab ones big enough for your purpose
<srhb> fresheyeball: ie. on a single user system, set it to something Large Enough™ with little other concerns
<fresheyeball> it takes a set with domain type item and value
<fresheyeball> are we saying domain is my user name
<fresheyeball> type is ? hard soft?
<fresheyeball> item is core
<fresheyeball> and value is 1000000
<fresheyeball> just to get it working for user started processes?
<srhb> I mean, the man page describes how you'd decide on it, I can't really decide for you, but here's one that applies for anything and gives you 100MiB for either limit: security.pam.loginLimits = [ { domain = "*"; type = "-"; item = "core"; value = toString (1024*1024); } ];
<fresheyeball> ok that looks reasonable
<fresheyeball> srhb: thank you, that saved me potentially a few hours trying to understand these docs
<fresheyeball> srhb:++
<fresheyeball> srhb++
<{^_^}> srhb's karma got increased to 61
<srhb> You need to relog for that to take. :)
<srhb> Sure thing.
<{^_^}> [nixpkgs] @worldofpeace pushed 7 commits to master: https://git.io/fjHpf
<{^_^}> [nixpkgs] @worldofpeace merged pull request #65914 → Update pantheon appcenter apps → https://git.io/fjHYb
<fresheyeball> srhb: how can I check that it has taken effect?
<fresheyeball> causing a crash is a pita
owickstrom has quit [Quit: Connection closed for inactivity]
rouma has quit [Remote host closed the connection]
rouma has joined #nixos
Lukas4452 has quit [Ping timeout: 268 seconds]
jb55 has joined #nixos
knaun has quit [Quit: leaving]
<srhb> fresheyeball: readIORef (unsafeCerce 42 :: IORef ())
<{^_^}> [nixpkgs] @worldofpeace merged pull request #66028 → python37Packages.asyncssh: 1.17.0 -> 1.17.1 → https://git.io/fjH91
<{^_^}> [nixpkgs] @worldofpeace pushed 5 commits to master: https://git.io/fjHpC
<srhb> Not that hard ;-)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66085 → python37Packages.ipdb: 0.12 -> 0.12.2 → https://git.io/fjHp8
<srhb> Them haskellers and their "oooh, segfaulting is hard" ;-)
<{^_^}> [nixpkgs] @regellosigkeitsaxiom opened pull request #66086 → stlink: 1.3.0 -> 1.5.1 → https://git.io/fjHpB
<infinisil> srhb: SafeHaskell ftw!
<ivegotasthma> hello
<srhb> infinisil: Hehehe.
<fresheyeball> srhb: I want to debug a specific crash of the OS
<fresheyeball> not just crash a process
<srhb> fresheyeball: OS?
<ivegotasthma> I want to ass the plugdev group to my user, but the user already exists and nothing happens when I add it to extraGroups in /etc/nixos/configuration.nix
<ivegotasthma> s/ass/add*
<srhb> fresheyeball: I thought you were talking about an application :)
<fresheyeball> srhb: no, the system is crashing
<srhb> ivegotasthma: Did you log out and in again?
<ivegotasthma> yes
<ivegotasthma> I rebooted
<fresheyeball> as in I am drawing in krita, and all of the sudden the tablet goes dark and has to be turned back on again
<srhb> fresheyeball: Here I thought wacom studio was some sort of design application
<ivegotasthma> I did `sudo nixos-rebuild switch`
<fresheyeball> it crashes roughly every 20 minutes or so durring use
<clever> ,tofu
<{^_^}> To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000) then replace it with the correct hash Nix expected.
<{^_^}> [nixpkgs] @worldofpeace merged pull request #66047 → nixos/pantheon: set GTK_CSD → https://git.io/fjH73
<{^_^}> [nixpkgs] @worldofpeace pushed 4 commits to master: https://git.io/fjHpE
<srhb> fresheyeball: OK, well, your best bet is to start by analyzing the logs from your last boot (the one that crashed.) Hopefully something is there. If not, you'll probably want boot.crashDump.enable and things get somewhat hairier.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66087 → python37Packages.lmdb: 0.95 -> 0.96 → https://git.io/fjHpV
Lukas4452 has joined #nixos
<fresheyeball> srhb: I do journalctl -b -1
<fresheyeball> is that what you mean?
<srhb> Yes.
linarcx has quit [Ping timeout: 268 seconds]
<fresheyeball> srhb: https://pastebin.com/WmPXK1Bg
nek0 has quit [Quit: ZNC 1.7.4 - https://znc.in]
<fresheyeball> oh wait
<fresheyeball> haha
<fresheyeball> that was a manual reboot
<fresheyeball> srhb: https://pastebin.com/n2xScVEa
<fresheyeball> that one is a crash
nek0 has joined #nixos
drakonis has joined #nixos
drakonis_ has quit [Ping timeout: 245 seconds]
jtojnar has joined #nixos
<srhb> I don't have time to read logs, but that doesn't look helpful at first glance. Guess you'll have to go deeper.
o1lo01ol1o has joined #nixos
drakonis has quit [Ping timeout: 264 seconds]
bdesham has left #nixos [#nixos]
pietranera has quit [Quit: Leaving.]
<gchristensen> I'm trying to use [a-z0-1]{52} in a sed replacement, but that seems to be the wrong syntax for repeating the match. any pointers?
<srhb> gchristensen: \{42\}
<srhb> Very ergonomic.
<monado[m]1> Guys I'm installing Nico's
<monado[m]1> * Guys I'm installing NixOS
<monado[m]1> wish me luck
<gchristensen> good luck, monado[m]1!
<gchristensen> srhb: that doesn't seem to make a difference :/
<gchristensen> hmm
<gchristensen> omg 0-9 not 0-1
* gchristensen hangs head in shame
DariusTheMede has joined #nixos
shibboleth has joined #nixos
<DariusTheMede> I am getting a lot of timeouts from cache.nixos.org
<{^_^}> [nixpkgs] @sikmir opened pull request #66088 → cantata: use Qt mkDerivation → https://git.io/fjHhm
<DariusTheMede> Still getting timeouts
___laika has joined #nixos
dansho has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @servalcatty opened pull request #66089 → v2ray: init at 4.20.0 → https://git.io/fjHhn
<DariusTheMede> I killed my build restarted it and now everything is downloading from cache.nixos.org
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66090 → python37Packages.parse-type: 0.4.2 -> 0.5.2 → https://git.io/fjHhz
zmlww_ is now known as zmlww
fendor has joined #nixos
zmlww has quit [Quit: Bye!]
nschoe has quit [Read error: Connection reset by peer]
ZD[m] has joined #nixos
<nixbitcoin> Hi, I'm getting [this issue](https://github.com/ofek/coincurve/issues/47) while packaging coincurve for NixOS. I wanted to make sure this issue isn't in my nix expression. Could anyone double-check my expression pasted in the issue?
<{^_^}> ofek/coincurve#47 (by nixbitcoin, 3 minutes ago, open): libsecp256k1.dll on a non-Windows system
akaWolf has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @veprbl opened pull request #66091 → bluejeans-gui: use patchShebangs, add me to maintainers → https://git.io/fjHho
MmeQuignon has joined #nixos
ottidmes has quit [Remote host closed the connection]
zmlww has joined #nixos
ottidmes has joined #nixos
dansho has joined #nixos
fendor_ has joined #nixos
zmlww has quit [Changing host]
zmlww has joined #nixos
fendor has quit [Ping timeout: 258 seconds]
zmlww has quit [Client Quit]
zmlww has joined #nixos
ottidmes has quit [Ping timeout: 245 seconds]
zmlww has quit [Client Quit]
zmlww has joined #nixos
zmlww has quit [Client Quit]
zmlww has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66092 → python37Packages.nltk: 3.4.3 -> 3.4.4 → https://git.io/fjHh9
akaWolf has joined #nixos
zmlww has quit [Client Quit]
Lukas4452 has quit [Ping timeout: 258 seconds]
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/981fdb42074 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
zmlww has joined #nixos
akaWolf has quit [Read error: Connection reset by peer]
rouma7 has joined #nixos
fendor_ has quit [Ping timeout: 248 seconds]
rouma7 has quit [Remote host closed the connection]
rouma has quit [Ping timeout: 272 seconds]
judson__ has joined #nixos
judson has joined #nixos
akaWolf has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66094 → python37Packages.lark-parser: 0.7.1 -> 0.7.2 → https://git.io/fjHjJ
zmlww has quit [Quit: Bye!]
zmlww has joined #nixos
mmlb3 has joined #nixos
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/981fdb42074 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<colemickens> so I manually deleted a store path that can't be in use anymore, and it seems to block me from running `nix-store --optimize` and I can't --delete it either.
<colemickens> It says its in use in memory, but I don't actually believe it :/
mmlb has quit [Ping timeout: 245 seconds]
Lukas4452 has joined #nixos
<{^_^}> [nixpkgs] @mmahut merged pull request #65897 → crispyDoom: 5.5.2 -> 5.6 → https://git.io/fjHqD
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjHjY
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66095 → python37Packages.pika: 1.0.1 -> 1.1.0 → https://git.io/fjHjO
<azazel> hey guys, what can it be that having enabled memtest in grub configuration, choosing its entry on book freezes the system without printing anything on the screen?
<azazel> i.e. no traditional blu screen of memtest is shown and the system is unresponsive
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66096 → python37Packages.mwclient: 0.9.3 -> 0.10.0 → https://git.io/fjHjs
<colemickens> is there a shorthand for nix-collect-garbage that takes a number of profiles to keep, rather than a number of days to keep?
Lukas4452 has quit [Ping timeout: 268 seconds]
shibboleth has quit [Quit: shibboleth]
erba has joined #nixos
<srhb> colemickens: I think you need to go through nix-env for that
<aveltras> how to find where the settings for a gnome extension are located ? i can find settings from default extensions with "gsettings list-schemas" but not the ones which i have installed via environment.packages
<srhb> colemickens: As in nix-env --profile someprofile --delete-generations +10
<colemickens> srhb, okay, I'm already setting the profile manually, but oh wow, I didn't know nix-env had an option like that :) cool
<colemickens> thanks :)
<{^_^}> [nixpkgs] @mmahut merged pull request #64003 → cutelyst: 2.7.0 -> 2.8.0 → https://git.io/fjK3L
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjHjZ
nurelin has quit [Quit: WeeChat 2.4]
nurelin has joined #nixos
<{^_^}> [nixpkgs] @mmahut merged pull request #66016 → pagemon: 0.01.15 -> 0.01.16 → https://git.io/fjHyQ
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjHjc
Lukas4452 has joined #nixos
<erba> I'm confused, if a package is declared in: https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/applications/editors/emacs-modes/recipes-archive-melpa.json should I not be able to install it then? Other emacs packages work but nixos-rebuild keeps complaining about undefined variable when trying to build mood-line
<srhb> erba: As in, emacsPackagesNg.mood-line ? If so, are you on a commit that actually includes that change?
<srhb> Or, to answer it differently: Stable users (ie. 19.03, currently) never see changes on master unless they are explicitly backported. unstable users see it when the channel catches up to master.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66097 → python37Packages.paste: 3.0.8 -> 3.1.0 → https://git.io/fjHj8
<dmj`> hello, I have 4 python packages, 1 executable that depends on 3 libraries. All are built with nix using buildPythonPackage. When I attempt to run the executable it says it is missing a module from one of the libraries. Anyone know why this would be? I have all deps in both buildInputs and proprogatedNativeBuildInputs
<erba> srhb: (with epkgs.melpaPackages; [ mood-line ...
tornike has joined #nixos
<adisbladis> erba: Can you paste the full expression?
<{^_^}> [nixpkgs] @mmahut merged pull request #66002 → monero-gui: 0.14.1.0 -> 0.14.1.2 → https://git.io/fjHMl
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjHjB
rauno has joined #nixos
<dmj`> this seems to be a bug in nixpkgs python infra, it doesn't copy over the python files in the postInstall phase
tornike has quit [Quit: WeeChat 2.5]
<adisbladis> erba: And the output of `nix run -f '<nixpkgs>' nix-info -c nix-info -m` ?
<erba> adisbladis: - system: `"x86_64-linux"`
<erba> - host os: `Linux 4.19.63, NixOS, 19.03.173228.93ea6db29cc (Koi)`
<erba> - multi-user?: `yes`
<erba> - sandbox: `yes`
<erba> - version: `nix-env (Nix) 2.2.2`
<erba> - channels(root): `"nixos-19.03.173228.93ea6db29cc"`
<erba> - channels(erik): `""`
_kwstas has joined #nixos
<erba> - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`
<adisbladis> Right, that's it then (also please use a pastebin next time)
jlv has joined #nixos
<erba> adisbladis: I was just gonna excuse the spam :) I'll remember that, thanks.
<etu> adisbladis: remove -m and it's single line
<recj> after i installed django using nix-env -iA nixos.python37Packages.django_2_2
<adisbladis> You're on 19.03, mood-line is not there
<recj> i can't import it using python3. i was wondering why this might be
ozychhi has joined #nixos
Jackneill has quit [Remote host closed the connection]
<adisbladis> And emacs packages are not backported (especially not since we just merged a rewrite of the melpa infra last week)
<srhb> ,libraries recj
<{^_^}> recj: Don't install libraries through nix-env or systemPackages, use nix-shell instead. See https://nixos.wiki/wiki/FAQ/Libraries for details.
<adisbladis> I'd suggest grabbing emacs from unstable :)
<erba> adisbladis: Ah ok, thanks! :)
<srhb> recj: Or see python.withPackages :)
chloekek has joined #nixos
<erba> adisbladis: I'm very happy with NixOS so far btw (used for about a week)
<adisbladis> \o/
<etu> erba: Welcome! :)
<erba> etu: Thanks! :)
<recj> ok thank you {^_^} and srhb
<adisbladis> recj: {^_^} is a bot
<srhb> ,botsnack
<{^_^}> Oh thanks, have a cookie yourself
<srhb> Bots deserve thanks too!
<adisbladis> If corporations can be people so can bots
<iqubic> Hehe.
<azazel> :-)
nurelin[m] has left #nixos ["User left"]
<recj> ok so in general only install applications into my user profile
<iqubic> adisbladis: Does your EXWM overlay fetch emacs from unstable?
<iqubic> Or would that be done by the use-package hack?
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<azazel> someone should add the link to a {^_^} help page on the topic, I still can't rember how to ask things to it
<adisbladis> iqubic: It has emacs from git as an opt-in
<iqubic> I see.
<srhb> recj: yep!
<iqubic> adisbladis: Should I opt-in to that?
<recj> noted :-)
xkapastel has quit [Quit: Connection closed for inactivity]
<adisbladis> iqubic: If you want to?
<adisbladis> I'm using it and only had to patch one package
<srhb> recj: (Development environments get very impure if libraries are just magically picked up from the environment, we try to avoid that)
<iqubic> I think I'll stick with emacs from unstable and not directly from git.
* etu is running emacs from git through that overlay
<iqubic> Also, what's the status of the new overlay?
<jlv> I'm working on adding a package and hit a bit of a snag. I am getting "error while loading shared libraries: libevent-2.0.so.5: cannot open shared object file: No such file or directory". I am including libevent. It is a debian package installed using patchelf and rpath set, in case that matters.
<etu> with exwm as my windowmanager :D
<adisbladis> iqubic: Blocked on https://github.com/NixOS/nixpkgs/pull/65874
<{^_^}> #65874 (by adisbladis, 1 day ago, open): emacs-packages: Clean up redundant packages & allow overriding attrsets
<adisbladis> But you can see how I use it
<iqubic> What's the specific issue?
<srhb> jlv: Is it the correct architecture and properly pointed at a linker via patchelf?
<srhb> er, loader
xkapastel has joined #nixos
zupo has joined #nixos
<adisbladis> So it is working with that PR
<iqubic> But, a later PR breaks the functionality?
<jlv> srhb: I'm not entirely sure to be honest. I mostly copied from this package https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/networking/browsers/opera/default.nix
<adisbladis> iqubic: No, it's just waiting for review
<adisbladis> iqubic: The issue is there are currently no hooks in emacsPackagesNg for overriding the various emacs package sets
<jlv> This is my first time writing a nixos package, so I'm kind of trundling through it
<adisbladis> That PR adds those hooks and cleans up redundant packages (we shouldn't manually package things that we can get through melpa)
<jlv> I do have meta.platforms set, if that is what you mean
<iqubic> ah. I assumed blocked was the same as broken. When I asked "What's the issue?" I was assuming that the PR was broken and had an issue.
<adisbladis> :)
<monado[m]1> So I'm bad at kde right
<adisbladis> Work is blocked awaiting PR review :)
<iqubic> I get that now.
<srhb> jlv: Can you share the expression? :)
* monado[m]1 uploaded an image: ima_d5485e1.jpeg (245KB) < https://matrix.org/_matrix/media/v1/download/matrix.org/ABmDLkJQTLOFvAistkJlxCGF >
<monado[m]1> I'm very confused
wildtrees has joined #nixos
<jlv> srhb: sure, give me a sec
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66098 → python37Packages.Nuitka: 0.6.4 -> 0.6.5 → https://git.io/fjHj6
<jlv> srhb: here it is https://pastebin.com/Q2yQNqYV
hyperfekt has joined #nixos
rouma has joined #nixos
jtojnar_ has joined #nixos
<srhb> jlv: Hmm, are you building this without sandbox? I get a different error..
<{^_^}> [nixpkgs] @timor opened pull request #66099 → udis86: init at 1.7.2 → https://git.io/fjHjX
jtojnar has quit [Ping timeout: 272 seconds]
jtojnar_ is now known as jtojnar
linarcx has joined #nixos
<jlv> srhb: How would I know if I am using a sandbox? I'm running `nix-build -A seadrive-daemon` to build and `./result/bin/seadrive` to run.
<jlv> To clarify, I'm getting an error when running, not building.
<hyperfekt> Has anyone converted their configuration to use flakes to pin nixpkgs yet?
<srhb> jlv: Yeah, it doesn't build for me. :-)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66100 → python37Packages.portalocker: 1.4.0 -> 1.5.0 → https://git.io/fjHjQ
<jlv> I added it to a fork of the nixpkgs master branch, if that matters
_kwstas has quit [Quit: _kwstas]
<srhb> jlv: Huh, looks like that pastebin snuck in some weird whitespace characters. My bad.
<hyperfekt> jiv: If you're using a reasonably recent version of Nix sandboxes should be enabled by default. Check `nix run -f '<nixpkgs>' nix-info -c nix-info -m`
lambda-11235 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66101 → python37Packages.folium: 0.9.1 -> 0.10.0 → https://git.io/fjHjd
<jlv> hyperfekt: Looks like sandbox is on
<srhb> jlv: So what I'd do from here is start by adding autoPatchelfHook as an argument and as a nativeBuildInput
<srhb> jlv: And remove the custom postFixup
<srhb> jlv: It will emit a nice list of things it didn't found (and there's more than one)
detran has quit [Ping timeout: 268 seconds]
<srhb> s/found/find
<jlv> srhb: I'll try that and get back to you :)
<srhb> jlv: Regarding libevent specifically, I don't think we actually have that version.
ris has joined #nixos
_kwstas has joined #nixos
<srhb> jlv: (It's specifically asking for 2.0, we're on 2.1)
<jlv> srhb: Ok, that was easier than I expected. Looks like autoPatchelfHook just works? Not exactly sure how. Regardless, looks like libevent-2.0.so.5 is the only missing library (after adding the rpath packages to buildInputs)
<srhb> jlv: ~*magic*~
<srhb> jlv: It reads the missing libraries from each file and tries to find them in the inputs, then patches the files accordingly :)
<jlv> srhb: So, I guess I need to specify the specific libevent 2.0 version as a dependency, and add it if it doesn't exist?
rouma has quit [Remote host closed the connection]
<jlv> That's pretty cool :)
<Miyu-chan> Is there any code for nginx+uwsgi on nixos-unstable? I don't see one for nixos-19.03.
__monty__ has quit [Ping timeout: 245 seconds]
<srhb> jlv: You can _try_ just copying the libevent.so to the build directory under the old name, but this might break things spectacularly at runtime of course
rouma has joined #nixos
<scoates> gchristensen: is it cool to ask Lorri questions in here or is there a better place?
rouma has quit [Read error: Connection reset by peer]
<srhb> jlv: The right solution is as you say, provide an older libevent :)
<gchristensen> #lorri :)
<{^_^}> [nixpkgs] @vcunat pushed 3 commits to master: https://git.io/fjHjh
<jlv> srhb: I think I'll try the quick fix for now and see how it does :)
<srhb> jlv: It might eat your data. Fair warning. :P
<jlv> srhb: Hard choices...
<srhb> jlv: no guts no glory: cp ${libevent}/lib/libevent.so libevent-2.0.so.5
<srhb> :-P
detran has joined #nixos
<Miyu-chan> Okay. So, if I make an nginx + uwsgi code, do I put it in what file, uwsgi, nginx, or a new file?
<srhb> jlv: libevent as it were before the 2.1 bump: git show 3be19de8e4eba036d1c6ae81295beee1871a7fef~1:pkgs/development/libraries/libevent/default.nix in a nixpkgs checkout
rouma7 has joined #nixos
Lukas4452 has quit [Ping timeout: 244 seconds]
eraserhd has quit [Ping timeout: 245 seconds]
hyperfekt has quit [Ping timeout: 260 seconds]
Lukas4452 has joined #nixos
<jlv> srhb: Ok, so looks like nixpkgs does have the 2.0 version around. Is it possible to reference it directly, or do I need to add a libevent2 (or something like that) package?
<jlv> Thanks for all the help btw :)
<{^_^}> [nixpkgs] @worldofpeace merged pull request #65860 → Surf display kiosk session → https://git.io/fjHUT
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/fjQek
ozychhi has quit [Quit: WeeChat 2.5]
<asymmetric> how do i make nixops build using a fork of nixpkgs?
DariusTheMede has quit [Ping timeout: 272 seconds]
<srhb> jlv: You could do something slightly horrifying like: https://gist.github.com/f5b304f39f840aebf7cb08349fc7a9c2
<srhb> jlv: (I mean, it's probably fine...)
<jlv> srhb: Also, at the very least, the package builds and will run after renaming libevent. I'm not sure I want to trust that though XD
<srhb> asymmetric: iirc nixops takes -I to add something to the NIX_PATH like other nix commands
<srhb> asymmetric: If not, you can set NIX_PATH manually.
ozychhi has joined #nixos
<srhb> asymmetric: (so, nixops -I nixpkgs=path-to-your-fork ...)
<srhb> /urlselect
<asymmetric> yeah.. i've tried that but somehow the nixos module i've developed isn't found, even though i've been testing it with nixos-rebuild and it works
<srhb> Woops
ozychhi has quit [Client Quit]
asymmetric has left #nixos ["Leaving"]
ozychhi has joined #nixos
asymmetric has joined #nixos
ozychhi has quit [Client Quit]
ozychhi has joined #nixos
<asymmetric> nixos-rebuild -I nixpkgs=/my/fork works, whereas nixops -I nixpkgs=/my/fork doesn't
<srhb> jlv: Or just download said file and use it directly.. :)
<asymmetric> oh wait, it did work :P
<clever> asymmetric: deploy -I ... only affects that one deploy
<clever> asymmetric: but nixops modify -I ... foo.nix, will persist in the state file
<asymmetric> clever: ah nice! what i actually do is set NIX_PATH in a shell.nix, and always deploy from within a nix shell
hyperfekt has joined #nixos
eraserhd has joined #nixos
<gchristensen> same
<clever> asymmetric: i prefer nixops modify, since it persists for you
<clever> only problem is that you have to re-run modify when changing things, so it cant update on `git pull`
<clever> in my case, i'm the only one modifying the repo, and there is only one deployment of it, so i know when thats needed
<clever> and i just leave a comment to remind myself if i ever forget
<clever> the comment also keeps track of what rev i should be using
<jlv> srhb: Looks better than renaming the 2.1 library at least XD I must just add a libevent-2_0 package to nixpkgs if that is considered ok. That seems like the "right" was to do it to me.
<jlv> *might
<jlv> *way
<jlv> Typing is hard
<Miyu-chan> ...
<Miyu-chan> I just realized something.
<Miyu-chan> Oh whoops. Wrong chat. Lmao
<asymmetric> gchristensen: how do you set NIX_PATH in the shell.nix? i just realized that the way i do it doesn't work, whereas -I does
<clever> asymmetric: can you pastebin your shell.nix?
<srhb> jlv: I don't think it is..
<srhb> jlv: I mean, probably not for one unfree package.
<srhb> jlv: It's outdated software after all. They really ought to fix it upstream.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66102 → python37Packages.poyo: 0.4.2 -> 0.5.0 → https://git.io/fjQeC
<srhb> jlv: Heck, 2.1 is even in Debian stable!
<clever> gchristensen: what is pkgs.packet?
<gchristensen> a CLI tool to interact with the Packet API
<clever> ah
<asymmetric> clever: http://ix.io/1QHo
<Miyu-chan> I just remembered this is a thing.
<Miyu-chan> pkgs/build-support/trivial-builders.nix
<Miyu-chan> 337: copyPathToStore = builtins.filterSource (p: t: true);
<Miyu-chan> Just think that some people might appreciate that, in case they don't wanna use "${path}"
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
__monty__ has joined #nixos
kbZ has quit [Quit: Ping timeout (120 seconds)]
<laas> does anyone here use mpv with vulkan? I can't get it to work, wondering if I'm doing something wrong.
<Miyu-chan> IIRC, someone actually asked this a while ago.
___laika has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66103 → python37Packages.globus-sdk: 1.7.1 -> 1.8.0 → https://git.io/fjQe0
<jlv> srhb: Ok. Your fetchurl trick is working :) I think I will leave it at this then. Next up is adding seadrive-gui (which has seadrive-daemon) as a requirement. That one is open source and should be easier at least. Then I'll look at doing a pull request to get seadrive in nixpkgs :)
Shoubit has quit [Ping timeout: 268 seconds]
kbZ has joined #nixos
<srhb> jlv: Cool. :)
<Miyu-chan> > /foo + /bar
<{^_^}> /foo/bar
<srhb> jlv: Hmm, maybe I've changed my mind. looks like libevent recently got a 2.0.23 beta.
<Miyu-chan> Okay... I think I'm stupid?
<Miyu-chan> > "/foo" _+ /bar
<{^_^}> attempt to call something which is not a function but a string, at (string):256:1
<clever> asymmetric: are you on nixos or another distro?
<asymmetric> clever: nixos 19.03
<Miyu-chan> > "/foo" + /bar
<{^_^}> access to path '/bar' is forbidden in restricted mode
<Miyu-chan> Oh okay.
rouma7 has quit [Remote host closed the connection]
<Miyu-chan> So copyPathToStore gives you a strsing, huh.
rouma7 has joined #nixos
_kwstas has quit [Quit: _kwstas]
rouma has joined #nixos
<asymmetric> seems like `NIX_PATH=nixpkgs/foo/bar nixops deploy` is not equivalent to `nixops deploy -I nixpkgs=/foo/bar`
<asymmetric> the former doesn't see my new module, the latter does
<Miyu-chan> Interesting.
<clever> asymmetric: what does `nixops info` say?
<Miyu-chan> Also, are you copying verbatim, since those are 2 different code.
<clever> asymmetric: does it show a `Nix path:` ?
<Miyu-chan> The left one sets the default search path to start on nixpkgs/foo/bar, I believe.
<Miyu-chan> (Asking in case of typo.)
<asymmetric> Miyu-chan: no, i typed it in, but i typed it correctly in my shell
<Miyu-chan> Ah.
<clever> asymmetric: check `nixops info`
<asymmetric> NIX_PATH=nixpkgs/foo/bar -> NIX_PATH=nixpkgs=/foo/bar
<asymmetric> clever: it says Nix path: -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/2f1eacc949fe31f34d7af4ebfd97c01a02ceee16.tar.gz
<clever> asymmetric: aha, so you did a `nixops modify` in the past, like i said to do earlier
<clever> and that is overriding NIX_PATH
<jlv> srhb: Maybe people will have more opinions during the pull request
<asymmetric> clever: aah, wow, crazy
Lukas4452 has quit [Ping timeout: 268 seconds]
<clever> the only way to change it is with another `nixops modify -I nixpkgs=...`
<Miyu-chan> Huh, TIL.
<clever> and i dont think there is any way to remove an entry once set
ThatDocsLady has quit [Quit: Leaving]
<Miyu-chan> So you can do version pinning with `nixops modify`?
<asymmetric> that's super helpful, thanks clever!
psyanticy has quit [Quit: Connection closed for inactivity]
<clever> Miyu-chan: yep
<clever> 2019-08-05 15:47:00 < clever> asymmetric: deploy -I ... only affects that one deploy
<clever> 2019-08-05 15:47:10 < clever> asymmetric: but nixops modify -I ... foo.nix, will persist in the state file
<Miyu-chan> You could always hand-edit the sqlite file. :3
<clever> and it will continue to persist, even after you forget, and it overrides NIX_PATH!
<clever> might be the only way to undo it
<asymmetric> we really need to add a way to remove entries
eraserhd has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66104 → python37Packages.palettable: 3.1.1 -> 3.2.0 → https://git.io/fjQex
jsgrant_ has joined #nixos
Chiliparrot has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66105 → python37Packages.h2: 3.1.0 -> 3.1.1 → https://git.io/fjQej
zupo has joined #nixos
Wizek has quit [Quit: Connection closed for inactivity]
<exarkun> Where is the code that declares `networking.interfaces`?
<srhb> exarkun: `nixos-option networking.interfaces`
<exarkun> tyvm
Lukas4452 has joined #nixos
<__monty__> ,locate bin convert
<{^_^}> Found in packages: imagemagick, imagemagick7, imagemagickBig, imagemagick_light, imagemagick7_light, graphicsmagick-imagemagick-compat
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66106 → python37Packages.plotly: 3.10.0 -> 4.0.0 → https://git.io/fjQvI
ozychhi has quit [Quit: WeeChat 2.5]
ozychhi has joined #nixos
___laika has joined #nixos
ozychhi has quit [Client Quit]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66107 → python37Packages.html5-parser: 0.4.7 -> 0.4.8 → https://git.io/fjQvt
<monado[m]1> nix-os install
<monado[m]1> cross fingers
DariusTheMede has joined #nixos
<__monty__> ,locate bin ebook-meta
<{^_^}> Found in packages: calibre
<__monty__> monado[m]1: Good luck.
Edes has joined #nixos
ozychhi has joined #nixos
chloekek has quit [Quit: WeeChat 2.4]
Church- is now known as Scruffy
byteflam1 has joined #nixos
byteflam1 has quit [Client Quit]
LogicAside has quit [Ping timeout: 246 seconds]
tpanum- has joined #nixos
ozychhi has quit [Client Quit]
___laika has quit [Ping timeout: 272 seconds]
<andi-> Anyone else having issues with slack on both unstable and 19.03? I can start it but the login button and basically anything else doesn't work... Not sure if that's waylands fault but I fail to see why.
<gchristensen> yes
<gchristensen> I can't log in to new workspaces either
byteflam1 has joined #nixos
<andi-> also on non-wayland?
<gchristensen> checking
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66108 → python37Packages.kubernetes: 9.0.0 -> 10.0.0 → https://git.io/fjQvC
eraserhd has joined #nixos
<andi-> gchristensen: thanks <3
tpanum- has quit [Quit: ZNC 1.7.3 - https://znc.in]
___laika has joined #nixos
<Baughn> Found a bug in the util-linux package: `eject` links to the wrong path for `umount`.
Edes has quit [Ping timeout: 272 seconds]
<gchristensen> andi-: doesn't work under xephyr
<andi-> :'(
Edes has joined #nixos
<{^_^}> [nixpkgs] @vbgl opened pull request #66109 → coqPackages.interval: 3.4.0 -> 3.4.1 → https://git.io/fjQvr
___laika has quit [Ping timeout: 245 seconds]
byteflam1 has quit [Quit: leaving]
byteflam1 has joined #nixos
Guest88 has joined #nixos
byteflam1 has quit [Client Quit]
<Guest88> hi, i'm kinda new with nixos. I'm getting some throuble when connecting to a NFS share on my network. When I try to mount I receive the following message: bad option; for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount.<type> helper program.
byteflam1 has joined #nixos
___laika has joined #nixos
<Guest88> I installed libnfs and nfs-utils
<Guest88> i've installed thought nix-env -iA. I dont want to install this packages permanetnlty right now
byteflam1 has quit [Client Quit]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66110 → python37Packages.pyotp: 2.2.7 -> 2.3.0 → https://git.io/fjQvD
byteflam1 has joined #nixos
byteflam1 has quit [Client Quit]
Edes has quit [Ping timeout: 248 seconds]
___laika has quit [Ping timeout: 272 seconds]
byteflam1 has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/08ea10ad400 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
tpanum- has joined #nixos
_kwstas has joined #nixos
eyJhb has quit [Ping timeout: 245 seconds]
tpanum- has quit [Quit: ZNC 1.7.3 - https://znc.in]
tpanum- has joined #nixos
lambda-11235 has quit [Ping timeout: 268 seconds]
manjaro-user has joined #nixos
<infinisil> Guest88: You need to use the NixOS option `boot.supportedFilesystems = [ "nfs" ]`
nixbitcoin has quit [Quit: nixbitcoin]
LogicAside has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66111 → python37Packages.rpyc: 4.1.0 -> 4.1.1 → https://git.io/fjQfI
<mgdm> I need more data on this but it seems like every second reboot my Thinkpad's trackpad will let me scroll with two fingers
<mgdm> Oh, it is expecting 3 now...
Blessjah has quit [Remote host closed the connection]
ottidmes has joined #nixos
<andi-> gchristensen: it seems that slack is just missing xdg-open
<gchristensen> orly
<andi-> but even then it can't get any further then the website :/
Blessjah has joined #nixos
domogled has quit [Quit: domogled]
<{^_^}> [nixpkgs] @vcunat opened pull request #66112 → lua*Packages.cqueues: fixup darwin build → https://git.io/fjQfs
<andi-> I signed in \o/
<andi-> They register a `slack://` protocol handler for the app and expect the webbrowser to simply call the desktop app when it encounters that...
mexisme_ has joined #nixos
<erba> For haskell, what is recommended: Have cabal and cabal2nix in a nix-shell (shell.nix) or installed globally?
<{^_^}> [nixpkgs] @worldofpeace merged pull request #65570 → pythonPackages.python-vipaccess: init at 0.10.3 → https://git.io/fjS8T
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/fjQfn
Blessjah has quit [Remote host closed the connection]
<gchristensen> andi-: ??? ...
throwaway7777777 has joined #nixos
<andi-> gchristensen: step 1) add xdg-open (or `echo` aliased to xdg-open) to your path 2) open the website it tries to open and type in the slack you want to access. 3) On the page you are being redirected to open the dev console and set a breakpoint at line 237 of the HTML document. When it breaks there extract the value of the `link` variable and call slack with it (slack ${link}).
ericsagnes has quit [Ping timeout: 276 seconds]
<gchristensen> :o
hmpffff has quit [Quit: Bye…]
<throwaway7777777> Hello, i am currently attempting to configure networkmanager to pass all DNS requets to Stubby (DNS-over-TLS) with dnsmasq as a caching proxy.)
<throwaway7777777> networking.networkmanager.dns
<{^_^}> [nixpkgs] @aanderse merged pull request #62888 → exim: Fix build with MariaDB → https://git.io/fjzbk
<throwaway7777777> "It is possible to pass custom options to the dnsmasq instance by adding them to files in the /etc/NetworkManager/dnsmasq.d/ directory."
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/fjQfc
<andi-> oh suddenly there is a text box at the bottom (after I added 4 slacks) that shows the URL...
<throwaway7777777> Can i do this from configuration.nix?
<symphorien> something like environment.etc."dnsmasq.d/foo".text = '' the text here '';
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66113 → python37Packages.relatorio: 0.8.1 -> 0.9.0 → https://git.io/fjQfl
ericsagnes has joined #nixos
<throwaway7777777> Thank you symphorien :)
<{^_^}> [nixpkgs] @worldofpeace merged pull request #65825 → fwupd: wrap programs needed in PATH → https://git.io/fj9bY
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjQf4
Blessjah has joined #nixos
tpanum- has quit [Quit: ZNC 1.7.3 - https://znc.in]
Lukas4452 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66114 → python37Packages.pyutilib: 5.7.0 -> 5.7.1 → https://git.io/fjQJe
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @sikmir to master « cantata: use qt5's mkDerivation »: https://git.io/fjQJf
gxt has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace closed pull request #66088 → cantata: use Qt mkDerivation → https://git.io/fjHhm
__monty__ has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @mmahut merged pull request #66065 → pulumi-bin: 0.17.17 -> 0.17.27 → https://git.io/fjHF3
<{^_^}> [nixpkgs] @mmahut pushed 3 commits to master: https://git.io/fjQJT
tsrt^ has quit [Read error: Connection reset by peer]
selfsymmetric-pa has joined #nixos
Guest88 has quit [Remote host closed the connection]
<recj> for the emacs users here do you have a way to edit your nix config without having to run emacs as root
<recj> i have to do `sudo emacs`, whenever i try to run it as a user i get operation not permitted on the chmod
<gchristensen> my nixos config lives in ~/projects/grahamc/nixos-config
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66115 → python37Packages.yattag: 1.11.2 -> 1.12.2 → https://git.io/fjQJL
<{^_^}> [nixpkgs] @herrwiese opened pull request #66116 → [19.03] pythonPackages.python-vipaccess: init at 0.10.3 → https://git.io/fjQJY
<drisc> recj: Have it somewhere in your home directory and then just 'ln -s' it into 'etc/nixos'
throwaway7777777 has quit [Remote host closed the connection]
<recj> ok, just did a symlink. thanks!
<{^_^}> [nixpkgs] @veprbl opened pull request #66117 → hepmc: 2.06.09 -> 2.06.10 → https://git.io/fjQJZ
__monty__ has joined #nixos
tpanum- has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed to master « lua*Packages.cqueues: fixup darwin build »: https://git.io/fjQJn
DariusTheMede has quit [Ping timeout: 244 seconds]
<jw358> hey folks
<jw358> what should i do when i get `error: getting status of \'/nix/store/1manqjxzqpriw9hq5lfqlc6pgdwfmgbh-runtime-closure.nix\': No such file or directory` when building things
<jw358> what do i need to look at?
<hyperfekt> How would I pin NixOS using niv without needing a double rebuild? Putting something in the NIX_PATH that pulls the pinned nixpkgs from sources.nix gives me infinite recursion because Niv thinks t can use nixpkgs for its fetchers instead of having to use the builtins.
<{^_^}> [nixpkgs] @vcunat closed pull request #66112 → lua*Packages.cqueues: fixup darwin build → https://git.io/fjQfs
dansho has quit [Ping timeout: 268 seconds]
tpanum- has quit [Quit: ZNC 1.7.3 - https://znc.in]
tpanum- has joined #nixos
lambda-11235 has joined #nixos
dansho has joined #nixos
drisc has left #nixos [#nixos]
drisc has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
___laika has joined #nixos
zupo has joined #nixos
<hyperfekt> summoning the module magician tilpner who probably knows the answer to all my questions but hasn't put their config on github 😬
<recj> lol
<{^_^}> [nixpkgs] @jonringer opened pull request #66118 → doh-proxy: 0.0.8 -> 0.0.9 → https://git.io/fjQJo
<recj> i'm trying to look at an example of a config with a python.withPackages in it because I tried to put on in my system packages but still can't import django in the interpreter or run my project
<{^_^}> [nixpkgs] @toon23 opened pull request #66119 → Profanity 0.7.0 → https://git.io/fjQJi
<infinisil> jw358: Hard to say without knowing more about the problem
___laika has quit [Ping timeout: 246 seconds]
<jw358> what builds runtime-closures
<jw358> and how do i know is it fails silently or whatever
<jw358> i assume something was supposed to build that but it didn't, thus the generic "no such file"
<ajs124> recj: the interpreter that results from nix-build -E '(import <nixpkgs> {}).python3.withPackages (ps: with ps; [ django ])' can successfully import django (at least on my system)
npmccallum has quit [Quit: npmccallum]
<recj> yes, that worked when i tried it on my system as well, maybe i should just put that in a script for easy access
dansho has quit [Ping timeout: 248 seconds]
<Gopal[m]> hey guys I've been trying to get borg working for 2 hrs
<azazel> Gopal[m]: Really you have the keys on a root's direct child ? "ssh -i /.key"
<{^_^}> [nixpkgs] @Ma27 merged pull request #65851 → github-commenter: init at 0.5.0 → https://git.io/fjHvA
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fjQJH
<Gopal[m]> But everytime I get an error:
<Gopal[m]> `zsh:1: command not found: borg`
<Gopal[m]> <azazel "Gopal: Really you have the keys "> it's owned by the user only. I'm currently testing this setup and I'll eventually move it
mexisme_ has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66121 → python37Packages.pytest-pylint: 0.14.0 -> 0.14.1 → https://git.io/fjQJd
<azazel> I don't think you have to set the BORG_REMOTE_PATH
<azazel> I'm using it without it
<Gopal[m]> doesn't work without it as well
<Gopal[m]> yeah
<lambda-11235> Is borg in the systemPackages list?
<Gopal[m]> I don't think so, no but it's installed on the backup machine
_kwstas has quit [Quit: _kwstas]
<Gopal[m]> added it to `systemPackages`
<Gopal[m]> same result
asymmetric has quit [Read error: Connection reset by peer]
<Gopal[m]> @aza
<Gopal[m]> * @azazel could you share your setup?
logzet has joined #nixos
logzet has quit [Client Quit]
Kantrus has joined #nixos
<Gopal[m]> removed BORG_REMOTE_PATH
<Gopal[m]> same result
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66122 → python37Packages.qtpy: 1.8.0 -> 1.9.0 → https://git.io/fjQUe
manjaro-user has quit [Quit: Konversation terminated!]
<azazel> the client part is just a script, in this case
<azazel> Gopal[m]: https://termbin.com/caxe
Kantrus has quit [Remote host closed the connection]
Kantrus has joined #nixos
Kantrus has quit [Max SendQ exceeded]
Xal has quit [Ping timeout: 272 seconds]
ozychhi has joined #nixos
Xal has joined #nixos
<{^_^}> [nixpkgs] @WhittlesJr opened pull request #66124 → nixos/jenkins: Copy plugins as .jpi instead of .hpi → https://git.io/fjQUk
Chiliparrot has quit [Quit: Textual IRC Client: www.textualapp.com]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #66116 → [19.03] pythonPackages.python-vipaccess: init at 0.10.3 → https://git.io/fjQJY
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to release-19.03: https://git.io/fjQUL
__monty__ has quit [Ping timeout: 246 seconds]
ixxie has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @jtojnar merged pull request #65928 → gnome-builder: 3.32.3 -> 3.32.4 → https://git.io/fjHcR
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/fjQUt
<{^_^}> [nixpkgs] @orivej-nixos pushed commit from @orivej to master « swig4: init at 4.0.0 »: https://git.io/fjQUm
asymmetric has joined #nixos
asymmetric has quit [Remote host closed the connection]
asymmetric has joined #nixos
<bsima> does nix have anything to test for set membership? or testing that some element is in a list?
<symphorien> > lib.elem 2 [ 1 2 3 ]
<{^_^}> true
Jackneill has joined #nixos
__monty__ has joined #nixos
<Gopal[m]> azazel: finally got it working. thank you <3
<azazel> Gopal[m]: You're welcome... what was it?
gxt has quit [Ping timeout: 260 seconds]
<Gopal[m]> I think the solution was to run borg as borg user on the backup machine and run borg as a normal user on the client machine
<bsima> symphorien: thank you!
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Jackneill has quit [Remote host closed the connection]
<Gopal[m]> oh and you don't need borgbackup in systemPackages :)
<Gopal[m]> the services defintion takes care of that
Chiliparrot has joined #nixos
asymptotically has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
cadddr has quit [Quit: Leaving]
<Gopal[m]> one more question, azazel
<Gopal[m]> is is possible to selectively restore content with borg?
<Gopal[m]> suppose I'm backing up my app directory which has X, Y and Z
<Gopal[m]> can I, sometime in the future, choose to restore X only?
<{^_^}> [nixpkgs] @jonringer opened pull request #66125 → aws-sam-cli: 0.16.1 -> 0.19.0 → https://git.io/fjQU8
<andi-> Yes, it has a fuse FS that gives you access to all files at all backup dates
<Gopal[m]> oh, wait, I think I'm looking for `borg extract` ?
<Gopal[m]> <andi- "Yes, it has a fuse FS that gives"> oh I forgot that I can mount the backups as well
<azazel> Gopal[m]: of course, as andi- says, it's possible to see all your backups as a readonly fs
<Gopal[m]> this is super neat, thank you :)
<Gopal[m]> I can finally live in peace
eyJhb has joined #nixos
<jsgrant_> Okay, all but one 'emergency' / backup machine is on NixOS now (again). lol :^)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66126 → qmapshack: 1.13.0 -> 1.13.1 → https://git.io/fjQU0
<Gopal[m]> is it possible to replace `docker-compose` with NixOS' `docker-containers.<nameofservice>` ?
<jsgrant_> Saw podman is packaged, kinda want to look into how hard it'd be to get 'fedora-toolbox' working for it -- having an optional mutable state seems like a sweat-spot to ease into things from within NixOS 'on real hardware'; Compared to the path I see a lot of people going where they install it on an existing distro (nix) or a VM beforehand. :^P
<jsgrant_> sweet-spot* lol
<simpson> jsgrant_: Depends on what you're building. NixOS on bare-metal is pretty straightforward.
<jsgrant_> simpson: Well, yeah; I was able to re-piece together a config I had about 2 years ago when I messed with NixOS 'more seriously' the first-time -- I'm saying for new-users to go "all in" and still have a trivial development environment in the meantime without encuring the cost of transfering everything to a nix-ified way immediately
lambda-11235 has quit [Ping timeout: 272 seconds]
<simpson> jsgrant_: Ah, sure. The solution might be to stop teaching non-NixOS as a first Linux distro; who knows~
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66127 → python37Packages.Yapsy: 1.12.0 -> 1.12.2 → https://git.io/fjQUz
<jsgrant_> simpson: Ease first step, time to steal all the market-share of other distros. :^)
abathur has joined #nixos
<simpson> jsgrant_: Sure, but "avoid (success at all costs)", right? We should be careful about emulating the missteps of other distros; we ought not to choose an also-ran path of cleanly and perfectly supporting tools tailored for other distros.
* jsgrant_ really wants to avoid success and wants that full-haskell rewrite, and a functional kernel while we're at it. :^)
<jsgrant_> But yeah, I agree it's a difficult line to tow/ walk the border of
<jsgrant_> I guess having a mutable state like that, so easy to install -- could in-theory teach people not to be as ideological (I think rightly) about a fixed/deterministic state
<{^_^}> [nixpkgs] @Hodapp87 opened pull request #66128 → libfive: 2018-07-01 -> 2019-08-05 → https://git.io/fjQUw
<simpson> There's already nix-env, though. What did you have in mind beyond that?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66129 → python37Packages.qtconsole: 4.5.1 -> 4.5.2 → https://git.io/fjQUr
__monty__ has quit [Quit: leaving]
<jsgrant_> simpson: A fully-mutable priveleged container; But at that point it'd certainly not be NixOS -- but I wouldn't want/suggest that be a feature of nix/nixos; Just a niceity to get people to install NixOS on their system with 'less initial investment'.
mexisme_ has joined #nixos
<jsgrant_> That's why I'm interested in Fedora-toolbox (which is what silverblue is using) and doesn't seem especially tied to Fedora in anyway besides container defaulting to a Fedora system
<simpson> jsgrant_: The filesystem's quite mutable, aside from /nix. What kinds of habits, specifically, are you thinking of encouraging? I'm not sure why mutability of, say, /usr is a good thing.
<jlv> Anyone know what package might have mount.pc? cmake says the package is 'mount'. Doesn't look like the 'mount' nix package is what I'm looking for.
<jsgrant_> simpson: It's VERY VERY possible it's mostly ignorance on my end at this point; But I guess it's more-so an 'issue' of not being accustomed to the workflow and ecosystem and slowly introducing someone to that -- instead of everything being thrown at you at the get-go , more than any actual limitations of the system as a whole
<ashkitten> ,locate mount.pc
<{^_^}> Found in packages: libuuid.dev, utillinux.dev
<ashkitten> jlv: ^
<jlv> ashkitten: That's handy. Thanks :)
<{^_^}> [nixpkgs] @Hodapp87 opened pull request #66130 → python*Packages.msgpack-numpy: Update wrong description → https://git.io/fjQUi
<niso> a path has to be explicitly casted to a string right? (via toString)
gentauro has quit [Read error: Connection reset by peer]
lambda-11235 has joined #nixos
<simpson> jsgrant_: Yeah. I'm not sure if there's any good way to deal with that; ultimately, the kind of safety that Nix introduces only comes with a rewrite; in this case, a rewrite of build and integration systems.
gentauro has joined #nixos
<jlv> ashkitten: Is there an easy way to use that locate command outside of irc? Seems very hands, and I wouldn't want to spam irc.
<ashkitten> jlv: nix-index and nix-locate
<jsgrant_> simpson: Oh yeah, absolutely -- not suggesting this should even be a goal of nix in the first place; I just guess wondering out loud if attempting to package something like Fedora-toolbox would be worth it, as an optional path to get people trying out NixOS on bare-metal more. I mean, I now have NixOS on 3 (soon 4, with an offsite machine I'm staging in the next few days) -- but I have this Ultrabook I'm
<jsgrant_> keeping on Fedora for the next year "just in case" I can't figure something out real quick devel wise. And as I learn the ecosystem more ... think this is probably a non-issue after first few weeks, but still; The idea of being able to go in NixOS and just call up 'toolbox' to enter a mutable Fedora or something would probably let me free up that Ultrabook (probably).
<jlv> ashkitten: Thank you!
<{^_^}> [nixpkgs] @jdanekrh opened pull request #66131 → dotnetPackages.Nuget: 3.4.3 -> 4.9.1 → https://git.io/fjQUM
<jsgrant_> If I didn't have this Ultrabook I could dedicate to "fullt-ime emergency/backup machine" I'd be on that what I define as the 'more traditional path' of either installing Nix on my host-system or trying to run in a VM; And suspect (because this happened from personal experience) the retention rate is probably a bit lower. :^P
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66132 → qtractor: 0.9.8 -> 0.9.9 → https://git.io/fjQUy
<jsgrant_> Took me near 2 years (with a few tries in-between and quickly bailing each time) to give NixOS a real shot; And probably this is somewhat due to a personal failing of mine -- but I have a pension to all or nothing; So there's that. lol
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66133 → python37Packages.python-rapidjson: 0.7.1 -> 0.7.2 → https://git.io/fjQUb
<simpson> I guess. After tasting Nix, I rapidly switched to NixOS on my personal daily-driver machines. I'm not sure why one would *want* Fedora, TBH, other than nebulous proprietary vendor requirements.
<azazel> jsgrant_: If it took you 2 years just to try out NixOS, that maybe means you wil ditch Fedora in 10 years
byteflam1 has quit [Ping timeout: 248 seconds]
<azazel> that is something
linarcx has quit [Quit: WeeChat 2.5]
<{^_^}> [nixpkgs] @jdanekrh opened pull request #66134 → [WIP]msbuild: Init at 16.3 → https://git.io/fjQUN
<immae> Hello there! Is there a way to add python packages as a dependency of a mkShell but not have it modify the PYTHONPATH? (the reason is that I have a mix of python2 and python3 applications, and I mixing of the PYTHONPATH doesn’t please them)
<jsgrant_> azazel: Well, I guess to define "try" a bit; I have used NixOS probably about a dozen diff times on real hardware for a few weeks here and there over the past 5 years -- about to years ago, it was a few months (2 to 3). But (and it is very possible this was due to being in a schedule which was the eq of near double full-time work during the latter period) I never found I had enough time to work though any
<jsgrant_> snags I ran into -- and again, this may be due to personal failings, it'd be a non-problem if each time I tried to go all-in instaed of going this traditional path I mentioned of either nix on host-system or in a vm before doing that
<jsgrant_> about two years ago*
<jsgrant_> I do think "having one emergency box" is probably the way forward for me, though; Shocked I didn't think of it before ...
ambro718 has joined #nixos
<jsgrant_> Well and it was 2 or so times of "several months" too. :^P
fusion809 has quit [Remote host closed the connection]
<jlv> Adding a package. Getting error "Can not use "WebEngine" module which has not yet been found.". I added 'qtwebengine' to buildInputs. Any ideas?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66135 → python37Packages.shodan: 1.13.0 -> 1.14.0 → https://git.io/fjQTv
<jlv> (Adding a package, as in adding it to nixpkgs)
<{^_^}> [nixpkgs] @worldofpeace opened pull request #66136 → stylize Pantheon → https://git.io/fjQTf
mckeankylej has joined #nixos
<mckeankylej> Is there a way to get a specific revision of chromium? IE: 681777
ryantrinkle has joined #nixos
<ryantrinkle> i'm trying to copy from a file:// nix store using "nix copy", and I seem to get "... is not valid" for every single derivation
<ryantrinkle> i'm giving --no-check-sigs, and I also tried with and without --no-recursive
<ryantrinkle> any idea what I could be doing wrong?
<ryantrinkle> nix 2.2.2
<recj> ajs124: when i do that it just outputs /nix/store/55cgr1898nd7k94hrjn0x9m44zwhg91m-python3-3.7.3-env
<ajs124> recj: so your python interpreter should be at /nix/store/55cgr1898nd7k94hrjn0x9m44zwhg91m-python3-3.7.3-env/bin/python
<recj> nice ok
<recj> when I execute that it's all good
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66137 → qpdfview: 0.4.16 -> 0.4.18 → https://git.io/fjQTs
maralorn has quit [Quit: WeeChat 2.4]
maralorn has joined #nixos
Edes has joined #nixos
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 252 seconds]
mbrgm_ is now known as mbrgm
<jtojnar> pie_: what do you mean by nonglobal things?
<pie_> jtojnar: oops. i meant stuff that isnt installed to the profile
<jtojnar> pie_: I am afraid not
englishm has quit [Excess Flood]
<jtojnar> as the only alernative would be to scan /nix/store
<pie_> time to start having some kind of runtime registry? (oh dear.)
<jtojnar> and there could be hundreds of instances of the same software
<jtojnar> pie_: yeah, that would be the only solution
<jtojnar> unfortunately we would need all software to support it
<jtojnar> (or at least toolkits)
wangoe[m] has joined #nixos
szicari has quit [Ping timeout: 276 seconds]
englishm has joined #nixos
englishm has quit [Excess Flood]
englishm has joined #nixos
englishm has quit [Excess Flood]
<jtojnar> and I doubt it would catch on, as everyone is content with global /usr/share/applications ;-(
abathur has quit [Ping timeout: 268 seconds]
lambda-11235 has quit [Ping timeout: 245 seconds]
<pie_> i dont catch on too fast so i dont understand how this stuff works well enough yet to have any idea how said runtime registry would work
<pie_> or what it would need to do
szicari has joined #nixos
<pie_> i guess im vaguely hoping for stuff that isnt so involved tht it needs to be patched in, but youre probably right
<jtojnar> pie_: it would be a daemon where applications would register and it would allow pie to ask for an icon
<pie_> jtojnar: at least for this case, would "only" need to extend bamg
<pie_> bamf
<jtojnar> IIRC GtkApplication already does something like that but it only registers apps for presence and running actions
<jtojnar> pie_: apps would still need to tell bamf what their icon is
<pie_> i meant registry + bamf
<jtojnar> I was thinking of org.freedesktop.Application DBus interface (https://specifications.freedesktop.org/desktop-entry-spec/latest/ar01s08.html)
<jtojnar> yeah, the apps would need to tell registry
<jtojnar> pie_: I think there might be some X protocol calls for obtaining window icon but again, it will not work on Wayland
<pie_> yeah i dont know much about most of this stuff
<pie_> dbus has just been this word i didnt really understand for a long time that does some kind of weird application interaction magic and i just didnt get into figuring out whats going on there
<jtojnar> here is my source for windows not having ions on wayland https://discourse.gnome.org/t/help-debugging-zathura-window-title-issue/1450/4
<pie_> (would love to work on this some more but my mind is currently preoccupied, you have my attention, just not undivided :D)
<pie_> jtojnar: wow that seems...messy :I
<pie_> jtojnar: so what if different windows for the same application have different icons? :P
<pie_> or idk
<{^_^}> [nixpkgs] @orivej-nixos pushed commit from @orivej to master « llvmPackages_8: 8.0.0 -> 8.0.1 »: https://git.io/fjQTM
<pie_> getting stuff out of desktop files just seems horribly disconnected from whats actually going on :(
<jtojnar> pie_: maybe we could create a program that would watch ps and when you start a process from /nix/store and it is not installed and has a desktop file, it would link the file to ~/.local/share/applications
<jtojnar> and remove it when the process exits
<pie_> well ok but i guess thats a bit different than the _application icon_ paradigm, - and getting the higher res icons from the icon directory
lambda-11235 has joined #nixos
<pie_> jtojnar: or tmp
<pie_> idk how it works but bamf does seem to drop some icons into tmp under some circumstances that i dont know
<jtojnar> the desktop file needs to be somewhere under XDG_DATA_DIRS
<pie_> rght you actually have to get the thing to find it
mckeankylej has quit [Remote host closed the connection]
<jtojnar> so do you have quassel installed? does gnome-pie get at least some icons?
<pie_> gnome pie gets konsole somehow
<pie_> but i thik misses everything else i have open right now
<pie_> i think it might just be using some default icon for konsole
tokudan has quit [Quit: ZNC 1.7.3 - https://znc.in]
<jtojnar> could you make a gnome-pie PR I could checkout?
<pie_> you mean to nixpkgs?
<jtojnar> yup
<{^_^}> [nixpkgs] @marsam opened pull request #66138 → dsvpn: 0.1.0 -> 0.1.2 → https://git.io/fjQT7
tokudan has joined #nixos
<pie_> jtojnar: probably faster for you to just callpacckage the snippet, but if you give me a few minutes yeah i guess
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/d86f7ff625b (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/9ef3cb9b0ba (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
Edes has quit [Ping timeout: 268 seconds]
<pie_> jtojnar: uhh yeah its probably better for you to just copy paste the snippet right now
<alienpirate5> how do I customize the linux kernel used?
<alienpirate5> for example, if I want to edit the value of some options
<{^_^}> [nixpkgs] @marsam merged pull request #65869 → aws-google-auth: 0.0.29 -> 0.0.32 → https://git.io/fjHI4
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjQkU
wildtrees has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #66139 → python37Packages.wurlitzer: 1.0.2 -> 1.0.3 → https://git.io/fjQkL
<hyperfekt> alienpirate5: You'll wanna use boot.kernelPatches, see https://nixos.wiki/wiki/Linux_kernel for more info.
<alienpirate5> thank you
ambro718 has quit [Quit: Konversation terminated!]
<alienpirate5> is there an effective way to run something like this: `nix-shell -E 'with import <nixpkgs> {}; pkgsCross.armv7l-hf-multiplatform.linuxPackages_rpi.overrideAttrs (o: {nativeBuildInputs=o.nativeBuildInputs ++ [ pkgconfig ncurses ];})'`