gchristensen changed the topic of #nixos to: The Nix Ecosystem, https://nixos.org | NixOS: https://nixos.org/nixos/download.html | Nix: https://nixos.org/nix/download.html | Logs: https://logs.nix.samueldr.com/nixos/ | #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/7c76c8ce322 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
Stuck_ has quit [Quit: leaving]
polman has quit [Ping timeout: 245 seconds]
kleisli has joined #nixos
polman has joined #nixos
DariusTheMede has quit [Ping timeout: 245 seconds]
gh30rgh3 has left #nixos ["User left"]
<{^_^}> [nixpkgs] @averelld opened pull request #67803 → tzdata: 2019a -> 2019b → https://git.io/fjxxk
<{^_^}> [nixpkgs] @averelld opened pull request #67804 → iso-codes: 3.79 -> 4.3 → https://git.io/fjxxt
<{^_^}> [nixpkgs] @marsam merged pull request #67600 → postgresqlPackages.plv8: 2.3.12 -> 2.3.13 → https://git.io/fjxeo
<{^_^}> [nixpkgs] @marsam pushed 4 commits to master: https://git.io/fjxxZ
alex`` has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @Infinisil opened pull request #67805 → nix-prefetch-git: Remove some pack file non-determinism → https://git.io/fjxxE
iqubic has quit [Ping timeout: 276 seconds]
iqubic has joined #nixos
Miyu-chan has quit [Quit: WeeChat 1.6]
thc202 has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @aanderse merged pull request #67668 → include-what-you-use: 0.10 -> 0.12 → https://git.io/fjxWj
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/fjxpU
freeman42x[NixOS has quit [Quit: Leaving]
freeman42x[NixOS has joined #nixos
Miyu-saki has joined #nixos
drakonis__ has quit [Ping timeout: 245 seconds]
mjsir911 has joined #nixos
<Miyu-saki> Has anyone tried using mosh with nixops?
<{^_^}> [nixpkgs] @flokli merged pull request #63773 → installation-device.nix: explain sshd usage, don't include clone-config → https://git.io/fjrRD
<{^_^}> [nixpkgs] @flokli pushed 5 commits to master: https://git.io/fjxpc
betawaffle has quit [Quit: Oh noes, my ZNC!]
<{^_^}> [nixpkgs] @aanderse merged pull request #67583 → dino: 2019-02-06 -> 2019-08-27 → https://git.io/fjAAE
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/fjxpC
betawaffle has joined #nixos
fusion809 has joined #nixos
<EsperLily> ,locate libtcmalloc_minimal.so.4.
<{^_^}> Found in packages: gperftools
<EsperLily> isn't that the syntax for the bot?
<EsperLily> oh there it goes
mjsir911 has quit [Remote host closed the connection]
<Miyu-saki> TIL, nixops ssh doesn't handle this properly:
<Miyu-saki> nixops ssh -d mc-do aho -- bash -c '[ 1 -eq 2 ]'
<Miyu-saki> 1: line 0: [: missing `]'
<Miyu-saki> This works though:
<Miyu-saki> nixops ssh -d mc-do aho "[ 1 -eq 2 ] || 3"
<Miyu-saki> bash: 3: command not found
<Miyu-saki> This seems like the wrong behavior.
<averell> no, that is basically just not enough quotes
<averell> the [ 1 -eq 2 ] is one argument to your local shell but 5 remote
<Miyu-saki> Yes, hence why I think it's the wrong behavior.
<averell> of ssh or shell arguments in general? maybe.
<averell> it's not a nix thing anyway.
<Miyu-saki> Of `nixops ssh specifically`.
ryantrinkle has quit [Ping timeout: 268 seconds]
<Miyu-saki> `ssh localhost foo bar baz` should be the same as running `foo bar baz`, quotations included.
mjsir911 has joined #nixos
<Miyu-saki> Okay, huh. I'm wrong
<Miyu-saki> Well that's embarrassing.
<Miyu-saki> Great, now I'm doubting my knowledge of shell arguments.
mjsir911 has quit [Remote host closed the connection]
polman has quit [Ping timeout: 245 seconds]
polman has joined #nixos
Wizek has quit [Quit: Connection closed for inactivity]
siiky has quit [Quit: leaving]
<{^_^}> [nixpkgs] @rnhmjoj opened pull request #67806 → arx-libertatis: 2019-02-16 -> 2019-07-22 → https://git.io/fjxp0
siiky has joined #nixos
m0rphism1 has quit [Ping timeout: 268 seconds]
<Miyu-saki> Yes! I got mosh + nixops to work!
<aanderse> Miyu-saki: neat
<aanderse> the nixos backend?
<Miyu-saki> aanderse: What do you mean?
<aanderse> i assume you mean your nixops machine is able to connect to nixops controlled machines via mosh, instead of ssh?
<craige> That's interesting Miyu-saki - mosh + nixops has given me nothing but grief. how did you do it?
ng0_ has joined #nixos
<Miyu-saki> craige: Patching the source code lol
<craige> ha! Mosh or NixOps!
slack1256 has joined #nixos
<Miyu-saki> Mosh.
<craige> Good yo know. Nice work! Pushing it upstream?
<Miyu-saki> craige: aanderse: I basically changed the ordering of how mosh builds its argument list.
<Miyu-saki> my @exec_argv = ( @ssh, @sshopts, $userhost, '--', $ssh_connection . "$server " . shell_quote( @server ) );
<craige> :-)
<Miyu-saki> Normally, that will run `nixops ssh -d foo SSH_OPTS machine
<craige> Miyu-saki++
<{^_^}> Miyu-saki's karma got increased to 1
<Miyu-saki> Now, you can switcheroo the userhost and the sshopts. And that will do `nixops ssh -d foo machine SSH_OPTS ...`
<Miyu-saki> Which is the format nixops expects.
<aanderse> :)
ng0 has quit [Ping timeout: 260 seconds]
<Miyu-saki> I don't think this should be pushed upstream though, because `ssh foo host SSH_OPTS` will cause a lot of breakage. :P
<Miyu-saki> I'll just make a `nixops-mosh` gist.
* craige discovers why phoc and phosh have not been packaged yet :-)
<Miyu-saki> What's phosh? :o
<Miyu-saki> Ohhh
<Miyu-saki> Cool. :o
<Miyu-saki> OTOH, Wayland. :/
<Miyu-saki> Should be good for the target though.
abathur has joined #nixos
ng0_ has quit [Quit: Alexa, when is the end of world?]
orivej has quit [Ping timeout: 244 seconds]
boxscape has quit [Ping timeout: 245 seconds]
ris has quit [Ping timeout: 245 seconds]
<iqubic> I will still use X, until my current WM is ported to Wayland
Guest1215 is now known as benley
<Miyu-saki> bash nixops-mosh-adaptor.sh -d deployment -a -b -c machine -- bash
<Miyu-saki> -d deployment machine -a -b -c -- bash
<Miyu-saki> There we go. :)
oborot has joined #nixos
<Miyu-saki> Holy. I can't believe that it actually works lmao
<Miyu-saki> Okay, my mind's broken. This is way too jerry-rigged lol.
<Miyu-saki> And I love it.
DariusTheMede has joined #nixos
<Miyu-saki> :)
<Miyu-saki> No patching this time, and the scope is localized.
<aanderse> ah cool
freeman42x[NixOS has quit [Remote host closed the connection]
<Miyu-saki> Okay, that's honestly working better than I'd expect it to have.
ryantrinkle has joined #nixos
jmeredith has quit [Quit: Connection closed for inactivity]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/f1f50c10e5e (from 17 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<craige> Miyu-saki++
<{^_^}> Miyu-saki's karma got increased to 2
<{^_^}> [nixpkgs] @aanderse merged pull request #67711 → olive-editor: 0.1.0 -> 0.1.1 → https://git.io/fjxap
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/fjxp7
<craige> I'm build an app I've just packaged for which meson requires a git submodule to be in place. I've been unable to find any examples of this being used with a default.nix for a package before but I'm sure it must have. Is anyone aware of an examples I could take a look at?
<Miyu-saki> That seems a bit complicated.
<infinisil> craige: fetchSubmodules = true
<infinisil> In fetchFromGitHub
<Miyu-saki> ++
<Miyu-saki> Seems like fetchgit, the nixpkgs fetcher, also fetches submodules by default.
<craige> ah, too easy, thanks infinisil!
<Miyu-saki> > builtins.functionArgs pkgs.fetchgit
<{^_^}> 'functionArgs' requires a function, at (string):263:1
<Miyu-saki> I'm pretty sure that's a function. :(
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/8c7c18992f6 (from 14 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<Miyu-saki> Oh, it got callPackaged, ofc.
<Miyu-saki> Took me way too long to get this.
<Miyu-saki> > builtins.functionArgs (pkgs.fetchgit.__functor pkgs.fetchgit)
<{^_^}> { branchName = true; deepClone = true; fetchSubmodules = true; leaveDotGit = true; md5 = true; name = true; postFetch = true; preferLocalBuild = true; rev = true; sha256 = true; url = false; }
<Miyu-saki> :D
felixfoertsch23 has joined #nixos
felixfoertsch has quit [Ping timeout: 276 seconds]
<infinisil> Miyu-saki: Very related is https://github.com/NixOS/nixpkgs/pull/47535, which I'm just picking up again
<{^_^}> #47535 (by Infinisil, 47 weeks ago, closed): lib.makeOverridable: Propagate function arguments
<infinisil> And I can also extend it to work for things like fetchurl :D
<Miyu-saki> :o Cool
<Miyu-saki> Yep yep
<Miyu-saki> That means that you can now `lib.callPackage pkg.override` I believe
<Miyu-saki> I mean, don't do that.
<Miyu-saki> But you can.
<infinisil> Can already do that
<infinisil> I think
<infinisil> > callPackage hello.override
<{^_^}> <LAMBDA>
<Miyu-saki> Huh
<Miyu-saki> Wait what
<Miyu-saki> I don't think this works for transplanting one package set to another though.
<Miyu-saki> Err, transplanting one package to another package set.
<Miyu-saki> I think I had some use-case for that. But I think the better solution was to delete it from memory.
<Miyu-saki> infinisil: Somewhat related, but I'm thinking override + CPS would be interesting.
<Miyu-saki> runCont :: Cont r a -> (a -> r) -> r, looks like it abstracts withPackages/callPackage a bit.
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/37c6e329d9e (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<infinisil> I wish I didn't forget how CPS works
<Miyu-saki> Same here TBH.
<Miyu-saki> OTOH, it's pretty much `foo(callback) { ... }
DariusTheMede has quit [Ping timeout: 244 seconds]
<Miyu-saki> Actually, yeah. It does abstract callPackage now that I think about it.
<Miyu-saki> Instead of running `callPackage foo {}` you can just run `callPackage foo`, having {} built-in callPackage.
<Miyu-saki> OTOH, that does sound disastrous, since you now have to find a way to override callPackage.
<{^_^}> [nixpkgs] @veprbl merged pull request #66748 → selinux: 2.7 -> 2.9 → https://git.io/fjdds
emptyfl4sk has joined #nixos
<{^_^}> [nixpkgs] @veprbl pushed 9 commits to staging: https://git.io/fjxhe
lambda-11235 has joined #nixos
joebobjoe has joined #nixos
emptyfl4sk has quit [Ping timeout: 245 seconds]
{`-`} has joined #nixos
<joebobjoe> how do I invoke nix-channel as root on darwin?
<joebobjoe> someone last time said plain sudo doesn't work
<joebobjoe> because macos sudo does not set $HOME
<joebobjoe> now I forgot and I don't have any logs
<samueldr> I think `sudo -i` might be what you need
<craige> Pity that's not in fetchFromGitLab or fetchFromGit, infinisil :-(
<infinisil> craige: Well I think fetchFromGitHub just falls back to fetchgit if submodules are enabled
<jlv> joebobjoe: You could probably set the HOME variable manually
<joebobjoe> jlv: like HOME=blah sudo nix-channel --list?
<jlv> joebobjoe: Ya. If HOME not being set is the issue, that should do it.
<joebobjoe> -i worked
<jlv> :)
<craige> I'll try that one, otherwise I could always fork and copy to GitHub :-)
<craige> Thank infinisil :-)
<joebobjoe> wonder why mac does not set HOME on sudo unless opening a new login shell, is that even posix compliant?
<joebobjoe> I guess they certified macos, so..
<craige> Found an example of that, infinisil - so it should be easy to float up to fetchFromGitLab too.
reallymemorable has joined #nixos
<{^_^}> [nixpkgs] @disassembler merged pull request #66253 → rocksdb: 6.1.2 -> 6.2.2 → https://git.io/fjQwT
<{^_^}> [nixpkgs] @disassembler pushed 2 commits to master: https://git.io/fjxht
iqubic has quit [Remote host closed the connection]
<craige> oh, this is just a horrible path.
<joebobjoe> I think I messed something up on my multi-user install. when I run nix-env on my user I am getting the warning warning: name collision in input Nix expressions, skipping '/Users/joebobjoe/.nix-defexpr/channels_root/nixpkgs'
* craige abandons phoc / phoc and focuses on plasma-mobile instead.
<craige> infinisil++
<{^_^}> infinisil's karma got increased to 133
<joebobjoe> can anyone help? I have both a ~/.nix-defexpr/channels and a ~/.nix-defexpor/channels_root
<craige> That was really helpful.
<infinisil> :)
<craige> once I got the submodule coming down - and there were more errors, I cold see clearly that I was wasting my time trying to port their hacks :-)
<craige> kde-mobile + plus other patches should be an easier path.
hax404 has quit [Ping timeout: 252 seconds]
hax404 has joined #nixos
<joebobjoe> oops I described the issue wrong
<joebobjoe> wait nope. I described correctly
<joebobjoe> has it works now
<joebobjoe> I just `rm -r`d the ~/.nix_defexpr/channels
<joebobjoe> weird that nix-channel --list didn't show anything
<joebobjoe> even though ~/.nix_defexpr/channels/nixpkgs existed
<{^_^}> [nixpkgs] @disassembler merged pull request #66010 → openldap: 2.4.47 -> 2.4.48 → https://git.io/fjHDu
<{^_^}> [nixpkgs] @disassembler pushed 2 commits to staging: https://git.io/fjxhG
iqubic has joined #nixos
<{^_^}> [nixpkgs] @cdepillabout opened pull request #67807 → roxterm: 3.3.2 -> 3.7.5 → https://git.io/fjxhB
<iqubic> So, something weird is going on with EXWM here.
<iqubic> I have no idea why it looks this way.
iqubic has left #nixos ["ERC (IRC client for Emacs 27.0.50)"]
iqubic has joined #nixos
sk8forether has quit [Quit: Connection closed for inactivity]
<iqubic> Anyone know what's up with this?
Arahael has quit [Quit: WeeChat 2.2]
<iqubic> Like, it just doesn't have my theme or anything.
<{^_^}> [nixpkgs] @worldofpeace merged pull request #67802 → monero-gui: cleanup → https://git.io/fjxAA
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjxhR
<iqubic> worldofpeace++
<{^_^}> worldofpeace's karma got increased to 34
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 is now known as Supersonic
<disasm> averell: averelld by chance on GH?
slack1256 has quit [Remote host closed the connection]
<iqubic> So, EXWM has decided to stop working on me.
<iqubic> This is a first.
iqubic has quit [Remote host closed the connection]
<joebobjoe> samueldr++
<{^_^}> samueldr's karma got increased to 112
<Miyu-saki> Should I consider rehauling beam-modules?
<Miyu-saki> Yeah, nah. I don't think I can do that.
iqubic has joined #nixos
reanimus has quit [Quit: Logging off...]
<Miyu-saki> hex-packages.nix hasn't been touched in 2 years tho.
reanimus has joined #nixos
<iqubic> Whats the name of the emacs26 package?
<iqubic> ,locate emacs
<{^_^}> Found in packages: mu, gap, gcl, git, mdk, opa, ott, uim, acl2, atom, ats2, nix1, pass, pydb, root, why3, acgtk, cflow, cheat, cjdns, clisp, cmake, emacs, jruby, lean2, nuweb, pakcs, quilt, rtags, twelf, urweb, abella, auctex, beluga, cscope, erlang, framac, fricas, gambit, gforth, global, ispell, libidn, librep, maxima, meteor, coq_8_5, coq_8_6, coq_8_7, cwebbin, emacs25, enchive, idutils, notmuch, vagrant, brackets, gap-full, jbuilder, and 59 more
<iqubic> why do so many things pull in emacs?
<drakonis> wait, why...
<drakonis> ,locate vim
<{^_^}> Found in packages: gap, vim, vifm, why3, cheat, clisp, cmake, twelf, augeas, espeak, yokadi, vagrant, wesnoth, asciidoc, gap-full, lilypond, picolisp, vimHugeX, clisp-tip, cmake_2_8, cmakeCurses, factor-lang, gap-minimal, taskwarrior, cmakeWithGui, asciidoc-full, r2-for-cutter, base16-builder, vimPlugins.ale, vimPlugins.caw, vimPlugins.vim, cmakeWithQt4Gui, neovim-unwrapped, vimPlugins.gundo, lilypond-unstable, vimPlugins.fzf-vim, and 16 more
<drakonis> idgi
iqubic has quit [Remote host closed the connection]
drakonis1 has joined #nixos
iqubic has joined #nixos
<drakonis1> ??? why does a bunch of packages pull in vim or emacs
<iqubic> Well... Looks like using bleeding edge software can be a bit of an issue sometimes.
<drakonis1> this is not bleeding edge software
<drakonis1> this is poor packaging
drakonis_ has quit [Ping timeout: 245 seconds]
<iqubic> I just tried using compiling emacs 27.0.50 from github, using nix and it failed to read my init file.
<iqubic> Which is a massive issue considering I use EXWM.
drakonis has quit [Ping timeout: 252 seconds]
<Miyu-saki> I'm kinda salty. Nixpkgs doesn't really work well for Erlang/Elixir. :/
<Miyu-saki> I wonder if someone has an overlay out there.
<iqubic> So I have to downgrade to emacs 26 for the time being. That is what I was referring to.
<drakonis1> python is a mixed bag as well
<iqubic> drakonis1: That is why I said bleeding edge software is sometimes buggy.
<samueldr> using ,locate alone searches all paths
<samueldr> so if they have emacs support files
<samueldr> ,locate bin emacs
<{^_^}> Found in packages: emacs, emacs25, emacs25-nox, emacs26-nox
Arahael has joined #nixos
<samueldr> ,locate bin vim
<{^_^}> Found in packages: vim, vimHugeX
smc9115 has joined #nixos
smc9115 has quit [Excess Flood]
<iqubic> is nox supposed to be no x.
<iqubic> As in no X display support?
<samueldr> I think so
reallymemorable has quit [Quit: reallymemorable]
smc9115 has joined #nixos
smc9115 has quit [Excess Flood]
<drakonis1> i'm hard pressed to call it bleeding edge
<iqubic> Hard pressed to call what bleeding edge?
<drakonis1> its been around for quite a while now
<drakonis1> nix
<iqubic> When I said `bleeding edge software` I was referring to emacs 27.0.50 and nothing else.
<Miyu-saki> disasm: I'm honestly surprised that it worked well for them.
<Miyu-saki> manveru: Hi, what's the current status of mixnix?
iqubic has quit [Remote host closed the connection]
iqubic has joined #nixos
<iqubic> Sorry about disconnecting a ton
<iqubic> I just wish that the latest version of emacs worked with my system.
<iqubic> I guess I'll have to use emacs 26 for now.
lunik1 has quit [Quit: :x]
mtn has joined #nixos
<mtn> Is there any standard workflow for working with `setup.py` files in python?
<mtn> Like, some way I can include those dependencies into an environment automatically?
<ldlework> pip2nix?
<mtn> I think this works on `requirements.txt` files, but will take a look
<mtn> I'm not that familiar with `nix`, so I might just be confusing things
<{^_^}> [nixpkgs] @lopsided98 opened pull request #67808 → pythonPackages.grpcio-tools: fix undefined symbol error on armv6l → https://git.io/fjxhX
<{^_^}> [nixpkgs] @disassembler pushed commit from @averelld to master « hexchat: 2.12.4 -> 2.14.2 (#67714) »: https://git.io/fjxh1
<{^_^}> [nixpkgs] @disassembler merged pull request #67714 → hexchat: 2.12.4 -> 2.14.2 → https://git.io/fjxVu
andgate has quit [Remote host closed the connection]
iqubic has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @disassembler merged pull request #66263 → python.pkgs.handout: init at 1.0.0 → https://git.io/fjQK8
<{^_^}> [nixpkgs] @disassembler pushed commit from @averelld to master « python.pkgs.handout: init at 1.0.0 (#66263) »: https://git.io/fjxhD
iqubic has joined #nixos
<Arahael> mtn: One caveat, is that a number of python libraries like to magically install dependencies of their own, using the internet to do so. They can be a problem.
iqubic has quit [Remote host closed the connection]
mtn has quit [Ping timeout: 260 seconds]
Okinan has quit [Quit: Konversation terminated!]
iqubic has joined #nixos
<{^_^}> [nixpkgs] @disassembler merged pull request #67798 → nixos/tests/systemd: Fix x-initrd-mount flakiness → https://git.io/fjxNp
<{^_^}> [nixpkgs] @disassembler pushed commit from @aszlig to master « nixos/tests/systemd: Fix x-initrd-mount flakiness (#67798) »: https://git.io/fjxhF
s34n has quit [Remote host closed the connection]
s34n has joined #nixos
DariusTheMede has joined #nixos
<{^_^}> [nixpkgs] @kalbasit merged pull request #66724 → bazel: cctools runtime dependency on darwin → https://git.io/fjdiR
<{^_^}> [nixpkgs] @kalbasit pushed commit from @aherrmann to master « bazel: cctools runtime dependency on darwin (#66724) »: https://git.io/fjxhb
<{^_^}> [nixpkgs] @Infinisil opened pull request #67809 → lib.makeOverridable: Propagate function arguments → https://git.io/fjxhN
emptyfl4sk has joined #nixos
lambda-11235 is now known as l
Rusty1 has quit [Quit: Konversation terminated!]
l is now known as lambda-11235
emptyfl4sk has quit [Ping timeout: 258 seconds]
lurpahi has quit [Ping timeout: 244 seconds]
lurpahi has joined #nixos
DariusTheMede has quit [Ping timeout: 245 seconds]
<li_matrix> does nixops use a dns resolving hack? im running unbound with dnssec for name resolution
palo1 has joined #nixos
polman has quit [Ping timeout: 258 seconds]
17SABCV8X has joined #nixos
7GHABL3SK has joined #nixos
abathur has quit [Ping timeout: 246 seconds]
palo has quit [Ping timeout: 258 seconds]
palo1 is now known as palo
zupo has joined #nixos
oborot has quit [Ping timeout: 245 seconds]
iqubic has quit [Remote host closed the connection]
Guest161 has joined #nixos
<{^_^}> [nixpkgs] @tadeokondrak opened pull request #67810 → discord-canary: 0.0.93 -> 0.0.95 → https://git.io/fjxjO
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Guest161> Hello, https://nixos.org/nixpkgs/manual/#ssec-unpack-phase says that `It supports the following files by default: ... .... zip`.
<Guest161> However, I get the error `do not know how to unpack source archive /nix/store/wab3qkjcr6gkhgqjf5jnfcl0jhs03c3l-bibibiCodeNewRoman.zip` for what is a zip file. `$file /nix/store/wab3qkjcr6gkhgqjf5jnfcl0jhs03c3l-bibibiCodeNewRoman.zip/nix/store/wab3qkjcr6gkhgqjf5jnfcl0jhs03c3l-bibibiCodeNewRoman.zip: Zip archive data, at least v2.0 to extract`
<Guest161> Could somebody point me in the right direction?
<evanjs> Guest161: is the file greater than zero bytes? Ie not empty?
<Guest161> yes, it actuall extracts fine when I 'keep-failed'
endformationage has quit [Quit: WeeChat 2.5]
<manveru> Miyu-saki: well, someone packaged pleroma with it
zupo has joined #nixos
<Guest161> Here's a pastebin with a file and command should it help you help me- https://pastebin.com/TCVUXqvN
<manveru> I used it for a few small things
<{^_^}> [nixpkgs] @tadeokondrak opened pull request #67811 → neofetch: 6.0.0 -> 6.1.0 → https://git.io/fjxjs
zupo has quit [Client Quit]
<{^_^}> [nixpkgs] @danieldk opened pull request #67812 → maturin: 0.7.0 -> 0.7.1 → https://git.io/fjxjc
drakonis1 has quit [Ping timeout: 264 seconds]
<manveru> Guest161: add unzip to nativeBuildInputs?
tiAy has quit [Ping timeout: 245 seconds]
drakonis1 has joined #nixos
<Guest161> let me tr
<Guest161> *try
<Guest161> but that seems to go against what's mentioned
<Guest161> I mean I know there are hooks for scons, zip etc which automatically process $src into $out
<Guest161> So unzip unzips but I'm still puzzled about why https://nixos.org/nixpkgs/manual/#ssec-unpack-phase 's claim about zip and tar being handled by default isn't oming to fruition
<evanjs> > Zip files
<evanjs> Zip files are unpacked using unzip. However, unzip is not in the standard environment, so you should add it to nativeBuildInputs yourself.
<{^_^}> undefined variable 'Zip' at (string):263:1
<evanjs> Guest161: ^
DariusTheMede has joined #nixos
<Guest161> So you're saying- unpack is smart enough to know that this is a zip file, let me unzip (as per the claims of the link I gave). However, it fails to unzip because unzip is not in the stdenv nor buildInputs. I see what you're saying but the error message should have been clearer I guess.
freeman42x[NixOS has joined #nixos
<Guest161> Thanks though.
<freeman42x[NixOS> where can I find the JDK folder on NixOS?
<freeman42x[NixOS> ah, I think it is: /run/current-system/sw/lib/openjdk/
<Guest161> `sudo updatedb; locate jdk`
<Guest161> `ls -d /nix/store/*jdk*` alternatively
lord| has quit [Ping timeout: 245 seconds]
lord| has joined #nixos
<freeman42x[NixOS> which ones of these is the OracleJDK? https://gist.github.com/razvan-flavius-panda/fa5c0c34e48aa9c6f2fe5f6f78cc3ba7
<{^_^}> [nixpkgs] @bsima opened pull request #67813 → notmuch: 0.28.2 -> 0.28 → https://git.io/fjxjM
<freeman42x[NixOS> what I can tell is that none of the *.drv ones can be the OracleJDK
vesper11 has quit [Ping timeout: 245 seconds]
mac10688 has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @ryantm merged pull request #67782 → exempi: 2.4.5 -> 2.5.1 → https://git.io/fjxdL
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fjxjH
<Shados> For some reason, steam on nixos refuses to remember my auth and requires me to log in every time I restart it -_-
vesper11 has joined #nixos
Yakulu has quit [Quit: Gateway shutdown]
drakonis has joined #nixos
<{^_^}> [nixpkgs] @kquick opened pull request #67814 → python: thespian: 3.9.9 -> 3.9.10 → https://git.io/fjxj7
freeman42x[NixOS has quit [Remote host closed the connection]
drakonis1 has quit [Ping timeout: 264 seconds]
Yakulu has joined #nixos
orivej has joined #nixos
<{^_^}> [nixpkgs] @dywedir merged pull request #67811 → neofetch: 6.0.0 -> 6.1.0 → https://git.io/fjxjs
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/fjxjb
<lambda-11235> What package needs to be included for cmake's findopengl to work?
<lambda-11235> Just having sfml doesn't seem to work
Yakulu has left #nixos [#nixos]
Yakulu has joined #nixos
<{^_^}> [nixpkgs] @xrelkd opened pull request #67815 → cargo-watch: init at 7.2.1 → https://git.io/fjxjA
<lambda-11235> actually cmake can't seem to find sfml either
drakonis_ has joined #nixos
zupo has joined #nixos
<{^_^}> [nixpkgs] @lheckemann merged pull request #66576 → kernelPatches: mac nvme t2 support → https://git.io/fj5K6
<{^_^}> [nixpkgs] @lheckemann pushed 2 commits to master: https://git.io/fjxjx
zupo_ has joined #nixos
<lambda-11235> fixed sfml by including pkg-config, still stuck on opengl
<sphalerite> lambda-11235: libGL?
drakonis has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @vbgl merged pull request #67379 → ocamlPackages.cstruct: 3.1.1 -> 4.0.0 and related updates → https://git.io/fjN9L
<{^_^}> [nixpkgs] @vbgl pushed 4 commits to master: https://git.io/fjxjp
zupo has quit [Ping timeout: 258 seconds]
bpye has joined #nixos
<bpye> Hey - I don't know if I'm missing something. I want to deploy via nixops to a server I manage but I use a YubiKey for my ssh keys. How can I tell nixops to let me manage the ssh keys?
zupo_ has quit [Ping timeout: 245 seconds]
<lambda-11235> sphalerite: thanks!
<tilpner> timokau[m]: 8 hours later, the bisect is still running :/
Izorkin has quit [Quit: ZNC 1.7.4 - https://znc.in]
<bpye> Or I guess is nixops a bad choice for what I'm doing? I've seen morph and klops too...
medvid has joined #nixos
<{^_^}> [nixpkgs] @vbgl opened pull request #67816 → ocamlPackages.ocaml_lwt: 4.1.0 -> 4.2.1 → https://git.io/fjpef
domogled has joined #nixos
lambda-11235 has quit [Quit: Bye]
<{^_^}> [nixpkgs] @Izorkin closed pull request #66815 → nixUnstable: pre6779_324a5dc9 -> pre6779_84de8210 → https://git.io/fjFsu
alex`` has joined #nixos
Mateon1 has joined #nixos
freeman42x[NixOS has joined #nixos
<multun> bpye: ssh agent maybe ?
qqlq has joined #nixos
mkoenig has quit [Remote host closed the connection]
<bpye> multun: How do I tell nixops to not deploy it's own ssh key?
mkoenig has joined #nixos
Guest161 has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @Rakesh4G opened pull request #67817 → maintainers: add rakesh4g → https://git.io/fjpet
slicertaps has joined #nixos
<multun> I have no clue, never used nixops
byteflam1 has joined #nixos
<freeman42x[NixOS> I am getting this error when I try to run VirtualBox under NixOS https://i.imgur.com/Kk5eXEQ.png
<freeman42x[NixOS> I installed it from nixpkgs
<etu> freeman42x[NixOS: Did you enable the module?
tiAy has joined #nixos
<etu> virtualisation.virtualbox.host.enable = true;
byteflam1 has quit [Ping timeout: 245 seconds]
tiAy has quit [Ping timeout: 258 seconds]
<freeman42x[NixOS> etu, is that setting required for hosting or is it a setting for NixOS running under virtualbox?
<clever> freeman42x[NixOS: host is required for hosting, guest is required for guests
<etu> freeman42x[NixOS: It will install the host kernel modules and the software itself. It may also be useful for you to add yourself to the group vboxusers
<{^_^}> [nixpkgs] @FRidh pushed 398 commits to staging-next: https://git.io/fjpe3
dansho has joined #nixos
<freeman42x[NixOS> worked, thank you very much guys etu++ clever++
<{^_^}> clever's karma got increased to 186, etu's karma got increased to 9
tiAy has joined #nixos
kleisli has quit [Ping timeout: 246 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/81760f32353 (from 60 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos
<typetetris> Is there an easy way to fetch a pull request to build and check it locally? (For example is there some copy and paste template in githubs ui ? The github help mentions a merge button with a command line instruction link beside it, but without write access, i dont see those).
<etu> typetetris: git fetch <upstream-remote> pull/<pr-id>/head:<local-branch-name>
<typetetris> thanks
phreedom has quit [Client Quit]
polman has joined #nixos
phreedom has joined #nixos
7GHABL3SK has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @FRidh pushed 399 commits to staging: https://git.io/fjpeC
FRidh has joined #nixos
<freeman42x[NixOS> what package do I need to install to fix this error? https://gist.github.com/razvan-flavius-panda/5591487090b2dff88fd183f08d666dca
init_6 has joined #nixos
hmpffff has joined #nixos
17SABCV8X has quit [Ping timeout: 258 seconds]
polman has quit [Ping timeout: 245 seconds]
polman has joined #nixos
<rnhmjoj> ,locate libatspi.so
<{^_^}> Found in packages: at-spi2-core
asymptotically has joined #nixos
<rnhmjoj> freeman42x[NixOS:
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to staging: https://git.io/fjpeV
Yakulu has left #nixos ["Error from remote client"]
Yakulu has joined #nixos
domogled has quit [Quit: domogled]
tiAy has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @mmahut merged pull request #67777 → nixos/{namecoind,bitcoind}: removing the altcoin prefix → https://git.io/fjx7x
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjper
tiAy has joined #nixos
freeman42x[NixOS has quit [Ping timeout: 245 seconds]
freeman42x[NixOS has joined #nixos
alex`` has quit [Ping timeout: 245 seconds]
Izorkin has joined #nixos
hax404 has quit [Ping timeout: 250 seconds]
hmpffff has quit [Quit: nchrrrr…]
hax404 has joined #nixos
m0rphism1 has joined #nixos
o1lo01ol1o has joined #nixos
joebobjoe has quit [Ping timeout: 245 seconds]
bakakuna has joined #nixos
<{^_^}> [nixpkgs] @xvapx opened pull request #67818 → Remove/crashplan → https://git.io/fjpe1
Yakulu has left #nixos ["Error from remote client"]
Yakulu has joined #nixos
fendor has joined #nixos
<{^_^}> [nixpkgs] @endocrimes opened pull request #67819 → nomad: 0.9.4 -> 0.9.5 → https://git.io/fjpeM
spacekookie has quit [Quit: **agressive swooshing**]
spacekookie has joined #nixos
joebobjoe has joined #nixos
Yakulu has left #nixos ["Error from remote client"]
Yakulu has joined #nixos
Yakulu has left #nixos ["Disconnected: Replaced by new connection"]
Yakulu has joined #nixos
joebobjoe has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @Lassulus opened pull request #67820 → nixos-generators: init at 1.0.0 → https://git.io/fjpeH
hmpffff has joined #nixos
alex`` has joined #nixos
<freeman42x[NixOS> can NixOS be used in Azure? do they have pre-packaged machines with NixOS?
<o1lo01ol1o> hydra-eval-jobs returned exit code 1: error: access to path '/pkgs/top-level/release-lib.nix' is forbidden in restricted mode
<o1lo01ol1o> I'm trying to call forPkgs in a hydra jobset, is there a way to do that? ^^
<{^_^}> [nixpkgs] @peti closed pull request #67801 → libgpg-error: fix build with gawk 5 → https://git.io/fjxAF
hax404 has quit [Ping timeout: 250 seconds]
hax404 has joined #nixos
<{^_^}> [nixpkgs] @Kjuvi opened pull request #67822 → timetable: 1.0.6 -> 1.0.8 → https://git.io/fjped
tiAy has quit [Ping timeout: 245 seconds]
<gleber_> Can someone do `git clone https://github.com/NixOS/nixpkgs.git && nix-build nixpkgs/nixos/tests/deluge.nix` and tell me if it passes? It fails for me on master.
freeman42x[NixOS has quit [Ping timeout: 245 seconds]
freeman42x[NixOS has joined #nixos
ng0 has joined #nixos
<hexa-> testing … please stand by
valebes has joined #nixos
<timokau[m]> tilpner: Wow, I feel like there's something wrong there
<timokau[m]> Have you tried just manually testing a couple of channel revisions?
<tilpner> timokau[m]: I agree. I ended up aborting it and fixing it the normal way :/
<lassulus> how do i nix-review qt apps? if I want to start them I always get: Could not find the Qt platform plugin "xcb" in ""
<Izorkin> How to need to merge PR #65222 ?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/65222 (by Izorkin, 5 weeks ago, open): mariadb: update packages
chuzz_ has joined #nixos
<timokau[m]> tilpner: Taking control of the bisect process is actually something I'm thinking about for nix-bisect, but nothing is implemented yet. And I'm not sure how much it would've helped in this case.
<hexa-> gleber_: yup broken https://bpaste.net/show/18Gi
<tilpner> timokau[m]: Right now, I had to bisect over 19k commits. With filtering over past channel revisions, that would have been <100
<gleber_> hexa-: yep, I am seeing the same issues on my server when trying to get deluged running
hmpffff has quit [Quit: nchrrrr…]
<timokau[m]> tilpner: Yes but the logarithmic nature of bisecting means that that doesn't make much of a difference in practice. Most checks will occur in the last couple of commits anyway
<timokau[m]> I still don't quite understand why channels are relevant for your problem
<gleber_> hexa-: I suspect https://github.com/NixOS/nixpkgs/commit/2fa256bd553e96209821ef0b1890c77f765c3cf1#diff-579f5f1fca1b2d1f0b455dd60658f8b4R138 to be the cause, but I do not yet understand what exactly is happening
<tilpner> timokau[m]: It's only log2 if you don't skip
<tilpner> And in my case I skipped a few hundred times
<timokau[m]> tilpner: Yes, but why do you have to skip more often on non-channel revs?
<tilpner> Because non-channel revision were broken to the point that Hydra didn't advance the channel to them
<timokau[m]> tilpner: So a majority of the nixpkgs revisions were broken to the point that you couldn't eval them? That doesn't seem right to me.
<tilpner> A majority of nixpkgs revisions gave me an error that didn't help decide about good/bad
jgeerds has joined #nixos
<timokau[m]> tilpner: Again, there must be something about your problem I don't quite understand. Anyway maybe I'll implement something like that one day, my main motivation for that is the ability to have multiple bisect passes (one to reduce the range with little rebuilds, one to find the precise commit in the remaining range at any cost)
DariusTheMede has quit [Ping timeout: 244 seconds]
<tilpner> timokau[m]: I didn't understand the problem myself, I just threw a bisect at it anyway. I've now fixed the cause, but it would have helped if the bisect came to a non-conclusion sooner
<timokau[m]> Makes sense.
<gleber_> hexa-: thanks for confirming! I will patch it up somehow
joebobjoe has joined #nixos
bakakuna has quit [Ping timeout: 245 seconds]
hax404 has quit [Ping timeout: 276 seconds]
hax404 has joined #nixos
<hexa-> gleber_: thanks
rsoeldner has joined #nixos
<{^_^}> [nixpkgs] @Profpatsch merged pull request #67738 → anki: 2.1.11 -> 2.1.14 → https://git.io/fjx6C
<{^_^}> [nixpkgs] @Profpatsch pushed commit from @averelld to master « anki: 2.1.11 -> 2.1.14 (#67738) »: https://git.io/fjpvO
medvid has quit [Ping timeout: 246 seconds]
jgeerds has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @lschuermann closed pull request #34058 → nixos-installer: retry setting password on mismatch → https://git.io/vNuy1
<{^_^}> [nixpkgs] @andir merged pull request #65856 → rust-cbindgen: 0.8.7 -> 0.9.0 → https://git.io/fjHJz
<{^_^}> [nixpkgs] @andir pushed 2 commits to master: https://git.io/fjpvZ
<ajs124> Is there any documentation on how one would go about migrating /nix to a different partition? If possible on a live system. Can I just rsync it?
hmpffff has joined #nixos
gxt has quit [Ping timeout: 260 seconds]
<clever> ajs124: add that to your imports list, nixos-rebuild switch, then "fix" the configuration.nix to match where /nix will be, and nixos-rebuild boot
<clever> ajs124: you can then boot from the rescue env, move /nix to where it should be (an offline move) and then boot back to the new generation `nixos-rebuild boot` had made
medvid has joined #nixos
<ajs124> is there no easier way? why can't I just rsync it and boot into the new /nix?
hmpffff has quit [Client Quit]
chloekek has joined #nixos
<clever> ajs124: you may be able to, but i find it simpler to do it offline
medvid has quit [Client Quit]
<ajs124> hm. ok. I'll try something. The main problem with that machine is that it's a physical box and I kind of don't have access to the IPMI/iDrac.
<ajs124> Although I could drop by the machine on monday, I guess. ugh.
<clever> ajs124: ah, that makes things more tricky, and if you make any mistakes, its bricked
hmpffff has joined #nixos
<ajs124> I won't be bricked, but it'll create work.
<clever> ajs124: i did basically the same thing with my laptop a few years ago, and thats when i made rescue-boot.nix
<{^_^}> [nixpkgs] @timokau opened pull request #67823 → vimPlugins: update → https://git.io/fjpvC
<ajs124> I also can't access the machine without it being in my vpn. That setup really needs some fundamental changes at some point -.-
<clever> ajs124: the rescue-boot has a benefit over a normal iso, in that you can configure the vpn on that config
<clever> ajs124: so if you do somehow tell grub to boot that image, it will be on the vpn
<clever> but without ipmi, that step is difficult
<clever> you could also ask a non-nix user that is nearby to just select a different option at grub, if others are stationed near the machine
<ajs124> I'll just wait until monday with any reboot actions and then I'll be as close to the machine as anyone else relevant.
hax404 has quit [Ping timeout: 252 seconds]
<clever> ajs124: if you do clone the nix directory, its best to not make any other changes to it until you reboot
<ajs124> That's what I thought. I'll report back with how much it crashed and burned on monday :D
hax404 has joined #nixos
paddy has joined #nixos
<paddy> hello :)
<{^_^}> [nixpkgs] @disassembler merged pull request #67425 → lightspark: init at 0.8.1 → https://git.io/fjAJI
<{^_^}> [nixpkgs] @disassembler pushed commit from @jchv to master « lightspark: init at 0.8.1 (#67425) »: https://git.io/fjpv8
dansho has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @disassembler merged pull request #67717 → mattermost-desktop: 4.2.0 -> 4.2.3 → https://git.io/fjxVh
<{^_^}> [nixpkgs] @disassembler pushed commit from @averelld to master « mattermost-desktop: 4.2.0 -> 4.2.3 (#67717) »: https://git.io/fjpvB
dansho has joined #nixos
hmpffff has quit [Quit: nchrrrr…]
DariusTheMede has joined #nixos
Zer0xp has joined #nixos
chr15 has joined #nixos
thc202 has joined #nixos
Zer0xp has quit [Read error: Connection reset by peer]
Zer0xp has joined #nixos
joebobjoe has quit [Ping timeout: 246 seconds]
Walker3R has joined #nixos
Walker3R has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @timokau merged pull request #67823 → vimPlugins: update → https://git.io/fjpvC
<{^_^}> [nixpkgs] @timokau pushed to master « vimPlugins: update (#67823) »: https://git.io/fjpvz
Walker3R has joined #nixos
Walker3R has quit [Client Quit]
chloekek has quit [Ping timeout: 258 seconds]
twoolie has joined #nixos
<twoolie> hey, is there anyone who can give me some advice regarding multiple build outputs where one of them is a python package?
xa2u is now known as xpa2
<FRidh> twoolie: check how bindings are dealt with in python-packages.nix. Search for the use of `toPythonModule` and cases where a `.py` output is used
<{^_^}> [nixpkgs] @FRidh merged pull request #67695 → libgcrypt: 1.8.4 -> 1.8.5 → https://git.io/fjxzu
<{^_^}> [nixpkgs] @FRidh pushed commit from @lsix to staging « libgcrypt: 1.8.4 -> 1.8.5 »: https://git.io/fjpvS
<{^_^}> [nixpkgs] @aanderse closed pull request #56965 → selinux: 2.7 -> 2.8 → https://git.io/fhpce
<{^_^}> [nixpkgs] @FRidh merged pull request #66877 → flac: 1.3.2 -> 1.3.3 → https://git.io/fjF2Q
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to staging « flac: 1.3.2 -> 1.3.3 »: https://git.io/fjpv9
<{^_^}> [nixpkgs] @FRidh merged pull request #66905 → harfbuzz: 2.5.3 -> 2.6.0 → https://git.io/fjFKJ
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to staging « harfbuzz: 2.5.3 -> 2.6.0 »: https://git.io/fjpvH
<{^_^}> [nixpkgs] @FRidh merged pull request #66862 → gst_all_1.gst-plugins-base: fix build on ARM → https://git.io/fjFg3
<{^_^}> [nixpkgs] @FRidh pushed commit from @lopsided98 to staging « gst_all_1.gst-plugins-base: fix build on ARM »: https://git.io/fjpvQ
<{^_^}> [nixpkgs] @FRidh merged pull request #66974 → xorg.libpciaccess: 0.14 -> 0.16 → https://git.io/fjFHO
<{^_^}> [nixpkgs] @FRidh pushed commit from @dtzWill to staging « xorg.libpciaccess: 0.14 -> 0.16 »: https://git.io/fjpv7
<{^_^}> [nixpkgs] @FRidh merged pull request #67030 → nftables: 0.9.1 -> 0.9.2 → https://git.io/fjFx4
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to staging: https://git.io/fjpv5
Myhlamaeus3 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @FRidh merged pull request #67810 → discord-canary: 0.0.93 -> 0.0.95 → https://git.io/fjxjO
<{^_^}> [nixpkgs] @FRidh pushed commit from @tadeokondrak to master « discord-canary: 0.0.93 -> 0.0.95 »: https://git.io/fjpvN
tmaekawa has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed commit from Averell Dalton to staging « tzdata: 2019a -> 2019b »: https://git.io/fjpvA
<{^_^}> [nixpkgs] @FRidh merged pull request #67803 → tzdata: 2019a -> 2019b → https://git.io/fjxxk
<{^_^}> [nixpkgs] @FRidh merged pull request #67804 → iso-codes: 3.79 -> 4.3 → https://git.io/fjxxt
<{^_^}> [nixpkgs] @FRidh pushed commit from Averell Dalton to staging « iso-codes: 3.79 -> 4.3 »: https://git.io/fjpvp
<{^_^}> [nixpkgs] @aanderse merged pull request #67618 → gotestsum: Init at 0.3.5 → https://git.io/fjxIT
<{^_^}> [nixpkgs] @aanderse pushed 3 commits to master: https://git.io/fjpvh
tmaekawa has quit [Quit: tmaekawa]
<{^_^}> [nixpkgs] @disassembler pushed 9 commits to staging-next: https://git.io/fjpfT
<kandinski> what does "NAR" stand for in "NAR serialization"?
<tilpner> Nix ARchive
<kandinski> tilpner: ta
<freeman42x[NixOS> do I need to enable something to be able to SSH out? ssh freeman42x@41.123.110.46
<{^_^}> [nixpkgs] @aanderse merged pull request #67812 → maturin: 0.7.0 -> 0.7.1 → https://git.io/fjxjc
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/fjpfk
<disasm> freeman42x[NixOS: if you can't ssh out, good chance your network is screwed. By default there aren't any egress rules.
<freeman42x[NixOS> disasm, how do I "unscrew" my network lol?
<disasm> guess I can stop my mac from compiling isocodes, it merged! :)
<disasm> freeman42x[NixOS: first thing I'd check is DHCP works, 2nd would be the route is correct. 3rd would be DNS but you're specifying an IP. If those work, it's probably the remote system firewall that's locked down.
<freeman42x[NixOS> disasm, hmmm, I am trying to connect to an Azure machine
aveltras has joined #nixos
<disasm> you could also `ssh git@github.com` to see if you can ssh to other places on the internet.
<tilpner> freeman42x[NixOS: Are you sure it's not root@?
<kandinski> freeman42x[NixOS: I just tried to ssh to that IP and nothing is answering
<{^_^}> [nixpkgs] @Lassulus merged pull request #63127 → trimal: init at 1.4.1 → https://git.io/fj2Pi
<{^_^}> [nixpkgs] @Lassulus pushed 2 commits to master: https://git.io/fjpfq
johnny101m has quit [Ping timeout: 276 seconds]
<freeman42x[NixOS> disasm, yeah, I can SSH into GitHub
<freeman42x[NixOS> tilpner, what do you mean by not root?
<freeman42x[NixOS> kandinski, I obfuscated the IP before sharing here
<freeman42x[NixOS> I found the issue: https://i.imgur.com/duK9O2d.png
<{^_^}> [nixpkgs] @disassembler merged pull request #59503 → gawk: 4.2.1 -> 5.0.1 → https://git.io/fjmiU
<{^_^}> [nixpkgs] @disassembler pushed commit from @r-ryantm to staging « gawk: 4.2.1 -> 5.0.1 (#59503) »: https://git.io/fjpfs
kleisli has joined #nixos
<aanderse> disasm: out of curiosity... what is your time zone?
<disasm> aanderse: EST but I've been checking on PR's when the 2 month old wakes up! :)
johnny101m has joined #nixos
<aanderse> disasm: ha! i had a feeling you were EST but i've seen you hard at it this morning
<aanderse> so... early...
<aanderse> but yeah, those 2 year olds do it :)
<aanderse> disasm++
<{^_^}> disasm's karma got increased to 6
<exarkun> looks like there is no update in nixpkgs for https://chromereleases.googleblog.com/2019/08/stable-channel-update-for-desktop_26.html yet?
<disasm> aanderse: 2 month old, lol :)
<aanderse> disasm: yeah, sorry, typo...
<disasm> aanderse: they seldom sleep more than 3 hours at a time :)
<aanderse> disasm: first?
<disasm> 2nd
<aanderse> ah ok, we're all good then
<aanderse> otherwise i was going to say you're unfit to be release manager ;-)
<aanderse> ha ha ha
<disasm> taking on release manager would be insanity if it was my first :)
<aanderse> :D
Chiliparrot has joined #nixos
paddy has left #nixos ["bbl"]
tsrt^ has quit []
lnh^ has joined #nixos
<{^_^}> [nixpkgs] @alyssais merged pull request #61684 → ruby: --disable-rubygems for baseruby → https://git.io/fj8uZ
<{^_^}> [nixpkgs] @alyssais pushed 2 commits to staging: https://git.io/fjpfu
<{^_^}> [nixpkgs] @alyssais closed pull request #54582 → ruby: 2.5.3 -> 2.6.1 → https://git.io/fhoQz
Thra11 has joined #nixos
juhe has joined #nixos
<{^_^}> [nixpkgs] @disassembler merged pull request #67513 → treewide: name -> pname → https://git.io/fjA2S
<{^_^}> [nixpkgs] @disassembler pushed commit from @volth to staging « treewide: name -> pname (#67513) »: https://git.io/fjpfa
<{^_^}> [nixpkgs] @aanderse merged pull request #67580 → cocoapods-beta: 1.8.0.beta.1 -> 1.8.0.beta.2 → https://git.io/fjANu
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/fjpfw
hax404 has quit [Ping timeout: 276 seconds]
smakarov has joined #nixos
hax404 has joined #nixos
<{^_^}> [nixpkgs] @alyssais pushed 2 commits to staging: https://git.io/fjpfo
<{^_^}> [nixpkgs] @alyssais closed pull request #67597 → ruby: 2.5.3 -> 2.6.3, rubygems 3.0.3 -> 3.0.6 → https://git.io/fjAjv
init_6 has quit [Ping timeout: 244 seconds]
lunik1 has joined #nixos
<{^_^}> [nixpkgs] @suhr opened pull request #67824 → java-service-wrapper: init at 3.5.35 → https://git.io/fjpfP
<{^_^}> [nixpkgs] @disassembler merged pull request #65128 → home-assistant: 0.93.2 -> 0.96.2 → https://git.io/fjMGC
<{^_^}> [nixpkgs] @disassembler pushed 3 commits to staging: https://git.io/fjpfX
<{^_^}> [nixpkgs] @disassembler merged pull request #67472 → python: enable loadable sqlite extensions → https://git.io/fjAnM
<{^_^}> [nixpkgs] @disassembler pushed commit from @matthewbauer to staging « python: enable loadable sqlite extensions (#67472) »: https://git.io/fjpfM
ris has joined #nixos
init_6 has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #67814 → python: thespian: 3.9.9 -> 3.9.10 → https://git.io/fjxj7
<{^_^}> [nixpkgs] @FRidh pushed commit from @kquick to master « python: thespian: 3.9.9 -> 3.9.10 »: https://git.io/fjpfS
polman has quit [Ping timeout: 245 seconds]
polman has joined #nixos
bakakuna has joined #nixos
<{^_^}> [nixpkgs] @disassembler merged pull request #67759 → colmap: init at 3.5 → https://git.io/fjxyK
<{^_^}> [nixpkgs] @disassembler pushed commit from @lebastr to master « colmap: init at 3.5 (#67759) »: https://git.io/fjpfd
joebobjoe has joined #nixos
freeman42x[NixOS has quit [Ping timeout: 246 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/a8d26fc34a7 (from 66 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
freeman42x[NixOS has joined #nixos
polman has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @disassembler pushed commit from @nh2 to staging « treewide: Remove unnecessary `--disable-static` (#66759) »: https://git.io/fjpfN
<{^_^}> [nixpkgs] @disassembler merged pull request #66759 → treewide: Remove unnecessary `--disable-static` → https://git.io/fjFei
polman has joined #nixos
<{^_^}> [nixpkgs] @disassembler merged pull request #67057 → nghttp2: 1.39.1 -> 1.39.2 (security!) → https://git.io/fjbkv
<{^_^}> [nixpkgs] @disassembler pushed commit from @dtzWill to staging « nghttp2: 1.39.1 -> 1.39.2 (security!) (#67057) »: https://git.io/fjpfA
twoolie has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @disassembler merged pull request #67575 → Unbound → https://git.io/fjAF8
<{^_^}> [nixpkgs] @disassembler pushed 3 commits to staging: https://git.io/fjpfx
hmpffff has joined #nixos
kleisli has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @disassembler merged pull request #67793 → yubioath-desktop: Fix desktop launcher icon → https://git.io/fjxNf
<{^_^}> [nixpkgs] @disassembler pushed commit from @benley to master « yubioath-desktop: Fix desktop launcher icon (#67793) »: https://git.io/fjpfj
<{^_^}> [nixpkgs] @petabyteboy closed pull request #66494 → ectool: init at 4.9 → https://git.io/fj7j2
<{^_^}> [nixpkgs] @petabyteboy closed pull request #67547 → update some coreboot-related packages → https://git.io/fjA1I
<{^_^}> [nixpkgs] @disassembler merged pull request #66317 → openssl: fix man pages collisions → https://git.io/fjQpB
<{^_^}> [nixpkgs] @disassembler pushed commit from @layus to staging « openssl: fix man pages collisions (#66317) »: https://git.io/fjpJY
<{^_^}> [nixpkgs] @teto merged pull request #66323 → flent: 1.2.2 -> 1.3.0 → https://git.io/fjQjJ
<{^_^}> [nixpkgs] @teto pushed 5 commits to master: https://git.io/fjpJO
<{^_^}> [nixpkgs] @disassembler closed pull request #66171 → swig: 3.0.12 -> 4.0.0 → https://git.io/fjQmV
Myhlamaeus3 has joined #nixos
smakarov has quit [Ping timeout: 258 seconds]
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
cetjs2 has left #nixos [#nixos]
chr15 has quit [Ping timeout: 250 seconds]
Zer0xp has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @Enteee opened pull request #67825 → i3lock-fancy: Bugfix, make scrot overwrite file → https://git.io/fjpJ4
<averell> disasm: yes
Thra11 has quit [Ping timeout: 246 seconds]
philr has quit [Ping timeout: 244 seconds]
<aria> 10396 store paths deleted, 33204.66 MiB freed
joebobjoe has quit [Ping timeout: 246 seconds]
dminuoso has quit [Ping timeout: 245 seconds]
visrelic has joined #nixos
<visrelic> hi, would this be a good place to ask some beginner nix packaging questions?
Thra11 has joined #nixos
dminuoso has joined #nixos
<clever> visrelic: yes
<{^_^}> [nixpkgs] @peti pushed to master « python-mailman-hyperkitty: initial version 1.1.0 »: https://git.io/fjpJr
<averell> aria: do nix-store --optimize for bonus points
reallymemorable has joined #nixos
<visrelic> i'm attempting to port a debian package to nix and am a bit stuck (can't seem to find relevant documentation or even packages that already do this) on reusing my systemd unit file
<clever> visrelic: usually best to have nixos generate the systemd unit via systemd.services
<visrelic> that too i have attempted, i'm not even sure if i'm supposed to put that expression in my default.nix
<clever> visrelic: service stuff must go into a nixos module, not the package default.nix
<tilpner> visrelic: E.g. atop installs its units into $out/lib/systemd
<visrelic> tilpner: my debian package also attempts to install the unit file there, and i've also done so in nix, but this does not result in the service being found
<{^_^}> [nixpkgs] @joncojonathan opened pull request #67826 → veracrypt: 1.23 -> 1.23-hotfix-2 → https://git.io/fjpJP
WilliamHamilton has joined #nixos
<symphorien> visrelic: to have systemd pick up the unit files in $out/lib/systemd you need to add the package in this option: https://nixos.org/nixos/options.html#systemd.packages
<tilpner> visrelic: You need to tell NixOS to look there, systemd.packages might help
civodul has joined #nixos
<visrelic> i'm using nix-env -f . -i to install my WIP, how is systemd.packages in my os config supposed to find my package?
<tilpner> It can't
<tilpner> You would need to pass the imported package yourself
<clever> visrelic: nix-env cant do systemd level things
<tilpner> E.g. systemd.packages = [ (pkgs.callPackage ./your-package.nix {}) ];
<tilpner> Or use an overlay, that makes everything prettier
xvello has joined #nixos
growpotkin has quit [Quit: ZNC 1.7.4 - https://znc.in]
<aria> averell: will report back
fusion809 has quit [Remote host closed the connection]
fusion809 has joined #nixos
<{^_^}> [nixpkgs] @emilazy opened pull request #67827 → Add FPGA tools nMigen and Glasgow → https://github.com/NixOS/nixpkgs/pull/67827
cjpbirkbeck has joined #nixos
aveltras has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @samdoshi opened pull request #67828 → supercollider: Use qt5's own mkDerivation → https://git.io/fjpJS
<WilliamHamilton> did anyone have luck using `haskell-ide-engine` in emacs/nix? I get the error `LSP :: Got error while processing diagnostics: readCreateProcess: /nix/store/jq8x50rkl3cm7cqkj1zsk6kfbb692iwv-cabal-helper-0.9.0.0/bin/cabal-helper-wrapper "--with-ghc=ghc" "--with-ghc-pkg=ghc-pkg" "--with-cabal=cabal" "v1-style" "/home/carlo/code/haskell/first" "/home/c
<WilliamHamilton> arlo/code/haskell/first/dist-newstyle/build/x86_64-linux/ghc-8.6.5/first-0.1.0.0" "package-db-stack" "flags" "compiler-version" "ghc-merged-pkg-options" "config-flags" "non-default-config-flags" "ghc-src-options" "ghc-pkg-options" "ghc-lang-options" "ghc-options" "source-dirs" "entrypoints" "needs-build-output" (exit 1): failed`
<cjpbirkbeck> hello, sorry bring this up again, but how exactly do i override a python package to change the pythonPath attribute?
kleisli has joined #nixos
<WilliamHamilton> besides - I wanted new-build, and set `(setq haskell-process-type 'cabal-new-repl)`, but still in the error message you can see a `v1-style`
<aria> averell: 6124.16 MiB freed by hard-linking 591845 files
Myhlamaeus3 has quit [Ping timeout: 244 seconds]
<disasm> averell: great job on all those PRs. I tried to merge as many of yours as I could :)
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « linux: Remove 5.1 »: https://git.io/fjpJd
<averell> thank you, i noticed :)
kleisli has quit [Ping timeout: 245 seconds]
<averell> hurray for toddlers
<{^_^}> [nixpkgs] @FRidh pushed 7 commits to python-unstable: https://git.io/fjpJh
<aanderse> averell: speaking of which... sorry about that x2go bit taking so long
<aanderse> we should probably merge that at this point
<averell> ah yes, that would be great :) just in time for 19.09
<visrelic> tilpner: i've written a service module and imported it into my configuration.nix, (the package is installed in the nix store), but nixos-rebuild fails at "attribute 'package-name' missing", at the ExecStart = "${pkgs.package-name}/bin/program"; line
feep has joined #nixos
DariusTheMede has quit [Ping timeout: 245 seconds]
yosemitesam has joined #nixos
<tilpner> visrelic: Did you add package-name to an overlay, and activate that overlay?
<visrelic> what's an overlay?
<tilpner> visrelic: Did you package package-name yourself?
<visrelic> yes
<tilpner> Package you define somewhere on your system don't suddenly appear in pkgs
<tilpner> You can add/change pkgs with overlays
<visrelic> can you point me to documentation on overlays?
<{^_^}> [nixpkgs] @alyssais merged pull request #64271 → pari: 2.11.1 -> 2.11.2 → https://git.io/fj6Zk
<{^_^}> [nixpkgs] @alyssais pushed to master « pari: 2.11.1 -> 2.11.2 »: https://git.io/fjpUk
<disasm> also visrelic https://nixos.wiki/wiki/Overlays
init_6 has quit []
<infinisil> ,overlays also
<{^_^}> infinisil: Did you mean overlay?
<{^_^}> also: Overlays look like `self: super: { foo = ...; }`. Use the self argument to get dependencies, super for overriding things and library functions (including callPackage). More info: https://nixos.org/nixpkgs/manual/#sec-overlays-install
joebobjoe has joined #nixos
gentauro has quit [Read error: Connection reset by peer]
gentauro has joined #nixos
noudle has joined #nixos
<FRidh> poor hydra, it's building staging-next, staging(-small) and a python branch
<averell> i knew it felt warmer outside today
<joepie91> lol
<{^_^}> [nixpkgs] @aanderse merged pull request #67758 → usbtop: init at 1.0 → https://git.io/fjxyV
<{^_^}> [nixpkgs] @aanderse pushed 3 commits to master: https://git.io/fjpUG
Myhlamaeus3 has joined #nixos
demize has quit [Quit: Do Androids Dream of Electric Sheep?]
demize has joined #nixos
<visrelic> i'm finding the overlay documentation quite lacking, is there no way i can simply have nixos use either the unit file i already have, or get the service module to use the binary that's already in my nix store?
<{^_^}> [nixpkgs] @alyssais pushed to release-19.03 « pari: 2.11.1 -> 2.11.2 »: https://git.io/fjpUn
<{^_^}> [nixpkgs] @FRidh merged pull request #66292 → opencv: dont try cuda on 32 bit → https://git.io/fjQ98
<{^_^}> [nixpkgs] @FRidh pushed commit from Averell Dalton to master « opencv: dont try cuda on 32 bit »: https://git.io/fjpUc
<clever> visrelic: you need to somehow get the nix expr for building that storepath, into systemd.packages
<disasm> visrelic: let package = pkgs.callPackage /path/to/derivation {}; at the top of the service
<clever> this is the simplest way: systemd.packages = [ (pkgs.callPackage ./your-package.nix {}) ];
<clever> visrelic: an overlay or packageOverride just puts it into pkgs, so you can instead do: systemd.packages = [ pkgs.thing ];
<yosemitesam> Hi guys! I just tried to follow the NixOps manual to create a Virtualbox VM on my Macbook and I get the error "a 'x86_64-linux' with features {} is required ... but I am a 'x86_64-darwin'....". Now I'm wondering, do I have to create a linux build slave for it to work or is it possible to build everything on the target?
<yosemitesam> I'm following this guide https://nixos.org/nixops/manual/#idm140737322662048
<{^_^}> [nixpkgs] @FRidh closed pull request #67817 → maintainers: add rakesh4g → https://git.io/fjpet
<clever> yosemitesam: i think sudo may fix that, https://github.com/NixOS/nixops/issues/984 is the issue about it
<{^_^}> nixops#984 (by cleverca22, 1 year ago, open): update the automatic build slave functions under darwin
<{^_^}> [nixpkgs] @andir opened pull request #67829 → nixos/kresd: support DNS-over-HTTPS → https://git.io/fjpUl
zaeph has joined #nixos
<cjpbirkbeck> last time asked about overriding packages, somebody said that my changes were not prograting. how would i do that?
<visrelic> clever: with the pkgs.callPackage, i'm assuming with ./your-package.nix you mean the full path to my package's default.nix, and that results in "error: attempting to call something which is not a function bu ta set"
<clever> visrelic: callPackage assumes your file begins with the { stdenv }: style
<cjpbirkbeck> { config, pkgs, ... }:
<cjpbirkbeck> {
<cjpbirkbeck> nixpkgs.overlays = [
<cjpbirkbeck> (self: super: {
<cjpbirkbeck> python = super.python.override {
<cjpbirkbeck> packageOverrides = python-self: python-super: {
<cjpbirkbeck> qtile = python-super.qtile.overrideAttrs (oldAttrs: {
<cjpbirkbeck> pythonPath = with python-super; [
<cjpbirkbeck> xcffib
<cjpbirkbeck> cairocffi-xcffib
<cjpbirkbeck> pydbus
<clever> ,pastebin cjpbirkbeck
<cjpbirkbeck> ];
<cjpbirkbeck> });
<cjpbirkbeck> };
<cjpbirkbeck> };
<cjpbirkbeck> })
<cjpbirkbeck> ];
<cjpbirkbeck>
<cjpbirkbeck> services.xserver.windowManager.qtile.enable = true;
<cjpbirkbeck> }
<cjpbirkbeck> oh sorry
DariusTheMede has joined #nixos
<visrelic> clever: my default.nix starts with "with import <nixpkgs> {};" because with "{ stdenv }:" i get an error about stdenv.lib being an unknown variable...
<clever> cjpbirkbeck: the module is using pkgs.qtile, not pkgs.python.qtile, so that override has zero effect
<clever> ,callPackage visrelic
<{^_^}> visrelic: If a Nix file foo.nix starts with something like `{ stdenv, cmake }:`, you can build it with `nix-build -E '(import <nixpkgs> {}).callPackage ./foo.nix {}'`
WilliamHamilton has left #nixos [#nixos]
<FRidh> cjpbirkbeck: use overridePythonAttrs instead of overrideAttrs when dealing with buildPython*
<FRidh> though in this case it won't matter much
<clever> FRidh: but the module isnt looking at python.qtile, so that still wont have any difference
<clever> yeah
<yosemitesam> clever: When I try to deploy using sudo, i get a strange error "file 'nixpkgs' was not found in the Nix search path (add it using $NIX_PATH or -I), at /nix/store/74sxschagphjcnjhg1sazhznqkh807hj-nixops-1.7/share/nix/nixops/eval-machine-info.nix:9:13"
<yosemitesam> I thought it has to do with nix-channel being set up wrongly, but it looks good
<clever> yosemitesam: sudo messes with the env vars and unsets $NIX_PATH, try using `-I nixpkgs=/path/to/nixpkgs`, find that via `echo $NIX_PATH`
<{^_^}> [nixpkgs] @MostAwesomeDude opened pull request #67831 → pythonPackages.scandir: Fix tests on non-CPython. → https://git.io/fjpUx
<yosemitesam> clever: the `-I` option was ignored for some reason, but I got it working by using `sudo NIX_PATH=$NIX_PATH nixops deploy -d UID`. :D thanks a lot!
<clever> yosemitesam: what -I did you use?
<clever> yosemitesam: and what msg did it give when saying it ignored it?
<yosemitesam> clever: it didn't say it ignored it, it just made no difference if i used it or not. I used it as `-I nixpkgs=<output of echo $NIX_PATH>` as you said.
<clever> yosemitesam: you need to look for the nixpkgs=/something in the echo output, and copy that part
<clever> but `sudo NIX_PATH=$NIX_PATH` is probably simpler
<{^_^}> [nixpkgs] @MetaDark opened pull request #67832 → ccls: 0.20190314.1 -> 0.20190823 → https://git.io/fjpUp
<yosemitesam> sam@mac:~$echo $NIX_PATH
<yosemitesam> nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixpkgs:/nix/var/nix/profiles/per-user/root/channels
<clever> so it would be `-I nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixpkgs`
<yosemitesam> Oooooh I see! My bad.
<clever> `sudo NIX_PATH=$NIX_PATH` just undoes sudo breaking things, so the whole value is used
<{^_^}> [nixpkgs] @jollheef opened pull request #67833 → emacsPackagesNg.telega: Add server binary to the default search path → https://git.io/fjpUj
joebobjoe has quit [Ping timeout: 244 seconds]
<yosemitesam> yeah that's why I used it :) Maybe it would be helpful if we add this information to the wiki? The issue you pointed to has been opened for more than a year now
<clever> yeah, adding it to the wiki may also help
joebobjoe has joined #nixos
<yosemitesam> bc before posting it here, I was also searching for some answers and initially thought I'd need to set up something like this: https://medium.com/@zw3rk/provisioning-a-nixos-server-from-macos-d36055afc4ad
<clever> yosemitesam: of note, the bug only occurs if your using a multi-user install of nix
<clever> if its setup in single-user mode, nixops just works
<yosemitesam> clever: oh okay. But the wiki `highly recommends` to use the multi user installation https://nixos.org/nix/manual/#chap-installation
<clever> yeah, multi-user has better stability and reproducability
zaeph has quit [Ping timeout: 258 seconds]
bakakuna has quit [Ping timeout: 245 seconds]
<clever> nixops just hasnt been updated to deal with multi-user on darwin
<yosemitesam> Oh I see
DariusTheMede has quit [Ping timeout: 246 seconds]
andgate has joined #nixos
Okinan has joined #nixos
eof has joined #nixos
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/074d336b7f6 (from 52 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
OmnipotentEntity has joined #nixos
OmnipotentEntity is now known as Guest38754
Guest38754 has quit [Client Quit]
<{^_^}> [nixpkgs] @endocrimes opened pull request #67834 → consul: 1.5.2 -> 1.6.0 → https://git.io/fjpT4
dansho has quit [Remote host closed the connection]
dansho has joined #nixos
<{^_^}> [nixpkgs] @guibou opened pull request #67835 → bazel: 0.28.1 -> 0.29.0 → https://git.io/fjpTE
realrokka has joined #nixos
joebobjoe has quit [Ping timeout: 245 seconds]
feep has quit [Ping timeout: 245 seconds]
joebobjoe has joined #nixos
cjpbirkbeck has quit [Quit: Quitting now.]
<{^_^}> [nixpkgs] @andir closed pull request #67829 → nixos/kresd: support DNS-over-HTTPS → https://git.io/fjpUl
reallymemorable has quit [Quit: reallymemorable]
eof has quit [Quit: eof]
eof has joined #nixos
jmeredith has joined #nixos
mac10688 has joined #nixos
steell has joined #nixos
eof has quit [Client Quit]
Myhlamaeus3 has quit [Ping timeout: 246 seconds]
eof has joined #nixos
<{^_^}> [nixpkgs] @petabyteboy opened pull request #67836 → Feature/corebootutils → https://git.io/fjpTj
domogled has joined #nixos
eof has quit [Ping timeout: 246 seconds]
<Orbstheorem> Hello, how do I package an application that needs python2 with a specific package installed at build-time **only**?
<{^_^}> [nixpkgs] @flokli opened pull request #67837 → nixosTests.systemd: only run sysctl test on x86_64 → https://git.io/fjpkL
<symphorien> make the package a nativeBuildInput ?
<Orbstheorem> I tried `nativeBuildInputs = [ python27.withPackages (pp: [pp.cheetah]) ]`, but it fails to import the module on build-time
jollyjester has joined #nixos
<jollyjester> /nix/store/96p42644i76jqgdkxjgyl3f0c8n8k16j-python3-3.7.4/bin/python3.7: No module named virtualenv
<jollyjester> when doing pipenv install pydle
<jollyjester> so what can i do?
<jollyjester> and yes i have it installed
<{^_^}> [nixpkgs] @aanderse closed pull request #63458 → vulkan-headers: 1.1.106 -> 1.1.108 → https://git.io/fjVJA
<symphorien> Orbstheorem: you lack parens around (python27.withPackages (...))
<Orbstheorem> symphorien: Tried that too xD, also that would make an error on eval-time (I hope)
<symphorien> is it a python package ?
<symphorien> or a regular one
<{^_^}> [nixpkgs] @aanderse merged pull request #66238 → Update vulkan packages → https://git.io/fjQuC
<{^_^}> [nixpkgs] @aanderse closed pull request #66178 → vulkan-tools: 1.1.106.0 -> 1.1.114.0 → https://git.io/fjQOO
<{^_^}> [nixpkgs] @aanderse pushed 5 commits to master: https://git.io/fjpkG
<Orbstheorem> symphorien: It's a regular one, but it requires python at build-time to generate some source files.
<symphorien> can you check which python it runs ?
<Orbstheorem> What do you mean?
<Orbstheorem> version? python2 is specified in the docs
<symphorien> maybe another dependency propagates a vanilla python3
<symphorien> *python3
<symphorien> *python2
<jollyjester> ok so what do i do?
andgate has quit [Remote host closed the connection]
<clever> jollyjester: the python setuphook should add inputs to the PYTHONPATH
<jollyjester> every time i try to use pipenv it keeps giving me the same error
<jollyjester> clever: how do i use that
<clever> jollyjester: try just nativeBuildInputs = [ python27 python27Packages.cheetah ]; ?
<Orbstheorem> And running `:s callPackage ./package {}` in the repl and then `python2 -c 'import Cheetah.Template' confirms that the python package is not in the derivation's build env.
<jollyjester> clever: i use python3
<clever> jollyjester: then replace 27 with 3
<Orbstheorem> clever: I think you may have crossed two different discussions xD
<clever> possible
<Orbstheorem> (trying though :) )
<clever> too many python questions at once!
<{^_^}> [nixpkgs] @Infinisil merged pull request #65283 → Add x2goserver module → https://git.io/fjDer
<{^_^}> [nixpkgs] @Infinisil pushed 4 commits to master: https://git.io/fjpkc
iyzsong has quit [Ping timeout: 244 seconds]
<Orbstheorem> clever: :( Didn't work for my problem x)
<Orbstheorem> Maybe a look at my derivation helps: https://paste.gnugen.ch/raw/xalN :)
<clever> Orbstheorem: what error does it give?, what does `which --all python2` give in the shell?
oborot has joined #nixos
andgate has joined #nixos
<Orbstheorem> clever: https://paste.gnugen.ch/raw/UGFQ
polman has quit [Ping timeout: 245 seconds]
<clever> 2019-08-31 12:48:10 < Orbstheorem> And running `:s callPackage ./package {}` in the repl and then `python2 -c 'import Cheetah.Template' confirms that the python package is not in the derivation's build env.
polman has joined #nixos
<clever> Orbstheorem: you previously used python2 to test it, but the pastebin is using python, try python2 as well?
<Orbstheorem> clever: python2 yields a single result which corresponds to the first like of the result in the paste (/nix/store/6nz66xsx5nmk5dcbf154xfnx6j30qxng-python-2.7.16/bin/python2)
<clever> Orbstheorem: that doesnt look like a wrapper, what does `file` say it is?
<Orbstheorem> /nix/store/6nz66xsx5nmk5dcbf154xfnx6j30qxng-python-2.7.16/bin/python2: symbolic link to python2.7
<clever> Orbstheorem: `file -L` ?
<Orbstheorem> ELF executable \o/
<clever> Orbstheorem: definitely not the wrapper from withPackages
<Orbstheorem> Doesn't look like a wrapper xD
<Orbstheorem> Okay, so that expression did not work
<clever> Orbstheorem: what about `echo $PYTHONPATH` ?
<{^_^}> [nixpkgs] @blitz opened pull request #67838 → cryptpad: 2.25.0 -> 3.0.0 → https://git.io/fjpkE
<clever> Orbstheorem: quit out of nix repl and try again, something is fishy with https://paste.gnugen.ch/raw/xalN
dasj19 has joined #nixos
<Orbstheorem> Wow, what?
<Orbstheorem> It worked? xD
<clever> nix repl caches the files it parses
<clever> and wont reload them on its own
<clever> nix-shell -E 'with import <nixpkgs> {}; callPackage ./foo.nix {}'
<clever> thats another way to open the shell, and its a new process each time, so it cant cache things
<Orbstheorem> :(
<Orbstheorem> Alright
<Orbstheorem> Thanks !
<{^_^}> [nixpkgs] @edef1c pushed to master « patchutils: add perl to buildInputs »: https://git.io/fjpkz
<emilsp> I presume nobody's tried setting up katacontainer runtime on NixOS, right?
<clever> you can also change nix-shell to nix-build on the above cmd, to just build it
<maralorn> Hello why are trying to write some tooling for networking especially dealing with ip addresses in nix. I am a bit startled by how cumbersome this is. I can solve this all from first principles, but I‘d love pointers to for example: Any tooling for IP addresses or subnets, an exponentiation function, a intToHexString function and back, shiftoperations on ints, a bitflip function, etc. pp.
<maralorn> s/why/we/
<clever> andi-: ^^
<maralorn> clever: we == [ andi-, me ] ;-)
<clever> ah, heh
<clever> maralorn: seemed a bit odd for the same question to pop up twice in the same day
<clever> maralorn: there is the ip-magic stuff i linked earlier, i wrote it for fun, then never got around to actually using it
<Orbstheorem> clever: I was using `nix-build =(echo "with import <nixpkgs> {}; callPackage $PWD/liblms7002m.nix {}");` xD, this one is shorter xD
<{^_^}> [nixpkgs] @aanderse merged pull request #62954 → auditd service: make more useful → https://git.io/fjgss
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/fjpka
<{^_^}> [nixpkgs] @FRidh pushed 36 commits to staging-next: https://git.io/fjpkV
<maralorn> clever: In which channel? I don‘t find anything with weechat grep.
<clever> Orbstheorem: you dont need the $PWD, just ./liblms7002m.nix will do it
<Orbstheorem> clever: Though is there a way to disable caching in nix-repl after the initial load?
<clever> Orbstheorem: :r is supposed to do it
<{^_^}> [nixpkgs] @FRidh merged pull request #66822 → Staging next → https://git.io/fjFZB
<{^_^}> [nixpkgs] @FRidh pushed 134 commits to master: https://git.io/fjpkw
<clever> maralorn: it was in #nixos-dev, 2019-08-31 11:10:03 < clever> https://github.com/cleverca22/nix-tests/tree/master/ip-magic
<maralorn> clever: The tooling thing was a longshot more concrete is the question for exponentiation, a intToHexString function and back, shiftoperations on ints and a bitflip function.
<maralorn> clever: thx
<Orbstheorem> clever: If I don't use the $PWD, it tries to import if from the basepath of the tmpfile created by zsh (`=(...)`)
<ris> is there a "standard" way in nixpkgs to fake a tty (e.g. in `checkPhase`) when a tool is being annoying and expects to be used through a tty?
<clever> Orbstheorem: dont use =( then?
<clever> Orbstheorem: nix-build -E can take the whole string, without having to write it to a temp file
<Orbstheorem> Yeah, I'll use -E
<Orbstheorem> Though I still have to use =( if I want to use `nix build` instead
<clever> Orbstheorem: nix build can also take an expr
<Orbstheorem> Oh, is that new? xD
<clever> nix build '(with import <nixpkgs> {}; pkgs.hello)'
<clever> Orbstheorem: it does some fancy logic to detect if the string is a path or an expr
<clever> and its completely non-obvious
<Orbstheorem> Oh, that's why I never got it xD
<{^_^}> [nixpkgs] @FRidh pushed 46 commits to staging: https://git.io/fjpkr
<clever> wrapping the string in parans forces it to be treated as an expr
<Orbstheorem> Missing parenthesis around the entire thing xD
<{^_^}> [nixpkgs] @edef1c pushed to release-19.03 « patchutils: add perl to buildInputs »: https://git.io/fjpkK
<Orbstheorem> Very non-obvious xD
<{^_^}> [nixpkgs] @FRidh merged pull request #67831 → pythonPackages.scandir: Fix tests on non-CPython. → https://git.io/fjpUx
<{^_^}> [nixpkgs] @FRidh pushed commit from @MostAwesomeDude to staging « pythonPackages.scandir: Fix tests on non-CPython. »: https://git.io/fjpk6
DariusTheMede has joined #nixos
growpotkin has joined #nixos
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/1bf70fd2f17 (from 12 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
casaca has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @lopsided98 opened pull request #67839 → openjfx: fix licenses → https://git.io/fjpkM
freeman42x[NixOS has quit [Remote host closed the connection]
casaca has joined #nixos
freeman42x[NixOS has joined #nixos
polman has quit [Ping timeout: 245 seconds]
jollyjester has quit [Quit: leaving]
polman has joined #nixos
growpotkin has quit [Quit: ZNC 1.7.4 - https://znc.in]
jgeerds has joined #nixos
<vvbb[m]> can someone tell me how i can install python and pip on nixos
<vvbb[m]> i'm trying to do whatever the manual is telling me
<vvbb[m]> but i keep getting errors
<vvbb[m]> can someone else explain it for me?
<clever> vvbb[m]: probably better to just let nix do everything, and not install pip
<vvbb[m]> but i want to use pipenv
<Orbstheorem> vvbb[m]: `nix-shell -p pipenv` ?
eof has joined #nixos
<vvbb[m]> oh weeee
<vvbb[m]> gosh i'm such an idiot
<vvbb[m]> thanks, i was about to snap and install arch
<Orbstheorem> Or you can just include it in your derivation
<vvbb[m]> also should i install python3 using systempackages
<Orbstheorem> vvbb[m]: Oh, btw `nix-shell -p pipenv --run 'pipenv shell'`
<vvbb[m]> or if i want to run a python script i should use nix-shell instead
<clever> vvbb[m]: i would package the python script properly with nix, so you can run it without python being in $PATH
casaca has quit [Ping timeout: 258 seconds]
<Orbstheorem> vvbb[m]: My personally experience is that it's a bad idea to install python3 in system packages, it leads to confusion
<vvbb[m]> ok thanks for the advice
<vvbb[m]> can anyone link me to a good guide on how to make your own packages?
<clever> vvbb[m]: the nixpkgs manual explains that
<vvbb[m]> overlays?
logzet has joined #nixos
<vvbb[m]> a
drakonis has joined #nixos
eof has quit [Client Quit]
fendor has quit [Ping timeout: 258 seconds]
casaca has joined #nixos
<vvbb[m]> ok thanks
<Orbstheorem> vvbb[m]: If you're just developing wild scripts you could create an environment file `shell.nix` somewhere where you explicitly declare what you want (e.g. `python.withPackages(pp: with pp;[ipython3 requests ...])`. But I do that just for quick and dirty tests and as clever mentioned you should probably do a proper package
<vvbb[m]> if it weren't for you guys i wouldn't be using it at all
<vvbb[m]> such a helpful community
polman has quit [Ping timeout: 245 seconds]
polman has joined #nixos
drakonis1 has joined #nixos
Myhlamaeus3 has joined #nixos
<Orbstheorem> How can I have a cmake package to make two derivations: "out" and "dev"? Currently my "out" derivation generates two files (/nix/..-dodo/lib/libdodo.so and /nix/..-dodo/include/libdodo.h).
<vvbb[m]> oh yeah one thing, if there's a python package not packaged in the repos, how can i install it?
drakonis_ has quit [Ping timeout: 244 seconds]
<clever> Orbstheorem: you would have to modify the cmake file to copy headers to $dev/include/
<clever> Orbstheorem: or have a postInstall that does `mv $out/include $dev/include`
drakonis has quit [Ping timeout: 250 seconds]
<clever> vvbb[m]: write a nix package for it
<Orbstheorem> clever: Section 4.4.2 of the manual says that the support code should instruct the build system to put them in $outputDev. Is this supported in cmake?
<{^_^}> [nixpkgs] @jollheef closed pull request #67833 → emacsPackagesNg.telega: Add server binary to the default search path → https://git.io/fjpUj
<clever> Orbstheorem: personally, i just write my cmake files to use the $dev env var, and dont bother with making it work outside of nix
<vvbb[m]> ok so after i've done making a .nix of a python library how can i build and install it?
<Orbstheorem> clever: It's not my project :) I'd like to fix upstream ^^
<clever> Orbstheorem: a postInstall on the nix side, to just `mv $out/include $dev/include` would be simplest
<clever> let cmake make a mess, then clean up after it :P
<clever> vvbb[m]: nix-build
<Orbstheorem> vvbb[m]: Nix does not have a notion of “installing” something. But rather derivations, in a way you can use `nix-env -i` to emulate what installing something does, but I'd recommend against, rather you can use nix-shell to enter in an environment which contains the package you need.
<Orbstheorem> vvbb[m]: As clever hinted, you can build using `nix-build` (e.g. `nix-build my-package.nix`).
drakonis has joined #nixos
chloekek has joined #nixos
<Orbstheorem> vvbb[m]: If you'd rather make a script which you can run from you shell `./my-cool-script.py`, you can use nix-shell as a shebang. [This article which I just found](http://chriswarbo.net/projects/nixos/nix_shell_shebangs.html) seems to explain this well.
<{^_^}> [nixpkgs] @flokli opened pull request #67840 → release-notes: mention restricted SysRq key combinations → https://git.io/fjpkb
drakonis1 has quit [Ping timeout: 264 seconds]
jgeerds has quit [Ping timeout: 258 seconds]
<vvbb[m]> error: cannot auto-call a function that has an argument without a default value ('lib')
<vvbb[m]> getting this when trying to build it
<vvbb[m]> took it from the manual page template
<Orbstheorem> clever: Thanks, is `$dev/include` the directory where I should put my `libdodo.h` file so that other packages will find the header file when I include the derivation `dodo.dev` in `buildInputs`?
ilya-fedin has quit [Quit: Connection closed for inactivity]
<Orbstheorem> vvbb[m]: Can you point me the section in the manual so I can see the file?
<vvbb[m]> the toolz one
<clever> Orbstheorem: yep
<Orbstheorem> clever: Cool, thanks ^^
endformationage has joined #nixos
Myhlamaeus3 has quit [Ping timeout: 245 seconds]
<Orbstheorem> vvbb[m]: The first example file shows how to write a python package definition in a pure way, the error you're getting is because, in order to build that derivation, it requires 3 arguments: `lib`, `buildPythonPackage` and `fetchPypi`. You can continue reading to see how to make a derivation that requires zero parameters and thus may be build directly using nix-shell.
<vvbb[m]> hmmm
<clever> ,callPackage
<{^_^}> If a Nix file foo.nix starts with something like `{ stdenv, cmake }:`, you can build it with `nix-build -E '(import <nixpkgs> {}).callPackage ./foo.nix {}'`
<Orbstheorem> clever: callPackage doesn't work in that case, because buildPythonApplication is not in the top level.
<clever> pythonPackages.callPackage then
<FRidh> pass in python instead
<Orbstheorem> vvbb[m]: As clever suggested, you can try `nix-build -E '(import <nixpkgs> {}).pythonPackages.callPackage ./foo.nix {}'`
<Orbstheorem> I'd argue though, that such a complicated build command is not beginner-friendly
<vvbb[m]> 1 dependencies couldn't be built
<vvbb[m]> that's the error i get
<vvbb[m]> when running it with nix-shell
<clever> vvbb[m]: which dependency?
<vvbb[m]> it lists python3.5-pydle and python3-3.5.6-env
drakonis_ has joined #nixos
<clever> vvbb[m]: which one exited with a non-zero status?
<vvbb[m]> builder for '/nix/store/wf0yzf6zrm658z4krph4p645s7jir5wm-pydle-0.9.4.tar.gz.drv' failed with exit code 1
<clever> vvbb[m]: any error above that?
<vvbb[m]> nvm
<vvbb[m]> fixed it
<vvbb[m]> the version was wrong
<vvbb[m]> ok so it did build and i entered nix shell, so do i have to run this EVERY time i want to build anything withi t?
<vvbb[m]> that's kind of inconvenient
<{^_^}> [nixpkgs] @rycee merged pull request #66346 → Properly deprecate types.string → https://git.io/fj7LI
<{^_^}> [nixpkgs] @rycee pushed 3 commits to master: https://git.io/fjpIL
<clever> vvbb[m]: nix will cache the results of the build, so if you re-run nix-shell again in the future, it will be faster
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/44ce76322d4 (from 7 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
drakonis has quit [Ping timeout: 245 seconds]
<clever> vvbb[m]: and if you write a proper package, and nix-build the thing, it will remain built, and you can just run it directly
<rycee> infinisil: Now we'll see if the complaints start rolling in about types.string ;-)
<clever> rycee: :D, i can never remember which one is the right one to use
drakonis has joined #nixos
<clever> i keep having to refer to lib/types.nix
<vvbb[m]> the problem is i don't know how to write a proper package clever
<rycee> clever: Yeah, I'm glad infinisil finally made types.string give warnings.
simukis__ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<clever> vvbb[m]: what part are you stuck at?
<clever> vvbb[m]: its usually easy to go from a nix-shell to a nix-build
simukis_ has joined #nixos
drakonis_ has quit [Read error: Connection reset by peer]
<vvbb[m]> error: cannot auto-call a function that has an argument without a default value ('lib')
<vvbb[m]> this. every time
<clever> vvbb[m]: you need to use callPackage
casaca has quit [Ping timeout: 246 seconds]
<vvbb[m]> how?
<clever> ,callPackage vvbb[m]
<{^_^}> vvbb[m]: If a Nix file foo.nix starts with something like `{ stdenv, cmake }:`, you can build it with `nix-build -E '(import <nixpkgs> {}).callPackage ./foo.nix {}'`
<clever> vvbb[m]: 2019-08-31 14:01:58 < Orbstheorem> vvbb[m]: As clever suggested, you can try `nix-build -E '(import <nixpkgs> {}).pythonPackages.callPackage ./foo.nix {}'`
<vvbb[m]> my package is a python package
<vvbb[m]> doesn't use cmake or anything
<clever> vvbb[m]: pythonPackages.callPackage then
<vvbb[m]> lib, buildPythonPackage, fetchPypi
<vvbb[m]> only this
casaca has joined #nixos
<vvbb[m]> here's my package
<clever> vvbb[m]: yep, use nix-build -E '(import <nixpkgs> {}).pythonPackages.callPackage ./foo.nix {}'
<vvbb[m]> yeah but that uses python2
<vvbb[m]> not python3
<vvbb[m]> i just got an error that the running python is 2.7
<clever> vvbb[m]: then use python3Packages.callPackage
<vvbb[m]> yea it builds now
<vvbb[m]> but why?
<vvbb[m]> why do i have to use that?
<vvbb[m]> why can't i just use a file?
<clever> vvbb[m]: because thats how you load a file that starts with { lib, buildPythonPackage, fetchPypi }:
<Orbstheorem> python3Packages*
<Orbstheorem> `nix-build -E '(import <nixpkgs> {}).python3Packages.callPackage ./foo.nix {}'` works here ^^
<vvbb[m]> weird the manual doesn't say anything about that
<vvbb[m]> i thought it loads it automatically
<Orbstheorem> <...authmatically> that's the environment section right after the example file.
* Orbstheorem agrees some notes could be added to the manual though :)
growpotkin has joined #nixos
<infinisil> rycee: :D
<nilsirl[m]> postgresql doesn't work for me
<nilsirl[m]> I set services.postgresql.enable = true
<nilsirl[m]> but I got the following error:
ilya-fedin has joined #nixos
<philipp[m]> Anybody else having a broken tor-browser with `tor-browser-bundle-bin`?
<philipp[m]> Just no connection to the proxy despite my tor client running.
andgate has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @flokli closed pull request #67773 → [19.03] gitlab 12.1.6 -> 2.2.3 → https://git.io/fjxQK
rsoeldner has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @markuskowa merged pull request #67820 → nixos-generators: init at 1.0.0 → https://git.io/fjpeH
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fjpIl
rsoeldner has joined #nixos
andgate has joined #nixos
<TallerGhostWalt_> There is a line `nixLib = pkgs.callPackage /path/to/yarn2nix/nix-lib `
<TallerGhostWalt_> how do I get the path there?
chloekek has quit [Ping timeout: 245 seconds]
<clever> TallerGhostWalt_: you need to clone yarn2nix from github
<andgate> For searching packages the recommended command seems to be `nix-env -qaP`, but why is the -P option included? Why would packages need to be preserved during a query?
<TallerGhostWalt_> @clever okay I have done that and it seems to be properly installed
<TallerGhostWalt_> in other words I am able to generate yarn.nix
rnhmjoj has joined #nixos
rnhmjoj has joined #nixos
rnhmjoj has quit [Changing host]
feep has joined #nixos
<{^_^}> [nixpkgs] @zimbatm merged pull request #67838 → cryptpad: 2.25.0 -> 3.0.0 → https://git.io/fjpkE
<{^_^}> [nixpkgs] @zimbatm pushed commit from @blitz to master « cryptpad: 2.25.0 -> 3.0.0 (#67838) »: https://git.io/fjpIu
freeman42x[NixOS has quit [Remote host closed the connection]
freeman42x[NixOS has joined #nixos
DariusTheMede has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @ivan opened pull request #67841 → vulkan-headers, vulkan-tools: fix version → https://git.io/fjpIP
<freeman42x[NixOS> I do not understand where I can put this: https://i.imgur.com/jnAaO6k.png
<freeman42x[NixOS> just looking for a way to install python 27 with some packages such as setuptools
<freeman42x[NixOS> doing that for Haskell is easy
<freeman42x[NixOS> this example for Python is not clear to me
FRidh has quit [Quit: Konversation terminated!]
mac10688 has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @aanderse closed pull request #63230 → perlPackages.CatalystPluginSmartURI: init at 0.041 → https://git.io/fjanX
<TallerGhostWalt_> oh got it
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/c4adeddb5f8 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
wildtrees has joined #nixos
<{^_^}> [nixpkgs] @lopsided98 opened pull request #67842 → rtmpdump: use OpenSSL 1.1 to fix gstreamer crash → https://git.io/fjpIF
<{^_^}> [nixpkgs] @abbradar pushed to master « tensorflow: fix python2 build »: https://git.io/fjpIj
<abbradar> yorick: tensorflow fixed in e0795aa5e8c759bca435270facb5f90fefaa909a
<abbradar> tensorflow is as problematic as usual
<yorick> abbradar: did you manage to reproduce the cuda-crashing bug report?
<evanjs> freeman42x[NixOS: that would be in the top portion of a nix file. After the in, you can specify environment.systemPackages and include python-with-packages
<yorick> tensorflow taking an hour to build+test is a problem for me
hax404 has quit [Ping timeout: 264 seconds]
hax404 has joined #nixos
<abbradar> yorick: no, still working on it. it takes 2 or 3 hours to build cuda build for me
<evanjs> freeman42x[NixOS: just make sure you specify python2Packages rather than 3
<abbradar> at least python2 is fixed
<yorick> abbradar: awesomE!
<yorick> abbradar: maybe we should consider making the python3 build the default
<abbradar> I guess we'll just reeeeally have to move to py3 for 20.03 cause EOL
<abbradar> problem solved!
<{^_^}> [nixpkgs] @Ralith opened pull request #67843 → openxr-loader: 1.0.1 -> 1.0.2 → https://git.io/fjpLU
<Orbstheorem> I've been trying to package some lib for about 4 hours now, I've been dealing with bad-versions, outdated build instructions, multiple dependencies with unreleased versions and tons of compiler errors. I want to say that, given my experience in embedded software development, this has been a great experience compared to 9-hour-long debugging sessions just to get one library working with the right versions and
<Orbstheorem> so on. Fair enough, it's been 4 hours, but I've had way less frustration than I used and now I can easily replicate it in a different machine instead of having to go though my notes, crossing my fingers that I didn't mess up or forgot any step. Nix <3
<Izorkin> Please check PR #66953 and #65222
<{^_^}> https://github.com/NixOS/nixpkgs/pull/66953 (by Izorkin, 1 week ago, open): Enable work variant firewall and fail2ban with iptables-compat
<{^_^}> https://github.com/NixOS/nixpkgs/pull/65222 (by Izorkin, 5 weeks ago, open): mariadb: update packages
<samueldr> Orbstheorem: <3 the way it began I though you were going harsh on nix :)
jmeredith has quit [Quit: Connection closed for inactivity]
<freeman42x[NixOS> I ran into this issue with pip install: https://gist.github.com/razvan-flavius-panda/3cd056010636a112b1e397ad21745250
<Orbstheorem> samueldr: x)
drakonis1 has joined #nixos
drakonis1 has quit [Client Quit]
lambda-11235 has joined #nixos
<lambda-11235> So I'm using nix-shell for development offline. Well `nix-shell default.nix` always work offline after the first run? Besides doing an upgrade is there anything that well cause it to try to contact the Nix server?
drakonis1 has joined #nixos
<freeman42x[NixOS> how can I add 1 more path to the environment PATH variable?
<freeman42x[NixOS> I recall there was some setting which could be done in configuration.nix
<clever> freeman42x[NixOS: anything you add to systemPackages will appear within PATH
fusion809 has quit [Remote host closed the connection]
<freeman42x[NixOS> clever, I know, but I have some executables that were added by pip install and are not part of the path
<{^_^}> [nixpkgs] @puckipedia opened pull request #67844 → notmuch: 0.28.4 -> 0.29 (and assorted fixes) → https://git.io/fjpLB
<ivan> I want openssl's PKG_CONFIG_PATH in my env for `cargo` (outside nix), is there a good way to do this without running things in nix-shell?
<{^_^}> [nixpkgs] @edef1c closed pull request #67813 → notmuch: 0.28.4 -> 0.29 → https://git.io/fjxjM
<ivan> I noticed `nix show-derivation` exists but I'd be reinventing a wheel I suspect
<clever> ivan: the whole point of nix-shell is to handle that kind of thing for you
<clever> freeman42x[NixOS: your not really supposed to be using pip on nixos
<{^_^}> [nixpkgs] @flokli opened pull request #67845 → nixos/redis: unbreak module, add test → https://git.io/fjpLz
gjabell has joined #nixos
juhe has quit [Read error: Connection reset by peer]
rsoeldner has quit [Remote host closed the connection]
juhe has joined #nixos
<Orbstheorem> How do I specify a dependency's minimal version?
DariusTheMede has joined #nixos
<emily> generally you don't since nixpkgs packages are pinned to one specific version; if it's something like python where there are multiple versions then there's specific stuff for gating on that
Soo_Slow has joined #nixos
<infinisil> There are some utils you can use to compare version numbers at least
<infinisil> > lib.versionAtLeast "1.2" "1.1"
<{^_^}> true
<infinisil> Um what
<infinisil> Ah
<Orbstheorem> infinisil: Hi o/
<infinisil> o/
<Orbstheorem> I think I've seen asserts on some derivations on nixpkgs
<Orbstheorem> Is it recommended though?
<infinisil> Ah yeah, I guess if you're sure that it doesn't work with some versions and that people are likely to use different ones then it can make sense
<infinisil> E.g. it makes sense in linuxPackages because some modules don't work with all versions and people are using lots of different linux versions
<freeman42x[NixOS> does anyone know in which package I can find this lib? "error while loading shared libraries: libatspi.so"
<Orbstheorem> For instance, the library I'm packaging requires libc>=2.17 and libusb>=1.0.10
feep has quit [Ping timeout: 258 seconds]
<infinisil> Ah I wouldn't put assertions for that no
<Orbstheorem> Is that something I should specify versioning for?
<Orbstheorem> Oh okay ^^
* Orbstheorem would like something like lintian for nix :)
<infinisil> > libusb.name
<{^_^}> "libusb-compat-0.1.5"
<infinisil> Huh
<Orbstheorem> >libusb1.name
<Orbstheorem> > libusb1.name
<{^_^}> "libusb-1.0.22"
<infinisil> Ah
<infinisil> ,locate libatspi.so
<{^_^}> Found in packages: at-spi2-core
<infinisil> ,locate
<{^_^}> Use ,locate <filename> to find packages containing such a file. Powered by nix-index (local installation recommended) https://github.com/bennofs/nix-index
<infinisil> freeman42x[NixOS: ^
chloekek has joined #nixos
feep has joined #nixos
<Orbstheorem> How do I specify a package with no sources? (i.e. a meta package.)
<edef> elaborate on what you're trying to do?
<DariusTheMede> I am trying to run a jupyter notebook with an R kernel as described here: https://nixos.wiki/wiki/R
<Orbstheorem> edef: I am boundling a collection of libraries independently packaged. (cf. https://github.com/xtrx-sdr/images/blob/master/sources/CMakeLists.txt)
<DariusTheMede> I tried nix-shell --pure -I nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-19.03.tar.gz but get
<DariusTheMede> sh: jupyter: command not found
<DariusTheMede>
<DariusTheMede> In system2("jupyter", "notebook") : error in running command
<DariusTheMede> Warning message:
zupo has joined #nixos
<freeman42x[NixOS> I did find out it was in that package, but installing it did not fix the error message, infinisil++
<{^_^}> infinisil's karma got increased to 134
<Orbstheorem> s/boudling/making a bundle/ xD
<infinisil> Orbstheorem: What do the build steps of the package all do?
feep has quit [Ping timeout: 245 seconds]
klntsky has quit [Remote host closed the connection]
<edef> Orbstheorem: hm
klntsky has joined #nixos
<infinisil> There is unpackPhase = ":" which you can use with mkDerivation if you don't want to set a src, but oftentimes there's a better way depending on what you need, e.g. pkgs.runCommand
lambda-11235 has quit [Quit: Bye]
<Orbstheorem> I'm not going for runCommand because I intend to eventually get this on nixpkgs.
<infinisil> there's nothing wrong with using runCommand in nixpkgs
bakakuna has joined #nixos
<Orbstheorem> Still, I'm not running any command, it's just a bundle of pkgs.
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Guanin has joined #nixos
<qyliss> runCommand is a lighter-weight version of mkDerivation
<qyliss> mkDerivation runs lots of commands; runCommand just runs one
valebes has quit [Ping timeout: 245 seconds]
freeman42x[NixOS has quit [Remote host closed the connection]
<Orbstheorem> hum, so even if the name is misleading, it is preferable to use runCommand?
<qyliss> For simple things, yes
freeman42x[NixOS has joined #nixos
<Orbstheorem> Hum
valebes has joined #nixos
valebes has quit [Read error: Connection reset by peer]
trevthedev has joined #nixos
valebes has joined #nixos
<trevthedev> hi all, so i'm trying to package Minecraft Bedrock Edition via the appimage for NixOS, i have it working quite well actually, the launcher opens just fine but then once i try to run the game it gives me an error stating the ELF class is wrong, any ideas? The package source here: https://0x0.st/z4vb.nix
<Orbstheorem> `builder for '/nix/store/cp9r84jb40xnm4zikxhd3lzlhvhfzqja-libxtrx-all.drv' failed to produce output path '/nix/store/8clsdjzz7gjrznvbc45pcsxl8p67dzb6-libxtrx-all'`
<Orbstheorem> :(
<trevthedev> can build via nix-build -E 'with import <nixpkgs> {}; callPackage ./default.nix {}'
<trevthedev> /nix/store/m0xj1w9jwl1axa8vm10b9sd2w5pzym25-MinecraftBE-extracted/usr/bin/./mcpelauncher-client: error while loading shared libraries: libz.so.1: wrong ELF class: ELFCLASS64
<tilpner> trevthedev: Hey, you get a cookie for first proper wrapping attempt of an AppImage that I've seen: 🍪
<trevthedev> aye, thanks! I just kinda had to figure it out haha
<clever> trevthedev: is mcpelauncher-client a 32bit or 64bit binary?
<trevthedev> good question
<clever> trevthedev: run `file` on it
<trevthedev> pretty sure it's 64
<tilpner> trevthedev: Use file to find out
<trevthedev> alright
<trevthedev> Minecraft_Bedrock_Launcher.AppImage: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.18, stripped
<trevthedev> fun fact, this is the first package i've written from the ground up XD
<tilpner> Oh
<tilpner> I didn't read your entire paste
<tilpner> "appimage-run.out" Please return the cookie
<trevthedev> tried using other things too
<tilpner> Why did you add that?
<trevthedev> used steam-run, zlib, etc, none worked
<{^_^}> [nixpkgs] @astro opened pull request #67846 → rofi: fix rofi-theme-selector by setting $XDG_DATA_DIRS → https://git.io/fjptk
<clever> trevthedev: nix-store -qR ./result | grep zlib ?
<trevthedev> appimage-run was the last one i attempted with, so it's the one in the config XD
<trevthedev> /nix/store/ry2q0j2ri2cnf0lbx6vd3fic5k73wavn-zlib-1.2.11
<trevthedev> /nix/store/jjrwd95hrhfq53hqibcf0559ma2pdqfw-zlib-1.2.11-dev
<trevthedev> /nix/store/iiymx8j7nlar3gc23lfkcscvr61fng8s-zlib-1.2.11
<trevthedev> /nix/store/ww7601vx7qrcwwfnwzs1cwwx6zcqdjz3-zlib-1.2.11-dev
<clever> trevthedev: for both of the non-dev ones, run `file <thatpath>/lib/libz.so.1` ?
<clever> is one a 32bit?
dansho has quit [Ping timeout: 244 seconds]
<trevthedev> they're symbolic links, hm
<clever> trevthedev: what about `nix-instantiate --eval -E builtins.currentSystem` ?
<trevthedev> /nix/store/iiymx8j7nlar3gc23lfkcscvr61fng8s-zlib-1.2.11/lib/libz.so: symbolic link to libz.so.1.2.11
<clever> trevthedev: `file -L` to make it follow links
<tilpner> trevthedev: That opens a window here
<tilpner> trevthedev: Does the error come before or after the window appears?
<trevthedev> one is 32bit, one is 64
<trevthedev> error is before the game's window appears yes
<clever> trevthedev: what about `nix-instantiate --eval -E builtins.currentSystem` ?
<trevthedev> 64bit linux
<trevthedev> x86_64 haha
<clever> trevthedev: the problem is likely due to the 2nd zlib that is 32bit, but its not clear how it got into the mix
<trevthedev> hmmmm
<tilpner> trevthedev: So you don't get a "please sign in" window?
<clever> tilpner: do you see 2 zlibs on your end?
<tilpner> Probably, didn't check
<tilpner> Yes, two out, two dev
<trevthedev> no, just the launcher and then a window saying that it crashed and that error listed above
<tilpner> Wait, the launcher?
oborot has quit [Ping timeout: 245 seconds]
<trevthedev> yes
<tilpner> This thing? https://tx0.co/drU
<tilpner> I didn't know there were multiple windows, and I can't test past this one
<tilpner> So you'll need to paste the full error
<evanjs> Anybody have recommendations for module development/testing? eg nixos-shell, etc. Getting sick of -I nixpkgs=path and etc. though I also wonder how I’m going to test hardware (eg with #64552) devices in VMs if I were to use NixOS-shell, etc. like I guess just use the passthrough?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/64552 (by evanjs, 7 weeks ago, open): openrazer: init at 2.6.0
<tilpner> trevthedev: Run file on the mcpelauncher-client
<evanjs> Figure nixos-shell and etc is better than rebooting my ZNC server 30 times an hour. Not to mention I literally use whatever linux-latest is available, which then rebuilds VBox, etc...
<trevthedev> pasted full error previously, /nix/store/m0xj1w9jwl1axa8vm10b9sd2w5pzym25-MinecraftBE-extracted/usr/bin/./mcpelauncher-client: error while loading shared libraries: libz.so.1: wrong ELF class: ELFCLASS64
<trevthedev> Process exited with unexpected exit code: 127
<trevthedev> alright
<clever> trevthedev: let me see what happens if i try to reproduce it, ive got an account
<tilpner> evanjs: I try to avoid the necessity of switching into the configuration by checking the generated/built config with nix-instantiate
<trevthedev> where exactly is mcpelauncher-client? lowkey cant find it xd
<tilpner> You pasted the path
<trevthedev> oh yeah
<tilpner> evanjs: But of course that depends on what module you're writing. If it's only difficult at runtime, that doesn't help at all
<evanjs> tilpner: right, runtime testing is one thing (eg do these driver features do anything when enabled/are they working properly?) but the main thing I wanted to address first is if it builds.
<trevthedev> hmm
<trevthedev> mcpelauncher-client: ELF 32-bit LSB executable, Intel 80386, version 1 (GNU/Linux), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=1ec093544e253427efaea8e5b0992e158b35b0f8, with debug_info, not stripped
<trevthedev> that explains a bit
<trevthedev> could've sworn it was 64, but guess not haha
<evanjs> Without rebuilding my current system off nixpkgs, as I have linux_latest + VBox
<clever> trevthedev: oh, you ran file on the wrong thing when i asked you earlier, that makes the solution a bit simpler, one min
<tilpner> evanjs: Partial evaluations of just config.foo.bar.quux are much faster than evaluating config.system.build
<trevthedev> alright ^^
<clever> trevthedev: oh, or not, its a 64bit appimage, containing a 32bit program
<clever> https://gist.github.com/5af745e591765f082e1a41a10ac20889 makes the build process entirely 32bit, so it cant unpack the appimage
<trevthedev> hmm, weird
<trevthedev> yeah, some of the programs are 64bit
<trevthedev> thought that one is 32bit haha
valebes has quit [Ping timeout: 258 seconds]
<trevthedev> even the launcher-qt-ui is 64 xd
<trevthedev> sorrym ui-qt
<clever> trevthedev: at this point, it would be simpler to just forcibly extract the files, and then patchelf it like any other nix package
<clever> and ignore the entire appimage stuff
<evanjs> tilpner: Right for sure. nixos-shell looked attractive in that it builds a minimal working system with whatever you specify, sorta like nixops, though I think it uses QEMU?
<evanjs> tlipner: I also need to fix nur so I can access it from nix-env... or I guess just in systemPackages, probably
<tilpner> clever, trevthedev: appimageTools.extractType2 can be used for that, then do whatever patching you want
<clever> ah, extract rather then wrap
<tilpner> (But it's likely to need a lot of patching, so...)
DariusTheMede has quit [Ping timeout: 245 seconds]
<tilpner> evanjs: What would you need to use nix-env/systemPackages for?
<clever> tilpner: i already packaged multimc, which uses the java edition
<trevthedev> hmmmm
<evanjs> tilpner: for installing nixos-shell as its in the NUR
<trevthedev> where are the docs on extractType2?
<trevthedev> nvm
zupo has joined #nixos
<clever> trevthedev: https://gist.github.com/5af745e591765f082e1a41a10ac20889 is enough to extract it
<clever> [nix-shell:~/apps]$ cat $NIX_CC/nix-support/dynamic-linker
<clever> /nix/store/xqs95fqkjb1kd102yjv5h5q57gcsafb3-glibc-2.27/lib/ld-linux-x86-64.so.2
<clever> [--set-interpreter FILENAME]
<evanjs> Or I could just use nixops *shrugs*
<clever> [--set-rpath RPATH]
o1lo01ol1o has quit [Remote host closed the connection]
<trevthedev> yea, is why i had such a pain figuring out how to package it at first XD
<trevthedev> thanks clever, haha
<trevthedev> so now i go through with the standard patchelf --print-needed etc etc?
<clever> trevthedev: yeah, let me update the gist once more
<trevthedev> alright
<clever> [clever@amd-nixos:~/apps]$ nix-build mc-bedrock.nix -o mc-bedrock -A patchedBedrock
<clever> trevthedev: same gist url as before, just refresh
<trevthedev> there we go, nice
<trevthedev> now what?
<clever> trevthedev: just keep adding patchelf commands as normal until it works
<trevthedev> alright
<clever> for 32bit binaries, it will need to be slightly different
o1lo01ol1o has joined #nixos
<clever> > lib.makeLibraryPath [ pkgsi686Linux.zlib ]
<{^_^}> "/nix/store/1ag3ylvpw8izwzjgqrpsd7ain7qs5gf0-zlib-1.2.11/lib"
<clever> trevthedev: this will generate an rpath that uses the 32bit zlib
joebobjoe has quit [Ping timeout: 246 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<trevthedev> where do i set that?
<trevthedev> in default.nix?
<clever> trevthedev: patchelf --set-rpath ${lib.makeLibraryPath [ pkgsi686Linux.zlib ]} usr/bin/some-32bit-binary
<trevthedev> bash: ${lib.makeLibraryPath [ pkgsi686Linux.zlib ]}: bad substitution
<clever> and for the 32bit interpreter
<clever> trevthedev: in the nix file i gave, look at line 14
<clever> --set-interpreter $(cat ${pkgsi686Linux.gcc}/nix-support/dynamic-linker), for the 32bit interpreter
<clever> oops, --no-preserve=mode did a -x to everything!
valebes has joined #nixos
<trevthedev> hm
<trevthedev> it keeps throwing the bad substitution
<clever> it must be done in a nix file, not a normal shell
<trevthedev> oh
<{^_^}> [nixpkgs] @eadwu opened pull request #67847 → vulkan-headers: revert version back to 1.1.114.0 → https://git.io/fjpta
<trevthedev> so i replace the one on line 14?
<clever> yeah
<trevthedev> hmm
<trevthedev> what now?
<{^_^}> [nixpkgs] @primeos pushed to master « gns3Packages.{server,gui}Preview: 2.2.0rc3 -> 2.2.0rc4 »: https://git.io/fjptw
shibboleth has joined #nixos
<freeman42x[NixOS> is there some NixOS preffered application for viewing operating system level error logs?
<symphorien> journalctl ?
<clever> trevthedev: i updated the gist again
<trevthedev> alright
o1lo01ol1o has quit [Remote host closed the connection]
<trevthedev> do i still need to add the --set-interpreter for the 32bit interpreter?
<clever> trevthedev: for the 32bit binaries, yes
<trevthedev> alright
<evanjs> freeman42x[NixOS: just the normal journalctl/systemctl and dmesg, etc. unless you’re looking for something super specific that isn’t in either of those places
valebes has quit [Quit: Quit]
<trevthedev> ah, progress!
<trevthedev> need libEGL, will work on that
shibboleth has quit [Remote host closed the connection]
shibboleth has joined #nixos
<trevthedev> libglvnd.out
<trevthedev> gah, where do i put this again in the package?
<clever> trevthedev: libEGL.so is in /run/opengl-driver/lib
o1lo01ol1o has joined #nixos
<trevthedev> hmm
juhe has quit [Quit: Leaving.]
<trevthedev> idk what to do with this information ;-;
<clever> trevthedev: add it to the rpath, the same way i added $out/usr/lib/
<trevthedev> hmm, so i put libglvnd.out in the lib.makeLibraryPath?
<clever> trevthedev: just /run/opengl-driver/lib
<clever> trevthedev: after $out/usr/lib
<trevthedev> throws error, says it failed to build but without reason
<trevthedev> builder for '/nix/store/p5mw8w6j3vgd5dy5qv4p8ashphws153k-mc-bedrock.drv' failed with exit code 1
<trevthedev> error: build of '/nix/store/p5mw8w6j3vgd5dy5qv4p8ashphws153k-mc-bedrock.drv' failed
<clever> trevthedev: can you paste the rpath line here?
<trevthedev> patchelf --set-rpath ${lib.makeLibraryPath [ zlib gcc.cc openssl ]}:$out/usr/lib/ /run/opengl-driver/lib usr/bin/mcpelauncher-ui-qt
<clever> trevthedev: the rpath is seperated with :'s
<clever> you have a space there, which is giving patchelf too many args
<trevthedev> there we go, thanks
<trevthedev> ./mcpelauncher-client: error while loading shared libraries: libEGL.so.1: cannot open shared object file: No such file or directory
<trevthedev> same error
<clever> trevthedev: does libEGL.so exist in /run/opengl-driver/lib ?
kthnnlg has joined #nixos
<trevthedev> mesa does
<clever> trevthedev: try adding mesa to makeLibraryPath then?
<trevthedev> libEGL_mesa.la, libEGL_mesa.so, libEGL_mesa.so.0, libEGL_mesa.so.0.0.0
<trevthedev> all there is, no libEGL.so
<clever> thats more of a bug with the gpu drivers
<trevthedev> hm
ossus has joined #nixos
joebobjoe has joined #nixos
<trevthedev> what can i do to fix that?
<clever> trevthedev: the : is missing still
<clever> it says no such file or directory, because its trying to patch /run/opengl-driver/lib
<trevthedev> patchelf --set-rpath ${lib.makeLibraryPath [ zlib gcc.cc ]}:$out/usr/lib/:/run/opengl-driver/lib usr/bin/mcpelauncher-ui-qt
<clever> the screenshot shows otherwise
<trevthedev> weird, is how the line is ;-;
<clever> did you save the file?
<trevthedev> yup
<trevthedev> the file doesn't exist
<trevthedev> think that's why it's saying that
<clever> trevthedev: also, you dont need to be in nix-shell when testing this
<trevthedev> alright
<trevthedev> throws issue still, hm
<trevthedev> does it do this for you?
<clever> mc-bedrock/usr/bin/mcpelauncher-ui-qt: error while loading shared libraries: libglib-2.0.so.0: cannot open shared object file: No such file or directory
ossus has quit [Ping timeout: 258 seconds]
<trevthedev> yea
<trevthedev> though that's for ui-qt
<trevthedev> was doing mcpelauncher-client
<{^_^}> [nixpkgs] @mmahut merged pull request #67783 → out-of-tree: 1.0.1 -> 1.1.1 → https://git.io/fjxdG
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjptA
<{^_^}> [nixpkgs] @mmahut merged pull request #67822 → timetable: 1.0.6 -> 1.0.8 → https://git.io/fjped
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjptp
<{^_^}> [nixpkgs] @samueldr merged pull request #67611 → [19.03] chromium: 76.0.3809.100 -> 76.0.3809.132 → https://git.io/fjxUU
<{^_^}> [nixpkgs] @samueldr pushed 2 commits to release-19.03: https://git.io/fjpth
jgeerds has joined #nixos
<{^_^}> [nixpkgs] @eadwu closed pull request #67847 → vulkan-headers: revert version back to 1.1.114.0 → https://git.io/fjpta
<trevthedev> gonna go through
<Orbstheorem> How do I package a dkms module?
<clever> Orbstheorem: look at linuxPackagesFor in all-packages.nix, and the nix files it refers to
<Orbstheorem> thanks
<{^_^}> [nixpkgs] @mmahut merged pull request #67843 → openxr-loader: 1.0.1 -> 1.0.2 → https://git.io/fjpLU
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjpqv
lnh^ has quit []
<{^_^}> [nixpkgs] @mmahut merged pull request #67826 → veracrypt: 1.23 -> 1.23-hotfix-2 → https://git.io/fjpJP
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjpqf
abaiste^ has joined #nixos
<visrelic> i finally got my service running by manually setting the nix store path in the service description, can anyone confirm there is no way to describe an entire package in 1 file for nixos?
<tilpner> You can do pretty much anything NixOS can do in one file
<tilpner> It's not always a good idea though
<visrelic> can't be worse than relying on the derivation not changing :P
<trevthedev> hmm
hax404 has quit [Ping timeout: 264 seconds]
<tilpner> visrelic: You'll need to give more pastes for anyone to be able to help you
<visrelic> what would you want me to paste?
hax404 has joined #nixos
<clever> trevthedev: no such file or directory means the interpreter isnt set
<tilpner> trevthedev: You don't usually put binaries into nixpkgs
<trevthedev> oh yeah, i commented out the interpreter on accident
<tilpner> visrelic: You haven't really said what you want help with yet, but probably that
<visrelic> tilpner: oh sry, i stated that a few hours ago, i'm attempting to port my debian package
<trevthedev> hmm, that's annoying. used ldd to find what the binary needed, used locate to get all of the stuff, and then used nixrepl to resolve paths. throw those to be the rpath, and uh, it still is missing stuff. fun
<tilpner> visrelic: And why can't you do that in just one file?
dasj19 has quit [Quit: dasj19]
<clever> trevthedev: when binary a loads library b, and b needs a c, it uses the rpath on library b
<visrelic> tilpner: it builds, everything gets installed to /nix/store, but as far as i can tell, installing a systemd service is a clusterfuck compared to debian's approach (though i understand why they don't use the same xD)
<clever> trevthedev: so you need to set the rpath on all of the libraries in $out/usr/lib/
<clever> trevthedev: for $lib in $out/usr/lib/*.so; do patchelf --set-rpath .... $lib; done
<tilpner> visrelic: We told you to put the package into systemd.packages, not the store path
<tilpner> So maybe paste your module
<{^_^}> [nixpkgs] @dywedir merged pull request #67713 → waypipe: init at 0.6.1 → https://git.io/fjxVs
<{^_^}> [nixpkgs] @dywedir pushed commit from @primeos to master « waypipe: init at 0.6.1 (#67713) »: https://git.io/fjpqk
<visrelic> tilpner: yea, as i said, clusterduck
<visrelic> tilpner: unless "systemd.packages" is a path, i don't even understand your last message
<clever> visrelic: you can use import or callPackage to load the other nix file, and then put that into systemd.packages
<tilpner> visrelic: Because Nix packages can be present in multiple versions, and can be present without being "installed", you wouldn't want all present packages to automatically add systemd packages
<trevthedev> gah, am confused
<tilpner> visrelic: So the NixOS option systemd.packages is used to select which packages you want to use packages from
<visrelic> tilpner: i do have a module containing a systemd.packages expression that's a direct port of my unit file, and have imported that in my configuration.nix, and that works, but only if i expect my package's derivation's hash not to change, since that's hard coded
<tilpner> visrelic: If you're not using NixOS, we've been having a fantastic misunderstanding
<tilpner> visrelic: So paste that module
<tilpner> You never need to hardcode hashes
<clever> visrelic: you can use import or callPackage to load the other nix file, and then put that into systemd.packages
bakakuna has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @flokli opened pull request #67848 → google-compute-config.nix: fix comments, update google-*.service units → https://git.io/fjpqt
<clever> visrelic: how did you generate that store path?
<tilpner> visrelic: Line 13 should be: ExecStart = "${pkgs.clarissa}/bin/clarissa -p"; after you added clarissa with an overlay
<visrelic> nix-env -f . -i
freeman42x[NixOS has quit [Ping timeout: 245 seconds]
<visrelic> tilpner: ${pkgs.clarissa} is the first thing i tried several days ago
<clever> visrelic: then do ExecStart = "${import /path/to/default.nix}/bin/clarissa -p";
<tilpner> visrelic: Alternatively you can do clarissa = pkgs.callPackage ./clarissa.nix {}; in a let-in block above
<visrelic> tilpner: i don't get overlays
<clever> visrelic: overlays just enable you to do pkgs.clarissa instead of what i gave
<tilpner> visrelic: I can link the manual or answer specific questions about overlays
<visrelic> i've looked at several manual pages about overlays, i don't get it
<trevthedev> ;-;
<visrelic> they seem to be missing some context
<clever> visrelic: nixpkgs.overlays = [ (self: super: { clarissa = pkgs.callPackage ./clarissa.nix {}; }) ]; is a basic overlay to solve this problem
ossus has joined #nixos
<trevthedev> hmm, so do i continue locating the libraries needed?
<clever> trevthedev: did you try setting the rpath on everything in $out/usr/lib/ yet?
<trevthedev> idk what you mean
<trevthedev> sorry, this is my first package haha
<clever> trevthedev: 2019-08-31 17:48:24 < clever> trevthedev: for $lib in $out/usr/lib/*.so; do patchelf --set-rpath .... $lib; done
<clever> 2019-08-31 17:47:45 < clever> trevthedev: when binary a loads library b, and b needs a c, it uses the rpath on library b
<clever> 2019-08-31 17:47:57 < clever> trevthedev: so you need to set the rpath on all of the libraries in $out/usr/lib/
<trevthedev> so i just put for $lib in $out/usr/lib/*.so; do patchelf --set-rpath .... $lib;?
<clever> trevthedev: yeah
<trevthedev> build fails
<clever> trevthedev: did you replace the .... with the ${lib.makeLibraryPath ...} ?
<trevthedev> oh, no sorry
freeman42x[NixOS has joined #nixos
<trevthedev> what do i put in for the ellipsis?
<clever> trevthedev: the same thing your using for the other --set-rpath
<bodqhrohro> How to make a GTK+2 theme based on clearlooks engine displayed properly in apps from nixpkgs? I tried installing gtk_engines package, but it didn't help.
<trevthedev> zlib, gcc.cc, etc?
<clever> trevthedev: yes
<trevthedev> still throws the same error with no reason
<clever> trevthedev: is the ;done present?
shibboleth has quit [Quit: shibboleth]
<clever> trevthedev: compare what i gave to your code
<trevthedev> idk what you mean by ;done
<clever> 2019-08-31 17:57:40 < clever> trevthedev: 2019-08-31 17:48:24 < clever> trevthedev: for $lib in $out/usr/lib/*.so; do patchelf --set-rpath .... $lib; done
<clever> trevthedev: the last word in this line
<clever> 2019-08-31 17:58:28 < trevthedev> so i just put for $lib in $out/usr/lib/*.so; do patchelf --set-rpath .... $lib;?
<kthnnlg> Hi All, I'm working with some experimental microkernel that needs grub somewhere in some particular range of versions, e.g., approximately 2.02 (beta). As such, I'd like to install and experiment a number of grub versions, in the most straightforward, recommended way possible. What would be a good approach? If possible, I'd like to see if it can be done using just command-line tools, e.g., nix-shell. Thanks
<clever> trevthedev: which you omited in the question
<trevthedev> there we go
<trevthedev> hm, brilliant
<trevthedev> ./mcpelauncher-ui-qt: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
reallymemorable has joined #nixos
<clever> trevthedev: try running lddtree on mcpelauncher-ui-qt
<trevthedev> 2 for $lib in $out/usr/lib/*.so; do patchelf --set-rpath ${lib.makeLibraryPath [ zlib gcc.cc ] } $lib;done
<trevthedev> alright
<trevthedev> ignore the 2
drakonis1 has quit [Ping timeout: 252 seconds]
gjabell has left #nixos ["WeeChat 2.5"]
<trevthedev> should i grep not found?
<clever> trevthedev: try changing it to $out/usr/lib/*.so*
<trevthedev> alright, stil same error
<trevthedev> s/stil/still
<trevthedev> for $lib in $out/usr/lib/*.so*; do patchelf --set-rpath ${lib.makeLibraryPath [ zlib gcc.cc ] } $lib;done
<trevthedev> ./mcpelauncher-ui-qt: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
<clever> trevthedev: can you pastebin the output of lddtree on the binary?
<trevthedev> ye
freeman42x[NixOS has quit [Ping timeout: 244 seconds]
jmeredith has joined #nixos
drakonis_ has joined #nixos
<clever> trevthedev: and the latest copy of the nix file?
<Orbstheorem> Is there a copy of the nixpkgs of the current system somewhere? x)
<clever> trevthedev: you commented out the line that fixes mcpelauncher-ui-qt's rpath
<trevthedev> uncommented, rebuilt, and
<trevthedev> ./mcpelauncher-ui-qt: error while loading shared libraries: libglib-2.0.so.0: cannot open shared object file: No such file or directory
<clever> ,locate libglib-2.0.so.0
<{^_^}> Found in packages: glib
<clever> trevthedev: you need to add glib to the rpath
<gleber_> Guanin: I've seen you trying to get Filebot to be usable on NixOS last year. I have gone a very similar rabbit hole
<trevthedev> okay that's a bloody amazing feature
<trevthedev> alright
johnny101m has quit [Remote host closed the connection]
<trevthedev> ./mcpelauncher-ui-qt: error while loading shared libraries: libglib-2.0.so.0: cannot open shared object file: No such file or directory
drakonis has quit [Ping timeout: 264 seconds]
<trevthedev> 15 patchelf --set-rpath ${lib.makeLibraryPath [ glib zlib gcc.cc ]}:$out/usr/lib/:/run/opengl-driver/lib usr/bin/mcpelauncher-ui-qt
<tilpner> Orbstheorem: nix-instantiate --find-file nixpkgs
<trevthedev> ignore 15
domogled has quit [Ping timeout: 244 seconds]
<clever> trevthedev: both rpath's
Myhlamaeus3 has joined #nixos
<clever> trevthedev: if you look at the lddtree, youll see that glib was used by libQt5WebEngineCore.so.5
ossus has quit [Ping timeout: 244 seconds]
<clever> trevthedev: so it must be in libQt5WebEngineCore.so.5's rpath, which the for loop is doing
<trevthedev> did both rpaths, same error
<andgate> can nix-env -qa change my environment? Why do some guides recommend -qaP instead?
<clever> trevthedev: had the lddtree output changed?
<trevthedev> patchelf --set-rpath ${lib.makeLibraryPath [ glib zlib gcc.cc ]}:$out/usr/lib/:/run/opengl-driver/lib usr/bin/mcpelauncher-ui-qt
<trevthedev> for $lib in $out/usr/lib/*.so*; do patchelf --set-rpath ${lib.makeLibraryPath [ glib zlib gcc.cc ] } $lib;done
<trevthedev> will check
<clever> trevthedev: i dont see glib in the 2nd rpath
<clever> oh wait, there it is
<trevthedev> libglib-2.0.so.0 => not found
<evanjs> Anybody know how I’d go about making vim skeleton files or whatever they’re called for my vim expression/configuration in NixOS? Or rather, what’s the easiest way I can make new .nix files bring me to an empty file with `{ config, lib, pkgs, ...}: {}`, etc?
Myhlamaeus4 has joined #nixos
Myhlamaeus3 has quit [Read error: Connection reset by peer]
<clever> trevthedev: not sure why its not finding it
<Orbstheorem> tilpner: :D Thanks :D
<trevthedev> hmm
drakonis has joined #nixos
xkapastel has joined #nixos
<trevthedev> (current lddtree)
drakonis has quit [Quit: WeeChat 2.4]
<trevthedev> hmm
<trevthedev> no idea
<trevthedev> am at a complete loss ;-;
joebobjoe has quit [Ping timeout: 246 seconds]
<trevthedev> decided not to ommit .out, still didn't work
<Miyu-saki> > glib.out
<{^_^}> "<derivation /nix/store/d38l11h2p5r5ggcna9bqn91c6imbsfks-glib-2.60.6.drv>"
<Miyu-saki> >glib.lib
joebobjoe has joined #nixos
<clever> > "${glib.out} vs ${glib.lib}"
<Miyu-saki> Oh, there's no glib.lib
<{^_^}> attribute 'lib' missing, at (string):263:19
* Miyu-saki shrug
<clever> ah
<clever> > glib.output
<{^_^}> attribute 'output' missing, at (string):263:1
<trevthedev> aaaaaaaaaaa
<clever> > glib.outputs
<{^_^}> [ "bin" "out" "dev" "devdoc" ]
* trevthedev is very confused and wants to shove a pencil into his forehead
<Miyu-saki> It's okay, that's normal
<{^_^}> [nixpkgs] @gleber opened pull request #67849 → filebot: init at 4.8.5 → https://git.io/fjpqa
logzet has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<Miyu-saki> Hm.
<Miyu-saki> trevthedev: Could it be different architectures?
<Miyu-saki> 32-bit vs 64-bit
<trevthedev> ***maybe***, idk
<trevthedev> the binary im trying to patch rnis 64bit
<trevthedev> rn is*
<trevthedev> i dont think it's different architectures
joebobjoe has quit [Ping timeout: 258 seconds]
vika_nezrimaya has joined #nixos
<trevthedev> would throw an elf class error
johnny101m has joined #nixos
_zincy has joined #nixos
kthnnlg has quit [Remote host closed the connection]
joebobjoe has joined #nixos
<Miyu-saki> readelf -h /nix/store/m0xj1w9jwl1axa8vm10b9sd2w5pzym25-MinecraftBE-extracted/AppRun | grep 'Class\|File\|Machine'
<Miyu-saki> Class: ELF64
<Miyu-saki> Machine: Advanced Micro Devices X86-64
<Miyu-saki> Hm
<{^_^}> [nixpkgs] @mmahut merged pull request #67819 → nomad: 0.9.4 -> 0.9.5 → https://git.io/fjpeM
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjpq6
<trevthedev> hm
* trevthedev is in deep thought
<Miyu-saki> My guess is that one of the dependents of mcpelauncher does not have its runpath patched.
<trevthedev> hmmmmmm, perhaps
<clever> Miyu-saki: thats where lddtree comes into play
<visrelic> clever: using ${import /path/to/default.nix} works :D , the nixpkgs.overlays line you provided, i'm assuming that's supposed to be added to configuration.nix, and then switch to ${pkgs.clarissa} in clarissa.nix, but that loses the path to the default.nix
joebobjoe has quit [Ping timeout: 246 seconds]
<clever> visrelic: the path has to be relative to configuration.nix
<trevthedev> hmm
<clever> visrelic: or you make your own module, in the same dir as default.nix, use ./default.nix, and then put that module into imports, imports = [ /path/to/module.nix ];
<Miyu-saki> Yeah, I think I'm correct.
<Miyu-saki> 23301: find library=libglib-2.0.so.0 [0]; searching
<trevthedev> hm
<Miyu-saki> 23301: trying file=/nix/store/681354n3k44r8z90m35hm8945vsp95h1-glibc-2.27/lib/libglib-2.0.so.0
<Miyu-saki> And it terminates there.
<Miyu-saki> Something seems to only have glibc in their rpath.
<clever> Miyu-saki: we could also try using the libQt5WebEngineCore from nixpkgs, rather then the one the appimage ships
<Miyu-saki> Yeah lol
<Miyu-saki> libQt5WebEngineCore.so.5 => /nix/store/459ypzpji49bz1m39vjxwrk1xx2mh9p5-mc-bedrock/usr/lib/libQt5WebEngineCore.so.5
<Miyu-saki> libglib-2.0.so.0 => not found
<visrelic> clever: first response, in the proposed configuration with the overlay, there is no field to put the path to my default.nix
<clever> visrelic: the callPackage in the overlay, takes the path to your default.nix
<Miyu-saki> clever: Oh, you already pointed that out. Whoops!
<Miyu-saki> Sorry lol
joebobjoe has joined #nixos
mexisme has joined #nixos
<{^_^}> [nixpkgs] @aanderse merged pull request #66099 → udis86: init at 1.7.2 → https://git.io/fjHjX
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/fjpqX
<trevthedev> hmmm
<visrelic> clever: if i do that, and change my clarissa.nix to ${pkgs.clarissa} i get "error: attempt to call something which is not a function but a set"
<clever> visrelic: can you put both files into a gist
<{^_^}> [nixpkgs] @romildo opened pull request #67851 → qogir-theme: 2019-05-03 -> 2019-08-31 → https://git.io/fjpq1
tiAy has joined #nixos
drakonis_ has quit [Ping timeout: 245 seconds]
<trevthedev> hmm, so if that's not an issue what is?
drakonis has joined #nixos
drakonis has quit [Client Quit]
<{^_^}> [nixpkgs] @veprbl merged pull request #67762 → nvidia_x11: 430.40 -> 435.21 → https://git.io/fjxyH
<{^_^}> [nixpkgs] @veprbl pushed 2 commits to master: https://git.io/fjpqy
<{^_^}> [nixpkgs] @gleber opened pull request #67852 → nixos/module/deluge: fix directory ownership. → https://git.io/fjpqS
<Orbstheorem> Took me about 9 hours of work but I got my xtrx working \o
<Orbstheorem> \o/
<Orbstheorem> Also, I forgot dinner xD
<_zincy> classic
<visrelic> clever: no, but i tried your second suggestion which works perfectly and seems like a cleaner solution to me (since now all files are in the same directory/repo), they're here if you want to see https://gitlab.com/evils/clarissa/tree/nix
<trevthedev> nice, good job Orbstheorem
asymptotically has quit [Quit: Leaving]
<clever> visrelic: you need to swap the comment on lines 1/2 of default.nix, then callPackage will work
<trevthedev> so, sin can be good
<trevthedev> i put appimage-run in
<trevthedev> and now that library is found
<visrelic> clever: ah, but then i get, "cannot coerse a function to a string"
valebes has joined #nixos
<clever> visrelic: now you need to use callPackage instead of import
<clever> visrelic: pkgs.callPackage ./. {}
<trevthedev> oh nevermind im illiterate it seems
Palpares has joined #nixos
Palpares_ has quit [Ping timeout: 260 seconds]
<_zincy> I am having trouble with this default.nix - I am not sure where the patchFlags should go. It appears to fix the problem that I have here
<clever> _zincy: thats passing patchFlags to all of haskellPackages, not to a single package
<visrelic> clever: where should i use this?
<clever> visrelic: where you had `import ./default.nix`
hmpffff has quit [Quit: nchrrrr…]
hmpffff has joined #nixos
hmpffff has quit [Client Quit]
drakonis has joined #nixos
hmpffff has joined #nixos
hmpffff has quit [Client Quit]
<_zincy> clever: Ok thanks, Ill try and put it in the mkDerivation of the problematic haskell packages
johnny101m has quit [Remote host closed the connection]
<clever> _zincy: you could also do it with the overrides, but those are in haskell-overridez.nix which you havent pasted
hmpffff has joined #nixos
hmpffff has quit [Client Quit]
<trevthedev> am gonna leave off here for now
ilya-fedin[m] has joined #nixos
hax404 has quit [Remote host closed the connection]
joebobjoe has quit [Ping timeout: 258 seconds]
hax404 has joined #nixos
trevthedev has left #nixos ["Gonna go relax a bit and come back to this project in a bit"]
<clever> _zincy: no, fetchTarball doesnt accept patchFlags
<clever> _zincy: it has to go into the default.nix, within haskell-overridez
civodul has quit [Quit: ERC (IRC client for Emacs 26.2)]
mexisme has quit [Ping timeout: 264 seconds]
<clever> _zincy: or you need to use several haskell overlays, perhaps isolate the haskell-overridez one from the other thing thats using beam-core
ilya-fedin has left #nixos [#nixos]
<{^_^}> [nixpkgs] @ivan opened pull request #67853 → python3Packages.pikepdf: 1.1.0 -> 1.6.2, pybind11: 2.2.4 -> 2.3.0 → https://git.io/fjpqp
<_zincy> If i have an import ./pkgs-from-json.nix {json = ./nixos-19.02.json; };
<_zincy> how would I pass in inherit overlays; to that?
<clever> _zincy: depends on what pkgs-from-json.nix is doing
<clever> _zincy: line 13, where it does import src {}, you want to do `import src { overlays = something; }
<clever> _zincy: you can probably add overlays around line 1-4, to accept it along with the json
<{^_^}> [nixpkgs] @alyssais opened pull request #67854 → mhonarc: 2.6.18 -> 2.6.19, fix build, and cleanup → https://git.io/fjpmv
ossus has joined #nixos
ilya-fedin[m] is now known as ilya-fedin
drakonis has quit [Quit: WeeChat 2.4]
ossus has quit [Ping timeout: 258 seconds]
boxscape has joined #nixos
_zincy has quit [Ping timeout: 252 seconds]
joebobjoe has joined #nixos
mac10688 has joined #nixos
_zincy has joined #nixos
<o1lo01ol1o> I keep getting "Warning: Identity file /run/keys/hqr-secret not accessible: Permission denied." in a hydra job that tries to send builds to a `darwin` machine. The ssh key it's supposed to use is in there but I can't figure out why it can't get access to it.
<o1lo01ol1o> It sends builds to the machine for 40 minutes or so and then starts to abort jobs with that error
Blessjah has quit [Ping timeout: 258 seconds]
Blessjah has joined #nixos
slack1256 has joined #nixos
philr has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<visrelic> clever: that works, but it seems somewhere along the way the binary stopped being in the path, i'm also unclear about how to get my man pages to work
<{^_^}> [nixpkgs] @adisbladis pushed 30 commits to master: https://git.io/fjpmO
chloekek has quit [Ping timeout: 246 seconds]
Rusty1 has joined #nixos
beyuu has joined #nixos
o1lo01ol1o has quit [Ping timeout: 258 seconds]
ng0 has quit [Quit: Alexa, when is the end of world?]
inkbottle has quit [Ping timeout: 246 seconds]
<beyuu> i'm trying to install nixos, but i'am getting a bunch of warning saying i can't reach https://cache.nixos.org/nix-cache-info and other things. Error at the end says "buid of ... nixos-system-nixos ... failed" since it can't build the dependencies. Does someone have a clue where the issue is?
<infinisil> beyuu: Can you `curl https://cache.nixos.org/nix-cache-info` successfully in a terminal?
<beyuu> can't resolve host
_zincy has quit [Ping timeout: 252 seconds]
<infinisil> What about `curl google.com`?
<infinisil> If that also fails, you probably don't have any internet connection :)
<beyuu> yeah, seems like that, mb. Thought he downloaded something before, but it seems he didn't
slack1256 has quit [Remote host closed the connection]
ethylomat has joined #nixos
joebobjoe has quit [Ping timeout: 258 seconds]
alex`` has quit [Ping timeout: 258 seconds]
<visrelic> clever++
<{^_^}> clever's karma got increased to 187
Blessjah has quit [Ping timeout: 244 seconds]
Blessjah has joined #nixos
beyuu has quit [Remote host closed the connection]
Guanin has quit [Remote host closed the connection]
wildtrees has quit [Quit: Leaving]
drakonis__ has joined #nixos
tiAy has quit [Quit: WeeChat 2.5]
inkbottle has joined #nixos
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 252 seconds]
mbrgm_ is now known as mbrgm
iyzsong has joined #nixos
ethylomat has quit [Remote host closed the connection]
drakonis__ has quit [Ping timeout: 245 seconds]