gchristensen changed the topic of #nixos to: NixOS 18.09 released https://discourse.nixos.org/t/1076 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2018
<tilpner> Does /mnt exist and have something mounted (Check outputs of "mount")?
<selfsymmetric-mu> Thank you!
<selfsymmetric-mu> I actually ended up bootstrapping with `nix.nixPath` in the default location.
<selfsymmetric-mu> So I set `nix.nixPath = [...];`, then `nixos-rebuild switch` twice.
shibboleth has joined #nixos
__monty__ has quit [Quit: leaving]
m15k has quit [Ping timeout: 256 seconds]
MrCoffee has quit [Ping timeout: 244 seconds]
<ldlework> Man I could really really use rsync support in nixops...
hyperfekt has joined #nixos
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
tyang has quit [Quit: Connection closed for inactivity]
<hyperfekt> Hello all! I'm having an issue where I want to import a module, but it imports others by relative path. How would I use the path of the result of fetchTarball in an import path?
<{^_^}> [nixpkgs] @jtojnar pushed to master « gssdp: 1.0.2 → 1.1.1 »: https://git.io/fhqev
<gchristensen> hyperfekt: every file reference is relative to the file referencing it, so foo.nix referring to ./baz.nix, will always refer to baz.nix in the same dir as foo.nix
<hyperfekt> Exactly, that's why my usual way of just usíng (fetchurl [URL]) as an import path isn't gonna work, and I'm trying to get the whole archive instead, and then refer to the specific module I care about.
Notkea has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53162 → yarn: 1.12.3 -> 1.13.0 → https://git.io/fhqeT
erictape1 has joined #nixos
<ldlework> nixops mount -d wharf wharf:/var/www/ /media/wharf ~/src/blog
<ldlework> error: [Errno 2] No such file or directory
<ldlework> What am I doing wrong here?
Notkea has joined #nixos
<ldlework> ignore the ~/src/blog bit which is just part of my shell
<tilpner> Is /media/wharf a directory?
<esmerelda> heya, so the nixpkgs upgrade to firmware-linux-nonfree broke QCA9377 wifi adapter
<tilpner> Does wharf have a /var/www?
<Guanin> Okay, so everything related to VFIO seems to be fine for my setup - basically, I am now in the situation that the WX3100 with the amdgpu module won't detect any displays, while the intel GPU works fine. My displays are connected with a DisplayPort MST Hub to the DP port of the WX3100, and the intel GPU is connected with a HDMI cable to a screen. I just dont get any output on the amdgpu :(
<{^_^}> [nixpkgs] @msteen opened pull request #53163 → init openra-mods → https://git.io/fhqeq
<esmerelda> I need to revert that package, but I have no idea how. is there a way I can pin a specific package version in NixOS?
erictapen has quit [Ping timeout: 244 seconds]
<esmerelda> or should I just break the rules and manually mess with the package in /nix/store?
rprije has quit [Remote host closed the connection]
rprije has joined #nixos
<ldlework> tilpner: yes
<tilpner> ldlework: strace -vfeopen it
<samueldr> esmerelda: you probably definitely absolutely don't want to break that one rule :)
<samueldr> esmerelda: there's a tracking issue, #52644
<{^_^}> https://github.com/NixOS/nixpkgs/issues/52644 (by tokudan, 1 week ago, open): ath10k WLAN broken on 18.09 between Dec 17 and Dec 21
<esmerelda> @samueldr yup, but I'm not sure what mitigation to do
<tilpner> Sorry, my mistake
<samueldr> oh, esmerelda, I was thinking more about the PR, #52645 which has as a comment, a fix https://github.com/NixOS/nixpkgs/pull/52645#issuecomment-450445000
<{^_^}> https://github.com/NixOS/nixpkgs/pull/52645 (by tokudan, 1 week ago, open): Revert firmware-linux-nonfree to fix broken Ath10k/QCA9377 wlan adapters [18.09]
<tilpner> It was -vfefile
<esmerelda> @samueldr is there a way I can apply the PR locally?
<{^_^}> [nixpkgs] @jtojnar pushed to master « Revert "gssdp: 1.0.2 → 1.1.1" »: https://git.io/fhqeZ
<esmerelda> like add my local nixpkgs Git repo as a channel or something?
<esmerelda> but I don't want to push my whole system to unstable
<samueldr> esmerelda: yeah, it may be a bit annoying though. if you follow the link in the comment I linked, the gist has a complete fix that I think should be possible to add to your configuration without involving a checkout of nixpkgs
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/46e7ce0526f (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<{^_^}> [nixpkgs] @Ma27 closed pull request #53148 → libqrencode: alias to `pkgs.qrencode`. → https://git.io/fhty8
<esmerelda> @samueldr I was thinking about that, but I think my system may rely on other firmware besides QCA9377, so I wasn't sure how to do that without a clash
<samueldr> :/ not entirely sure either
vidbina has joined #nixos
<{^_^}> [nixpkgs] @msteen closed pull request #51530 → openra-ura: init at 407 → https://git.io/fpXTH
<samueldr> ah, esmerelda, " If multiple packages contain firmware files with the same name, the first package in the list takes precedence" in hardware.firmware https://nixos.org/nixos/options.html#hardware.firmw
<esmerelda> also, how does Nix know to tell those drivers about that package location?
<esmerelda> ooooooooh
<ldlework> tilpner: it's a massive amount of text lol
<samueldr> esmerelda: so if you add both firmwareLinuxNonFree AND that patched firmware file, and make sure the fixed package is listed prior, it might work fine
<esmerelda> ohhhh awesome I will try that thank you!!
<ambro718> in a nix expression build script (e.g. buildPhase), how to write an arbitrary and possibly large string in a nix variable into a file in the build dir?
asymmetric has quit [Ping timeout: 244 seconds]
<pie_> ambro718, theres a thing for that
<pie_> i think it was in trivial-builders.nix ...
<pie_> ambro718, nevermind, see passasfile https://nixos.org/nix/manual/#sec-advanced-attributes
<ldlework> tilpner: are you able to interpret this craziness?
lawlesseel has joined #nixos
<tilpner> ldlework: I could be wrong, but that almost looks like nixops can't find sshfs
<ambro718> pie_: thanks
<ldlework> tilpner: do I just nix-env sshfs?
<tilpner> Does it use a PATH wrapper? If no, try installing sshfs
<{^_^}> [nixpkgs] @fpletz pushed to staging « python37: fix cross build »: https://git.io/fhqeD
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53164 → libsForQt5.vlc: 3.0.4 -> 3.0.5 → https://git.io/fhqeS
<gchristensen> I have a nix-shell with rustc 1.31.0 and cargo and what-not. I'm trying to get clippy. how should I do that?
<ldlework> tilpner: heh that worked
Berra has quit [Remote host closed the connection]
<tilpner> Try getting latest stable from the mozilla overlay
<pie_> ambro718, youre welcome
<gchristensen> I don't like doing that, because the version is pinned for build & deploy... hmm
goibhniu has quit [Ping timeout: 240 seconds]
<tilpner> Unpinned seems fine for code analysis tools. I get your point, but then I can't help for now
<gchristensen> clippy is just a crate, yeah? maybe I can easily enough package it
<tilpner> Probably
<symphorien> gchristensen: unfortunately no, because it is nightly only
<gchristensen> I thought it was stable for 1.31.0?
<gchristensen> although, lol, it is version 0.0.302 (:
<symphorien> It is distributed with stable but only buildable with nightly
<gchristensen> neat :(
eadwu has joined #nixos
<symphorien> It is so coupled with nightly that stable with export RUSTCBOOSTRAP=1 can't compile it
<symphorien> It is enough for rustfmt and rls but not clippy
<gchristensen> ok, so I guess here I go to the mozilla overlay:)
<symphorien> Or impure rustup
<gchristensen> I'm not very inclined to do that
<symphorien> Btw if you are interested in this you may want to review my pr for rls
fusion809 has quit [Remote host closed the connection]
<{^_^}> #53151 (by symphorien, 5 hours ago, open): rls: init at 1.31.7
tilpner has quit [Ping timeout: 244 seconds]
<hyperfekt> How would I include a derivation in an import path? I tried ${drv}/subdir/module.nix, (drv)/subdir/module.nix, tried it with angle brackets etc. Really out of my depth here *scratches head*
fusion809 has joined #nixos
romanofski has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53165 → uthash: 2.0.2 -> 2.1.0 → https://git.io/fhqvO
Mateon3 has joined #nixos
eadwu has quit [Ping timeout: 250 seconds]
eadwu has joined #nixos
Mateon1 has quit [Ping timeout: 250 seconds]
Mateon3 is now known as Mateon1
<gchristensen> in the mozilla overlay, where does clippy come from?
oida has joined #nixos
<gchristensen> ah, `rust` has it. okay. I can handle this.
<hyperfekt> gchristensen: You can also use 'clippy-preview' if you want just that.
<gchristensen> oh?
slack1256 has joined #nixos
<gchristensen> omg clippy is very unhappy with my code. this is really good!
orivej has quit [Ping timeout: 250 seconds]
s2mitrov has joined #nixos
eadwu has quit [Ping timeout: 250 seconds]
sir_guy_carleton has quit [Ping timeout: 240 seconds]
<ldlework> rsync over sshfs is not good
<ldlework> lol
eadwu has joined #nixos
shibboleth has quit [Quit: shibboleth]
<esmerelda> @samueldr it worked!! it actually worked!! and for bonus points, I even had it get the (right) firmware from the firmwareLinuxNonfree package!
<samueldr> :). maybe also share your solution among the issue/PR esmerelda?
<esmerelda> good idea! will do
<gchristensen> ldlework: maybe rsync's remote program can be specified to nixops ssh's remote shell argument
alex`` has quit [Quit: WeeChat 2.3]
eadwu has quit [Ping timeout: 250 seconds]
<ambro718> in Nix, how to check if a string ends with something, or alternatively get the file name extension?
<{^_^}> [nixpkgs] @jtojnar merged pull request #53149 → qrencode: merge with libqrencode → https://git.io/fhtyi
<{^_^}> [nixpkgs] @jtojnar pushed 3 commits to master: https://git.io/fhqvS
<ambro718> never mind, found lib.hasSuffix
danl1240 has joined #nixos
<esmerelda> I'm sure this question comes up a lot, but how do y'all version your configuration.nix? I have a Git for my dotfiles already, and I keep my nixops expressions in there, so I'd like to track /etc/nixos there as well if feasible
<iqubi4> So, I was asking about this earlier. I just figured it out. You can indeed pass a path to nix-shell. It will use the path of that shell.nix to load the environment.
<hyperfekt> My configuration.nix actually imports a the machine-specific file from /cfg, which is under version control and contains all my modules for any system (given that they share huge parts, the linked to file is mostly just appropriate imports).
<hyperfekt> esmerelda: i'm a noob though so dont take that as being best practice
<esmerelda> ah, that makes sense
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53166 → xdaliclock: 2.43 -> 2.44 → https://git.io/fhqft
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fhqfY
ma9e has quit [Quit: Lost terminal]
Church_ has joined #nixos
<romanofski> any Haskell nixers around? I'm trying to pick Cabal >= 2.4 with ghc822 and always end up with Cabal 2.0.1.0 in the build environment... is Cabal special when it comes to pinning package versions?
eadwu has joined #nixos
iqubi4 is now known as iqubic
vidbina has quit [Ping timeout: 240 seconds]
kp__ has quit [Quit: WeeChat 2.3]
Guanin has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @talw closed pull request #53102 → dropbox: 55.4.171 -> 63.4.107 → https://git.io/fhL7D
gagbo has quit [Ping timeout: 240 seconds]
<clever> romanofski: yeah
<clever> romanofski: cabal is baked into the ghc package, so you can compile Setup.hs
<{^_^}> [nixpkgs] @talw reopened pull request #53102 → dropbox: 55.4.171 -> 63.4.107 → https://git.io/fhL7D
MrCoffee has joined #nixos
<romanofski> clever: that is configured in each configure-ghc(version).nix file is it? How would I go with overriding the Cabal version? Is that possible?
<romanofski> I need GHC 8.2 but Cabal 2.4
<romanofski> not a hard requirement, but just curious
<clever> romanofski: not sure, it may involve rebuilding ghc
<ambro718> in nix, how does one get a file for a specific path into the nix store?
<ambro718> "/path/to/file.txt" --> nix imports it to store --> "/nix/store/xxxx-file.txt"
<ambro718> there must be a way to do that
<clever> ambro718: just dont quote the path
<clever> relative paths also work, so ./file.txt
Guanin has joined #nixos
<ambro718> I don't understand my file variable is a string, if I put it into a script like cat ${file} it just puts the string contents
<ambro718> I need to turn it into path first?
<clever> ambro718: can you gist your nix expression?
init_6 has joined #nixos
<ambro718> it's too big, but basically I'm doing this: "nix-build -A myThing --argstr configFilePath ~/config_file.txt" and my package looks like: myThing = { configFilePath }: callPackage ({ stdenv, configFilePath }: ...)
<ambro718> basically I'm passing a string from command line into the package definition
gagbo has joined #nixos
<ambro718> and there I need to interpret this string as a file path, get the file into the nix store, and use it from there
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53167 → urh: 2.5.1 -> 2.5.3 → https://git.io/fhqJG
<clever> ambro718: --argstr is to blame, use --arg
<clever> --argstr forces it to be a string, but --arg parses as nix code
<ambro718> it's supposed to be a path, it shouldn't be parsed as nix code
<ambro718> got it working with this: ${builtins.toFile "config-file" (builtins.readFile configFilePath)}
<ambro718> I assume there must be a more optimal solution...
<clever> paths are nix code
<clever> so --arg configfile ./config-file.txt
<clever> will make a valid path
<ambro718> yes but paths passed on the shell are not nix code. One may pass -config_file.txt, which is valid, but will fail to parse as nix code.
<ambro718> spaces will surely break it too
<clever> if the paths are in another file, its best to have it be a nix file, and to use import
<ambro718> it's supposed to be user friendly, the user says "build with this config file"
<siraben> https://ptpb.pw/BsJS/text I'm unable to install Euterpea through cabal, what's happening?
<ambro718> no having to change files with nix expressions
cyounkins has quit [Remote host closed the connection]
cyounkins has joined #nixos
<siraben> It says asound is missing but how do I get that?
<iqubic> if that's a library, I'd say you should get it via nix.
<iqubic> I recommend looking into cabal2nix.
fusion809 has quit [Remote host closed the connection]
cyounkins has quit [Ping timeout: 245 seconds]
<siraben> Now I get a scary type error, will ask on #haskell https://ptpb.pw/fn-A/text
<iqubic> siraben: I'd give them a link to the stackoverflow post as well as the error message too.
slack1256 has quit [Remote host closed the connection]
orivej has joined #nixos
<ambro718> How do I figure out what "cannot coerce a list to a string" error is referring to? I use --show-trace and I still have no clue. The line numbers shown do not help.
<siraben> ambro718: paste the full log?
<siraben> That's a type error, somewhere you mixed up lists and strings
<ambro718> it says line 66 column 6, I do not see a problem there
<ambro718> I'm joining 4 lists of strings. I have also verified that cfg.platformFlags is an empty list using builtins.trace.
<samueldr> > [] + []
<{^_^}> cannot coerce a list to a string, at (string):214:1
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/01a6191107e (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<samueldr> > [] ++ []
<{^_^}> [ ]
<siraben> There you go
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
<siraben> > [ "hello" ] ++ [ "foobar" ]
<{^_^}> [ "hello" "foobar" ]
<siraben> > :t +
<{^_^}> Unknown command: t
<siraben> Darn it, how to get the type of an operator
<samueldr> ambro718: "++" is used to concatenate lists :)
<ambro718> ah, thanks
<siraben> How do I allow the ability to use the trackpad and keyboard at the same time?
<siraben> I would be unable to play most games
pie_ has quit [Remote host closed the connection]
pie_ has joined #nixos
s2mitrov has quit [Quit: Textual IRC Client: www.textualapp.com]
<clever> siraben: i have the reverse problem, i cant disable the touchpad, and the lightest touch clicks in randm places
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53168 → woeusb: 3.2.10 -> 3.2.12 → https://git.io/fhqUs
ottidmes has quit [Ping timeout: 250 seconds]
<siraben> clever: what WM do you use?
<clever> siraben: xfce
<siraben> clever: same here, it's possible to disable it, no?
<siraben> Under "mouse and touchpad"
<clever> the option just doesnt work
<siraben> Huh, strange.
<clever> yeah
<clever> but fn+f1 entirely disables the touchpad, at a hardware level
<siraben> What laptop is this?
waif has quit [Remote host closed the connection]
<clever> siraben: system76 kudu
<siraben> clever: Cool.
* siraben has been trying to find a good linux laptop to use
<iqubic> I use a dell latitude 5480.
iqubic has quit [Quit: issued !quit command]
iqubic has joined #nixos
lawlesseel has quit [Ping timeout: 256 seconds]
hyperfekt has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53169 → wolfssl: 3.15.3 -> 3.15.7 → https://git.io/fhqUD
ambro718 has quit [Quit: Konversation terminated!]
eadwu has quit [Ping timeout: 250 seconds]
jtojnar has quit [Quit: jtojnar]
shazow has left #nixos [#nixos]
<{^_^}> [nixpkgs] @lopsided98 opened pull request #53170 → uboot: add RockPro64 support, fix Rock64 build, misc related changes → https://git.io/fhqTf
erictape1 has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53171 → visidata: 1.5 -> 1.5.1 → https://git.io/fhqTn
ma9e has joined #nixos
ma9e has quit [Client Quit]
ma9e has joined #nixos
Guanin has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53172 → vim: 8.1.0578 -> 8.1.0675 → https://git.io/fhqTu
esmerelda has quit [Ping timeout: 268 seconds]
lassulus_ has joined #nixos
lassulus has quit [Ping timeout: 244 seconds]
lassulus_ is now known as lassulus
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53173 → unclutter-xfixes: 1.4 -> 1.5 → https://git.io/fhqTp
<wedens> is there someone who knows how fontconfig works in nixos? https://github.com/NixOS/nixpkgs/issues/53139
<{^_^}> #53139 (by wedens, 18 hours ago, open): fontconfig configs from derivations are not picked up
tertl3 has quit [Quit: Connection closed for inactivity]
danl1240 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
iqubic has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53174 → sc-controller: 0.4.6 -> 0.4.6.1 → https://git.io/fhqkc
endformationage has quit [Quit: WeeChat 2.3]
iqubic has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53175 → sqlcipher: 4.0.0 -> 4.0.1 → https://git.io/fhqkb
sir_guy_carleton has joined #nixos
slack1256 has joined #nixos
<sir_guy_carleton> so i'm trying to install a python application, so following the instructions in the manual and the wiki, i wrote a default.nix to make a shell where i could install with via pip
<sir_guy_carleton> it seemed to work (even installing it a package not in nixpkgs), but when i tried to start the program it wouldn't run, saying it could find the package itself, so i'm not sure what to do
<Church_> Anybody ever configure salt master on nixos before?
<Church_> Curious what your confif looks like
Church_ has quit [Ping timeout: 240 seconds]
ddellaco_ has joined #nixos
ddellacosta has quit [Ping timeout: 240 seconds]
Dagger has quit [Excess Flood]
Dagger has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53176 → spoofer: 1.4.0 -> 1.4.2 → https://git.io/fhqIN
vk3wtf has quit [Ping timeout: 250 seconds]
sir_guy_carleton has quit [Quit: WeeChat 2.2]
MrCoffee has quit [Quit: Lost terminal]
iqubic has quit [Remote host closed the connection]
iqubic has joined #nixos
<iqubic> Does nix-shell support flags like "--builddir=/foo/bar/baz"?
<iqubic> Is there even a way to set a build dir?
agander has joined #nixos
tzemanovic has joined #nixos
sir_guy_carleton has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53178 → tcpreplay: 4.3.0 -> 4.3.1 → https://git.io/fhqtc
<sir_guy_carleton> okay, i solved issues. this is always happens
tzemanov_ has joined #nixos
tzemanovic has quit [Ping timeout: 252 seconds]
vk3wtf has joined #nixos
jackdk has quit [Ping timeout: 250 seconds]
tzemanov_ has quit [Remote host closed the connection]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/b2b921bdcaa (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<siraben> What WM locker do people use here?
<siraben> I'm using LightDM but not really liking the interface
iqubic has quit [Ping timeout: 250 seconds]
<romanofski> clever: I found a solution, but I'm not sure if it's a proper one: https://github.com/purebred-mua/purebred/blob/feature/supportNix/default.nix#L47 and the package which needs Cabal 2.4 has an additional parameter: https://github.com/purebred-mua/purebred/blob/feature/supportNix/.nix-helpers/purebred.nix
iqubic has joined #nixos
<iqubic> so can I pass a "--buildir=" argument to nix-shell?
<iqubic> Or is that not a valid flag to pass in?
palo1 has joined #nixos
<{^_^}> [nixpkgs] @dtzWill merged pull request #53088 → trilium: init at 0.26.1 → https://git.io/fhLM9
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/fhqqI
Dedalo has joined #nixos
pie_ has quit [Remote host closed the connection]
pie_ has joined #nixos
tzemanovic has joined #nixos
paulvictor has quit [Ping timeout: 244 seconds]
paulvictor has joined #nixos
palo has quit [Ping timeout: 250 seconds]
palo1 is now known as palo
<{^_^}> [nixpkgs] @dtzWill opened pull request #53179 → diffutils: 3.6 -> 3.7 → https://git.io/fhqq3
tzemanovic has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #53102 → dropbox: 55.4.171 -> 63.4.107 → https://git.io/fhL7D
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @talw to release-18.09 « dropbox: 55.4.171 -> 63.4.107 (#53062) »: https://git.io/fhqqn
ddellaco_ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @dtzWill merged pull request #52734 → harfbuzz: 2.2.0 -> 2.3.0 → https://git.io/fhJbf
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to staging: https://git.io/fhqql
<siraben> Where's the config directory for SDDM on NixOS?
ddellacosta has joined #nixos
<iqubic> siraben: Is there something you can't do with these options: https://nixos.org/nixos/options.html#sddm
<siraben> iqubic:
<siraben> iqubic: thanks for that, I'm trying to figure out how to get SDDM to read my own config file
<iqubic> Oh. I see.
<iqubic> Try running a search for files named "sddm.conf"
<siraben> /etc/sddm.conf
<siraben> /nix/store/02pchl0h85qzfzppmjp2n04r8aw0m3v7-etc/etc/sddm.conf
<siraben> /nix/store/ka85wawzmyjqp5l0m2r2577bcfn18iny-etc/etc/sddm.conf
ddellacosta has quit [Ping timeout: 250 seconds]
<siraben> Obviously not the place to go messing around
<iqubic> The config file that sddm looks at is the one in /etc/
<iqubic> But that's going to get overwritten if you use any of the sddm options I linked to.
<wedens> there is extraConfig option, if there is no specific option for something
tzemanovic has joined #nixos
<iqubic> I just looked at the source code. It turns out that the string you set extraConfig to will be appended to the end of the sddm config.
<iqubic> siraben: Perhaps that will work for you.
<siraben> The theme I want to use is an external theme
<iqubic> I see.
<iqubic> And what exactly is the issue with that?
slack1256 has quit [Ping timeout: 268 seconds]
ddellacosta has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53180 → sundials: 4.0.0 -> 4.0.1 → https://git.io/fhqqN
<siraben> iqubic: well I'm not sure what config file SDDM wants
<siraben> Usually it's in the ~/.config directory.
Jackneill has joined #nixos
agander has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @dtzWill opened pull request #53181 → pango: 1.42.4 -> 1.43.0 → https://git.io/fhqme
ddellaco_ has joined #nixos
<{^_^}> [nixpkgs] @ryanfitzsimon opened pull request #53182 → vagrant: Add vagrant-libvirt utility dependencies → https://git.io/fhqmk
phreedom has quit [Ping timeout: 256 seconds]
ddellacosta has quit [Ping timeout: 244 seconds]
<drager> I'm trying out nixos in a VM and I changed the DPI/resolution settings and now I cannot see anything (it's just a grey screen with some cluttered white text) If I try to boot from a earlier configuration I get the same issue for all of them. Any suggestions how to resolve this?
rprije has quit [Remote host closed the connection]
agander has joined #nixos
Tucky has joined #nixos
rprije has joined #nixos
worldofpeace has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53183 → strongswan: 5.7.1 -> 5.7.2 → https://git.io/fhqmV
<{^_^}> [nixpkgs] @dtzWill opened pull request #53184 → vlc: add protobuf for chromecast support! → https://git.io/fhqmw
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53185 → translate-shell: 0.9.6.8 -> 0.9.6.9 → https://git.io/fhqmo
ddellaco_ has quit [Remote host closed the connection]
<siraben> Anyone here managed to get externel themes working with SDDM?
sir_guy_carleton has quit [Ping timeout: 250 seconds]
<wedens> there is `services.xserver.displayManager.sddm.theme` option. just install add the theme to the packages and set a theme name
init_6 has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @Infinisil merged pull request #53041 → Add nixos cpufreq max min options → https://git.io/fhIFh
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fhqYU
<{^_^}> [nixpkgs] @Infinisil merged pull request #53185 → translate-shell: 0.9.6.8 -> 0.9.6.9 → https://git.io/fhqmo
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fhqYt
<{^_^}> [nixpkgs] @xeji merged pull request #53160 → xterm: 339 -> 341 → https://git.io/fhth4
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « xterm: 339 -> 341 (#53160) »: https://git.io/fhqYZ
<{^_^}> [nixpkgs] @dywedir merged pull request #53153 → rofi: 1.5.1 -> 1.5.2 → https://git.io/fhtFS
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/fhqYR
Makaveli7 has joined #nixos
init_6 has joined #nixos
phreedom has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53186 → shotcut: 18.11.18 -> 18.12.23 → https://git.io/fhqYy
<Izorkin> Please help, how to fix error https://github.com/NixOS/nixpkgs/issues/53131
<{^_^}> #53131 (by Izorkin, 1 day ago, open): Prosody: error build configuration
rprije has quit [Ping timeout: 246 seconds]
rprije has joined #nixos
juhe has joined #nixos
<init_6> Izorkin: hi comrade Yuriy
<Izorkin> hi
goibhniu has joined #nixos
thc202 has joined #nixos
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/ce5bbb97db3 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
<init_6> Izorkin: i`m not use prosody
<{^_^}> [nixpkgs] @cdepillabout opened pull request #53187 → backport cpufreq opts to 18.09 → https://git.io/fhqO6
countingsort has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed to staging « libjpeg(-turbo): patch CVE-2018-19664 »: https://git.io/fhq3e
<{^_^}> [nixpkgs] @xeji merged pull request #53157 → conky: 1.11.0 -> 1.11.1 → https://git.io/fhtxq
<{^_^}> [nixpkgs] @xeji pushed commit from @dguibert to master « conky: 1.11.0 -> 1.11.1 (#53157) »: https://git.io/fhq3L
<countingsort> if i changed my github username since the last time i contributed to nixpkgs, would i rather do an extra PR to fix that up, or change it next time i contribute (thus having unrelated changes in that PR)?
<siraben> wedens: Right, but how to install the theme?
<wedens> siraben: as any other package. add it to `environment.systemPackages`
<Myrl-saki> Not necessarily.
<Myrl-saki> environment.systemPackages only updates your /bin and some other things.
<{^_^}> [nixpkgs] @vcunat pushed to release-18.09 « libjpeg(-turbo): patch CVE-2018-19664 »: https://git.io/fhq3c
<siraben> it wants me to run
<siraben> `sudo tar -xzvf ~/Downloads/sugar-light.tar.gz -C /usr/share/sddm/themes`
<{^_^}> [nixpkgs] @xeji merged pull request #53154 → anki: 2.1.6-beta2 -> 2.1.7 → https://git.io/fhtbK
<{^_^}> [nixpkgs] @xeji pushed commit from @asymmetric to master « anki: 2.1.6-beta2 -> 2.1.7 (#53154) »: https://git.io/fhq34
<siraben> Which obviously is not going to fly
<Myrl-saki> Oh, apparently, it uses buildEnv.
<siraben> and I have to create `/etc/sddm.conf.d/sddm.conf`
<siraben> Or an equivalent
<Myrl-saki> siraben: Have you checked sddm's module?
<siraben> Myrl-saki: yes.
<siraben> I can't just change the theme's value to "sugar-light" because sugar-light is not installed yet
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/ce5bbb97db3 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<siraben> Myrl-saki: where would I be able to add the sugar-light theme?
<siraben> Usually it would be /usr/share/sddm/themes
<wedens> you'll need to create a derivation for the theme
<nyanloutre[m]> According to the module SDDM is searching for themes in `/run/current-system/sw/share/sddm/themes`: https://github.com/NixOS/nixpkgs/blob/8092c40425a7bc82a47ead45b2d32fe1ab140a72/nixos/modules/services/x11/display-managers/sddm.nix#L41
dermetfan has joined #nixos
<siraben> But I can't just straight up but it in that folder, right?
<siraben> wedens: how?
<wedens> you'll need to copy it to `$out/share/sddm/themes/` in the derivation
<siraben> So I have to make a custom derivation for sddm?
<nyanloutre[m]> siraben: if you are new to the Nix language you should definitely checkout the nix pills: https://nixos.org/nixos/nix-pills
<wedens> no. for the theme
<wedens> you'll need to specify a github repo as a source and add dependencies
dermetfan has quit [Ping timeout: 244 seconds]
<siraben> Ah thanks
<siraben> So I just modify those lines in the braces in my configuration.nix?
<siraben> nyanloutre: I'll check that out
<wedens> seems like it only needs `qt5.qtquickcontrols` and `sddm` in dependencies
agander has quit [Ping timeout: 268 seconds]
<nyanloutre[m]> And you could even make a pull request on the nixpkgs repo if you manage to create the package
<siraben> Ok I'll try
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/4001dd679f3 (from 67 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
arjen-jonathan has joined #nixos
hydraz is now known as ^W
tilpner has joined #nixos
<siraben> This is hard because there isn't an example to go from too
agander has joined #nixos
tilpner has quit [Ping timeout: 245 seconds]
sir_guy_carleton has joined #nixos
vidbina has joined #nixos
<nyanloutre[m]> it a simple derivation which only copy files in the right folders
<nyanloutre[m]> it should be even simpler with the sddm theme as I understood everything needs to be copied in one folder
tilpner has joined #nixos
<siraben> nyanloutre: I see.
<siraben> What's wrong with https://ptpb.pw/DC1E/nix so far
<siraben> I can't seem to get fetchFromGithub to work
<siraben> Running nix-build .
<etu> siraben: fetchFromGitHub with big H
<siraben> d'oh!
<etu> Then you miss sddm and qt5 in the arguments to the function, and it wont be happy with the length of the sha I think
<siraben> I'll need to add the build stage now
systemfault has joined #nixos
Guanin has joined #nixos
agander has quit [Ping timeout: 246 seconds]
<siraben> When the git repo clones, I need to clone its contents to the equivalent of /usr/share/sddm/themes, what do I add?
ddellacosta has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #53175 → sqlcipher: 4.0.0 -> 4.0.1 → https://git.io/fhqkb
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fhqck
ddellacosta has quit [Ping timeout: 246 seconds]
agander has joined #nixos
m15k has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #53178 → tcpreplay: 4.3.0 -> 4.3.1 → https://git.io/fhqtc
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fhqc4
<wedens> siraben: you'll copy from the build dir to $out/share/sddm/themes/
<wedens> I've linked the example above.
<siraben> wedens: yeah I have it at https://ptpb.pw/iKlX/nix
pie_ has quit [Ping timeout: 250 seconds]
asymmetric has joined #nixos
tilpner has quit [Ping timeout: 246 seconds]
pietranera has joined #nixos
tilpner has joined #nixos
<wedens> does `sddm-greeter --test-mode --theme /share/sddm/themes/sugar-light` work after you install the theme?
<siraben> wedens: I don't think I'm installing it correctl.y
johanot has joined #nixos
<wedens> what's the content of `/share/sddm/themes`?
<wedens> it's already added to `environment.pathsToLink`, so it's available as a regular directory
<siraben> Hm I can't do "ls /share/..."
<wedens> sorry. it's `ls /run/current-system/sw/share/sddm/themes`
<siraben> elarun maldives maya
<siraben> huh
<siraben> Maybe nix-build . doesn't install them
<Izorkin> Please help, how to fix error https://github.com/NixOS/nixpkgs/issues/53131
<{^_^}> #53131 (by Izorkin, 1 day ago, open): Prosody: error build configuration
<wedens> siraben: I don't know for sure, but `pathsToLink` *probably* works only with nixos-rebuild
<wedens> try adding your derivation to `systemPackages`
<siraben> error: undefined variable 'sddm-sugar-light' at /etc/nixos/configuration.nix:119:7
<siraben> Do I have to import it somewhere?
<siraben> Oops
<siraben> wedens: It works now!
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/95ca9c8b283 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<wedens> siraben: great. consider contributing it to nixpkgs
<chris|> I am having some trouble building the firefox derivation. It compiles fine but activation seems to fail: https://privatebin.net/?59315269eaf9f1d8#adlEjlZ/DPk4UwK3GDBs0V5qjHoJr1+oFefdb8wJ3Fk=
<siraben> wedens: wait it's not completely working yet
<siraben> Hm
<{^_^}> [nixpkgs] @7c6f434c merged pull request #53171 → visidata: 1.5 -> 1.5.1 → https://git.io/fhqTn
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fhqCS
<ldlework> wedens: I have this module, https://gist.github.com/ea0efa44ae132ce15858082416863c7b which I've imported in my configuration.nix
<ldlework> but the files are no where to be seen in /run/current-system/sw/
<{^_^}> [nixpkgs] @7c6f434c merged pull request #53166 → xdaliclock: 2.43 -> 2.44 → https://git.io/fhqft
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fhqC9
<ldlework> /run/current-system/sw/share/ that is
<wedens> chris|: https://github.com/NixOS/nixpkgs/issues/45500 looks like it's something that is supposed to be fixed
<{^_^}> #45500 (by mdorman, 18 weeks ago, closed): firefox+browserpass "is not allowed to refer to the following paths:
<wedens> ldlework: stupid question, but... do you have sddm enabled via `services.xserver.displayManager.sddm.enable = true;`?
<ldlework> wedens: no but why would I need that
<ldlework> I've defined my own package, fetched files, and copied them to $out/share/sddm/theme
<ldlework> and then added that package to systemPackages
<siraben> wedens: I do
<wedens> yeah. and it adds it to the store
<ldlework> so shouldn't the copied files appear there after a nixos-rebuild switch?
<siraben> So it does copy and running sddm-greeter --test-mode --theme /run/current-system/sw/share/sddm/themes/sugar-light/
<siraben> works
<siraben> but then when I reboot
<wedens> ldlework: note that it's behind `mkIf cfg.enable`
<siraben> I get "The current theme cannot be loaded due to the errors below, please select another theme.
<ldlework> wedens, what is?
<wedens> ldlework: so, the path is not added to `environment.pathsToLink` if you don't have sddm enabled
<ldlework> OH
<siraben> file:///run/current-system/sw/share/sddm/themes/sugar-light/Mai.qml:22:1: module "QtQuick.Controls" 2.4 is not installed"
<ldlework> paths to link
<siraben> Not sure
<ldlework> wedens: crystal clear now
<wedens> it just exists in the store and is not linked anywhere
<ldlework> yeah
<siraben> ldlework: wedens it works when I do the switch but not when I reboot
<ldlework> I didn't know about this option which controls what gets linked
<ldlework> siraben: after you reboot the files are there yes?
<ldlework> in /run/current-system
<siraben> ldlework: yes
<siraben> But then there's an error caused by Main.qml
<siraben> module "QtQuick.Controls" 2.4 is not installed"
dermetfan has joined #nixos
<wedens> perhaps qtquickcontrols is a runtime dependency
<ldlework> yup
<siraben> Here it is working gloriously http://imgur.com/RgigKATl.png
<siraben> But only when I log in
rprije has quit [Remote host closed the connection]
<ldlework> ..it's a login manager theme
<ldlework> when.. else is it supposed to work?
<siraben> Well before I log in
rprije has joined #nixos
<ldlework> i don't understand
<siraben> i.e. after boot
<siraben> not sure what dependency is being missed
<ldlework> siraben: we just told you
<ldlework> qtquickcontrols
<siraben> Could it be fixed?
<ldlework> which you need to add to propagatedBuildInputs
<{^_^}> [nixpkgs] @Mic92 merged pull request #52989 → frogatto: init at 0.0.2018-12-09 → https://git.io/fhkou
<{^_^}> [nixpkgs] @Mic92 pushed commit from @astro to master « frogatto: init at 0.0.2018-12-09 (#52989) »: https://git.io/fhqWY
<siraben> ldlework: can you update the gist
<siraben> So changing buildInputs to propagatedBuildInputs should do it?
<siraben> Ok will try now
<siraben> Fingers crossed
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53189 → python37Packages.stem: 1.7.0 -> 1.7.1 → https://git.io/fhqW8
paulvictor has quit [Quit: WeeChat 2.3]
iyzsong has joined #nixos
<siraben> ldlework: no, still same error.
<siraben> wedens: ^
<siraben> That's weird because it does work otherwise
tzemanovic has quit [Remote host closed the connection]
<wedens> sorry, I don't have any experience with making or packaging a QT app. especially with runtime qt dependencies perhaps there is some env variable that should be set
<siraben> wedens: Ok I'll ask in the relevant channels.
<siraben> Just this tricky runtime dependency, should be fine.
sigmundv_ has joined #nixos
<wedens> perhaps it should be added as runtime dependency to sddm itself
mgttlinger has quit [Quit: Connection closed for inactivity]
<wedens> siraben: try adding `qt5.qtquickcontrols` to `environment.systemPackages`. not permanently, but just to see if it changes anything
<siraben> wedens: will do, out for dinner right now
<ldlework> >> perhaps it should be added as a runtime dependency to sddm itself
<ldlework> this is what I was gonna say
sigmundv_ has quit [Ping timeout: 246 seconds]
<wedens> btw, the readme recommends to install from some archive from opendesktop https://github.com/MarianArlt/sddm-sugar-light#from-other-desktop-environments
MarcWeber has joined #nixos
<MarcWeber> http://dpaste.com/1DNW8X5 -> snack (used by wavesurfer) - but that #define looks fine. What might be causing this error?
simukis has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53190 → python37Packages.twilio: 6.21.0 -> 6.22.0 → https://git.io/fhqlV
<ldlework> wedens: it is kind of strange that it actually does work for him after he logs in and logs out but not right after a boot
<ldlework> i can't account for that
<wedens> ldlework: perhaps some environment is being set after login
tzemanovic has joined #nixos
Dagger has quit [Excess Flood]
Dagger has joined #nixos
periklis has joined #nixos
erictapen has joined #nixos
tzemanovic has quit [Ping timeout: 252 seconds]
alex`` has joined #nixos
sigmundv_ has joined #nixos
__monty__ has joined #nixos
tilpner has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @elseym opened pull request #53191 → pythonPackages.pytado: init at 0.2.7 → https://git.io/fhq84
<{^_^}> [nixpkgs] @Mic92 merged pull request #53180 → sundials: 4.0.0 -> 4.0.1 → https://git.io/fhqqN
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fhq8B
jtojnar has joined #nixos
ubert has joined #nixos
<{^_^}> [nixpkgs] @adisbladis pushed to master « emacs-packages: Drop custom weechat package »: https://git.io/fhq8i
imalsogreg has quit [Remote host closed the connection]
rprije has quit [Ping timeout: 272 seconds]
ambro718 has joined #nixos
<ambro718> What's that mechanism where a package definition can set attributes that can be read out from nix code after the package was composed?
<{^_^}> [nixpkgs] @romildo opened pull request #53192 → xkbmon: 0.1 -> 0.2 → https://git.io/fhq4U
<clever> ambro718: meta.passthru
<ambro718> thanks
<ambro718> it's a pretty useful thing because it lets code using the package just fetch the needed info like paths without guessing
<clever> yep, python uses it to hold the site-packages suffix
<clever> > python.sitePackages
<{^_^}> "lib/python2.7/site-packages"
<clever> the exact path depends on the version of python at play
lawlesseel has joined #nixos
<chris|> wedens: supposed to, but it's sort of not...
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53193 → python37Packages.zodbpickle: 1.0.2 -> 1.0.3 → https://git.io/fhq4u
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos
ottidmes has joined #nixos
ddellacosta has joined #nixos
ddellacosta has quit [Ping timeout: 250 seconds]
asymmetric has quit [Ping timeout: 272 seconds]
agander_ has joined #nixos
agander has quit [Ping timeout: 246 seconds]
<drager> I'm trying out nixos in a VM and I changed the DPI/resolution settings and now I cannot see anything (it's just a grey screen with some cluttered white text) If I try to boot from a earlier configuration I get the same issue for all of them. Any suggestions how to resolve this?
<wedens> how did you change dpi?
<drager> via xrandr
<wedens> it probably tries to match guest dpi with host or something like that
johanot has quit [Ping timeout: 250 seconds]
<siraben> drager: increase your RAM?
<siraben> Sometimes limiting video memory and/or RAM produces bad video
<drager> Alright, will try that
<drager> siraben: Ohoh, that worked :D
johanot has joined #nixos
<drager> Thanks
<siraben> No problem.
<m15k> Someone might have an idea what I can try to fix the error mentioned in the last comment? https://github.com/NixOS/nixpkgs/issues/9735
<{^_^}> #9735 (by rowhit, 3 years ago, open): Run NixOS inside LXC container on Ubuntu 14.04 as host
erictapen has quit [Ping timeout: 240 seconds]
ddellacosta has joined #nixos
agander__ has joined #nixos
<wedens> how do I find path to currently used /etc/fonts/conf.d?
agander_ has quit [Read error: Connection reset by peer]
jomik has joined #nixos
<jomik> I am trying to set VISUAL and EDITOR in nix. I want to pass a flag to these though. What is the best way to do this in nix?
agander_ has joined #nixos
ddellacosta has quit [Ping timeout: 246 seconds]
<jomik> I also need to access programs.emacs.finalPackage from home-manager to be able to set that environment variable :O
<wedens> you can use `writeScript "editor" "emacs client-x -y -z "$@"`
<wedens> and use the result as EDITOR
<jomik> Ah, so have something like `let emacsclient = writeScript ...`
<jomik> Yeah, okay. Good plan.
agander__ has quit [Ping timeout: 246 seconds]
<jomik> How'd I access `programs.emacs.finalPackage` then?
<jomik> Or should I just "depend" on emacsclient being in PATH?
<jomik> It "should" be fine :P
<wedens> huh? can't you just use ` programs.emacs.finalPackage` ? :)
arjen-jonathan has quit [Ping timeout: 268 seconds]
<Izorkin> Please help, how to fix error https://github.com/NixOS/nixpkgs/issues/53131
<{^_^}> #53131 (by Izorkin, 1 day ago, open): Prosody: error build configuration
<wedens> jomik: you may need to put `rec` somewhere. I'm not sure how it works with modules
avn has joined #nixos
<jomik> rec didn't seem to work :(
<jomik> I guess I will just depend on it being in path really.
<{^_^}> [nixpkgs] @FRidh merged pull request #53189 → python37Packages.stem: 1.7.0 -> 1.7.1 → https://git.io/fhqW8
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « python37Packages.stem: 1.7.0 -> 1.7.1 »: https://git.io/fhq07
<{^_^}> [nixpkgs] @FRidh merged pull request #53193 → python37Packages.zodbpickle: 1.0.2 -> 1.0.3 → https://git.io/fhq4u
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « python37Packages.zodbpickle: 1.0.2 -> 1.0.3 »: https://git.io/fhq0d
<{^_^}> [nixpkgs] @FRidh merged pull request #53169 → wolfssl: 3.15.3 -> 3.15.7 → https://git.io/fhqUD
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « wolfssl: 3.15.3 -> 3.15.7 »: https://git.io/fhq0N
<{^_^}> [nixpkgs] @FRidh merged pull request #53176 → spoofer: 1.4.0 -> 1.4.2 → https://git.io/fhqIN
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « spoofer: 1.4.0 -> 1.4.2 »: https://git.io/fhq0x
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53194 → quodlibet: 4.2.0 -> 4.2.1 → https://git.io/fhq0p
fendor has joined #nixos
<m15k> Or perhaps on this one: "nix-env -i" results into "error: while setting up the build environment: mounting /proc: Operation not permitted"
asymmetric has joined #nixos
<ambro718> Can I use callPackage even when the result of the function is not actually a package?
<ambro718> just for the purpose of getting it to resolve arguments to packages
arianvp has quit [Quit: WeeChat 2.2]
arianvp has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53195 → python37Packages.rasterio: 1.0.12 -> 1.0.13 → https://git.io/fhqEx
lstanley has quit [Ping timeout: 244 seconds]
<siraben> wedens: that didn't do anything :(
<siraben> My best shot is to use an alternate theme
<siraben> Which is a shame because I know it works
tilpner has joined #nixos
<Profpatsch> If I have a realized store path like /nix/store/xqyhpb67msmlnjlh3bg0yh8f2i3kxj2z-gitit-0.12.1.1
<jomik> Anyone know why my nix-mode wont start in emacs? https://git.io/fhquY#file-init-el-L240
<ottidmes> ambro718: interesting question, so I checked, and yes you could use it outside of packages: https://github.com/NixOS/nixpkgs/blob/master/lib/customisation.nix#L108 (this is the actual function eventually being called)
<Profpatsch> How do I add an indirect GC-root to it?
<Profpatsch> nix-store --add-root result --indirect --add /nix/store/xqyhpb67msmlnjlh3bg0yh8f2i3kxj2z-gitit-0.12.1.1
<Profpatsch> Re-imports the storepath
<Profpatsch> and I get /nix/store/57qsrmv10p7hzv9aszrq3c6ih8zgf6ca-xqyhpb67msmlnjlh3bg0yh8f2i3kxj2z-gitit-0.12.1.1
<Profpatsch> I mean that works just fine, but is not optimal.
<jomik> Isn't that because of your last --add flag?
<ambro718> ottidmes: cool, thanks
<Profpatsch> jomik: Yeah, but how else?
<jomik> I haven't messed with GC-roots myself :D
<ottidmes> Profpatsch: maybe something like this: nix-store --add-root result --indirect --realise $(nix-store --query --deriver /nix/store/xqyhpb67msmlnjlh3bg0yh8f2i3kxj2z-gitit-0.12.1.1)
vidbina has quit [Ping timeout: 246 seconds]
<Profpatsch> jomik: Yeah, that helped!
<Profpatsch> Same as ottidmes said
<Profpatsch> Thanks!
johanot has quit [Ping timeout: 250 seconds]
johanot has joined #nixos
<jomik> awesome! :D
vidbina has joined #nixos
<Profpatsch> jomik: But that file looks really interesting.
<Profpatsch> I should finally try out direnv.
<jomik> That's for direnv. It makes sure that your direnv environments don't get garbage collected :D
<jomik> And also caches the environment so that you don't need to invoke nix-shell each time.
<Profpatsch> That’s kind of what one would like, yes.
<{^_^}> [nixpkgs] @ptman opened pull request #53196 → weechat-matrix-bridge: 2018-05-29 -> 2018-11-19 → https://git.io/fhquA
<Profpatsch> I’m working on something that auto-generates files in your source directory, I think direnv might be a great fit for that as well.
<jomik> I just wish that I could make an envrc.nix and have it use that, because atm I need to have a .envrc that just has 'use_nix' in it xD
<Profpatsch> Well, I don’t think that’s a problem, well-known filenames are important.
Makaveli7 has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @romildo opened pull request #53197 → mojave-gtk-theme: init at 2019-01-02 → https://git.io/fhqzf
<jomik> I am so confused as to why my nix-mode doesn't trigger T_T
<Profpatsch> jomik: What’s watch_filae?
<jomik> I stole the snippet here : https://github.com/direnv/direnv/wiki/Nix
ck3d has joined #nixos
<jomik> But it adds the file to a watch list, so that it triggers a direnv rebuild when the file changes.
Makaveli7 has joined #nixos
lawlesseel has quit [Ping timeout: 256 seconds]
<siraben> wedensldlework looks like it's affecting all custom themes, this runtime dependency
Makaveli7 has quit [Client Quit]
Makaveli7 has joined #nixos
reinhardt has joined #nixos
Makaveli7 has quit [Client Quit]
Makaveli7 has joined #nixos
reinhardt has quit [Client Quit]
Makaveli7 has quit [Remote host closed the connection]
Makaveli7 has joined #nixos
agander_ has quit [Ping timeout: 268 seconds]
lstanley has joined #nixos
Makaveli7 has quit [Client Quit]
<fendor> what is the difference between the namespace haskellPackages and haskell.packages?
m15k has quit [Ping timeout: 256 seconds]
boredom101 has joined #nixos
<__monty__> fendor: There's a haskell.packages for every supported ghc version. haskellPackages is an alias (not sure what else to call it) for the current canonical ghc version for nixpkgs.
<fendor> __monty__, ok, cool. How can I query that? haskell.packages.ghc862, for example?
<__monty__> Good question.
<__monty__> I always go to #bottest and then evaluate the attribute. So to get all the ghcs in nixpkgs:
<__monty__> > haskell.packages
<{^_^}> { ghc822 = <CODE>; ghc822Binary = <CODE>; ghc844 = <CODE>; ghc861 = <CODE>; ghc862 = <CODE>; ghc863 = <CODE>; ghcHEAD = <CODE>; ghcjs = <CODE>; ghcjs710 = <CODE>; ghcjs80 = <CODE>; ghcjs82 = <CODE>; g...
<__monty__> A better way is probably to use nix-repl.
<tilpner> Even better would be "nix repl '<nixpkgs>'"
<__monty__> > haskell.packages.ghc862
<{^_^}> { "3d-graphics-examples" = <CODE>; "3dmodels" = <CODE>; "4Blocks" = <CODE>; AAI = <CODE>; ABList = <CODE>; AC-Angle = <CODE>; AC-Boolean = <CODE>; AC-BuildPlatform = <CODE>; AC-Colour = <CODE>; AC-Eas...
<fendor> does this bot look at unstable or stable channels?
<__monty__> Yeah, that's not very useful, see.
<__monty__> No idea, I assume it's nixpkgs-unstable.
boredom101 has quit [Quit: Page closed]
<fendor> it is quite useful already, at least now i know some attributes (? correct word ?) in the expression.
<__monty__> Yes, afaik the things in nix records are attributes.
<__monty__> Here's what I do to get a grepable file of haskell packages: nix-env -qaP -A nixpkgs.haskell.packages.ghcHEAD > nixlists/ghcHEAD.nixpkgs
<__monty__> It's possible nix search can do this for you, but my machine's not powerful enough to index nixpkgs.
<Izorkin> Please help, how to fix error https://github.com/NixOS/nixpkgs/issues/53131
<{^_^}> #53131 (by Izorkin, 1 day ago, open): Prosody: error build configuration
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53198 → python37Packages.virtualenv-clone: 0.2.6 -> 0.4.0 → https://git.io/fhqg9
lawlesseel has joined #nixos
jasongrossman has quit [Ping timeout: 260 seconds]
<fendor> __monty__, that was really helpful, thanks!
lawlesseel has quit [Ping timeout: 256 seconds]
<exarkun1> anybody used nvme on ec2 with nixops? nixops complains if I assign xvda, fails to find the device if I assign xvdf, and ec2 rejects the request if I do as nixops suggests and assign nvme1n1.
vidbina has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53199 → python37Packages.node-semver: 0.5.1 -> 0.6.1 → https://git.io/fhq24
r5d has quit [Quit: WeeChat 2.3]
<fendor> when I want to install a program from a `default.nix`, i use something like `nix-env -iA ... -f default.nix`. This uses the stable channel on my system, how can I use the unstable one?
johanot has quit [Ping timeout: 240 seconds]
johanot has joined #nixos
tzemanovic has joined #nixos
<__monty__> fendor: Maybe using `-I`? That way you alter NIX_PATH in a way that takes precedence over your channels.
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53200 → python37Packages.channels: 2.1.5 -> 2.1.6 → https://git.io/fhq2F
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
<fendor> __monty__, thanks i will look this flag up
tzemanovic has joined #nixos
petrkr has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
iyzsong has quit [Ping timeout: 252 seconds]
r5d has joined #nixos
<{^_^}> [nixpkgs] @Izorkin opened pull request #53201 → zsh-command-time: enable work with options customPkgs → https://git.io/fhqa3
tzemanovic has joined #nixos
<ambro718> is there a helper for (if x != null then [x] else []} ?
<Profpatsch> ambro718: You just wrote it …
<Profpatsch> But yeah, normally something like that would be in lib/lists.nix
<gchristensen> x: lib.optional (x != null) x
<Profpatsch> at least for bools you have optional, yes.
<Profpatsch> But not sure whether that’s worth the indirection in that case.
<Profpatsch> Good morning to you, gchristensen
<gchristensen> good morning Profpatsch! :)
<ambro718> seems like this specific thing does not exist in the lib
lokado has joined #nixos
<gchristensen> Profpatsch: (or rather, good early afternoon :))
<lokado> virtualbox with guest addition still broken in the nixos-unstable channel?
<drager> How come? Isn't it available?
<drager> firefox*
ddellacosta has joined #nixos
<gchristensen> drager: it is unfree
<gchristensen> ,unfree drager
<{^_^}> drager: You cannot install your unfree software? See https://nixos.wiki/wiki/FAQ/unfree
<etu> drager: (this is because of the mozilla branding)
mingc has quit [Quit: WeeChat 2.2]
<drager> Hmm I see, but how come "firefox" is available but not "firefox-bin"?
<drager> Or am I missing something here
<gchristensen> not sure, I wonder if it can be considered free -- our self complied firefox is branded firefox
erictapen has joined #nixos
ddellacosta has quit [Ping timeout: 272 seconds]
<drager> Yeah, it's seems a bit weird? What is considered free here?
<ambro718> is there a nicer syntax for {attrs}."${variable}" ?
arianvp has quit [Quit: WeeChat 2.2]
arianvp has joined #nixos
tnks has joined #nixos
<gchristensen> ambro718: there is an alternative but I think it is worse
<gchristensen> > let var = "foo"; in { foo = 1; }.${var}
<{^_^}> 1
<gchristensen> > lib.attrsets.attrByPath [ "foo" ] null { foo = 1; }
<{^_^}> 1
<gchristensen> the first one IMO is worse, the second one is more useful for dynamic development
<ambro718> ah so you don't need quotes, .${var} is valid too
<__monty__> drager: It's probably just coloring outside the lines. Thunderbird for example *is* branded earlybird instead. Maybe with firefox people didn't want to deal with all the "Hey, what did you do to my firefox?" issue reports?
erictapen has quit [Quit: leaving]
<gchristensen> __monty__: no, it was called "Nightly" or whatever for a long time, and then we worked hard to get authorization from Mozilla to call it Firefox
<__monty__> Oh, really? Cool. Just didn't go to the trouble for thunderbird?
<{^_^}> [nixpkgs] @dasJ opened pull request #53202 → freerdp: Add support for USB redirection → https://git.io/fhqw1
* hodapp . o O ( I remember using Firefox back when it was called Firebird... )
<__monty__> Was there a thunderfox then?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53203 → python37Packages.django_redis: 4.9.1 -> 4.10.0 → https://git.io/fhqw5
<gchristensen> ah, that is a good point __monty__, it wasn't worth the trouble since nobody has said hey what did you do to my thundrebird :P
<Izorkin> Please help, how to fix error https://github.com/NixOS/nixpkgs/issues/53131
<{^_^}> #53131 (by Izorkin, 1 day ago, open): Prosody: error build configuration
<hodapp> is thundrebird by chance the British spelling?
<__monty__> gchristensen: Oh, so my voice doesn't count? ; p Don't actually care about the branding though.
<gchristensen> you don't count when I'm considering newbie confusion :)
erictapen has joined #nixos
<ivan> why does it look like my xfce uses some Courier font for everything when it's configured to use Roboto?
<ivan> I've got fonts fonts.fonts and they work elsewhere
<ivan> I switched to xfceUnstable and that fixed some things but not others (gtk 2 vs 3?)
<wedens> Izorkin: please stop writing it every hour. I'm sure someone who knows this thing will respond to the issue
<Izorkin> ok, thanks
<{^_^}> [nixpkgs] @peterhoeg opened pull request #53204 → libvirt: support proper networking in user session → https://git.io/fhqon
init_6 has quit [Ping timeout: 272 seconds]
<ottidmes> Izorkin: the error seems clear, what is the value of your package?
init_6 has joined #nixos
<ottidmes> Izorkin: https://github.com/NixOS/nixpkgs/blob/641ef3ab237b0467c4aa7778d7c3095be671d95f/nixos/modules/services/networking/prosody.nix#L514 since "while evaluating the attribute 'ExecStart'" and "cannot coerce a set to a string" so it looks like your cfg.package is a set
<Izorkin> ottidmes: me replaced ExecStart = "${cfg.package}/bin/prosodyctl start"; to "/bin/prosodyctl start" - not work
<ottidmes> Izorkin: same error?
<Izorkin> ottidmes: while evaluating the attribute 'passAsFile' of the derivation 'system-path' at /home/user/works/src-nix/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:185:11
FRidh has joined #nixos
<gchristensen> seems maybe the package is busted?
<{^_^}> [nixpkgs] @FRidh merged pull request #53200 → python37Packages.channels: 2.1.5 -> 2.1.6 → https://git.io/fhq2F
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « python37Packages.channels: 2.1.5 -> 2.1.6 »: https://git.io/fhqK3
<fendor> how can I set up vscode for c development? do i have to override some options, or can i just install the required programs?
johanot has quit [Ping timeout: 250 seconds]
fusion809 has joined #nixos
johanot has joined #nixos
<ottidmes> fendor: most extensions just work as long as you have the right programs installed in your system, but I have no experience with a C setup in vscode though
<fendor> ottidmes, same experience, but for c, it does not really work and vscode doesnt even tell me what does not work
<ottidmes> I did some C development with vscode, but I did not use any special extensions/integration
<ivan> why might the sudo wrapper not get installed when I have the module enabled? $ sudo -i -> sudo: /run/current-system/sw/bin/sudo must be owned by uid 0 and have the setuid bit set
<wedens> ivan: check `/run/wrappers/bin/sudo` for a binary with setuid
<ivan> ah, yes, I have that, thanks
<wedens> should be already in $PATH
<ivan> I screwed up my PATH not knowing about that location
<ivan> thanks
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53205 → python37Packages.fs: 2.1.2 -> 2.1.3 → https://git.io/fhqKy
arjen-jonathan has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53206 → python37Packages.pex: 1.5.3 -> 1.6.0 → https://git.io/fhq6L
jomik has quit [Quit: WeeChat 2.2]
puffnfresh has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @vcunat pushed to master « cproto: 4.6 -> 4.7o »: https://git.io/fhq67
puffnfresh has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53208 → python37Packages.pymetar: 1.0 -> 1.1 → https://git.io/fhqi3
dbmikus has joined #nixos
<ottidmes> what is the best way to deal with two package definitions needing the same dependencies and they are part of the same package folder, I was thinking either use callPackage to get this common stuff and pass say common as an argument to either package definitions, or maybe buildEnv, but there is some more reuse between the two, like a configurePhase and patchPhase
glasserc has joined #nixos
boothead has joined #nixos
<boothead> Happy new year folks. What are people using for email? I see several options. I'm after something that will let me interact with several gmail accounts, some with 2FA. I don't necessarily want or need to sync all the accounts.
<gchristensen> I use notmuch
<shapr> I run my own mail server. Don't do that.
<{^_^}> [nixpkgs] @ivan opened pull request #53209 → xfce4-13.xfce4-panel: 4.13.3 -> 4.13.4 → https://git.io/fhqi5
<johanot> shapr: lol. you're so right
<wedens> ottidmes: sounds like multiple outputs
<boothead> gchristensen: Is that just a mail downloader or does it have a UI as well>
ubert has quit [Ping timeout: 245 seconds]
<gchristensen> it doesn't even download :
<boothead> Orly. Nice :-)
<gchristensen> it is mostly a mail indexer. I use the notmuch.el emacs thing to read mail
<gchristensen> and I use mbsync / isync to fetch
<ottidmes> wedens: but I am not interested in the outputs, the shared things are about inputs ;)
<boothead> Not offlineimap?
<boothead> mbsync does the same thing I assume?
<gchristensen> yeah, I think so, every imap sync tool spooks me a bit and isync seemed slightly less scary for some reason
init_6 has quit [Ping timeout: 268 seconds]
<gchristensen> my theory is everybody hates email, and nerds like us would rather build an email client to pretend it is better than to read it :)
<wedens> ottidmes: I think you can share the source and make a function that provides common derivation structure
jabranham has joined #nixos
<ottidmes> wedens: yeah I am trying something like that now, it should work, but I am not sure if it is idiomatic Nixpkgs, I guess I will hear that when getting feedback on the PR
<wedens> ottidmes: from what I've seen it's pretty common in nixpkgs. e.g. kernel derivations are created using function https://github.com/NixOS/nixpkgs/blob/master/pkgs/os-specific/linux/kernel/generic.nix
jmeredith has joined #nixos
<ottidmes> is there some tooling to facilitate in automatically creating PRs? I know of nixpkgs-update, but that is based on repology, while I want it to be based on some local updating mechanism
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53210 → python37Packages.pgspecial: 1.11.3 -> 1.11.5 → https://git.io/fhqPB
erasmas has joined #nixos
ck3d has quit [Quit: WeeChat 2.2]
<gchristensen> Mic92: may I PM?
<samrose> what is a high level view of the process that produces this archive? https://github.com/NixOS/nixpkgs-channels/archive/nixos-18.09.tar.gz
<{^_^}> [nixpkgs] @vcunat pushed to master « doxygen: change URL »: https://git.io/fhqPx
<boothead> Anyone got an offlineimap and mu4e set up for nixos I can crib from? Can't seem to find any docs on how this all hangs together!
<wedens> samrose: isn't it just a link to the branch archive? :)
<gchristensen> samrose: github produces that archive, but I'm guessing you'r emore interested in how that branch gets updated
<gchristensen> http://howoldis.herokuapp.com/ has some info about how
<fendor> i am trying to install extensions for vscode via overlays, i am using the examples from the docs, but it fails with the message, undefined variable 'cpptools' https://pastebin.com/iLFUC6yY
<fendor> take it back
<fendor> i am an idiot
<{^_^}> [nixpkgs] @wedens opened pull request #53211 → kbdd: bump revision → https://git.io/fhqXu
lokado has quit [Quit: WeeChat 2.3]
<{^_^}> [nixpkgs] @wedens opened pull request #53212 → dropbox-cli: 2015.10.28 -> 2018.11.28 → https://git.io/fhqXM
<Twey> jtojnar: Hey! I noticed you added an application called ‘glom’ to nixpkgs. I'm also trying to add an application called ‘glom’ (https://pypi.org/project/glom/). Can you think of a more descriptive name for yours? I'm not sure I can rename mine without breaking our Python packaging conventions…
<{^_^}> [nixpkgs] @vcunat pushed to master « doxygen: add sourceforge as mirror »: https://git.io/fhqX9
jabranham has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
<{^_^}> [nixpkgs] @c0bw3b merged pull request #53168 → woeusb: 3.2.10 -> 3.2.12 → https://git.io/fhqUs
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fhqX7
<{^_^}> [nixpkgs] @wedens opened pull request #53213 → xkb-switch: 1.3.1 -> 1.5.0 → https://git.io/fhq1f
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
<exarkun1> anybody know about systemd / meson and want to look at https://github.com/NixOS/nixpkgs/issues/53207 ?
<{^_^}> #53207 (by exarkun, 40 minutes ago, open): systemd fails to cross-compile
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
<boothead> gchristensen: Can you point me to the required set up? :-)
<gchristensen> sure!
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
jomik has joined #nixos
tzemanovic has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @bjornfor pushed to master « fsv: fix typo: callPackages -> callPackage »: https://git.io/fhq1h
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53214 → python37Packages.distributed: 1.24.2 -> 1.25.1 → https://git.io/fhq1j
<fendor> can i install a clang version globally with certain libraries already installed?
<gchristensen> I have these files setup in my ~/ .mbsyncrc .msmtprc and .notmuch-config: https://github.com/grahamc/nixos-config/blob/master/main-configuration.nix#L201-L203 plus a pre-new and post-new hook setup for notmuch: https://github.com/grahamc/nixos-config/blob/master/main-configuration.nix#L207-L208 they're all defined here: https://github.com/grahamc/nixos-config/blob/master/packages/email/default.nix -- `mutate`
<gchristensen> just does simple string replacements, replacing @foo@ with the `foo` argument to mutate. each file is in this dir: https://github.com/grahamc/nixos-config/tree/master/packages/email in particular I think you're looking for https://github.com/grahamc/nixos-config/blob/master/packages/email/mbsyncrc
<{^_^}> [nixpkgs] @wedens opened pull request #53215 → tdrop: init at 2019-01-02 → https://git.io/fhqMO
<samrose> gchristensen: yes, I am basing work off of that archive, and wanted to understand how the workflow works from developer to release it looks like the process is explained at http://howoldis.herokuapp.com/ so thank you
<gchristensen> samrose: if you have further questions, do ask :)
<rnhmjoj> what do you say about backporting the recent mesa updates to 18.09? is it too risky?
<jomik> I am using nix-mode in emacs, indentation seems very odd. It seems to do something like 8 spaces per tab, any idea why?
ryantrinkle has joined #nixos
<ryantrinkle> has anyone gotten keyutils working with nixos?
<wedens> jomik: I also have different kind of problems with indentation
<wedens> it either indents everything to the left or half a screen to the right
<gchristensen> nix-mode is so weird :/
erictapen has quit [Ping timeout: 244 seconds]
tilpner has quit [Quit: WeeChat 2.3]
tilpner has joined #nixos
dermetfan has quit [Ping timeout: 268 seconds]
<boothead> gchristensen: PassCmd "@pass@/bin/pass means that you have all your passwords in pass, is there a similar thing for lastpass do you know?
tertl3 has joined #nixos
erictapen has joined #nixos
<gchristensen> I don't know about lastpass
<wedens> I can't live without emacs, but nix-mode really wants me to edit .nix files in vscode :(
<gchristensen> but you wouldn't have to keep every password is `pass`, just this one :)
orivej has quit [Ping timeout: 268 seconds]
<jomik> wedens: I agree! Lol
<tilpner> > lastpass-cli.name # boothead
<{^_^}> "lastpass-cli-1.3.1"
<jomik> I have that same issue that you mention wedens
agander has joined #nixos
<jomik> I tried setting tab-width now.
<boothead> tilpner: nice, thanks!
<exarkun1> boothead: are you asking if lastpass has a CLI that lets you read passwords? yes it does.
<wedens> jomik: I tried disabling electic-indent, changing `nix-indent-function` to `nix-indent-line`. no success
<Twey> exarkun1: Your problem is that your cross-compiler doesn't have the (POSIX!) header "sys/capability.h"
<tilpner> boothead: I just wanted to make you aware of the package, I don't use it. .name makes for a prettier response from the bot
<Twey> exarkun1: I guess you need to include (cross-compiled) libcap as a dependency?
<tilpner> > lastpass-cli # otherwise, it does this
<{^_^}> "<derivation /nix/store/whgr4qnvf9ca32ry9bbp4hzni0dhibvw-lastpass-cli-1.3.1.drv>"
<tilpner> Oh, it was fixed. Yay
<exarkun1> Twey: I don't know why it wouldn't. libcap is included as a dependency.
<exarkun1> Twey: What do you think about the fact that meson says "Native build" in its output? I thought that meant Nix was invoking it wrong.
<Twey> exarkun1: It's using /nix/store/iw94llkj05wgaz268mlzvgx8jkbi1ss0-gcc-wrapper-7.3.0/bin/cc
<Twey> exarkun1: Is that a cross-compiler?
erictapen has quit [Ping timeout: 272 seconds]
<boothead> tilpner: thanks :-)
erictapen has joined #nixos
<iqubic> So is the "--builddir=" flag a valid flag to pass to nix-shell?
cyounkins has joined #nixos
cyounkins has quit [Remote host closed the connection]
cyounkins has joined #nixos
<boothead> gchristensen: do you have this config on multiple machines?
<gchristensen> boothead: just one
<exarkun1> Twey: no
<gchristensen> boothead: I don't have a work computer :')
<boothead> Ah. I have a desktop and a laptop so I'd have to figure out how to share parts of my config (it's a hack at the moment which has got out of date)
ddellacosta has joined #nixos
<jomik> wedens: do you use evil?
<exarkun1> Twey: it's wrapping /nix/store/vv4r320p5yd1k01kld62q1lppjxcswhb-gcc-7.3.0/bin/gcc
<boothead> Do you have all of your installed applications also captured in this set up?
<Twey> exarkun1: Your 'callPackage' looks a little bit suspicious to me, why did you write that instead of just 'with import <nixpkgs> { crossSystem = { system = "armv6l-linux"; }; }; systemd'?
<wedens> jomik: yes, of course
<exarkun1> Twey: probably no good reason, I'll try that
<Twey> exarkun1: I'm trying it now
<etu> wedens: nix-mode needs some work, most people I've talked to that use emacs/nix says that. Including me :/
<Twey> exarkun1: I wonder if callPackage might insert the wrong stdenv
<wedens> jomik: it's not better in vanilla emacs
<exarkun1> Twey: seems the same
<Twey> exarkun1: Hm
<iqubic> nix-mode is awesome.
<etu> I use nix-mode with a tiny bit of config that makes it better, but still not perfect...
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/95ca9c8b283 (from 8 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
<iqubic> etu: what don't you like about nix-mode?
<etu> iqubic: Like it de-indent things at the beginning of a block? :p
<Twey> exarkun1: I'm not that good at cross-compiling, but it seems to me that your compiler is wrong
<jomik> wedens: Hm, okay.
<wedens> etu: yeah. and seems like there is no one who has enough time and knowledge to improve some annoying things :(
<exarkun1> still using /nix/store/iw94llkj05wgaz268mlzvgx8jkbi1ss0-gcc-wrapper-7.3.0/bin/cc
<jomik> Indentation just, does not work, for me...
<iqubic> etu: Take a look at this too: https://github.com/travisbhartwell/nix-emacs/
<jomik> It indents with 4-8 spaces.
<etu> wedens: I've built some modes, but never major modes, so I'm a bit afraid :(
<Twey> etu, jomik: With nix-indent-line as the indentation function, nix-mode is… better than fundamental mode for me
<exarkun1> Twey: note that tons of other packages successfully cross-compiled before this one failed. the difference I can see seems to be that systemd uses meson as its build system. most everything else uses autoconf. I don't really know much about meson (even less than I know about nix).
Church_ has joined #nixos
<wedens> iqubic: how does it improve indentation?
cyounkins has quit [Ping timeout: 244 seconds]
<Twey> exarkun1: Are you sure those things were cross-compiled?
<iqubic> wedens: I don't think it does.
<etu> Twey: yeah, I have that set
ddellacosta has quit [Ping timeout: 240 seconds]
<etu> But at one point nix-mode stopped loading when I opened nix files
<Twey> exarkun1: It looks like there's a non–cross-compiling compiler being passed in to the build (or at least configure) environment
<etu> which was a new level of weird
<Twey> exarkun1: Which seems immediately wrong to me
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53216 → python37Packages.dropbox: 9.2.0 -> 9.3.0 → https://git.io/fhqDN
<etu> iqubic: I should probably pull that in, especially now when I use exwm :p
<iqubic> So I take it that if I pass "--builddir=/path/to/place" to nix-shell, that's not going to work.
<exarkun1> Twey: hmm yea that's a good point
cyounkins has joined #nixos
<iqubic> etu: It's actually 4 different MELPA packages.
<Twey> exarkun1: Meson will pick up the compiler in the configure stage just by looking at CC/$(type -P cc)
<Twey> exarkun1: As a philosophical point it explicitly doesn't provide toggles to choose a different compiler
<exarkun1> Twey: but meson also has some kind of weird "cross-file" thing going on?
<Twey> And the build step will use the compiler found then
<etu> iqubic: Looks useful, but the indentation of nix-mode is still the worst bit :D
<jomik> No nixos-options for ivy :(
<exarkun1> Something like `nix-build --expr 'with import <nixpkgs> { crossSystem = { system = "armv6l-linux"; }; }; binutils'` _does_ succeed, fwiw. That's another bit of evidence that makes me suspect nixpkgs' systemd expression.
<Twey> exarkun1: Mmm, yeah, good point — I thought you might be able to just give it the right compiler and everything would be happy, but maybe not
<wedens> etu jomik: my best of the worst attempts so far is to (electric-pair-local-mode -1) in nix-mode and (setq nix-indent-function 'nix-indent-line)
erictapen has quit [Ping timeout: 250 seconds]
<iqubic> etu: If you don't want to use those functions, you don't need to.
<wedens> jomik: I haven't tried it but it should be as simple as https://bpaste.net/show/625aa697a8e8
cyounkins has quit [Ping timeout: 250 seconds]
<etu> iqubic: Well, I use company-mode, so completions there would be nice :)
lucus16 has joined #nixos
<jomik> wedens: Oh. Right xD
<iqubic> I think it does that. It's been a while since I looked at the README.
<jomik> Thanks.
tilpner has quit [Quit: WeeChat 2.3]
<exarkun1> I guess I could try to track down the code that decides what cc (so, what stdenv?) to supply and see why it is making that decision and whether it is fishy or not.
klntsky has quit [Remote host closed the connection]
klntsky has joined #nixos
<lucus16> How do I install nix on macOS in multi user mode? When I followed https://nixos.org/nix/download.html I ended up with single user mode
<Twey> exarkun1: Okay, so the build target should have an associated cross file
<jomik> Need one for home-manager too :o
cyounkins has joined #nixos
<Twey> exarkun1: The cross file is passed to meson with --cross-file
<wedens> jomik: https://bpaste.net/show/b3857e314725 I forgot a function ;)
<Twey> exarkun1: --cross-file can be passed to Nix with crossMesonFlags
<Twey> s/to Nix/to the Meson setup hook/
puffnfresh has quit [Ping timeout: 240 seconds]
<Twey> exarkun1: The crossFile is generated by the Meson expression: https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/tools/build-managers/meson/default.nix
cyounkins has quit [Remote host closed the connection]
bbarker has joined #nixos
cyounkins has joined #nixos
johanot has quit [Quit: Lost terminal]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53217 → python37Packages.gphoto2: 1.8.5 -> 1.9.0 → https://git.io/fhqyK
arjen-jonathan has quit [Ping timeout: 252 seconds]
Tucky has quit [Quit: WeeChat 2.2]
cyounkins has quit [Ping timeout: 250 seconds]
<Twey> exarkun1: Try setting NIX_DEBUG and seeing what meson and cc calls are made?
<exarkun1> `NIX_DEBUG=1 nix-build ...`?
gwen has joined #nixos
gwen has quit [Client Quit]
imdoor has joined #nixos
gwen has joined #nixos
<Twey> exarkun1: Yep
<Twey> exarkun1: It will cause the nixpkgs CC wrappers to print out all the compiler commands they invoke and all the arguments they get and add
<gwen> Hi, I'm looking into packing "next" (next.atlas.engineer) for NixOS, does anyone here know a bit about packaging LISP packages?
<{^_^}> [nixpkgs] @rnhmjoj opened pull request #53218 → mesa: 18.1.7 -> 18.3.1 [backport] → https://git.io/fhqSk
<exarkun1> Twey: it doesn't seem to generate any extra output
<exarkun1> actually diff says it generated identical output
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<exarkun1> Or should I be looking in the meson build log, not the nix-build output
<exarkun1> I don't see anything new there either. Maybe meson is stripping the environment before calling the compiler?
orivej has joined #nixos
<Twey> exarkun1: Maybe…
tilpner has joined #nixos
Church_ has quit [Ping timeout: 250 seconds]
pietranera has quit [Quit: Leaving.]
joapet99 has joined #nixos
<joapet99> Hello?
<simpson> Hello.
<joapet99> Do any of you know a little bit about dynamicly linked libraries for elf binaries?
dermetfan has joined #nixos
<simpson> You may have to ask your actual question.
<joapet99> Well, i used the patchelf program to set the rpath for a binary
petrkr has quit [Remote host closed the connection]
<joapet99> And afterwards i got this weird result
<joapet99> libXext.so.6 => not found
<joapet99> libstdc++.so.6 => not found
<joapet99> libxcb.so.1 => /nix/store/8adin3zmnyrm7p2zryidmwirpnz68z3l-libxcb-1.13/lib/libxcb.so.1 (0x00007fdcf4e90000)
<joapet99> libXext.so.6 => /nix/store/ag1f72n4k8x29y48lv5zx1f0zgm3fq3h-libXext-1.3.3/lib/libXext.so.6 (0x00007fdcf4c78000)
<joapet99> libstdc++.so.6 => not found
<joapet99> libXext.so.6 shows up two times
<joapet99> One time not found and another one found
<{^_^}> [nixpkgs] @andrew-d opened pull request #53219 → stdenv/native: add missing argument to fix build failure → https://git.io/fhq98
tilpner has quit [Quit: WeeChat 2.3]
Dedalo has joined #nixos
tilpner has joined #nixos
lawlesseel has joined #nixos
<bennofs[m]> joapet99: try pax-utils' lddtree command
<bennofs[m]> this usually happens when one of them is an indirect (transitive) dependency
<joapet99> librt.so.1 => not found
<joapet99> libpthread.so.0 => not found
<joapet99> libstdc++.so.6 => not found
<joapet99> libXext.so.6 => not found
<joapet99> libGL.so.1 => /home/joakim/Downloads/blender-2.80-4dd0a90f4213-linux-glibc224-x86_64/lib/libGL.so.1
<joapet99> libGLU.so.1 => /home/joakim/Downloads/blender-2.80-4dd0a90f4213-linux-glibc224-x86_64/lib/libGLU.so.1
<joapet99> libX11.so.6 => /nix/store/i96hqcdxkid4sin7j1f0kmywlbzfqfjr-libX11-1.6.6/lib/libX11.so.6
<joapet99> libxcb.so.1 => /nix/store/8adin3zmnyrm7p2zryidmwirpnz68z3l-libxcb-1.13/lib/libxcb.so.1
<joapet99> libXau.so.6 => /nix/store/rds7llil0ajgxw78g1pq5ha509vl5w6l-libXau-1.0.8/lib/libXau.so.6
<joapet99> libXdmcp.so.6 => /nix/store/pqd38j6m99izqcx1jirdkx9hp9cin89j-libXdmcp-1.1.2/lib/libXdmcp.so.6
<joapet99> libXi.so.6 => /nix/store/b78jy4ikjl5cmh7vn1n8r68ck0wb4079-libXi-1.7.9/lib/libXi.so.6
<joapet99> libXxf86vm.so.1 => /nix/store/fh5x3fkij0r1m287bgdj8cvl05s9c8j6-libXxf86vm-1.1.4/lib/libXxf86vm.so.1
<joapet99> libXfixes.so.3 => /nix/store/kzidlq2lqvki7bbqji0h3w1rwwdk8fmq-libXfixes-5.0.3/lib/libXfixes.so.3
<joapet99> libXrender.so.1 => /nix/store/q6x4yyn81y35hirwp0hs1jq42k16y9kj-libXrender-0.9.10/lib/libXrender.so.1
<joapet99> libutil.so.1 => not found
<joapet99> libdl.so.2 => not found
<joapet99> libc.so.6 => not found
<joapet99> ld-linux-x86-64.so.2 => /nix/store/hhsyfa5l26ys7m5c1j4fjsr3l323g83w-glibc-2.27/lib/ld-linux-x86-64.so.2
<joapet99> libm.so.6 => not found
<joapet99> libmvec.so.1 => not found
<joapet99> libgcc_s.so.1 => not found
<joapet99> First indent shouldn't be there
<joapet99> Or like subtract one indent from all
<samueldr> ,paste joapet99
<{^_^}> joapet99: Use a website such as http://nixpaste.lbr.uno/ or https://gist.github.com/ to share anything that's longer than a couple lines
<gchristensen> joapet99: please use a pastebin from now on, like gist.github.com what samueldr said.
<samueldr> oh, nixpaste is now down :/
<wedens> github is down too
<gchristensen> oops :D
<samueldr> oh wow
<gchristensen> ,paste = Use a website such as https://paste.ee/ or https://gist.github.com/ to share anything that's longer than a couple lines
<jomik> Github is having a hard time :(
<{^_^}> paste redefined, was defined as: Use a website such as http://nixpaste.lbr.uno/ or https://gist.github.com/ to share anything that's longer than a couple lines
ddellacosta has joined #nixos
Franciman has joined #nixos
<Franciman> Hi
<Franciman> Is there a way to download a specific version of ghc?
<tilpner> > builtins.attrNames haskell.compiler
<{^_^}> [ "ghc822" "ghc822Binary" "ghc844" "ghc861" "ghc862" "ghc863" "ghcHEAD" "ghcjs" "ghcjs82" "ghcjs84" "integer-simple" ]
periklis has quit [Ping timeout: 250 seconds]
<tilpner> Any of these?
<Franciman> I guess it's fine. tilpner is there a page for the haskell specific bits of the nix environment?
<Franciman> thank you
<Franciman> last question is, how can I find out packages already in the cache? ( So that they don't need to be downloaded again)
sanscoeur has joined #nixos
<tilpner> Uhh, well, good question
cyounkins has joined #nixos
<tilpner> I'm not currently aware of a user-friendly way to do that (which doesn't mean there isn't any)
<Franciman> tilpner, any user-unfriendly?
<tilpner> You can of course check individual applications or environments, to see if the cache has them
<Franciman> ah yeah
<Franciman> it could work
<tilpner> And you can try to navigate Hydra, which might contain that information in some form
<tilpner> First you need to figure out what revision of nixpkgs you have, because the cache coverage may differ for each
<Franciman> thanks
<tilpner> After you found the hydra eval your revision corresponds to, there will be a list of succeeding inputs
<Franciman> tilpner, my goal is: I need ghc, so I first try to use ones already availabl
<Franciman> available
<Franciman> then tell nix to download one
<Franciman> if the available ones don't work
cyounkins has quit [Remote host closed the connection]
<tilpner> And you don't know which ghc you want?
cyounkins has joined #nixos
<{^_^}> [nixpkgs] @gnidorah opened pull request #53220 → way-cooler: 0.8.0 -> 0.8.1 → https://git.io/fhqQf
<wedens> when I do `nix-env -qa tree` it just hangs... why?
<mupf> Can anyone tell me how to use -s USE_XML=1 \
<tilpner> AFAIR nix-env searches large parts of nixpkgs for a derivation with a name that matches tree
<mupf> argh
<mupf> copy n paste
<mupf> -s USE_XML=1 \
<mupf> sorry.
<mupf> emscriptenPackages.libxml2
<fendor> i am confused by vscode in nixos, i seem to need vscode-with-extensions if I want to use cpptools, however, now all my extensions have been removed and I cant install them. Managing them manually seems insane, since i'd have to update the commit manually?
cyounkins has quit [Ping timeout: 268 seconds]
<gchristensen> mupf: maybe re-ask your question :P
<mupf> gchristensen: yeah, sorry again. I have emscriptenPackages.libxml2 installed inside a shell but I don't have a single clue how to tell emscripten to use libxml2
<wedens> oh, it doesn't hang. it just works enormously slow (like 2 minutes)
Thra11 has joined #nixos
<tilpner> wedens: "nix search" has a cache and is faster
orivej has quit [Ping timeout: 250 seconds]
<wedens> yeah. `nix search` is almost instant, but it also searches descriptions
<joapet99> This is the output from lddtree
<clever> wedens: i just tab complete inside nix repl '<nixpkgs>'
cyounkins has joined #nixos
<joapet99> It says that libXext is missing
<tilpner> wedens: nix search 'nixpkgs.*tree' might work
<wedens> clever: that's what I do when I know prefix :)
reinhardt has joined #nixos
<tilpner> When I don't know the prefix, I usually "cd dev/nixpkgs; rg foo"
<tilpner> Though I guess that also search descriptions (and more)
<{^_^}> [nixpkgs] @fpletz merged pull request #53191 → pythonPackages.pytado: init at 0.2.7 → https://git.io/fhq84
<{^_^}> [nixpkgs] @fpletz pushed 4 commits to master: https://git.io/fhqQb
agander has quit [Ping timeout: 240 seconds]
<gchristensen> I'll donate $50 (USD) to the charity of choice of whoever fixes https://github.com/NixOS/nix-mode/issues/60 :D
<{^_^}> nix-mode#60 (by grahamc, 1 week ago, open): nix-indent-line messes up an attrset in a list in an attrset.
<mdash> ldlework: was this among the things you fixed in nix-mode?
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/fhq7E
<{^_^}> [nixpkgs] @joachifm merged pull request #52606 → linux_hardkernel_4_14: 4.14.85-152 -> 4.14.87-153 → https://git.io/fhv9f
sigmundv_ has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @fpletz pushed to master « shairport-sync service: fix default arguments »: https://git.io/fhq7r
<{^_^}> [nixpkgs] @joachifm merged pull request #52605 → amazon-ecs-cli: init at 1.12.1 → https://git.io/fhvDC
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/fhq7i
<{^_^}> [nixpkgs] @fpletz pushed to release-18.09 « shairport-sync service: fix default arguments »: https://git.io/fhq7D
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53221 → python37Packages.pylibmc: 1.5.2 -> 1.6.0 → https://git.io/fhq71
agander has joined #nixos
<etu> gchristensen: haha, yeah... I get that pain
<gchristensen> :) I'd dive in but this problem isn't where I want to spend my time :$
<samrose> so gchristensen: based on http://howoldis.herokuapp.com/ if I am building a custom ISO, and start my build from https://github.com/NixOS/nixpkgs-channels/archive/nixos-18.09.tar.gz I am actually using a copy of the nixpkgs channel as it exists *prior* to being run through testing and building on hydra, yes?
<samrose> So, if I wanted the "released" version I should instead access from https://nixos.org/channels/
<gchristensen> no, the nixpkgs-channels repo is only pushed to once the channel has passed hydra
<gchristensen> if you built from the nixpkgs repo, then yes it maybe hasn't passed hydra
<samrose> aha
<samrose> is the nixpkgs-channels pushed by a human?
<gchristensen> no, the channel update process does it automatically
<samrose> ah ok, the commiters that are humans are just what is in the git history
<gchristensen> yeah
<samrose> thank you gchristensen
<gchristensen> it is the exact same git repo by contents / commits, but refs are only updated when the channel advances
<gchristensen> you're welcome
<jomik> Do we have an easy way to modify xkbmap?
<{^_^}> [nixpkgs] @jameysharp opened pull request #53222 → systemd: Make build options configurable → https://git.io/fhqdS
<ottidmes> jomik: doesnt home manager have something?
<gagbo> I think so yes
<iqubic> So I don't think that "--builddir=/path/to/place" is a valid nix-shell flag. Can someone confirm or deny this?
<jomik> Really? I have modified my keyboard in my nixos/configuration.nix though
<iqubic> The only thing I did was making it so I can easily type in Greek.
<jomik> ottidmes: Ah, so you just exported your keyboard map and then reimported it, essentially?
<iqubic> Γρεεκ
orivej has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53223 → python37Packages.daphne: 2.2.3 -> 2.2.4 → https://git.io/fhqFI
<ottidmes> jomik: I believe I exported it, but it was not just a simple export/re-import, I did modify it to fit my needs
<jomik> Yeah okay, makes sense :D
<exarkun1> the meson setup-hook.sh has `CC=armv6l-unknown-linux-gnueabihf-gcc` in its environment
<exarkun1> Twey: ^^
<exarkun1> I have no clue where it gets /nix/store/iw94llkj05wgaz268mlzvgx8jkbi1ss0-gcc-wrapper-7.3.0/bin/cc from. iw94llkj05wgaz268mlzvgx8jkbi1ss0 is referenced by zero things in the environment.
<exarkun1> https://gist.github.com/exarkun/c4712f3378e2cc0e3d80769e964e3ea6 might be the cross-file that it writes but doesn't use
tertl3 has quit [Quit: Connection closed for inactivity]
<exarkun1> the setup-hook.sh uses @isCross@ to find the cross file. have no idea what that is.
<exarkun1> shlevy: Hello
<exarkun1> shlevy: I just found https://github.com/NixOS/nixpkgs/pull/35666
<{^_^}> #35666 (by shlevy, 44 weeks ago, merged): systemd cross compilation
dbmikus has quit [Ping timeout: 268 seconds]
lawlesseel has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53224 → python37Packages.pydot: 1.4.0 -> 1.4.1 → https://git.io/fhqbR
fusion809 has quit [Remote host closed the connection]
<Mic92> arianvp: did you made progress fixing rocksdb on aarch64?
<arianvp> Heya. Yes
<arianvp> Cmake with ninja made it work
reinhardt has quit [Quit: Leaving]
<arianvp> I just need to change the derivation
<arianvp> I only tested it out in nix-shell
<Mic92> Ok. I was about to disable ceph in sambaFull for now on aarch64
<Mic92> I would be surprised if anyone would need that actually on that architecture
<arianvp> Ceph?
<arianvp> I actually need it. We have an odroid-based demo cluster we use for teaching
<Mic92> rocksdb -> ceph -> sambaFull
<arianvp> :p
<Mic92> ok
fusion809 has joined #nixos
fusion809 has quit [Remote host closed the connection]
<arianvp> Not samba though. It's ceph only
<gchristensen> arm is nice for ceph hosts :$
<arianvp> If it works I see no reason why we shouldn't ship it
<Mic92> I don't oppose if anybody fixes support, however I just want to get a samba with cups support for my family rpi3
<gchristensen> right on
<arianvp> Alright. Just tag me in the issue so I don't forget
dbmikus has joined #nixos
<joko> gchristensen: I'm thinking of ordering 3-4 Odroid HC2's
<arianvp> I might not have time to fix it right away
<gchristensen> joko: nice!
<joko> But I am reluctant on stuff like bitrot
<arianvp> (if you decide to remove ceph from samba)
<{^_^}> [nixpkgs] @fpletz merged pull request #53050 → sshd: Add restartTrigger for sshd_config → https://git.io/fhIpO
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/fhqbj
<arianvp> I honestly think we only have to add ninja and cmake to buildInputs and it should work
<arianvp> I'm just not near a laptop this week :p
<{^_^}> [nixpkgs] @fpletz closed pull request #48658 → nixos/sshd: restart on "sshd_config" change (back to 18.03 behaviour) → https://git.io/fxVfr
<exarkun1> given that the systemd expression contains `isCross = stdenv.buildPlatform != stdenv.hostPlatform;` it seems like having `if [ -n "@isCross@" ]; then` in the meson setup-hook.sh is bogus?
<exarkun1> Why doesn't isCross end up in the systemd derivation? nor crossFile.
jomik has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53225 → python37Packages.flask-api: 1.0 -> 1.1 → https://git.io/fhqN9
jomik has joined #nixos
<jomik> I have made a profile with nixos-rebuild -p ... Now I want to remove this profile, so that it can be gc'ed (realized that I should just use `test`, instead of a profile in my case). Can I just delete /nix/var/nix/profiles/system-profiles/test* ?
<samueldr> joko: thing to keep in mind with the hc2: it's not aarch64, so you'll either have to deal with long native compilation times, or deal with cross-compilation
<{^_^}> [nixpkgs] @k0ral opened pull request #53226 → unstPysnmpni → https://git.io/fhqAe
<ottidmes> jomik: I believe you need to use nix-store --delete /nix/var/nix/profiles/system-profiles/test* instead
<jomik> That does sound better :D
<jomik> What does that do?
<jomik> reading on it.
<ottidmes> jomik: man nix-store :P but as the name implies, it deletes paths from the nix store
<jomik> Thanks
<jomik> ah, so it performs some gc as well
<ottidmes> yep
<jomik> nice - rebooting
jomik has quit [Client Quit]
<ottidmes> "Thus,"
<ottidmes> --delete is a more targeted version of --gc.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53227 → python37Packages.fido2: 0.4.0 -> 0.5.0 → https://git.io/fhqAG
<ottidmes> but that does mean it cannot be live, still in use, but just read the manpage its in there
<ambro718> Should one prefer to use lib. functions when the same function is in builtins. ?
orivej has quit [Ping timeout: 245 seconds]
<exarkun1> does nix drop derivation attributes it thinks are unused?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53228 → python37Packages.faker: 0.9.3 -> 1.0.1 → https://git.io/fhqAu
<ottidmes> ambro718: lib is more backwards compatible, but in general they will all be aliases to builtins anyway so it does not matter much for new code
<ambro718> well, lib is shorter :)
shazow has joined #nixos
<{^_^}> [nixpkgs] @bjornfor pushed to master « pythonPackages.blockdiagcontrib-cisco: init at 0.1.8 »: https://git.io/fhqAV
fusion809 has joined #nixos
<{^_^}> [nixpkgs] @fpletz pushed commit from @ajs124 to release-18.09 « sshd: Add restartTrigger for sshd_config »: https://git.io/fhqAP
Guanin has quit [Ping timeout: 252 seconds]
tzemanovic has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53229 → python37Packages.gym: 0.9.6 -> 0.10.9 → https://git.io/fhqA5
jomik has joined #nixos
<jomik> ottidmes: I get this annoying error now... error: cannot delete path '/nix/store/fj30qh0v54mk9iaqfk6fxxddiilmh1g7-nixos-system-tamaskan-18.09.1829.0396345b794' since it is still alive
<jomik> Which does not make sense to me. I am not booted on my test profile.
<jomik> So I guess it shares something with my current one
<jomik> and thus it doesn't want to remove the last entry of my test profile :(
<exarkun1> well this looks like crap: trace: buildPlatform: x86_64-unknown-linux-gnu != hostPlatform: x86_64-unknown-linux-gnu :/
Thra11 has quit [Ping timeout: 240 seconds]
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @matthewbauer opened pull request #53230 → Darwin staging branch → https://git.io/fhqxW
<exarkun1> Why is hostPlatform x86_64-unknown-linux-gnu even though `import <nixpkgs> { crossSystem = { system = "armv6l-linux"; }; };`?
<{^_^}> [nixpkgs] @matthewbauer merged pull request #53219 → stdenv/native: add missing argument to fix build failure → https://git.io/fhq98
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fhqxB
jomik has quit [Client Quit]
fendor has quit [Ping timeout: 250 seconds]
<joko> samueldr: do you have anything else to recommend for building a ceph cluster?
<joko> aarch64, 2-4 GB RAM, SATA interface and Gigabit are the minimum requirements, I guess
<fusion809> Hi folks, I tried to build 19.03 from nixpkgs/nixos directory using nix-build /path/to/nixpkgs/nixos -A system and I found the NixOS grub bootloader didn't have a new configuration listed for it. I thought I must have had to run grub-mkconfig manually, so I booted the old config and did just that, after installing grub with nix-env -i grub. The con
<fusion809> fig it gave me didn't include NixOS at all, so now I cannot boot NixOS from its bootloader. I tried booting the live session, which I'm in right now, and running nixos-enter --root /nixos (where I've mounted it) and running nixos-rebuild switch in it, but it complains of no network, that systemd isn't at PID 1, but still tries to update GRUB2 where
<fusion809> it seems stuck. It doesn't do anything after waiting for > 5 mins.
<goibhniu> hi fusion809, I suspect you have something more fancy in mind, but just in case ... you can also do: `nixos-rebuild -I nixpkgs=/path/to/nixpkgs switch`
<samueldr> joko: not at all :( it was just a reminder because it would be unfortunate if it was important for you
ixxie has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53231 → python37Packages.pymysql: 0.9.2 -> 0.9.3 → https://git.io/fhqxb
<fusion809> goibhniu: and that should work in a nixos-enter chroot? Despite the fact it is whinging that systemd isn't PID 1 and that there's no network
<joko> samueldr: so and so, I was expecting to cross-compile stuff
<goibhniu> I mean instead of using nix-build.
<fusion809> I've found there is network, although whatever I do in this nixos-enter chroot the nix package manager doesn't seem to want to install anything
<fusion809> goibhniu: OK, thanks for future reference that'll be helpful, but that won't fix the problem at hand.
<joko> fusion809: why don't you run nixos-install --root /nixos from the start?
<symphorien> fusion809: what if you nixos-rebuild -I .... boot instead of switch ?
<fusion809> And that won't override the packages I've installed at my user account and as root? And it won't override what I've got in /home
<fusion809> That one was directed at joko, but symphorien that'll run in the nixos-enter chroot, right?
agander_ has joined #nixos
agander has quit [Read error: Connection reset by peer]
<symphorien> I don't know for sure, but this was a reaction to "whines about the lack of systemd": switch needs systemd, but boot should not.
<joko> fusion809: I am not 100%, but it won't erase /home, for sure
<joko> 100% sure
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53232 → python37Packages.pyodbc: 4.0.24 -> 4.0.25 → https://git.io/fhqpu
<goibhniu> fusion809: could you explain a bit more what you're trying to achieve? IIUC you have nix installed (on some other distro?), and you want to build and install NixOS from master on the box to use in chroot?
<fusion809> No, I wasn't wanting to run it in a chroot, I am only using a chroot now as I cannot boot the NixOS system.
pie__ has joined #nixos
<fusion809> I was wanting to boot from master, to see what it was like, but still have my old stable config to go back to
<goibhniu> the unstable channel would be a lot safer
<goibhniu> nixos-unstable
<goibhniu> easier and quicker too, is there a reason not to use that?
<fusion809> Yep, I know, but I was only planning to give a look at, not use it daily. I knew bugs were likely, but I was curious.
<fusion809> In this case curiosity at least wounded the cat, I'm trying to find out if it killed it.
juhe has quit [Remote host closed the connection]
Dedalo has joined #nixos
<fusion809> I also used to run Fedora Rawhide, despite it using developmental releases of the kernel and GNOME, because I was curiosity.
<fusion809> curious^
shibboleth has joined #nixos
<goibhniu> Sorry, I don't really understand why you'd build from master rather than nixos-unstable. There won't be a massive difference, but it will be painful (take loads of time) and risky.
<goibhniu> If you want to hack on nixos, you can use a branch based on a channel and apply patches to that
pie___ has joined #nixos
<etu> goibhniu: I find it better to test things on master since it will live in master and become unstable. So it's good to test things with the latest changes.
<fusion809> Well, I'll keep that in mind for next time then, I was using my own fork of nixpkgs.
<goibhniu> cool
<joko> fusion809: in any way you could have tried simply "nixos-rebuild -I nixpkgs=/path/to/master boot" and reboot
pie__ has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @FRidh pushed 112 commits to staging-next: https://git.io/fhqhY
<fusion809> Yep, I will try to remember that could of, thanks, but at the moment that doesn't help.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53233 → python37Packages.pyhomematic: 0.1.52 -> 0.1.53 → https://git.io/fhqha
<{^_^}> [nixpkgs] @Mic92 merged pull request #53229 → python37Packages.gym: 0.9.6 -> 0.10.9 → https://git.io/fhqA5
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fhqh6
<exarkun1> Okay ... meson build & host is x86_64, target is armv7l... maybe that's right. meson itself isn't being cross-compiled, it just needs to be a cross compiler (part of the toolchain of one, anyway)
<exarkun1> but the detection for whether to invoke meson with cross-file looks at build & host
<exarkun1> when it should probably look at host & target
<Franciman> <tilpner> And you don't know which ghc you want? <- No, that's what my program needs to determine
<exarkun1> and in fact the cross-file the meson build support writes already tries to write correct information for the target platform, not the host platform
<exarkun1> but it fails somehow and instead just writes, eg, "cc" as the compiler to use
<jD91mZM2> For future reference, if anybody is getting rust-lld: libstdc++.so.6 not found or something like that, you can use `patchelf --add-needed` to add stdlibc++ as a needed dependency, otherwise it won't actually resolve. Might also need to add gcc to the rpath
<jD91mZM2> (rust-lld won't be in your path but can be found in /home/user/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin/rust-lld)
<exarkun1> stdenv.cc.targetPrefix is only "" when building systemd though, not in, eg, `nix repl`
endformationage has joined #nixos
jomik has joined #nixos
<jomik> I know this is not raaaally the place to ask. But what password managers do people use here?
<tilpner> > pass.meta.homepage
<ottidmes> jomik: bitwarden_rs
<gagbo> I use keepass
<joko> jomik: keepassxc
<__monty__> I like the masterpassword idea.
<gagbo> Even easier when your masterpassword is actually 'masterpassword'
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53234 → python37Packages.ofxparse: 0.19 -> 0.20 → https://git.io/fhqjA
<jomik> ottidmes: So you host your own "cloud" service with this? :o
<jomik> gagbo: Hah :P
<__monty__> Stateless password management's pretty cool : s https://masterpassword.app
<jomik> I did see a lot of keepass. I like the idea of ZX2C4's Pass tho. but the windows client seems unmaintained.
<ottidmes> jomik: yep, I host a backend and webapp for it on my server, but also use the Android app which I can point to my backend
fusion809 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<jomik> ottidmes: It looks pretty clean and modern in the GUI :P
FRidh has quit [Quit: Konversation terminated!]
<gagbo> I use Keepass just because I can use it easily on Windows
<ottidmes> it is working great for me, with passwordstore which I really liked, I still ran into the issue that I needed access to my passwords when not on one of my own machines, which bitwarden covers
<gagbo> If I could make pass work on Windows I'd probably start using this
<ottidmes> gagbo: doesnt gopass work on Windows?
<{^_^}> [nixpkgs] @dtzWill closed pull request #53181 → pango: 1.42.4 -> 1.43.0 → https://git.io/fhqme
erictapen has joined #nixos
Guanin has joined #nixos
<jomik> ottidmes: Do you use Pass with Bitwarden? :o
<ottidmes> gagbo: sorry, it does not, only UNIX it seems
<gchristensen> __monty__: I'm not sure it is a good idea to have a pure function go from low-entropy-source -> every-password
<jomik> There is a windows thing for gopass?
<ottidmes> jomik: no, I used Pass and moved to Bitwarden
<gagbo> yeah, but I'm feeling pretty good about my Keepass situation now anyway
<gagbo> __monty__: I didn't think it was a real thing, good to know about that
<jomik> not supported yet.
<jomik> Ahh ottidmes :
<{^_^}> [nixpkgs] @bjornfor pushed commit from @r-ryantm to master « python37Packages.pyodbc: 4.0.24 -> 4.0.25 »: https://git.io/fhmeY
<{^_^}> [nixpkgs] @bjornfor merged pull request #53232 → python37Packages.pyodbc: 4.0.24 -> 4.0.25 → https://git.io/fhqpu
<jomik> I was gonna use Pass with Syncthing to get it to my phone/other machines.
<jomik> But, the issue is not having a windows client.. :(
<ottidmes> jomik: so now my whole family uses the bitwarden instance and I can share passwords easily with e.g. my dad
<{^_^}> [nixpkgs] @bjornfor merged pull request #52288 → grails: 3.3.8 -> 3.3.9 → https://git.io/fpN4v
<{^_^}> [nixpkgs] @bjornfor pushed commit from @r-ryantm to master « grails: 3.3.8 -> 3.3.9 »: https://git.io/fhmen
<jomik> That is neat!
<jomik> Sadly I don't have a server :(
<cransom> hrm. does anyone run with a squashfs nix store in production? I wanted to make our deploy times a little faster and the AWS image import task takes significantly longer with larger disk images.
<jomik> I guess you are running your server at your own house tho? :p
<gchristensen> cransom: yeah I've done that
<ottidmes> jomik: I am running it at home indeed, but I also have a few VPSes
<gchristensen> works great as long as you don't have a ton of r/w activity to the store itself
<gchristensen> for use cases where that wasn't true I didn't even try it, so maybe it'd be great there too ;)
<cransom> gchristensen: any pit falls? there's no real anticipated write activity to speak of unless we happen to log in to troubleshoot something
<jomik> ottidmes: I was pondering just trusting some cloud service, like BitWarden, but.. mehh :D
tertl3 has joined #nixos
<gchristensen> cransom: no, it worked really wonderfully. I didn't use it on AWS, this was memcache nodes deployed via PXE on bare metal.
<ottidmes> jomik: you can also use it for free via bitwarden itself, but I indeed have the same feeling as you do, although I have to trust them already quite a bit, since I am using their software even though it is open source
demize has quit [Quit: Do Androids Dream of Electric Sheep?]
<cransom> gchristensen: cool. suppose i'll pursue that further then.
<jomik> ottidmes: Are you telling me that you didn't read through all of the source??
<jomik> I like that we generall trust open source, because it means that "someone" probably read through the code for us :P
<ottidmes> jomik: that is what I am hoping at least :P
<jomik> Why bitwarden_rs and not their docker image?
<__monty__> It's also the fact that once you find out you got f*ucked, you get to see exactly how.
<gagbo> I'm having a small issue with home-manager : when I uncomment those lines home-manager switch fails telling me that the options (any of them) doesn't exist. https://framagit.org/gagbo/nixos-setup/blob/master/.config/nixpkgs/home.nix
<mdash> jomik: why would you use docker on nixos if you didn't have to
<gagbo> Have I made a bad syntax mistake somewhere ?
<ottidmes> simple, resource usage, full features, and bitwarden_rs is focused on self hosting, while they just provide their thing focused on scaling
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
shapr has left #nixos ["ERC (IRC client for Emacs 25.3.1)"]
<jomik> Ah, makes sense.
<jomik> mdash: I don't think ottidmes is using NixOS to host his bitwarden server tho?
<jomik> Or is he?
<ottidmes> jomik: their thing is focused at cloud hosting, not to install on your own server, and it is even quite focused on Azure I believe, I do not want to host a MSSQL database
<jomik> ottidmes: It does make sense, yeah. I'll have to look at rust.
<ottidmes> jomik: how dare you! of course I am using NixOS for everything! :P
<jomik> Oh?
<jomik> Do you have the config public? :D
<jomik> Your github account is REALLY boring.
<exarkun1> Why is stdenv.cc.targetPrefix "" when I've set crossSystem to "armv6l-linux"?
<{^_^}> [nixpkgs] @jabranham opened pull request #53235 → * syncthing: 0.14.52 -> 1.0.0 → https://git.io/fhmeM
<ottidmes> jomik: haha, I know, I am not an active GitHub'er in that sense
<jomik> gagbo: That is very odd. Is your home-manager tracking master? (Or not super outdated)
<gagbo> it is not, my VM is installed following 18.09 channel (and I pull home-manager from there)
<jomik> ottidmes: I'd like to see that nix config tho :P
<gagbo> since home-manager news mentions the programs.fzf module I thought that it should be alright
<jomik> Well, it was added in march, and then updated with options in august
<ottidmes> jomik: I do not have it public, and I have not made a PR for it, because I did not manage to package the webapp with nodejs, some dep breaks the nix tooling for it, and for the bitwarden_rs I needed nixos-unstable, so I could probably commmit that since it would work on master, but yeah
<jomik> Ah, but those options were present in march..
<ldlework> Is there a trivial builder that just takes the src, doesn't require name and version, etc
<jomik> ottidmes: Oh, there is a bitwarden PR? :o
<exarkun1> ldlework: I think mkDerivation is as trivial as it gets
<ottidmes> jomik: no :P "I have not made a PR for it"
jasongrossman has joined #nixos
<jomik> I can not read!
the-kenny has quit [Read error: Connection reset by peer]
<jomik> It was a rough new year >.>
reilithion has quit [Disconnected by services]
DeaDSouL has quit [Quit: leaving]
<exarkun1> ldlework: well no, derivation is, but still: https://nixos.org/nix/manual/#ssec-derivation
reilithion has joined #nixos
fendor has joined #nixos
<reilithion> I've added an override to packageOverrides in .nixpkgs/config.nix but when I try to install it with nix-env -i, it complains "error: selector 'keepassWithPlugins' matches no derivations"
<ldlework> yeah
<ldlework> nix-env doesn't see your overrides
<jomik> dmpm
<jomik> .tt
<reilithion> How do I figure out why?
<ldlework> reilithion: no as a matter of design
<ottidmes> jomik: https://gist.github.com/ottidmes/751659ac9a7ff8a601c72438f09edc85 this is the bitwarden_rs package
<ldlework> iirc
<jomik> reilithion: you can put your overlays in ~/.config/nixpkgs/overlays/
<jomik> What runs the web interface? Is that part of the rust api ? ottidmes
<ottidmes> jomik: it is build with nodejs but it is run by bitwarden_rs
<reilithion> ldlework: Weird. Was it always like that? I have an override of VLC that I've been using for quite some time that I somehow managed to install with nix-env, I thought.
<exarkun1> Where's the nix-build entrypoint?
<jomik> Ah, so I really just need to run this package
erictapen has quit [Ping timeout: 250 seconds]
<jomik> Did you modify your NIX_PATH maybe reilithion ?
<ottidmes> jomik: I updated the gist with the corresponding NixOS module: https://gist.github.com/ottidmes/751659ac9a7ff8a601c72438f09edc85
<mdash> ottidmes: oh nice, i was about to ask you about this
<mdash> exarkun1: Hmmmmmm
<reilithion> jomik: It doesn't /look/ like it. But my command history may not go back far enough. Anyway, is ~/.config/nixpkgs/overlays similar to ~/.nixpkgs/config.nix in format, or is there a place I can read about this?
<exarkun1> oh yea I forgot it was going to be a .cc answer :/
jperras has joined #nixos
<jomik> ottidmes: Thanks ! :D
<ottidmes> mdash: if someone is willing to look at how to package the vault properly with Nix, then I can clean it up a bit and make a proper PR for it
<jomik> Package the vault?
<jomik> Ooooh
<mdash> ottidmes: wouldn't it be the same as other js bits in nixos like riot-web?
janneke has quit [Quit: janneke quits Mes'sing]
<jomik> Think it is worth it to rent a server and host it on there, versus just trusting bitwarden? :P
<ottidmes> mdash: maybe, I tried yarn2nix and node2nix but kept running into issues, it also needs to run: npm run dist at the install phase, which I was not sure how to achieve with node2nix, and yarn2nix could not handle certain sources (git:// I believe)
<ambro718> It would be cool if '' indented string syntax had a comment feature, so that if a line is a comment then the complete line is excluded from the string. That would let one change comments without causing rebuilds.
<ottidmes> jomik: no, I mean are you going to build your own Android apps from source? if not, you will have to trust them anyway, but since I had the server, it was worth it for me (to run my own instance)
<jomik> True :P
jperras has quit [Quit: WeeChat 2.2]
<ottidmes> jomik: but its cool to have your own server anyway, I rented mine for a year during the Black Friday deals, 50% off :)
<jomik> Where from?
<ottidmes> jomik: TransIP
<jomik> I have pondered it for a while. I mean.. I am paying for a domain XD
<reilithion> Must an overlayed derivation have the same name as the one it is overriding?
<etu> Not really, it depends on what you want to do
worldofpeace has joined #nixos
<reilithion> Ok, then I am now having trouble with an overlay. Same error message: "error: selector 'keepassWithPlugins' matches no derivations"
<ottidmes> jomik: I also bought one elsewhere via one of the deals at https://lowendbox.com/ which are really cheap, but generally are not the most stable VPSes, but can be nice to start experimenting with a server for cheap
<etu> reilithion: If you want to make a service use an overriden package, and the service is hardcoded to use a specific one. Then you need to use the same name.
<reilithion> etu: I don't think keepass is a service.
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/9d608a6f592 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
erictapen has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53236 → python37Packages.ldap3: 2.5.1 -> 2.5.2 → https://git.io/fhmfz
<jomik> Where do you get htis name from? `keepassWithPlugins`
<jomik> Is it a package you want to add yourself or?
arjen-jonathan has joined #nixos
<exarkun1> well I can "fix" the build with https://gist.github.com/exarkun/6f1b7cfb3fdd256049e3d1da11bccc60 but why can't I make stdenv come up with those strings
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
<etu> reilithion: Yeah, when I wrote that I didn't know what derivation you were on about. So it's a more general statement.
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
jtojnar has quit [Quit: jtojnar]
tzemanovic has quit [Remote host closed the connection]
worldofpeace has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53237 → python37Packages.daemonize: 2.4.7 -> 2.5.0 → https://git.io/fhmfX
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
<reilithion> etu: Ok, cool. We're closer to on the same page then. Any thoughts about why my overlay might not be visible to nix-env -i?
<{^_^}> [nixpkgs] @dtzWill opened pull request #53238 → terminus-font: 4.46 -> 4.47 → https://git.io/fhmfS
tzemanovic has quit [Remote host closed the connection]
<etu> reilithion: I never install things with nix-env, I just use environment.systemPackages
joapet99 has quit [Remote host closed the connection]
agander_ is now known as agander
<jomik> Pass actually seems to have a windows client! https://github.com/Baggykiin/pass-winmenu
<{^_^}> [nixpkgs] @jtojnar merged pull request #53194 → quodlibet: 4.2.0 -> 4.2.1 → https://git.io/fhq0p
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/fhmJT
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53239 → python37Packages.plotly: 3.4.1 -> 3.4.2 → https://git.io/fhmJI
<{^_^}> [nixpkgs] @timokau opened pull request #53240 → vimUtils: apply pluginToDrv recursively → https://git.io/fhmJ3
ddellacosta has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @matthewbauer pushed commit from @andrew-d to release-18.09 « stdenv/native: add missing argument »: https://git.io/fhmJW
ixxie has quit [Ping timeout: 250 seconds]
ariutta has joined #nixos
jtojnar has joined #nixos
<mbrgm> what's the preferred way for having your local repo of nixpkgs (based on the nixos-unstable branch) and point a whole local nixos installation to use that repo while "falling back" on the nixos-unstable channel so the cache will be used?
<ariutta> mbrgm: are you using nix on nixos?
<mbrgm> ariutta: yup
<mbrgm> currently I think I'd have to adjust the `nix.nixPath` option so my local repo comes first in the list for 'nixpkgs='
<mbrgm> but I'm not quite sure
erictapen has quit [Ping timeout: 246 seconds]
<ariutta> I need to verify that a package I'm writing works on NixOS and Ubuntu. For testing Nix on Ubuntu, is it silly to try it via Docker instead of VirtualBox?
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/fhmJj
<reilithion> Using -A ended up resolving my issue, though I'm not sure whether it chose the packageOverrides or the overlay.
<gchristensen> hot dog! Debian is likely to grant Nix an exception to the mandatory FHS compliance rule: https://lists.debian.org/debian-devel/2019/01/msg00013.html
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53241 → python37Packages.kubernetes: 8.0.0 -> 8.0.1 → https://git.io/fhmUZ
<mbrgm> ariutta: kinda, but oftentimes I'm going to contribute changes I make, so it'd be nice to have them i the right tree already. previously I used nix on arch, where I simply adjusted my NIX_PATH and everything was fine. but now I fully committed to nixos an don't know (yet) how to have the same behavior there...
<mbrgm> basically, I don't want only `$ nix ...` to pull from my nixpkgs clone but also `$ nixos-rebuild` etc.
worldofpeace has joined #nixos
<worldofpeace> jtojnar: Think we should go for #51122 ?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/51122 (by dtzWill, 5 weeks ago, open): networkmanager: 1.12.2 -> 1.14.4
<jtojnar> worldofpeace: do not see any issue with it
<etu> gchristensen: Hey, that's pretty cool!
<ariutta> mbrgm: I know I've read some good posts on this, but I don't have them ATM. I think they used terms like "developing nixpkgs". I'll see if I can find them later on.
ToxicFrog has quit [Quit: WeeChat 2.3]
ToxicFrog has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #51122 → networkmanager: 1.12.2 -> 1.14.4 → https://git.io/fpgIP
<{^_^}> [nixpkgs] @worldofpeace pushed 4 commits to staging: https://git.io/fhmUQ
<worldofpeace> jtojnar: went for it :D
<jtojnar> thanks, worldofpeace
<worldofpeace> always welcome jtojnar
<mbrgm> seems like in https://nixos.wiki/wiki/Nixpkgs#Hack_Nixpkgs all that's to be done is specify nixpkgs=, so I think I'll give the `nix.nixPath` option a try. rollback is always an option, so who cares :)
<mbrgm> ariutta: ^
vk3wtf has quit [Ping timeout: 252 seconds]
<mbrgm> well, basically this seems to work... but now I'm getting `warning: unable to download 'https://cache.nixos.org/nar/0nirki5vlvrvqc71jir4ap6ml1xs4wc4sn50bax5g04jnh8pz9pc.nar.xz': HTTP error 200 (curl error: Failure when receiving data from the peer); retrying in 256 ms
<mbrgm> what is 'HTTP _error_ 200' ^^
<{^_^}> [nixpkgs] @worldofpeace merged pull request #53195 → python37Packages.rasterio: 1.0.12 -> 1.0.13 → https://git.io/fhqEx
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @r-ryantm to master « python37Packages.rasterio: 1.0.12 -> 1.0.13 »: https://git.io/fhmTf
<{^_^}> [nixpkgs] @worldofpeace merged pull request #53216 → python37Packages.dropbox: 9.2.0 -> 9.3.0 → https://git.io/fhqDN
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @r-ryantm to master « python37Packages.dropbox: 9.2.0 -> 9.3.0 »: https://git.io/fhmTT
thc202 has quit [Ping timeout: 268 seconds]
shibboleth has quit [Quit: shibboleth]
goibhniu has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #53208 → python37Packages.pymetar: 1.0 -> 1.1 → https://git.io/fhqi3
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « python37Packages.pymetar: 1.0 -> 1.1 (#53208) »: https://git.io/fhmTn
demize has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #53192 → xkbmon: 0.1 -> 0.2 → https://git.io/fhq4U
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @romildo to master « xkbmon: 0.1 -> 0.2 »: https://git.io/fhmTE
reilithion has quit []
<{^_^}> [nixpkgs] @worldofpeace merged pull request #53190 → python37Packages.twilio: 6.21.0 -> 6.22.0 → https://git.io/fhqlV
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @r-ryantm to master « python37Packages.twilio: 6.21.0 -> 6.22.0 »: https://git.io/fhmTg
<ariutta> mbrgm: that sounds good. This wiki page just says to use "export NIXPKGS=~/tmpdev/nixpkgs": https://nixos.wiki/wiki/Nixpkgs/Create_and_debug_packages#How_to_install_from_the_local_repository
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53243 → python37Packages.av: 6.0.0 -> 6.1.0 → https://git.io/fhmTM
<gchristensen> etu: yeah! I'm impressed :D
cyounkins has quit [Remote host closed the connection]
tzemanovic has joined #nixos
<lucus16> When I run sudo nix-channel --list on macOS it shows me the channels of the user rather than those of root :s
agander has quit [Quit: Leaving]
cyounkins has joined #nixos
jasongrossman has quit [Remote host closed the connection]
ariutta has quit [Ping timeout: 256 seconds]
<etu> gchristensen: I looked a bit on the indentation in nix-mode and kinda understood how it worked but not how to make it better :(
<gchristensen> aye
<gchristensen> well if you sort it out ... :)
<etu> I made it indent items in a list
<{^_^}> [nixpkgs] @worldofpeace merged pull request #53231 → python37Packages.pymysql: 0.9.2 -> 0.9.3 → https://git.io/fhqxb
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @r-ryantm to master « python37Packages.pymysql: 0.9.2 -> 0.9.3 »: https://git.io/fhmTA
<etu> but then it indented everything +2 spaces from where that list was even after the list was closed
<etu> :D
<etu> Not good enough!
orivej has joined #nixos
<gchristensen> ahhh haha
cyounkins has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #53225 → python37Packages.flask-api: 1.0 -> 1.1 → https://git.io/fhqN9
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @r-ryantm to master « python37Packages.flask-api: 1.0 -> 1.1 »: https://git.io/fhmk8
fusion809 has joined #nixos
<LnL> well, it can't be harder then fixing something in vim indentation
<ldlework> nix-mode still having problems?
<ldlework> been using it for a while and didn't notice anything annoying
<ldlework> what's the thing that borks
ddellacosta has joined #nixos
<ldlework> too much scrollback
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @r-ryantm to master « python37Packages.daphne: 2.2.3 -> 2.2.4 »: https://git.io/fhmkE
<{^_^}> [nixpkgs] @worldofpeace merged pull request #53223 → python37Packages.daphne: 2.2.3 -> 2.2.4 → https://git.io/fhqFI
<gchristensen> ldlework: https://github.com/NixOS/nix-mode/issues/60 I offered $50 to the charity of choice of the solver who gets their fix merged
<{^_^}> nix-mode#60 (by grahamc, 1 week ago, open): nix-indent-line messes up an attrset in a list in an attrset.
<{^_^}> [nixpkgs] @worldofpeace merged pull request #53227 → python37Packages.fido2: 0.4.0 -> 0.5.0 → https://git.io/fhqAG
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @r-ryantm to master « python37Packages.fido2: 0.4.0 -> 0.5.0 »: https://git.io/fhmkg
<gchristensen> (updated it to include what I think they should be)
<ldlework> gchristensen: mmm
<ldlework> this doesn't break for me
eadwu has joined #nixos
jasongrossman has joined #nixos
<ldlework> do I win the 50 bucks for not being able to reproduce
orivej has quit [Ping timeout: 246 seconds]
<gchristensen> haha, no
<ldlework> :)
<{^_^}> [nixpkgs] @worldofpeace merged pull request #53221 → python37Packages.pylibmc: 1.5.2 -> 1.6.0 → https://git.io/fhq71
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @r-ryantm to master « python37Packages.pylibmc: 1.5.2 -> 1.6.0 »: https://git.io/fhmk5
<gchristensen> are you using nix-indent-line as the nix-indent-function?
<ldlework> your other examples work as well
<ldlework> oh
<ldlework> let me check
<ldlework> gchristensen: I'm using v1.2.2
<{^_^}> [nixpkgs] @ryantm merged pull request #53174 → sc-controller: 0.4.6 -> 0.4.6.1 → https://git.io/fhqkc
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fhmkj
<ldlework> I see there is a 1.3 now, so probably a regression
<ldlework> This is what happens when you mess with perfection :)
<fusion809> OK, I've managed to recover from my silly mistake. I do not have the chat log from my live session, but I recall nixos-rebuild -I /path/to/nixos-unstable switch being an option for switching to nixos-unstable. The problem is, where is nixos-unstable? nix-channel --list shows nixos-unstable, but I cannot find it in /nix/var/nix/ (e.g. find /nix/var/nix -name "nixos-unstable") and specifying a URL (which is what nix-channel
<fusion809> --list shows) after -I doesn't work.
<gwen> Aye, does anyone here know something (or know someone who knows something) about how to build Lisp packages with Nix?
<{^_^}> [nixpkgs] @worldofpeace merged pull request #53241 → python37Packages.kubernetes: 8.0.0 -> 8.0.1 → https://git.io/fhmUZ
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @r-ryantm to master « python37Packages.kubernetes: 8.0.0 -> 8.0.1 »: https://git.io/fhmIO
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53244 → privoxy: 3.0.26 -> 3.0.28 → https://git.io/fhmIZ
<{^_^}> [nixpkgs] @Izorkin opened pull request #53245 → zsh.syntaxHighlighting: add option to customize styles → https://git.io/fhmI8
fenedor has joined #nixos
dermetfan has quit [Ping timeout: 245 seconds]
fendor has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #53237 → python37Packages.daemonize: 2.4.7 -> 2.5.0 → https://git.io/fhmfX
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @r-ryantm to master « python37Packages.daemonize: 2.4.7 -> 2.5.0 »: https://git.io/fhmIH
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53246 → picard-tools: 2.18.20 -> 2.18.21 → https://git.io/fhmIQ
Thra11 has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #53210 → python37Packages.pgspecial: 1.11.3 -> 1.11.5 → https://git.io/fhqPB
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @r-ryantm to master « python37Packages.pgspecial: 1.11.3 -> 1.11.5 »: https://git.io/fhmIA
<{^_^}> [nixpkgs] @xeji merged pull request #52842 → live555: 2018.11.26 -> 2018.12.14 → https://git.io/fhUxO
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « live555: 2018.11.26 -> 2018.12.14 (#52842) »: https://git.io/fhmLJ
Guanin_ has joined #nixos
<worldofpeace> gchristensen: Hey, it would be cool to have https://github.com/NixOS/ofborg/pull/292 :D
<{^_^}> ofborg#292 (by worldofpeace, 1 week ago, open): Move @worldofpeace to trusted users
mmlb has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #53161 → xpad: 5.2.0 -> 5.3.0 → https://git.io/fhthH
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « xpad: 5.2.0 -> 5.3.0 (#53161) »: https://git.io/fhmL3
<{^_^}> [nixpkgs] @ryantm merged pull request #53214 → python37Packages.distributed: 1.24.2 -> 1.25.1 → https://git.io/fhq1j
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fhmLn
arjen-jonathan has quit [Ping timeout: 252 seconds]
Guanin has quit [Ping timeout: 252 seconds]
Guanin__ has joined #nixos
vk3wtf has joined #nixos
imdoor has quit [Quit: imdoor]
Guanin_ has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #53197 → mojave-gtk-theme: init at 2019-01-02 → https://git.io/fhqzf
<{^_^}> [nixpkgs] @xeji pushed commit from @romildo to master « mojave-gtk-theme: init at 2019-01-02 (#53197) »: https://git.io/fhmL1
<{^_^}> [nixpkgs] @worldofpeace merged pull request #53209 → xfce4-13.xfce4-panel: 4.13.3 -> 4.13.4 → https://git.io/fhqi5
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @ivan to master « xfce4-13.xfce4-panel: 4.13.3 -> 4.13.4 »: https://git.io/fhmLy
simukis has quit [Quit: simukis]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53247 → plantuml: 1.2018.13 -> 1.2018.14 → https://git.io/fhmtU
xeji has quit [Quit: WeeChat 2.2]
Thra11 has quit [Ping timeout: 250 seconds]
m15k has joined #nixos
dbmikus has quit [Quit: WeeChat 2.3]
alex_giusi_tiri has joined #nixos
__monty__ has quit [Quit: leaving]
alex_giusi_tiri has quit [Client Quit]
alex_giusi_tiri has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #53243 → python37Packages.av: 6.0.0 -> 6.1.0 → https://git.io/fhmTM
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @r-ryantm to master « python37Packages.av: 6.0.0 -> 6.1.0 »: https://git.io/fhmqf
Dedalo has joined #nixos
goibhniu has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53248 → python27Packages.carbon: 1.1.4 -> 1.1.5 → https://git.io/fhmq2
ariutta has joined #nixos
Mateon3 has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
Mateon1 has quit [Ping timeout: 244 seconds]
Mateon3 is now known as Mateon1
rprije has joined #nixos
jackdk has joined #nixos
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tzemanovic has quit [Ping timeout: 252 seconds]
tertl3 has quit [Quit: Connection closed for inactivity]
dermetfan has joined #nixos
orivej has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53249 → python37Packages.astroquery: 0.3.8 -> 0.3.9 → https://git.io/fhmml
jasongrossman has quit [Ping timeout: 250 seconds]
SyrupThinker has quit [Quit: WeeChat 2.3]
goibhniu has quit [Ping timeout: 268 seconds]
jasongrossman has joined #nixos
jasongrossman has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #53250 → plata-theme: 0.4.9 -> 0.5.0 → https://git.io/fhmYv
ris has joined #nixos
ambro718 has quit [Ping timeout: 272 seconds]
pie___ has quit [Ping timeout: 260 seconds]
<ris> so... i'm using nixops for the first time (against digitalocean) and i'm finding some weirdnesses - mostly around auth - for some reason sudo won't behave correctly on the deployed machine. am i going crazy? i've checked the nix store has the right ownership so that's not it...
<ris> i also don't seem to be able to ssh in as any non-root user using my normal public key
<{^_^}> [nix-mode] @etu opened pull request #61 → Add function to indent things in blocks for nix-indent-line → https://git.io/fhmY8
<etu> gchristensen: ^
<etu> adisbladis: ^
<ris> and this is weird because i also use this same (basic) configuration on a qemu vm and it works a treat
Dedalo has joined #nixos
<ris> as in the `.vm` attribute
eadwu has quit [Ping timeout: 244 seconds]
<gchristensen> etu!!
erictapen has joined #nixos
<gchristensen> looks great!
pie___ has joined #nixos
Church_ has joined #nixos
<ldlework> i'm scared to update nix-mode heh
<etu> gchristensen: I can look into the endless let indent after some sleep :)
<gchristensen> oh speaking of which, etu, maybe we should collect nix samples
<gchristensen> like a dir of nix samples to spot regressions
<etu> Yeah, it has tests
<gchristensen> oh cool
<etu> But no tests for indent
<etu> I think
<etu> So it needs some work
<gchristensen> well, thank you a lot
<gchristensen> as soon as it merges, link me to your favorite charity
<etu> I should look at first line of for invent first:)
<gchristensen> if you want, but you solved a lot of bugs here
<gchristensen> so I think satisfies what I asked for
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<etu> Yeah, but it's also a regression to endlessly indent the first line
<etu> Now sleep, I'll get back at this tomorrow
<gchristensen> :)
<gchristensen> thank you again
<Church_> Can we install vmware on nixos easily? Trying to get gns3 up and running.
erasmas has quit [Quit: leaving]
pie___ has quit [Remote host closed the connection]
<Church_> And it doesn't seem to detect my vbox install
pie__ has joined #nixos