gchristensen changed the topic of #nixos to: NixCon 2018 CfP is now open! https://nixcon2018.org/ || Share the output of nix-shell -p nix-info --run nix-info to help us help you. || 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
ihar has quit [Quit: WeeChat 2.0]
<infinisil> Then I don't know what you meant by your last message there (at time 49:51)
<ldlework> infinisil: let's say I have a lot of other initExtra, which I currently have in a file, so I don't want to set initExtra to a nix expression string literal, I want to use readFile to get the initExtra string data. But as you know now, I need to source the ranger-cd snippet from that runCommand package. So how can I put the zsh sourcing line in my initExtras text-file, read it with readFile, and have the
<ldlework> sourcing line use the ${} interpolation syntax to get at the runCommand package file?
<infinisil> You can't really use non-nix files to evaluate nix
<infinisil> Why not just do initExtra = ". ${pkgs.runCommand ...} \n ${builtins.readFile ./other/file.sh}"?
<acowley> How can I pass a path to nix to do something like "nixos-rebuild -I. build"?
sbdchd has joined #nixos
<acowley> My guess is that there's a "nix-build", but I don't know what attribute to build.
i0-dfn has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<infinisil> acowley: Can you be a bit more specific?
<{^_^}> [nixpkgs] @waynr closed pull request #43112 → Vendor python type_getattro patch. → https://git.io/fbjAk
<acowley> infinisil: I want to run "nixos-rebuild build" but with nixpkgs at a particular path that I supply
<infinisil> Ah, that's just -I nixpkgs=/path/to/nixpkgs
<infinisil> E.g. -I nixpkgs=$PWD for the current directory
<acowley> I don't think it is
<infinisil> Doesn't work with relative paths
<acowley> I'll give that a shot. The --help screen doesn't show -I as a valid argument.
<infinisil> It definitely works, the man page isn't that precise
<infinisil> It just mentions "In addition, nixos-rebuild accepts various Nix-related flags"
<ldlework> infinisil: this is my expression and error, https://gist.github.com/dustinlacewell/33d6fad4fb3d4e7e934cf891cd46f9be
halfbit has quit [Quit: WeeChat 2.1]
<acowley> infinisil: Thanks, it's definitely doing something. Not what I had hoped, but it is at least accepting the argument!
tmaekawa has joined #nixos
<infinisil> ldlework: Substitute takes 2 arguments, the first one being what you actually want to substitute
<infinisil> you forgot that one
tmaekawa has quit [Client Quit]
<ldlework> infinisil: thanks heh
<ldlework> nice!
drakonis has joined #nixos
<infinisil> :)
<acowley> Ah, now it's going. Thanks a lot, infinisil!
<infinisil> Nice :)
<ldlework> now if I hit C-o in zsh, ranger opens up, and when I quit it, I will cd to wherever I was in ranger
<ldlework> sooo handy!
<maurer> Any invocation of nix-bundle is failing for me with
<maurer> arx: System/Posix/ARX/CLI.hs:164:10-19: No instance nor default method for class operation mappend
<maurer> Ideas?
<ghasshee_> Hi, have anyone installed perf-linux?
<ghasshee_> I could install via nix-env but I cannot via configuration.nix ...
<gchristensen> in systemPackages, add config.boot.kernelPackages.perf
<worldofpeace> ldlework: Ooh care to share?
<worldofpeace> ldlework: elvish shell had something like that too
<gchristensen> ghasshee_: ^
testuser has quit [Ping timeout: 265 seconds]
<ghasshee_> @gchristensen Thanks. it works!
<gchristensen> great!
<ghasshee_> By the way, how did you find the name space ?
<gchristensen> ah, sure
<gchristensen> this is a tricker question than most
<ldlework> worldofpeace: have you used it for any length of time?
<worldofpeace> ldlework: https://gist.github.com/dustinlacewell/33d6fad4fb3d4e7e934cf891cd46f9be <-- how'd you fix that, I'm using home-manager as well
<gchristensen> ghasshee_: first I did this: https://gist.github.com/grahamc/abdd96ef57e0ed30ba8143b0f7936873
<gchristensen> ghasshee_: and I noted it is under kernelPackages, which means you probably want to take care to install the one for your _current_ kernel, and not just _a_ kernel
<gchristensen> and I know your current kernel's packages are available at config.boot.kernelPackages
<ghasshee_> Ah, you seem using nix-shell.
<gchristensen> I didn't use nix-shell, no
<ghasshee_> In my zsh, it does not tell if I put command perf and return enter..
<gchristensen> oh ok let me give you an alternative
<gchristensen> ghasshee_: https://gist.github.com/grahamc/380a2670f9a07049995c4b6dd8fa8884 another perfectly valid way :)
silver_ has joined #nixos
<gchristensen> ghasshee_: in your configuration.nix, do you have programs.zsh.enable = true?
silver has quit [Ping timeout: 265 seconds]
<ghasshee_> @gchristensen yes.
<ghasshee_> @gchristensen Wonderful instruction! Thank you very much!
<gchristensen> I'm glad to help!
thc202 has quit [Ping timeout: 256 seconds]
<worldofpeace> ldlework: That's really nice. but what if you used bat instead of cat?
<ldlework> never heard of it
<gchristensen> or tac over cat
<worldofpeace> ldlework: It's like a really cool cat http://i.imgur.com/YJiPw9h.png
tenten8401 has joined #nixos
<ldlework> worldofpeace: I couldn't install it with nix-env so it might as well not exist
<ldlework> nix-env -iA nixos.bat
<worldofpeace> ldlework: I don't think it's in 18.03
<ldlework> ah
<ldlework> cool
<ldlework> no syntax highlighting for nix though :O
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
<gchristensen> tut tut :P
markus1189 has joined #nixos
<worldofpeace> any kind denizen want to review/build #43129 ?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/43129 (by worldofpeace, open): gtkspell3: add valaSupport
markus1199 has quit [Ping timeout: 260 seconds]
contrapumpkin has joined #nixos
pie__ has quit [Ping timeout: 240 seconds]
<samueldr> worldofpeace: at a glance, seems fine, follows what other libs seem to do for valaSupport, and it builds
<worldofpeace> samueldr: yay validation :P
alexteves has quit [Remote host closed the connection]
<samueldr> though, without software in vala using gtkspell3, it's harder to know if the added build options works
<samueldr> (that means: get to work on your next PR ;))
<worldofpeace> hah i'm about .18 % done with the whole set and 100 % with elementary code
blankhart has joined #nixos
Ariakenom has quit [Read error: Connection reset by peer]
<ldlework> worldofpeace: I went ahead and made a version that uses "ranger --choosefile" for picking a file and displaying it with bat
jperras has joined #nixos
<worldofpeace> ldlework++
<{^_^}> ldlework's karma got increased to 1
jperras has quit [Ping timeout: 248 seconds]
<ldlework> worldofpeace: you know of any other cool contemporary tools
<worldofpeace> worldofpeace: ripgrep exa
<infinisil> Can recommend those too ^^
<worldofpeace> fd
<ldlework> exa looks nice, though ranger is sort of filling that gap now
shabius has quit [Ping timeout: 256 seconds]
<worldofpeace> i aliased ls to exa
doyougnu has quit [Ping timeout: 240 seconds]
blonkhart has joined #nixos
Lisanna has quit [Quit: Lisanna]
drakonis has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @eadwu opened pull request #43132 → vscode: 1.24.1 -> 1.25.0 → https://git.io/fNvJK
<ldlework> like, how do I get rid of the non-home-manager package?
<ldlework> I did nix-env -e nixos.ranger
fragamus has joined #nixos
<ldlework> oh it is because of that runCommand thing earlier where I refer to ${pkgs.ranger}/bin/ranger
<ldlework> which causes ranger package to be installed I guess?
<ldlework> and so I can't mention that I want ranger installed in my home-manager settings because the two will conflict?
<ldlework> confusing.
<worldofpeace> ldlework: infinisil shared this nice thing for nix-env btw 'nix-env -q | fzf | xargs -I{} nix-env -e {}'
jperras has joined #nixos
<ldlework> worldofpeace: what's that for
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 is now known as Supersonic
<worldofpeace> ldlework: makes removing programs installed with nix-env quick
sam___ has joined #nixos
sam___ is now known as samtoday
<ldlework> worldofpeace: i think it is a conflict between the ranger that get's installed because I refer to ${pkgs.ranger} in a runCommand, and home.packages = [ pkgs.ranger ];
<ldlework> which is annoying
<infinisil> Just uninstall ranger
<infinisil> You still have one installed
<ldlework> huh?
<infinisil> Can you see ranger with nix-env -q?
<ldlework> oh I guess so
<ldlework> my bad
<samtoday> Does anybody do rust develpment on nixos?
<samtoday> whever I run "cargo build" I get an error about impure paths
jperras has quit [Ping timeout: 265 seconds]
hyper_ch has quit [Read error: Connection reset by peer]
<samtoday> err, it fails when you use nix-shell to get cargo
<samtoday> it runs fine when you use "nix run nixpkgs.cargo"
<samtoday> that seems so weird
hyper_ch has joined #nixos
jperras has joined #nixos
<worldofpeace> I followed the "just do it" advice. That meson.build was not great for nix.
andymandias has quit [Ping timeout: 240 seconds]
<hyper_ch> dotlambda: online?
silver_ has quit [Read error: Connection reset by peer]
sir_guy_carleton has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace opened pull request #43133 → gsignond: init at 1.0.7 → https://git.io/fNvUO
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
<samueldr> worldofpeace: why does documentation building not work?
<waynr> i'm having trouble building a dependency for a package i want to install, it appears that tests are failing for libuv but nothing in the stdout indicates why they are passing. i was somehow under the impression that if i am in the libuv nixpkgs directory that i should be able to run `nix-shell` and enter a build environment for libuv where i can take a closer look at why the test cases are failing, but i keep
<waynr> getting 'error: cannot auto-call a function that has an argument without a default value ('stdenv')'
<waynr> s/are passing/aren't passing/
andymandias has joined #nixos
<worldofpeace> samueldr: It tries to fetch a file from sourceforge? and do something i have no idea
<samueldr> aww
<worldofpeace> samueldr: i was really confused by those flags
<samueldr> worldofpeace: you have nothing yet depending on gsignond, right?
<worldofpeace> samueldr: nothing in tree. locally about 4 applications
<samueldr> gsignond isn't bothered by sysconfdir being not absolute?
<samueldr> or uh, not being absolute
<waynr> i seem to be stuck in a state where i can't use nix to build the package i want from source
<worldofpeace> it seems to just make gsignond.conf get installed into $out/etc instead of trying /etc
<worldofpeace> which of obviously won't work :D
Tobba_ has quit [Ping timeout: 245 seconds]
<waynr> the unstable channel is borked because it relies on a transient github PR commit that was blown away yesterday by a rebase and libuv mysteriously won't build from github master
freeman42x]NixOS has quit [Ping timeout: 240 seconds]
<samueldr> waynr: you have a nixpkgs checkout? `nix-shell -I "nixpkgs=$PWD" -A libuv` will get you inside the libuv environment
<samueldr> worldofpeace: hm, the .so does have a string "etc/"
<samueldr> also, I'm not sure how it should be handled, with e.g. nixos config... but that's another issue :)
<samueldr> waynr: what I said will work at the root of the repo
<worldofpeace> samueldr: i'll have to look at that in the future.
<worldofpeace> samueldr: I might look at ubuntu packaging for it maybe
<samueldr> though, they will use /etc that's for sure :)
<worldofpeace> :P
<waynr> samueldr: thanks!
<samueldr> btw, worldofpeace, if you wanted to keep /etc inside the binary, but install the config inside the package, I think this line would need massaging https://gitlab.com/accounts-sso/gsignond/blob/master/meson.build#L30
<worldofpeace> I saw those lines but i'm trained to just change variables on the fly :)
stigmergik[m] has joined #nixos
<waynr> i wonder why NIX_PATHS isn't working
<samueldr> typo only on IRC or in your terminal too?
<samueldr> it should be NIX_PATH
<waynr> er yeah, that's what i meant
<samueldr> what do you mean NIX_PATH isn't working?
<waynr> maybe i just have an incorrect NIX_PATH
<waynr> it was set by a janky /etc/profile.d/ script i grabbed from the ubuntu1604 deb package
<worldofpeace> samueldr: I'm not breaking anything by doing that am i?
<waynr> i'm pretty sure that package could not possibly result in a working multi user nix installation
<samueldr> worldofpeace: depends on what gsignond does, but it may be possible that with `sysconf_dir` as `etc/` that it won't load the conf from anywhere
<samueldr> while the conf is installed inside the nix store
<hyper_ch> what's the command again to build a local .nix package?
<samueldr> though, it may work properly without any config file, worldofpeace
<samueldr> but making sure the binary can load one from /etc may be necessary in the future if options are important for it
<samueldr> ,callPackage hyper_ch?
<{^_^}> hyper_ch?: If a Nix file ./foo.nix starts with something like `{ bar, baz }:`, you can build it with `nix-build -E '(import <nixpkgs> {}).callPackage ./foo.nix {}'`
freeman42x]NixOS has joined #nixos
disasm has quit [Ping timeout: 240 seconds]
<hyper_ch> samueldr: doesn't work :(
<samueldr> that's for a package that's using mkDerivation?
<samueldr> and what does "doesn't work" mean in that instance?
drakonis has joined #nixos
<hyper_ch> samueldr: I changed nix/store/4ilsbnx26msrm3rcmsb0s3znjinfz7cg-nixos/pkgs/applications/networking/flexget/default.nix and need to rebuild it
<worldofpeace> samueldr: so it seems that elementary will need some way to manage that configuration file for secrets storage. I'll pick that up when I write the nixos module :P . Thanks
<samueldr> hyper_ch: while cd-ed into the flexget directory, this seems to start the build: nix-build -E '(import <nixpkgs> {}).callPackage ./. {}'
disasm has joined #nixos
<samueldr> though, note that `<nixpkgs>` will be the one from NIX_PATH, which may mismatch from the one expected
<hyper_ch> samueldr: I remembered now the better way :) cloning nixpkgs... set checkout to my state and then edit it and use nixos-rebuild -I something
<samueldr> you may want to instead go to the root of your checkout, and nix-build -A flexget
<hyper_ch> no idea what you mean by the root of my checkout
<samueldr> nixpkgs clone, fork
<samueldr> though, you shouldn't really change anything in /nix/store
<hyper_ch> no idea what that is
<samueldr> > cloning nixpkgs
<{^_^}> undefined variable 'cloning' at (string):153:1
<samueldr> (ugh, didn't mean to evaluate that)
<waynr> samueldr: is there any documentation for what to do next after `nix-shell -I "nixpkgs=$PWD" -A libuv`? there seems to be nothing obvious to do after that and there is no $setup environment variable as described by https://nixos.org/nixos/nix-pills/developing-with-nix-shell.html
lassulus_ has joined #nixos
<waynr> i just end up in a bash shell with the nixpkgs git repo as the working directory
<waynr> my understanding of nix-shell is that it needs to be run in the same working directory as the `default.nix` file for the project you want to develop
<samueldr> waynr: sorry, I'm not used enough to nix-shell, the extend of my knowledge isn't much more than that: https://nixos.org/nix/manual/#idm140737318496752
<samueldr> waynr: maybe I misunderstood the nix-shell you wanted
<samueldr> that's the nix-shell if you wanted to build libuv
<waynr> i want to drop into the build environment for libuv to figure out why the tests are mysteriously failing
lassulus has quit [Ping timeout: 264 seconds]
lassulus_ is now known as lassulus
<samueldr> waynr: :/ well that should be it according to the manual
<waynr> i think i'm making progress now, thanks for your help
samtoday has quit [Quit: samtoday]
<waynr> hmm i guess i can only do this stuff as the nix-daemon user since all the files are originally created by it
<hyper_ch> samueldr: so, I did clone nixpkgs ... how would I now rebuild flexget from it?
<samueldr> while at the root of the clone, `nix-build -A flexget` should do it
<hyper_ch> samueldr: I thought I could do nixos-rebuild switch -I something
<hyper_ch> ah.... nixos-rebuild switch -I nixpkgs=/path/to/nixpkgs-clone
<samueldr> ah, different if you want your system rebuilt :)
<hyper_ch> still same error :(
<hyper_ch> dotlambda: flexget fails to run... I tried also to build latest version but when running flexget daemon start -d I get https://paste.simplylinux.ch/view/raw/10293a1c
sir_guy_carleton has quit [Quit: WeeChat 2.0]
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/f872318e760 (from 6 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
orivej has quit [Ping timeout: 240 seconds]
<kalbasit> on my hybrid system now, I'm having issues related for fonts and terminfos. Question about terminfo, so I have termite installed with `nix-env` and my TERM set to `xterm-termite` but it does not seem to find it. I tried installing the Arch package `termite-terminfo` but it did not help. How is termite supposed to find the terminfo under NixOS usage?
<kalbasit> maybe I'm missing some env var or some symlink that will help termite find the info it needs
cell has quit [Quit: Lost terminal]
<hyper_ch> isn't that a bit wrong? 2 python2.7-guessit-3.0.0 (nixos.python27Packages.guessit_2_0) --> it says guessit-3.0.0. but actually uses guessit_2_0 ?
<hyper_ch> this feels really wrong... there's a 2.0.nix file and it got altered to 3.0.0 --> https://github.com/NixOS/nixpkgs/commit/02e40d97fb15e3e870e4c53ee209d8c1d2557fcd#diff-f97b2aaa26fa9da5ef1de1ea3146b280
<hyper_ch> what's the point of having 2.0 then?
srl295 has quit [Quit: Connection closed for inactivity]
<kalbasit> I actually think I ran into `https://github.com/NixOS/nixpkgs/issues/19785`, when I exported `TERMINFO_DIRS` it works now
<{^_^}> #19785 (by Ralith, closed): installed terminfo does not load correctly when logging in to a zsh user over ssh
freeman42x]NixOS has quit [Ping timeout: 256 seconds]
jperras has quit [Quit: WeeChat 2.1]
<rotaerk> I'm confused...
<rotaerk> hmm well, this might be a GHC/cabal issue rather than nix
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Ping timeout: 264 seconds]
sbdchd has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @adisbladis merged pull request #43055 → bibutils: 6.5 -> 6.6 → https://git.io/fbpu7
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/fNvTx
<{^_^}> [nixpkgs] @adisbladis merged pull request #42968 → plantuml: 1.2017.18 -> 1.2018.8 → https://git.io/fbbmr
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/fNvTj
ghasshee has joined #nixos
Ross has quit [Ping timeout: 265 seconds]
nallar has joined #nixos
nallar is now known as Ross
stepcut has joined #nixos
<hyper_ch> dotlambda: flexget can be upgraded to the lastest relese
tzemanovic has joined #nixos
<hyper_ch> dotlambda: works fine https://paste.simplylinux.ch/view/raw/db18aeea except that guessit breaks it even when the 2.0 version (which is oddly set to 3.0) is being used: https://github.com/NixOS/nixpkgs/commit/02e40d97fb15e3e870e4c53ee209d8c1d2557fcd#diff-f97b2aaa26fa9da5ef1de1ea3146b280
hakujin has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @andrew-d opened pull request #43134 → nixos/sd-image: make partition ID/UUID configurable → https://git.io/fNvkY
ghasshee has quit [Remote host closed the connection]
<rotaerk> lol, oh; didn't realize nixpkgs wrapped the various compilation tools
<rotaerk> like if I do: vim $(which ld)
<rotaerk> it's a bash script...
<rotaerk> I wonder if this is causing linker options to get ignored
drakonis has quit [Read error: Connection reset by peer]
Lisanna has joined #nixos
muzzy has joined #nixos
<muzzy> does anyone have trouble with sound in kde plasma?
<rotaerk> I've had problems with alsamixer being muted every time I reboot
<rotaerk> don't use kde plasma though
<muzzy> damn, I've unmuted all the output devices from alsamixer but still no sound
<rotaerk> just to make sure, did you also turn up the volume
<rotaerk> mine's muted AND with 0 volume
<rotaerk> so I unmute and turn it up
<muzzy> I installed kmix, it wasnt installed by default for some reason. Still no sound. I'm going to reboot real quick
endformationage has quit [Quit: WeeChat 1.9.1]
Guanin has quit [Ping timeout: 245 seconds]
<worldofpeace> Where would an extension/plugin to library go in nixpkgs?
<worldofpeace> * to a library
Guanin has joined #nixos
blankhart has quit [Ping timeout: 268 seconds]
robstr has joined #nixos
<muzzy> tried every audio device on my computer: HDMI, motherboard line out, computer case headphone jack, headphone jack in the monitor... nothing. :(
<joepie91> muzzy: assuming you're using pulseaudio, open up pavucontrol and verify that it's set to the right profile
<muzzy> joepie91: I just installed pulseaudio and got audio to work! Is there any reason alsamixer or gstreamer shouldn't work out of box?
rodgort has quit [Quit: Leaving]
<johnw> shlevy: hi
rodgort has joined #nixos
muzzy has quit [Ping timeout: 240 seconds]
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
crmlt has joined #nixos
muzzy has joined #nixos
hakujin has joined #nixos
leotaku83 has quit [Remote host closed the connection]
Xiro` has quit [Remote host closed the connection]
hakujin has quit [Ping timeout: 245 seconds]
leotaku83 has joined #nixos
leotaku83 has quit [Remote host closed the connection]
leotaku23 has joined #nixos
andymandias has quit [Ping timeout: 256 seconds]
pie__ has joined #nixos
andymandias has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 3 commits to master: https://git.io/fNvtZ
Lisanna has quit [Remote host closed the connection]
jtojnar has joined #nixos
<{^_^}> [nixpkgs] @vcunat merged pull request #43113 → firefox, firefox-bin: 61.0 -> 61.0.1 → https://git.io/fbjA6
Guest2903 has joined #nixos
<Guest2903> #nixos
Guest2903 has quit [Ping timeout: 240 seconds]
crmlt has quit [Remote host closed the connection]
crmlt has joined #nixos
init_6 has joined #nixos
shabius has joined #nixos
dan__ has joined #nixos
danielhanson has joined #nixos
danielhanson has quit [Quit: leaving]
simukis has joined #nixos
hamishmack has quit [Ping timeout: 260 seconds]
Lisanna has joined #nixos
dvim has quit [Quit: WeeChat 2.1]
palo has quit [Ping timeout: 248 seconds]
palo has joined #nixos
palo has quit [Changing host]
palo has joined #nixos
dan__ has quit [Ping timeout: 260 seconds]
<joepie91> muzzy: I have no idea, to be honest
testuser has joined #nixos
logzet has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed to release-18.03 « Merge #43113: firefox*: 61.0 -> 61.0.1 »: https://git.io/fNvmf
phdoerfler has joined #nixos
StianL has joined #nixos
lnikkila has joined #nixos
knupfer has joined #nixos
worldofpeace has quit [Ping timeout: 255 seconds]
NightTrain has quit [Ping timeout: 240 seconds]
Ariakenom has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 3 commits to release-18.03: https://git.io/fNvmg
obadz has quit [Ping timeout: 260 seconds]
thc202 has joined #nixos
obadz has joined #nixos
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
coot has quit [Read error: No route to host]
zgrep has joined #nixos
aarvar has quit [Ping timeout: 248 seconds]
coot has joined #nixos
andymandias has quit [Ping timeout: 264 seconds]
andymandias has joined #nixos
crmlt has quit [Remote host closed the connection]
dan_ has joined #nixos
dan_ is now known as Guest25198
<{^_^}> [nixpkgs] @offlinehacker opened pull request #43135 → dockerTools.buildImage: passthru image name and tag → https://git.io/fNvYZ
<{^_^}> [nixpkgs] @FRidh closed pull request #42777 → python3: 3.6 -> 3.7 → https://git.io/f4Nyr
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
slyfox has quit [Ping timeout: 245 seconds]
slyfox has joined #nixos
crmlt has joined #nixos
<{^_^}> [nixpkgs] @offlinehacker opened pull request #43136 → Zookeeper server fixes → https://git.io/fNvYu
knupfer1 has joined #nixos
knupfer has quit [Ping timeout: 256 seconds]
knupfer1 is now known as knupfer
genesis has joined #nixos
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
crmlt has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @offlinehacker opened pull request #43137 → confluent: init at 4.1.1-2.11 → https://git.io/fNvYw
justbeingglad has joined #nixos
igo95862 has joined #nixos
crmlt has joined #nixos
justbeingglad has left #nixos [#nixos]
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
<{^_^}> [nixpkgs] @offlinehacker opened pull request #43138 → github-cli: init at 0.6.2 → https://git.io/fNvYX
<{^_^}> [nixpkgs] @offlinehacker opened pull request #43139 → nyx: init at 2.0.4 → https://git.io/fNvYy
muzzy has quit [Remote host closed the connection]
alex`` has joined #nixos
worldofpeace has joined #nixos
<{^_^}> [nixpkgs] @LnL7 opened pull request #43140 → darwin: fix Libsystem compatibility for macOS 10.14 → https://git.io/fNvYA
sakalli_ has joined #nixos
xy2_ has joined #nixos
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/298e170b36b (from 65 minutes ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/6ea4c3d335c (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @peti pushed 3 commits to master: https://git.io/fNvOI
sakalli_ has quit [Quit: Mutter: www.mutterirc.com]
crmlt has quit [Ping timeout: 240 seconds]
ajs124 has joined #nixos
alex`` has quit [Ping timeout: 256 seconds]
igo95862 has quit [Quit: igo95862]
alex`` has joined #nixos
<worldofpeace> jtojnar: there's this too #43133
<{^_^}> https://github.com/NixOS/nixpkgs/pull/43133 (by worldofpeace, open): gsignond: init at 1.0.7
<jtojnar> worldofpeace: does not it work with newer vala?
migy has quit [Quit: migy]
migy has joined #nixos
<worldofpeace> jtojnar: #43133 i think doesn't.
<{^_^}> https://github.com/NixOS/nixpkgs/pull/43133 (by worldofpeace, open): gsignond: init at 1.0.7
jgt has joined #nixos
tzemanovic has quit [Ping timeout: 248 seconds]
logzet_ has joined #nixos
logzet has quit [Ping timeout: 276 seconds]
alex`` has quit [Ping timeout: 264 seconds]
<worldofpeace> jtojnar: I've made all changes for gtkspell3
hakujin has joined #nixos
alex`` has joined #nixos
hph^ has quit []
hakujin has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
shah^ has joined #nixos
alex`` has quit [Ping timeout: 256 seconds]
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
obadz has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @jtojnar merged pull request #43129 → gtkspell3: add valaSupport → https://git.io/fNexz
<{^_^}> [nixpkgs] @jtojnar pushed commit from @worldofpeace to master « gtkspell3: add valaSupport »: https://git.io/fNv3U
worldofpeace has quit [Remote host closed the connection]
tzemanovic has joined #nixos
<ghasshee_> Hi, there seems lots of problems using Dropbox. Is there anyway to use it well?
obadz has joined #nixos
tsm has joined #nixos
alex`` has joined #nixos
<srhb> ghasshee_: No problem here.
<tsm> having trouble upgrading from 17.09 to 18.03. I run `sudo nixos-rebuild switch --upgrade` and it works fine, but after rebooting I can't get past the boot screen steps around `Reached target Sound Card`. everything is green, it just freezes
<ghasshee_> @srhb how did you install ?
lnikkila has quit [Ping timeout: 240 seconds]
myshoe has joined #nixos
phdoerfler1 has joined #nixos
worldofpeace has joined #nixos
lnikkila has joined #nixos
phdoerfler1 has quit [Client Quit]
phdoerfler1 has joined #nixos
<worldofpeace> jtojnar: I think i've made all the changes correctly.
<jtojnar> worldofpeace: looks good
<jtojnar> now how do you intend to support the plug-ins?
phdoerfler has quit [Ping timeout: 276 seconds]
__monty__ has joined #nixos
<worldofpeace> jtojnar: no idea :)
<srhb> ghasshee_: nix-env -iA nixpkgs.dropbox
<worldofpeace> there's also a libgsignon-glib that's not working for me. Should be ready for a review in a bit.
blonkhart has quit [Ping timeout: 268 seconds]
<jtojnar> they seem to also depend on libsecret
<worldofpeace> that's a brain fart there. :P obviously
crmlt has joined #nixos
<worldofpeace> jtojnar: I'm seeing this in the build output https://gist.github.com/worldofpeace/9773c0ca4f137b4587d6ab16265ed6bd
crmlt has quit [Remote host closed the connection]
crmlt has joined #nixos
<worldofpeace> jtojnar: great, all that's left is finding out how to support the plugins.
<jtojnar> worldofpeace: there are basically two ways, using global location (as xfce panel does) or using environment variables (as GStreamer does)
<jtojnar> you might need to patch the daemon (e.g. https://github.com/intel/dleyna-core/pull/50)
<{^_^}> #50 (by jtojnar, open): Search connectors in DLEYNA_CONNECTOR_PATH
<jtojnar> also you will need a NixOS module for the daemon
jtojnar has quit [Remote host closed the connection]
jtojnar has joined #nixos
<worldofpeace> So basically backlog :D
alisher has joined #nixos
alisher has quit [Client Quit]
<jtojnar> the module should just register a dbus service, I think
<jtojnar> maybe also set the variable
<jtojnar> depending on the architecture
<worldofpeace> Explain a bit :)
rprije has joined #nixos
Tobba has joined #nixos
sam__ has joined #nixos
Mateon3 has joined #nixos
<worldofpeace> jtojnar: I've got 'libgsignon-glib` in the same pr. But it fails to build with these errors --> https://gist.github.com/worldofpeace/6c12cdf1fbaac44ab62760a80a034bcf
knupfer has quit [Remote host closed the connection]
Mateon1 has quit [Ping timeout: 240 seconds]
Mateon3 is now known as Mateon1
phdoerfler has joined #nixos
orivej has quit [Ping timeout: 268 seconds]
jluttine has quit [Ping timeout: 256 seconds]
phdoerfler1 has quit [Ping timeout: 245 seconds]
jluttine has joined #nixos
<jtojnar> worldofpeace: look into `makeFlags = [ "pyoverridesdir=$(out)/foo" ]`
coot has quit [Quit: coot]
<worldofpeace> jtojnar: nice
<ghasshee_> @srhb Thanks, for it. but I cannot find the attribute `nixpkgs`. Do you have any ideas to fix this?
crmlt has quit [Remote host closed the connection]
<ghasshee_> I am running on 17.03 the same with @tsm. Yesterday I failed to upgrade and I did `nix-channel --rollback`.
<jtojnar> ghasshee_: maybe nixos.dropbox?
Jason_Grossman has joined #nixos
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/fNvGO
<jtojnar> worldofpeace: something like https://paste.gnome.org/pe8nuyycb should work for starters
ambro718 has joined #nixos
<worldofpeace> jtojnar: I've only ever wrote a few nixos modules so this'll be interesting :)
<worldofpeace> jtojnar: this is in the session wide message bus
<worldofpeace> jtojnar: Your prior comments are still true right?
<jtojnar> worldofpeace: I think it is in the system bus, the service file is located in share/dbus-1/services, not the user directory used for session bus
<jtojnar> worldofpeace: which one?
<worldofpeace> jtojnar: at *:45:22
<srhb> ghasshee_: Probably nixos.dropbox on your system. Also wooaaah, 17.03 is ancient, upgrade! :)
<worldofpeace> jtojnar: in fedora it seems to be configured to use the session bus type --> https://copr-dist-git.fedorainfracloud.org/cgit/decathorpe/elementary-nightly/gsignond.git/tree/gsignond.spec#n6 and it seems I need to set tho option `extension=desktop` for meson
<jtojnar> worldofpeace: yes, extension=desktop, sounds reasonable
<ghasshee_> @srhb Thank you. I will try it!
<jtojnar> weird, let's keep it a system one for now, if I try to run it manually, I get quite a few errors https://paste.gnome.org/puip4jgot
am0425 has joined #nixos
<jtojnar> worldofpeace: session bus will not have access to /var/db by default anyway
<worldofpeace> jtojnar: I should set it to ""
rprije has quit [Ping timeout: 268 seconds]
<jtojnar> worldofpeace: what should you set to ""?
<worldofpeace> jtojnar: 'storage_dir' is default to '/var/db'
<jtojnar> worldofpeace: I do not think changing it would help
<worldofpeace> jtojnar: ^ i see now :D
b has joined #nixos
mariatsji has joined #nixos
stepcut has quit [Remote host closed the connection]
andymandias has quit [Ping timeout: 248 seconds]
<worldofpeace> jtojnar: Just saw your review. Maybe static?
<worldofpeace> Also didn't see your erros at 35:30 :D
<jgt> towards the end of a NixOps deploy, it'll say something like: 'copying 14 missing paths (89.92 MiB) to ‘root@x.x.x.x'. Is there a way to show exactly what those paths are and how large each one is?
mariatsji has quit [Remote host closed the connection]
<jgt> sometimes it'll copy over 2GB to the server, and most likely I'm just doing something wrong and telling it that the server needs more stuff than it really does
<clever> jgt: you cant easily see what its copying, but you can look at the closure for the entire deployment, one min
phdoerfler has quit [Quit: Leaving.]
<clever> jgt: a command like this will give a storepath on the local machine that includes every machine: nixops dump-nix-paths -d mainnet
<clever> [clever@amd-nixos:~]$ du --max=0 -hc $(nix-store -qR /run/current-system) | sort -h
<jgt> clever: Nice. That's a good place to start looking. Thanks!
andymandias has joined #nixos
<clever> jgt: and if you run this on any storepath (or symlink to one), it shows its parts, sorted by size
<clever> 449M /nix/store/d7qiksl0hzk4kl43j57f0cxscb7zdls8-chromium-67.0.3396.87
<clever> 1.1G /nix/store/360zh9xvnqzvzvl567b43960fhgq90dw-go-1.10.3
<clever> 9.5G total
<clever> in my case, current-system is 9.5 gig, with go bloating it a lot
<jtojnar> worldofpeace: Oh, I read --enable-static
<worldofpeace> jtojnar: I shouldn't even set that right
oida has joined #nixos
phreedom has quit [Ping timeout: 250 seconds]
phreedom has joined #nixos
<jgt> clever: this confirms I am copying way too much stuff to my ec2 machine :P http://ix.io/1gkU
<clever> jgt: sort -h and du -h make it a lot more readable
<jgt> I just need to copy my built program over, but it's also copying across GHC, and all my project's dependencies
<jgt> clever: I'm on MacOS and I don't have sort -h
<clever> jgt: nix why-depends /nix/store/2ags0gq0l8q20kdy3r6dmxc50k7gzrn3-nixops-machines /nix/store/wdph2s4xzz4dkrw31cgby2l53892il0c-ghc-8.2.2
<clever> ahh
<clever> the above will tell you why it depends on ghc
<jgt> clever: is this a Nix 2.0+ thing? command not found: nix
<clever> yeah, nix 2
<jgt> ah. I might have to destroy everything and try going with Nix 2 again
<jgt> is there a 1.11 equivalent?
<clever> jgt: you can upgrade to nix 2 easily
<clever> for nix 1, you have to nix-store -q --tree, then manually follow the lines
<clever> and grep for paths
<clever> to upgrade, sudo -i ; nix-channel --update ; nix-env -iA nixpkgs.nix
sam__ has quit [Quit: sam__]
<jgt> Oh! I didn't know I could upgrade like that
<jgt> last time I tried, I just wiped everything and started anew
<clever> you may also need to restart the nix-daemon service with launchctl
orivej has joined #nixos
CrazedProgrammer has quit [Ping timeout: 255 seconds]
<jgt> clever: it's a bit creepy how smoothly that worked
argo has quit [Ping timeout: 265 seconds]
wgas has quit [Quit: Leaving]
<jgt> clever: anyway, here's the why-depends output http://ix.io/1gkY
<clever> riskbook is to blame
<clever> it contains dynamic libraries that refer to ghc
<clever> building it with haskell.lib.justStaticExecutables will solve that
<jgt> oh wow, ok, I'll see if I can make that work
<jtojnar> worldofpeace: regarding 45:23, I am not sure, it depends on how the system is designed
<jtojnar> it would be nice to see how the components interact together
<worldofpeace> that might take a bit :D
<jgt> clever: alternatively, would it have anything to do with `isLibrary = true` in the riskbook derivation?
<clever> jgt: justStaticExecutables will override that
<worldofpeace> jtojnar: I think i got libgsignon-glib building now
<jtojnar> worldofpeace: for now, I would assume everything works and fix things later when we can actually see them not working
<clever> jgt: if you turn off isLibrary, it will be a dynamic ghc binary, and it will refer to other libraries and have the same issue
<worldofpeace> jtojnar: Absolutely :)
viric has quit [Quit: tempesta]
<jgt> clever: Ok, so now I just have to figure out exactly where to use justStaticExecutables
<clever> jgt: if you gist the nix expressions near systemPackages and riskbook i can help with that
argo has joined #nixos
sbdchd has joined #nixos
<jgt> clever: this is the file I'm using for NixOps http://ix.io/1gkZ
<jgt> clever: haskell-packages.nix comes from running stack2nix
<clever> jgt: ah, then youll want riskbook = pkgs.haskell.lib.justStaticExecutables (import ./haskell-packages.nix { pkgs = import <nixpkgs> { system = "x86_64-linux"; }; }).riskbook;
<clever> jgt: also, you may want to switch that to just { inherit pkgs; }
<clever> no need to re-import a 2nd pkgs
<jgt> I'm not sure exactly what to change to not reimport a second pkgs
<jgt> clever: is that because I'm also import nixpkgs from haskell-packages.nix?
<clever> riskbook = pkgs.haskell.lib.justStaticExecutables (import ./haskell-packages.nix { inherit pkgs; }).riskbook;
Tobba has quit [Ping timeout: 264 seconds]
<jgt> looks like this might all magically work with Cachix too, which would be amazing
<{^_^}> #43133 (by worldofpeace, open): WIP: gsignond: init at 1.0.7
<clever> jgt: it will only find it on the cache if the cache has a copy that was previously built staticly, with the same <nixpkgs>
<worldofpeace> jtojnar: that graphic though
<jtojnar> worldofpeace: you can use ${python3.sitePackages} instead of lib/python3.6/site-packages
<jgt> clever: can I pipe a nixops deploy to cachix push?
<jtojnar> worldofpeace: not sure if the out does not need to be wrapped in parentheses for make to handle it
<clever> jgt: ive not tried cachix yet, so i'm not sure
<worldofpeace> jtojnar: with the $out/ too?
<jtojnar> yep
<clever> nix-repl> python3.sitePackages
<clever> "lib/python3.6/site-packages"
<jgt> clever: I'm guessing I'll probably have to do some form of `nix-build | cachix push`, but perhaps that's a problem for another day
<clever> jgt: you can also create a new nix file, that imports haskell-packages.nix with a specific version of nixpkgs, and also builds it staticly
<clever> jgt: then cachix can cache the output of that, and nixops can import it
<jtojnar> > (import <nixpkgs> {}).python3.sitePackages
<{^_^}> "lib/python3.6/site-packages"
<jtojnar> worldofpeace: ^
<worldofpeace> great
<jtojnar> clever is always faster, clever++
<jgt> clever: that makes sense
rcshm has joined #nixos
alex`` has quit [Ping timeout: 255 seconds]
<worldofpeace> clever++
<{^_^}> clever's karma got increased to 1
<clever> how is it only 1? lol
<jtojnar> clever++
<{^_^}> clever's karma got increased to 2
<worldofpeace> hah
CrazedProgrammer has joined #nixos
phdoerfler has joined #nixos
<worldofpeace> jtojnar: I should see 'lib/python3.6/site-packages' in the result link right?
<jtojnar> yep
<worldofpeace> hmmm, I don't.
<worldofpeace> Could you build it and check once i push?
leotaku23 has quit [Remote host closed the connection]
<jtojnar> worldofpeace: that's why I said make needs parentheses around out
<jtojnar> "pyoverridesdir=$(out)/${python3.sitePackages}/gi/overrides"
<worldofpeace> ahh
Incospicuous[m] is now known as Inconspicuous[m]
MinceR has quit [Ping timeout: 240 seconds]
<worldofpeace> didn't you say something about a multiple output derivation?
<jtojnar> worldofpeace: yep, ideally, we would use py instead of out
MinceR has joined #nixos
<jtojnar> though I am not sure if the gi overrides even work in `out`
<worldofpeace> so just out and py?
<jtojnar> for libraries a dev output is also a good idea
<jtojnar> and devdoc, othervise the documentation is trashed
<worldofpeace> lib too?
<jtojnar> worldofpeace: if the package is just a library, out is usually used for it
phdoerfler1 has joined #nixos
<jtojnar> worldofpeace: gsignond is both a daemon and a library so we split it
<worldofpeace> jtojnar: all clear now. :)
<worldofpeace> jtojnar: those two are done, I think I might ignore the plugins for now
phdoerfler has quit [Ping timeout: 276 seconds]
Jason_Grossman has quit [Remote host closed the connection]
<jtojnar> on the other hand, if the package is primarily a library but also offers some utility programs, we would use `out` for the library and `bin` for the programs
<jtojnar> okay
Jason_Grossman has joined #nixos
alex`` has joined #nixos
<worldofpeace> I'm going to have to document this discussion :P
phdoerfler1 has quit [Quit: Leaving.]
am0425 has quit [Remote host closed the connection]
phdoerfler has joined #nixos
<jtojnar> worldofpeace: I would just continue adding other pantheon components into the PR, until we can actually test that the gsignon thingy works
ambro718 has quit [Quit: Konversation terminated!]
phdoerfler has quit [Client Quit]
<Taneb> So, I'm trying to reinstall NixOS on my laptop (don't ask me why), and it's failing at pretty much the first hurdle
<Taneb> In the boot sequence for the USB installer, "squashfs: SQUASHFS error: unable to read inode lookup table"
<gchristensen> what is it, and what is the first hurdle? :)
Jason_Gr` has joined #nixos
<gchristensen> hmmm that is a new one
<worldofpeace> jtojnar: some programs are using it but It's unclear how. The online account settings plug needs it but the whole settings is going to be hell :P
blankhart has joined #nixos
Jason_Gr` has quit [Remote host closed the connection]
coot has joined #nixos
<worldofpeace> * whole settings app
phdoerfler has joined #nixos
<jtojnar> is it possible to disable all modules initially and add them incrementally?
Jason_Grossman has quit [Ping timeout: 276 seconds]
<clever> jtojnar: call evalModules with a custom list of modules, https://github.com/cleverca22/not-os/blob/master/default.nix#L12-L34
<jtojnar> clever: that is cool, although this time I was talking about pantheon settings app panes
blonkhart has joined #nixos
hakujin has joined #nixos
<worldofpeace> jtojnar: I didn't know that was directed to me :)
<worldofpeace> jtojnar: Absolutely. The wingpanel and the settings apps(switchboard) plugs are modular
<worldofpeace> jtojnar: I'm also not going to refer to the package set as 'pantheon' as it's packaged in other places as 'elementary' and apps are prefixed with that name.
<{^_^}> [nixpkgs] @phi-gamma opened pull request #43141 → Lua: define packages for 5.3.x; update lpeg module → https://git.io/fNvcF
ambro718 has joined #nixos
<Taneb> gchristensen, I took a photo of the screen if you want to take a look: https://i.imgur.com/RBejW5G.jpg
<gchristensen> Taneb: when did you download the installer?
<clever> Taneb: how did you create the bootable usb stick?
<Taneb> gchristensen, earlier today
<Taneb> clever, dd
hakujin has quit [Ping timeout: 256 seconds]
<Taneb> gchristensen, this was happening with both the minimal and graphical installers, but this is the graphical
<gchristensen> ok
<gchristensen> boy, our "minimal" image is 450m now
<clever> Taneb: did you dd to sdb or sdb1?, how big is the usb stick?
<Taneb> clever, sdb, 16GB
<jtojnar> worldofpeace: IIRC they rebranded
<clever> Taneb: should have worked like that
<worldofpeace> jtojnar: Did the thing again
<gchristensen> "Number of inodes 206177" -- this is probably not it, https://hydra.nixos.org/build/76927624/nixlog/19
xy2_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @dotlambda merged pull request #43050 → coursera-dl: 0.10.0 -> 0.11.4 → https://git.io/fbpEz
<{^_^}> [nixpkgs] @dotlambda pushed commit from @alexfmpe to master « coursera-dl: 0.10.0 -> 0.11.4 (#43050) »: https://git.io/fNvC3
<gchristensen> Taneb: how much ram do you have?
<Taneb> gchristensen, 8GB I think
<gchristensen> Taneb: on the computer you used to make the USB disk, can you run sha256sum ./the-iso-you-downloaded?
<worldofpeace> jtojnar: It seems gsignond is only used for some plugins/integrations in certain apps and the online accounts settings. All are useless without the gsignon plugins :(
<Taneb> $ sha256sum Downloads/nixos-graphical-18.03.132821.56fad146a12-x86_64-linux.iso
<Taneb> 04aebb7b3901d6370ac8b8b00835d8e1332feee5b8524fa54a99fdc5d34186b2 Downloads/nixos-graphical-18.03.132821.56fad146a12-x86_64-linux.iso
<jtojnar> worldofpeace: we can work on that later then
<worldofpeace> jtojnar: Yep, next real monster is the panel(wingpanel)
sir_guy_carleton has joined #nixos
<worldofpeace> jtojnar: I already packaged most of the general apps yesterday
<jtojnar> cool
<{^_^}> [nixpkgs] @offlinehacker opened pull request #43142 → super-productivity: init at 1.10.45 → https://git.io/fNvCD
<gchristensen> Taneb: :/ maybe try: head -c 1060110336 /dev/sdb | sha256sum
<gchristensen> (read the first 1060110336 bytes, hash them... which is the size of the ISO)
justanotheruser has quit [Ping timeout: 248 seconds]
<Taneb> gchristensen: doing that now
<worldofpeace> jtojnar: So I need a library from plank(libplank), can that application be broken up? IIRC plank is already packaged
fragamus has joined #nixos
<jtojnar> worldofpeace: I would just add `outputs = [ "out" "lib" "dev" ];` to plank
<jtojnar> maybe also man
<gchristensen> Taneb: hopefully it shows good news, that it was written improperly
<worldofpeace> jtojnar: There's also a breakage with it if you could lend any insights to #42873
<{^_^}> https://github.com/NixOS/nixpkgs/issues/42873 (by davidak, open): Plank: Failed to get running applications
<jtojnar> worldofpeace: looks like you need to have bamf in `services.dbus.packages`
<Taneb> gchristensen: yeah, it's a different hash
<worldofpeace> jtojnar: that sounds right
<Taneb> I'll try rewriting it?
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/298e170b36b (from 6 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
<gchristensen> Taneb: YAY! yeah, rewrite it :)
<gchristensen> you can just use `cp the-iso /dev/sdb` as far as I understand it
<{^_^}> [nixpkgs] @dotlambda pushed commit from @offlinehacker to master « nyx: init at 2.0.4 (#43139) »: https://git.io/fNvle
<{^_^}> [nixpkgs] @dotlambda merged pull request #43139 → nyx: init at 2.0.4 → https://git.io/fNvYy
<jgt> clever: it seems remote building with nix-docker on MacOS doesn't work on Nix 2, so I'll have to downgrade to 1.11 again. Looks like this guy has exactly the same problem as me: https://github.com/NixOS/nixops/issues/560#issuecomment-396377877
<{^_^}> #560 (by 3noch, open): Help poor macOS users who can't build many closures on their host
<clever> jgt: did you configure the build slave in /etc/nix/machines ?
<worldofpeace> jtojnar: That was fixed here https://gitlab.com/accounts-sso/libgsignon-glib/merge_requests/1 but they won't tag a release smh
<jgt> clever: yeah, I have `nix-docker x86_64-linux /etc/nix/docker_rsa 4 1` in there
<jgt> clever: though I'm not sure if that should be `nix-docker ...` or `root@nix-docker ...`
<clever> jgt: and if you try to ssh into it as root, what happens?
<clever> jgt: ssh nix-docker -i /etc/nix/docker_rsa
<jgt> hmm… I get a permission denied, and it asks for root@127.0.0.1's password
<jgt> however it logs in successfully if I do `sudo ssh nix-docker`
<clever> jgt: then your ssh keypair isnt working right
lnikkila has quit [Ping timeout: 240 seconds]
<clever> jgt: run it under a proper root shell, sudo -i
<gchristensen> maybe you'd like to try my linux-on-mac Nix builder? should make these things easier
<jgt> clever: logging in as root, I can ssh in
<jgt> gchristensen: surely wouldn't hurt to try :) Where is it?
<clever> jgt: and then if you try the nix build again?
<gchristensen> gimme a few minutes ...
<jtojnar> worldofpeace: I do not think that was merged
<jgt> gchristensen: I'm guessing it isn't this: https://github.com/puffnfresh/linuxkit-builder
<jgt> clever: build from root?
<clever> jgt: a normal user
<worldofpeace> jtojnar: Right, I'm zooming to fast :) That was two years age.
<gchristensen> jgt: it is based on that
<clever> jgt: it should context the nix-daemon that runs as root, which will do the ssh from root
<gchristensen> jgt: https://github.com/nix-community/linuxkit-builder/ -- just putting together some final bootstrapping pieces for you.
<worldofpeace> jtojnar: wow you got a reply really fast
lnikkila has joined #nixos
<jtojnar> worldofpeace: hmm, adding bamf to dbus.packages does not seem to work
<jgt> clever: doesn't work from my normal user. It still tries to build locally.
<worldofpeace> jtojnar: retracts comment :)
<clever> jgt: near the top, does it mention any warnings about failing to reach a remote system?
<jgt> clever: Nope. Here's the output: http://ix.io/1glA
<clever> jgt: dont yse --option system
<clever> jgt: that lies to nix and claims your machine can run linux binaries
<jgt> clever: now it fails much more quickly :P http://ix.io/1glB
<jgt> clever: I also have this in my aws.nix: nixpkgs.system = "x86_64-linux";
<clever> jgt: that was renamed recently
<{^_^}> [nixpkgs] @rickynils pushed to master « nixos: Add option networking.networkmanager.dynamicHosts »: https://git.io/fNv8J
<clever> jgt: nixpkgs.localSystem.system = "x86_64-linux";
lnikkila has quit [Ping timeout: 245 seconds]
jtojnar has quit [Remote host closed the connection]
<jgt> clever: this might have been the source of the problem. It appears to be building on nix-docker now.
<clever> jgt: because you used --option system, it assumed that localhost can build faster then nix-docker, so it just did that
lnikkila has joined #nixos
jtojnar has joined #nixos
<clever> without that, it knows localhost cant build, and has no choice
<jgt> clever: adding the --option was a recent thing I tried after upgrading to Nix 2, based on the GH Issues thread. Just removing it didn't work; I also had to s/nixpkgs.system/nixpkgs.localSystem.system/
<clever> yeah
<jgt> I'll be delighted if this all works :)
<{^_^}> [nixpkgs] @dotlambda opened pull request #43143 → alacritty: install shell completions → https://git.io/fNv8Y
<nyanloutre[m]> hello, I got an error trying to upgrade the electron-cash package in nixpkgs
<nyanloutre[m]> Does anyone know what could cause that ?
troydm has joined #nixos
andymandias has quit [Ping timeout: 240 seconds]
lnikkila has quit [Ping timeout: 248 seconds]
<{^_^}> [nixos-foundation] @zimbatm pushed to minutes « fixup! more »: https://git.io/fNv86
<gchristensen> clever: what is localSystem.system vs .platform?
<{^_^}> [nixos-foundation] @zimbatm merged pull request #2 → first pass at documenting the foundation's goals → https://git.io/fbh5p
<{^_^}> [nixos-foundation] @zimbatm pushed to master « first pass at documenting the foundation's goals (#2) »: https://git.io/fNv8P
<{^_^}> [nixos-foundation] @zimbatm pushed 0 commits to minutes: https://git.io/fNv8X
<clever> gchristensen: i think localSystem is for native builds but platform is for cross-builds
<gchristensen> zimbatm++
<{^_^}> zimbatm's karma got increased to 1
<zimbatm> <3
andymandias has joined #nixos
<gchristensen> clever: what am I doing wrong here? https://github.com/nix-community/linuxkit-builder/blob/master/release.nix https://github.com/nix-community/linuxkit-builder/blob/master/default.nix#L1 I want no matter where it is built, for these things to be for darwin
<gchristensen> but when I nix-instantiate release.nix, I get error: Package ‘hyperkit-6f6edf’ in /home/grahamc/projects/linuxkit-builder/hyperkit/default.nix:36 is not supported on ‘x86_64-unknown-linux-gnu’, refusing to evaluate.
foldingcookie has quit [Ping timeout: 276 seconds]
<clever> gchristensen: i think for nixpkgs itself, you just use system = "x86_64-darwin";, i'm not sure why nixos wants to call it something different
<gchristensen> omg
<{^_^}> [nixpkgs] @qoelet opened pull request #43144 → pdfcrack: init 0.16 → https://git.io/fNv85
<clever> gchristensen: oh, and line 2 re-imports a 2nd nixpkgs, and doesnt set system
<gchristensen> at any rate, that doesn't work either :P
<gchristensen> OH
<clever> so your better off with { pkgs ? <nixpkgs> }:
mahagad has joined #nixos
<mahagad> How can I install xmonad with the "enableContribAndExtras" option, on Nix? On Nixos, it's a setting on configuration.nix, but how about on Nix?
endformationage has joined #nixos
<clever> mahagad: an override in config.nix
leothrix has quit [Quit: ZNC 1.7.0 - https://znc.in]
leothrix has joined #nixos
blym has joined #nixos
<infinisil> mahagad: You need to use `pkgs.xmonad-with-packages.override { packages = p: with p; [ xmonad-contrib xmonad-extras ]; }`
<mahagad> thanks!
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
<{^_^}> [nixpkgs] @Infinisil merged pull request #43053 → aws-sdk-cpp: 1.4.70 -> 1.4.78 → https://git.io/fbpu8
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fNv4Y
alexteves has joined #nixos
mahagad has quit [Ping timeout: 252 seconds]
lnikkila has joined #nixos
<gchristensen> jgt: you all set now?
<samueldr> hi all
alex`` has quit [Ping timeout: 268 seconds]
<samueldr> having an annoying issue here, where gcc is a split package, dynamic libraries (.so) and .la control files are in "lib", but somehow, static libraries (.a) are in "out"...
<samueldr> ... which causes an issue with something I'm building which wants to link statically using libtoo, libtool sees the .la for libsupc++, uses the path in the .la, but the path isn't right for static libs (lib folder in "lib")
<jgt> gchristensen: seems to be working out so far. I've left comments for other people having the same problem in a couple places.
alex`` has joined #nixos
<jgt> gchristensen: right now just compiling GHC and all my dependencies again; hopefully I can make this painful step go away with Cachix.
<samueldr> I see nothing obvious in the derivation to place the .a files in the "lib" output either
<gchristensen> cool :)
<{^_^}> [nixpkgs] @Infinisil merged pull request #42395 → nix-du: 0.1.2 -> 0.2.0 → https://git.io/f4yuX
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fNv4K
alexteves has quit [Remote host closed the connection]
azdle has quit [Quit: Ping timeout (120 seconds)]
frank87_ has quit [Ping timeout: 264 seconds]
azdle has joined #nixos
Lisanna has quit [Ping timeout: 264 seconds]
agile has quit [Ping timeout: 264 seconds]
alfie has quit [Ping timeout: 264 seconds]
nD5Xjz has quit [Ping timeout: 265 seconds]
alfie has joined #nixos
troydm has quit [Ping timeout: 264 seconds]
ma27 has quit [Ping timeout: 264 seconds]
nD5Xjz has joined #nixos
agile has joined #nixos
qz has quit [Ping timeout: 264 seconds]
ma27 has joined #nixos
qz has joined #nixos
troydm has joined #nixos
<worldofpeace> infinisil: hey, can you review #43132 , it works
<{^_^}> https://github.com/NixOS/nixpkgs/pull/43132 (by eadwu, open): vscode: 1.24.1 -> 1.25.0
tusj has quit [Ping timeout: 256 seconds]
<__monty__> clever: Can I use toxvpn to access http servers running in the lan of the host I connect to?
Guest25198 has quit [Ping timeout: 240 seconds]
<clever> __monty__: currently, you would need to run something like squid on the remote toxvpn machine, then use its tox ip to connect to the squid proxy
<{^_^}> [nixpkgs] @Anton-Latukha opened pull request #43145 → del mesa-darwin: fossil (2012 version) → https://git.io/fNvBv
<clever> __monty__: i have plans to get routing working over toxvpn, but havent gotten around to testing them
<clever> __monty__: the other option is to run toxvpn on the http server
drakonis has joined #nixos
init_6 has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @dotlambda merged pull request #43144 → pdfcrack: init 0.16 → https://git.io/fNv85
<{^_^}> [nixpkgs] @dotlambda pushed commit from @qoelet to master « pdfcrack: init 0.16 (#43144) »: https://git.io/fNvBY
agander has joined #nixos
<__monty__> clever: Thanks. I'll consider the proxy approach. Don't really want to run toxvpn in all my containers.
juhe has joined #nixos
<clever> __monty__: you might also be able to use a tool like socat or nginx to create a transparent proxy
<clever> __monty__: so port 80 on the toxvpn host redirects to 80 on the http server
<clever> socat can just blindly forward it, nginx can be setup as a reverse proxy and inspect the Host: header to redirect it inteligently
sir_guy_carleton has quit [Quit: WeeChat 2.0]
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fNvBn
<{^_^}> [nixpkgs] @Infinisil merged pull request #43132 → vscode: 1.24.1 -> 1.25.0 → https://git.io/fNvJK
<worldofpeace> infinisil: thx :)
<infinisil> :)
tadni has joined #nixos
worldofpeace has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Enzime opened pull request #43146 → mumble_git: 2018-01-12 -> 2018-07-01 → https://git.io/fNvB8
<__monty__> clever: What extra intelligence exactly? Do you mean subdomains could redirect to different servers? But I can't address the toxvpn host with a domain name, or can I?
<{^_^}> [nixpkgs] @Infinisil merged pull request #43136 → zookeeper: server fixes → https://git.io/fNvYu
<{^_^}> [nixpkgs] @Infinisil pushed 3 commits to master: https://git.io/fNvB4
<clever> __monty__: put a /etc/hosts entry to map many subdomains to the toxvpn ip
<clever> __monty__: then configure nginx to mux it out to the right LAN ip on the remote end
<__monty__> clever: One step further, can I get zeroconf across LANs with toxvpn? ; )
<{^_^}> [nixpkgs] @Infinisil merged pull request #43039 → acpica-tools: 20180531 -> 20180629 → https://git.io/fbpnF
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fNvBu
<clever> __monty__: ive tried, for avahi doesnt listen on that interface for me
appleclusters has quit [Quit: Connection closed for inactivity]
rcshm has quit [Ping timeout: 240 seconds]
<__monty__> Darn.
neof0x has quit [Ping timeout: 260 seconds]
neof0x has joined #nixos
blankhart has quit [Ping timeout: 264 seconds]
shah^ has quit []
<{^_^}> [nixpkgs] @dotlambda merged pull request #43083 → pythonPackages.sounddevice: fixed portaudio library path → https://git.io/fbhxC
<{^_^}> [nixpkgs] @dotlambda pushed commit from @c0deaddict to master « pythonpackages.sounddevice: 0.3.9 -> 0.3.11 and fix for portaudio library path (#43083) »: https://git.io/fNvBV
hph^ has joined #nixos
igo95862 has joined #nixos
worldofpeace has joined #nixos
<jtojnar> should not adding package to systemd.packages be enough for systemctl to see a user service?
<{^_^}> [nixpkgs] @Infinisil merged pull request #42980 → nagios: 4.4.0 -> 4.4.1 → https://git.io/fbx8g
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fNvB5
<worldofpeace> hmm
gem has joined #nixos
<gem> Hey
<gem> When trying to run xonotic, I get the following error: Unable to load GL driver "(null)": Failed loading libGL.so.1: libGL.so.1: cannot open shared object file: No such file or directory
<gem> Is there anything I can do to fix it
foldingcookie has joined #nixos
<worldofpeace> jtojnar: looking at your changes now :)
alex`` has quit [Ping timeout: 260 seconds]
<worldofpeace> jtojnar: do you mean systemd.user.services?
alex`` has joined #nixos
<jtojnar> worldofpeace: no, systemd.packages should make the package's units available to the system
<worldofpeace> jtojnar: I just got that a second ago :)
<jtojnar> systemd.user.services is for creating new services
<jtojnar> or maybe modifying existing ones
<worldofpeace> The current one looks fine.
blankhart has joined #nixos
agander has quit [Ping timeout: 265 seconds]
gem has quit [Quit: leaving]
<worldofpeace> jtojnar: yeah I don't get it. That only makes sense.
igo95862 has quit [Read error: Connection reset by peer]
<infinisil> Oh gem is gone already hah
notme has joined #nixos
notme is now known as Guest83109
igo95862 has joined #nixos
<Guest83109> Hello
<Guest83109> Does anyone know how to fix this error - warning: Nix search path entry '$HOME/.nix-defexpr/channels' does not exist, ignoring
<samueldr> it's only a warning; your user doesn't have any channel defined
<Guest83109> samueldr: So is there anything I can do about it?
worldofpeace has quit [Quit: worldofpeace]
<samueldr> I was searching a bit to verify something
<samueldr> maybe only running `nix-channel --update` without adding any would fix it → https://github.com/NixOS/nixpkgs/issues/40165#issuecomment-396429867
<{^_^}> #40165 (by wizzup, open): warning: Nix search path entry '$HOME/.nix-defexpr/channels' does not exist, ignoring
<Guest83109> Yeah, I already saw that. Sadly, it didnt help
worldofpeace has joined #nixos
<samueldr> :/ sorry, I don't really know more, it's safe enough to ignore I believe
<Guest83109> samueldr: Thats fine. As long as it is safe, I'm good
tsm has quit [Quit: Page closed]
<Guest83109> Hey, if I can keep you a bit, I've also been facing some issues with drivers, mainly that it doesnt compile
<worldofpeace> jtojnar: I used your nixos module and It seems to be working (I restart to be sure)
<worldofpeace> jtojnar: bamfdaemon is running
<jtojnar> worldofpeace: yeah, for some reason it does not seem systemd.packages does not seem to propagate changes without restart
<samueldr> Guest83109: don't know if I can help, but always ask, other may
<jtojnar> even if I do systemctl --user daemon-reload
<worldofpeace> hmm graphical-session.target?
<Guest83109> samueldr: Thanks, So I added services.xserver.videoDrivers = ["ati_unfree"] and it failed durring sudo nixos-rebuild switch
Tobba has joined #nixos
Guest83109 has quit [Quit: Page closed]
<{^_^}> [hydra] @jmitchell opened pull request #573 → Fix broken build.x86_64-linux job → https://git.io/fNv0q
<LnL> gchristensen: I generally use { pkgs ? import nixpkgs {}, nixpkgs ? <nixpkgs> }: ...
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
xy3_ has joined #nixos
<jtojnar> is
<jtojnar>
<jtojnar> is anybody working on pulseaudio 12.0?
<samueldr> jtojnar: don't think so, at least no one talked about it on IRC
aarvar has joined #nixos
<samueldr> (just re-checked the logs for pulseaudio)
xorkle has quit [Quit: ZNC 1.7.0 - https://znc.in]
<Taneb> OK, this USB writing is not going well
<Taneb> I'm getting a different hash each time
<samueldr> Taneb: writing what and how?
<Taneb> samueldr: a NixOS installer ISO, using dd or cp
<Taneb> A few hours ago I asked about a problem I had reinstalling, and it turned out my USB had been written incorrectly
<samueldr> you're hashing the iso file, right? the block device (usb drive; /dev/sdX) cannot be hashed that way
leotaku23 has joined #nixos
* samueldr is looking at earlier discussion
<samueldr> Taneb: just as a sanity check, you already used that same usb drive to boot a linux installer before?
<Taneb> Yeah, I think about a year ago
<Taneb> Although it's been sitting in direct sunlight for a while, which probably isn't great
leotaku23 has quit [Remote host closed the connection]
<samueldr> do you have another usb drive to use? that would help rule out the drive being at fault
<Taneb> I don't, but I can go buy one
<samueldr> ah, you ran `sha256sum` on the first XX bytes of the drive, that should work to verify then
<samueldr> the drive may be dying
<Taneb> Yeah, it'd definitely concievable
<samueldr> just checked and the current (minimal) iso does boot, so it's likely a usb drive issue :(
<Taneb> Thanks for checking
<samueldr> if you have a rooted android phone, drivedroid can be used to boot the nixos iso
<Taneb> I'll just buy a new USb
<samueldr> sure! just pointing out an alternate immediate method :)
<samueldr> (it got me out of a tight situation twice already)
agander has joined #nixos
phdoerfler has quit [Quit: Leaving.]
orivej has quit [Ping timeout: 245 seconds]
blankhart has quit [Ping timeout: 248 seconds]
dhess has quit [Quit: ZNC - https://znc.in]
<{^_^}> [hydra] @domenkozar merged pull request #573 → Fix broken build.x86_64-linux job → https://git.io/fNv0q
<{^_^}> [hydra] @domenkozar pushed commit from @jmitchell to master « Fix broken build.x86_64-linux job (#573) »: https://git.io/fNvEM
juhe has quit [Ping timeout: 240 seconds]
frank87 has joined #nixos
Thra11 has joined #nixos
justanotheruser has joined #nixos
phdoerfler has joined #nixos
orivej has joined #nixos
<rotaerk> d'oh, git bisecting nixpkgs
<rotaerk> think I hit a commit without a binary cache..
<rotaerk> time for a looong build
lnikkila has quit [Ping timeout: 240 seconds]
<LnL> you can try using git bisect skip to get past it
<rotaerk> hmm ah
Oogieboogie has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/d925fe3f81c (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
fasdfadsfadasd has joined #nixos
raynold has quit [Quit: Connection closed for inactivity]
<fasdfadsfadasd> Hey
<fasdfadsfadasd> When trying to run xonotic, I get the following error: Unable to load GL driver "(null)": Failed loading libGL.so.1: libGL.so.1: cannot open shared object file: No such file or directory Quake Error: Video modes failed
igo95862 has quit [Quit: igo95862]
<fasdfadsfadasd> I tried to seperatly install opengl, but it didnt do anything to help fix it
blym has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @Ma27 opened pull request #43147 → nixos/nixos-option: don't abort in case of evaluation errors → https://git.io/fNvum
takeda has joined #nixos
<infinisil> fasdfadsfadasd: try nixGL maybe
<infinisil> ,nixGL
<{^_^}> nixGL is a bunch of wrappers for getting OpenGL programs to work for your graphics card, https://github.com/guibou/nixGL
tadni has quit [Remote host closed the connection]
<infinisil> For some reason these opengl errors have been popping up more often here recently
<infinisil> NixOS by default should handle opengl though, via drivers in /run/opengl-drivers
<worldofpeace> Where's the source to wrapGAppsHook?
<andi-> worldofpeace: pkgs/build-support/setup-hooks/wrap-gapps-hook.sh
<worldofpeace> andi-: thank you :)
freeman42x]NixOS has joined #nixos
lnikkila has joined #nixos
<fasdfadsfadasd> infinisil: Thanks for the suggestion, but I have amd cards :(
<infinisil> fasdfadsfadasd: first sentence in nixGL's readme: "Works with Nvidia cards (with bumblebee) and most of the card supported by mesa (such as Intel, AMD and nouveau using the free driver)"
myshoe has quit [Quit: Lost terminal]
<fasdfadsfadasd> I saw that, and I tried using the mesa solution, it didnt work. I checked the readme and under limitations it said Does not work now for AMD drivers because I dont' have the hardware.
<fasdfadsfadasd> Did I do something wrong? I'm still new to nix
<infinisil> Are you using some amd driver then? Are you on nixos?
<fasdfadsfadasd> infinisil: Im on nixos and using a ati driver
<infinisil> ,locate libGL.so.1
<{^_^}> Found in packages: libglvnd, primusLib, libGLU_combined, xorg_sys_opengl
<infinisil> fasdfadsfadasd: Try setting `hardware.opengl.extraPackages = [ pkgs.libGL ];`
<fasdfadsfadasd> ok
* infinisil wonders why {^_^}'s nix-locate cache doesn't list libGL
<fasdfadsfadasd> it works now!
<fasdfadsfadasd> Thanks so much
<infinisil> :D
<infinisil> Actually
<infinisil> The problem is in the package
lnikkila has quit [Ping timeout: 264 seconds]
juhe has joined #nixos
<infinisil> fasdfadsfadasd: Can you test a patch that should fix it without the configuration.nix change?
<fasdfadsfadasd> Sure, why not?
xy3_ has quit [Ping timeout: 248 seconds]
<infinisil> fasdfadsfadasd: I'll mention you when it's ready (gonna try something new out)
<fasdfadsfadasd> infinisil: Sure, I just took a look at the package and can you do something with patchchef to add the libGL binary?
<juhe> Hi, I'm trying to get systemd-networkd handle the network configuration, I see systemd-networkd executable is running, though networkctl says it is not and all interfaces are unmanaged. Is systemd-networkd actually supported in NixOS?
xy3_ has joined #nixos
<infinisil> fasdfadsfadasd: Indeed
<infinisil> Wanted to try out cachix to cache the build, but the xonotic binary takes so long to even download..
<infinisil> fasdfadsfadasd: This would be the patch: https://gist.github.com/121a1625448ccc9b0aa98f9c203538ba
NinjaTrappeur has quit [Ping timeout: 245 seconds]
stepcut has joined #nixos
<fasdfadsfadasd> infinisil: worked!
<infinisil> You already rebuilt the whole derivation with that patch??
telent has joined #nixos
<mpickering> Can anyone give some pointers about how to use ipython/jupyter with nix?
<fasdfadsfadasd> infinisil: Yeah, I just changed the source tho
<fasdfadsfadasd> infinisil: I didnt want to redownload the whole thing
* infinisil is confused
<infinisil> Did you not rebuild it with nix?
<infinisil> fasdfadsfadasd:
<fasdfadsfadasd> No...
<fasdfadsfadasd> Ohh wait..
<fasdfadsfadasd> Im dumb
<fasdfadsfadasd> I use nix-build, right, and then install the result
<{^_^}> [nixpkgs] @ttuegel opened pull request #43148 → wrapFirefox: select correct browserpass output → https://git.io/fNvzW
pie__ has quit [Remote host closed the connection]
pie__ has joined #nixos
<clever> fasdfadsfadasd: you can also nix-env -f foo.nix -iA attribute
<fasdfadsfadasd> clever: Thanks
<__monty__> ,unique
<{^_^}> __monty__: Did you mean unfree?
<{^_^}> You cannot install your unfree software? See https://nixos.wiki/wiki/FAQ/unfree
<__monty__> What's the locate bot syntax again?
<infinisil> ,locate
<{^_^}> Use ,locate <filename> to find packages containing such a file. Powered by nix-index (local installation recommended).
phdoerfler has quit [Quit: Leaving.]
<__monty__> Ah, >.<
<__monty__> ,locate unique
<{^_^}> Found in packages: john, beluga, libunique, libunique3, factor-lang
<fasdfadsfadasd> infinisil: Ok, it finished installing. I should get rid of the line in the configuration.nix right?
juhe has quit [Remote host closed the connection]
<infinisil> Yeah
<fasdfadsfadasd> infinisil: and... it didnt work for sdl
<infinisil> sdl?
<fasdfadsfadasd> same with glx
<infinisil> Ah
<fasdfadsfadasd> infinisil: Should I put in the line and see if it works?
<infinisil> You applied the patch to a nixpkgs checkout, built the result, it downloaded this huge source, built it, and you ran it?
<__monty__> Anyone know how to show only matching patterns with ripgrep and then filter out duplicates? I've got the first step but ripgrep is trying to be smart when it comes to piping : /
<fasdfadsfadasd> infinisil: I took the default.nix file from github, applied the patch, built it with nix-build, installed it with nix-env and then it did not install a huge source
<infinisil> __monty__: -v and then pipe through sort -u
<fasdfadsfadasd> I mean build a huge source
<fasdfadsfadasd> Sorry
<fasdfadsfadasd> It downloaded it, and installed it
<fasdfadsfadasd> but did not build anything
<infinisil> Yeah then it didn't work, hold on
<__monty__> infinisil: -v inverts matches, that's not what I want.
<infinisil> Oh, -o
netixx has joined #nixos
<__monty__> infinisil: rg '.*< (t.*)>.*' -i -N -r '$1' This gets me the matches I want but when piped to sort -u rg prefixes everything with the path and shows the matching line entirely.
<__monty__> -o shows too much.
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
igo95862 has joined #nixos
fasdfadsfadasd has quit [Quit: Page closed]
<infinisil> __monty__: Ah, --no-filename
<__monty__> infinisil: Ah, thanks. That's exactly what I wanted searching the manpage for "path" wasn't helping.
<illegalprime[m]> Hi, I'm trying to build libphonenumber (uses plain ol' cmake + make), I get all the way to the install phase but then nix complains it cannot create /var/empty/local/include/phonenumbers. How should I write a derivation for a shared library?
igo95862 has quit [Quit: igo95862]
<clever> illegalprime[m]: it needs to install everything to $out
<clever> illegalprime[m]: headers would be in $out/include/
<illegalprime[m]> should I set the installphase to `make install prefix=$out`? Shouldn't the default builder do this already?
<clever> illegalprime[m]: you can also set installFlags = [ "prefix=$out" ];
* samueldr is confused
<illegalprime[m]> clever: thank you! its building...
<{^_^}> [nix] @volth opened pull request #2282 → fix build without `--enable-gc' → https://git.io/fNvgL
<samueldr> I got libhybris to build, the issue with `.a` being in $out and `.la` in $lib was worked around using : https://github.com/samueldr/mobile-nixos/blob/package/libhybris/overlay/overlay.nix#L10-L13
<samueldr> but, somehow it wasn't needed for cross-compiling, thus the gnarly if here: https://github.com/samueldr/mobile-nixos/blob/package/libhybris/overlay/overlay.nix#L21-L28
knupfer has joined #nixos
<samueldr> libhybris builds and seems to want to work...
<samueldr> ... except when used as input for another package
<samueldr> then it tries to build it again with *something different* (obviously) and fails
Xiro` has joined #nixos
netixx has quit []
jtojnar has quit [Remote host closed the connection]
freeman42x]NixOS has quit [Ping timeout: 240 seconds]
jtojnar has joined #nixos
jtojnar has quit [Remote host closed the connection]
jtojnar has joined #nixos
winem_ has joined #nixos
chreekat has joined #nixos
<illegalprime[m]> clever: turns out I had to set `cmake -DCMAKE_INSTALL_PREFIX=$outo`
lnikkila has joined #nixos
wgas has joined #nixos
<samueldr> trying to understand the issue, the .drv differ in this way https://gist.github.com/samueldr/8b5524cef0b7957b9d0ca98dbc3daee2
<Taneb> Right, let's try this again
graphene has quit [Remote host closed the connection]
<samueldr> the environment mismatch seems to be only from the path of the wrapper
graphene has joined #nixos
<Taneb> Success! A new USB stick worked perfectly
<samueldr> good and bad news then, what you were doing was right, newly dud hardware
andymandias has quit [Ping timeout: 265 seconds]
NinjaTrappeur has joined #nixos
<{^_^}> [nixpkgs] @Infinisil merged pull request #42103 → glava: init at v1.4.5 → https://git.io/vh1Ss
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fNv2e
<infinisil> ,locate bin browserpass
<{^_^}> Found in packages: browserpass.bin
agander has quit [Ping timeout: 260 seconds]
<infinisil> ,locate bin tetris
<{^_^}> Found in packages: netbsd.games, haskellPackages.tetris
<infinisil> :O
andymandias has joined #nixos
lnikkila has quit [Ping timeout: 264 seconds]
freeman42x]NixOS has joined #nixos
joepie91_to_go has joined #nixos
<jgt> I have a simple enough NixOps question, if anyone is interested: https://stackoverflow.com/q/51226785/704015
<andi-> jgt: git-crypt or git-secret and then import the file in your nixops expression. That will solve the isuse in the repository but not within the nix store.
MarcWeber has quit [Remote host closed the connection]
<jgt> andi-: yeah, that sounds like it could work. I've used git-crypt a fair bit before. Can Nix import just a single string?
<worldofpeace> ,locate bin scour
<{^_^}> Couldn't find any packages
<andi-> jgt: yes, if you make it a valid string (echo '"fooo"' > /tmp/myfile; nix repl ... import /tmp/myfile)
hhes has quit [Ping timeout: 265 seconds]
elasticdog has quit [Quit: WeeChat 2.0.1]
<jgt> Ok, that's a good idea. It's then very easy to store all secret key/value pairs in a set, and import all in one go.
<jgt> andi-: Thanks!
<infinisil> jgt: Personally I'm just using a private git repository for all private things
<infinisil> I guess it's still not encrypted on my local disk, but at least it's not in my public repo
<worldofpeace> ^
<jgt> infinisil: That's what I'm doing too, but it's becoming more frequent that I'll share repos with others
<jgt> I've been storing secrets in the clear, but in private repos for a couple of years
hhes has joined #nixos
<jgt> I thought it'd be a good time to finally stop doing that :P
robstr has quit [Quit: WeeChat 1.9.1]
Goblin_ has joined #nixos
<Goblin_> I'm trying to add my ssh public key to `configuration.nix`, how do I paste it to one line instead of multiple lines?
<samueldr> think I figured it out, using nativeBuildInput when it probably should have been buildInput :/
neeasade has joined #nixos
<infinisil> Goblin_: That really all depends on your editor and OS, just remove the newlines or so
<__monty__> Goblin_: Or use a multiline string?
<Goblin_> infinisil: ok so there is a way to do it, do you by chance use nano?
<samueldr> infinisil: possibly the terminal used
<samueldr> Goblin_: you copied to the X clipboard or using the editor?
<samueldr> and then pasted through the terminal?
<__monty__> Goblin_: cat pubkey | paste -sd '' should do it.
<LnL> multiline ssh *public* key?
<Goblin_> I used cat, and copied the public key from the terminal
ambro718 has quit [Quit: Konversation terminated!]
mkaito has quit [Remote host closed the connection]
<LnL> it might be long depending on the bits, but only the private key has multiple lines
<worldofpeace> where do python applications usually go in tree?
mkaito has joined #nixos
mkaito has quit [Changing host]
mkaito has joined #nixos
<__monty__> cat pubkey | paste -sd '' | xclip -s c -i will copy it to your clipboard without any coincidental newlines from printing to the terminal.
<__monty__> LnL: Public keys are longer than private keys though so how does that make sense?
<__monty__> Ah, because it's just a fingerprint?
<infinisil> worldofpeace: I think wherever it makes sense, without regards to it being python
<worldofpeace> infinisil: ahh right
viric has joined #nixos
<Goblin_> figured it out
<Goblin_> I still can't ssh however, its denying me access
<Goblin_> even with `ssh -i id_rsa`
<{^_^}> [nixpkgs] @tadfisher opened pull request #43149 → zoom-us: set qt plugin paths in wrapper → https://git.io/fNvat
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
justanotheruser has quit [Quit: WeeChat 2.0]
<Goblin_> got it finally
Goblin_ has quit [Quit: Page closed]
<LnL> __monty__: not sure what you mean, why would a public key be longer?
drewr has joined #nixos
<clever> illegalprime[m]: that would go under cmakeConfigureFlags i believe
<illegalprime[m]> sweet, didn't know about that
<clever> illegalprime[m]: adding cmake to the buildInputs will automatically change the default configurePhase, and the new one obeys that var
<clever> you can grep nixpkgs for examples, and how it works
joepie91_to_go has quit [Ping timeout: 260 seconds]
raynold has joined #nixos
endformationage has quit [Quit: WeeChat 1.9.1]
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
<__monty__> LnL: Well the public key is modules + exponent and the private is just an exponent (at least for rsa).
<__monty__> LnL: Looking into the pem files though it seems there's just way more information included in the private key so CRT can be applied, which is very vulnerable to side-channel attacks afaik though. Not saying that matters all the time, just that it matters.
drakonis has quit [Read error: Connection reset by peer]
lonokhov has joined #nixos
<jtojnar> worldofpeace: I wrote a bit about wrapGAppsHook in this commit: https://github.com/NixOS/nixpkgs/issues/16285#ref-commit-958c46c
<{^_^}> #16285 (by bennofs, open): Document wrapGAppsHook
<jtojnar> it might be useful for you
<worldofpeace> jtojnar: Thanks I was looking for that commit :D
<worldofpeace> i'm seeing an app want libsignon-glib, I'm praying that's a misstype because I don't want to package the qt ones too.
<worldofpeace> :P
<jtojnar> that will be messy :P
jgt has quit [Ping timeout: 256 seconds]
<jtojnar> most likely it is not a mistype, since gsignon is still pretty new compared to signon
<jtojnar> hopefully, the app can build without
<worldofpeace> If a plugin needs it I will be disabling it :)
<worldofpeace> yep
ambro718 has joined #nixos
<{^_^}> [nixpkgs] @jtojnar opened pull request #43150 → doc: add GNOME → https://git.io/fNvVZ
<jtojnar> I opened a PR but the documentation is still far from ready
Rusty1_ has joined #nixos
<worldofpeace> Very needed
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43151 → wayland-protocols: 1.14 -> 1.15 → https://git.io/fNvVr
rihards has joined #nixos
jgt has joined #nixos
<worldofpeace> Yep clean all pollution :P
<worldofpeace> jtojnar: is 'libunity' 'libappindicator*'?
mounty has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43152 → vim-vint: 0.3.18 -> 0.3.19 → https://git.io/fNvVH
<worldofpeace> jtojnar: nvm it's not packaged :(
drakonis has joined #nixos
drakonis has quit [Read error: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number]
drakonis has joined #nixos
<{^_^}> [nixpkgs] @dotlambda opened pull request #43153 → home-assistant: 0.72.1 -> 0.73.0 → https://git.io/fNvwI
endformationage has joined #nixos
lnikkila has joined #nixos
knupfer has quit [Remote host closed the connection]
nallar has joined #nixos
Ross has quit [Ping timeout: 248 seconds]
nallar is now known as Ross
Cale has quit [Remote host closed the connection]
Cale has joined #nixos
__monty__ has quit [Quit: leaving]
ambro718 has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @Infinisil merged pull request #42971 → pdd: 1.2 -> 1.3 → https://git.io/fbxc9
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fNvre
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43154 → texstudio: 2.12.8 -> 2.12.10 → https://git.io/fNvrJ
tzemanovic has quit [Remote host closed the connection]
phreedom has quit [Ping timeout: 250 seconds]
phreedom has joined #nixos
<rotaerk> yay, narrowed down to a range of 3 nixpkgs commits that caused my problem
<rotaerk> can't narrow down any more than that through simple testing because the two earlier commits of those three ... fail to build
<infinisil> Shouldn't be too hard to guess which one is causing it usually
<rotaerk> git diff 6467c94c8d2d99c13d594037295722c38e916312 6bf1421f13d667c2997b67728cf777c6a70716a5
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43155 → syncplay: 1.5.3 -> 1.5.4 → https://git.io/fNvrZ
<rotaerk> it's from back in March
simukis has quit [Ping timeout: 256 seconds]
coot has quit [Quit: coot]
<rotaerk> though, I'm not seeing anything that explains the specific problem I'm getting...
<rotaerk> oh dammit, my testing criteria were a little wrong
<rotaerk> basically, what went wrong was before upgrading, my program ran fine. after upgrading, my program threw a libGL symbol lookup error
<rotaerk> after some digging I noticed that this is because before the upgrade, the RUNPATH ELF dtag was used, and after the upgrade the RPATH ELF dtag was used
<rotaerk> during my testing, I simply looked for the symbol lookup error, didn't check the dtag
<rotaerk> but in this "last good revision", what I'm seeing is one where RPATH is used *but* no symbol lookup error
<rotaerk> but I think the *real* cause of my problem is the switch from RUNPATH to RPATH
rcshm has joined #nixos
jmeredith has quit [Quit: Connection closed for inactivity]
lonokhov has quit [Quit: WeeChat 2.0]
Maxdamantus has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @Infinisil merged pull request #42970 → openshot-qt: 2.4.1 -> 2.4.2 → https://git.io/fbxct
<{^_^}> [nixpkgs] @Infinisil pushed 3 commits to master: https://git.io/fNvro
Maxdamantus has joined #nixos
telent has quit [Ping timeout: 264 seconds]
<jtojnar> worldofpeace: I think it was packaged but it was removed
NinjaTrappeur has quit [Ping timeout: 245 seconds]
<worldofpeace> jtojnar: deprication?
<jtojnar> worldofpeace: we have libappindicator-gtk3
NinjaTrappeur has joined #nixos
<jtojnar> and libindicator-gtk3
<{^_^}> [nixpkgs] @Infinisil merged pull request #42972 → lxqt.pcmanfm-qt: 0.12.0 -> 0.13.0 → https://git.io/fbxcj
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fNvri
<worldofpeace> jtojnar: was it just really annoying or broken?
<jtojnar> worldofpeace: actually, I do not recall
<jtojnar> worldofpeace: I think I removed libunity because it was no longer maintained and did not compile with recent Vala
<jtojnar> IIRC libunity was used for the progress bars in unity
<worldofpeace> jtojnar: yeah it appears that way. I think it found a maintainer a 6 months later :)
<{^_^}> [nixpkgs] @Infinisil merged pull request #42954 → libaom: 0.1.0 -> 1.0.0 → https://git.io/fdP0f
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fNvr9
<worldofpeace> fedora seems to be using version 7
<worldofpeace> * 7.0 series
jperras has joined #nixos
rihards has quit [Quit: rihards]
<{^_^}> [nixpkgs] @Infinisil closed pull request #42990 → libsForQt5.libopenshot: 0.1.9 -> 0.2.0 → https://git.io/fbxBB
<{^_^}> [nixpkgs] @dotlambda merged pull request #43154 → texstudio: 2.12.8 -> 2.12.10 → https://git.io/fNvrJ
<{^_^}> [nixpkgs] @dotlambda pushed commit from @r-ryantm to master « texstudio: 2.12.8 -> 2.12.10 (#43154) »: https://git.io/fNvrh
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
Thra11 has quit [Quit: WeeChat 1.4]
<jtojnar> worldofpeace: is it mandatory?
xy3_ has quit [Ping timeout: 248 seconds]
<worldofpeace> jtojnar: I think absolutely.
<worldofpeace> jtojnar: It provides the ayatana indicators and other things
<worldofpeace> jtojnar: fortunately it looks kinda easy
<jtojnar> we can always re-add it
<jtojnar> and update it
<{^_^}> [nixpkgs] @Infinisil merged pull request #42953 → sonarr: 2.0.0.5163 -> 2.0.0.5228 → https://git.io/fdKRt
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fNvoY
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43156 → sysbench: 1.0.14 -> 1.0.15 → https://git.io/fNvo3
<worldofpeace> doing that now separately
Ariakenom has quit [Quit: Leaving]
jb55 has quit [Quit: WeeChat 2.1]
andymandias has quit [Ping timeout: 240 seconds]
testuser has quit [Ping timeout: 268 seconds]
slyfox has quit [Read error: Connection reset by peer]
andymandias has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43157 → singularity: 2.5.1 -> 2.5.2 → https://git.io/fNvoV
slyfox has joined #nixos
Ashy has joined #nixos
<Ralith> where is `sourceRoot` documented
<clever> Ralith: setup.sh i think is the only place
<Ralith> that would not constitute documentation even if it did have comments discussing it, which it doesn't :P
<samueldr> Ralith: ^
<Ralith> thanks