worldofpeace changed the topic of #nixos to: NixOS stable: 19.09 \o/ https://discourse.nixos.org/t/nixos-19-09-release/4306/2 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2018 || For best support,
<fresheyeball> clever: looks like that file is part of pytorch
<fresheyeball> which I included in propagatedBuildInputs as well as nativeBuildInputs
<clever> fresheyeball: and if you nix-build pytorch, does it have that file in its include dir?
<fresheyeball> clever: it just has bin and lib in it's result
<clever> fresheyeball: is it split output? does it have a .dev output?
mexisme_ has joined #nixos
<fresheyeball> clever: no, just `bin` and `lib` according to ls -al
<{^_^}> [nixpkgs] @worldofpeace merged pull request #75418 → nixos/transmission: don't use types.str → https://git.io/Je9J9
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/Je9zm
<{^_^}> [nixpkgs] @worldofpeace pushed 0 commits to worldofpeace-patch-1: https://git.io/Je9zY
<clever> fresheyeball: thats not how split outputs work
<{^_^}> [nixpkgs] @edef1c opened pull request #75466 → git: 2.24.0 -> 2.24.1 → https://git.io/Je9z3
<clever> fresheyeball: what happens if you try to build pytorch.dev?
ng0 has quit [Ping timeout: 260 seconds]
Ariakenom has quit [Quit: Leaving]
<fresheyeball> clever: ok that did a thing
<fresheyeball> lots of stuff in there
<clever> fresheyeball: now look in result-dev/include/
mexisme has quit [Ping timeout: 250 seconds]
ng0 has joined #nixos
<clever> fresheyeball: is the missing header at result-dev/include/c10/cuda/impl/cuda_cmake_macros.h ?
<fresheyeball> clever: CUDAGuardImpl.h CUDATest.h
<fresheyeball> just those 2 files
<clever> fresheyeball: that might be your problem
zeta_0 has joined #nixos
viric has joined #nixos
<{^_^}> [nixpkgs] @wamserma opened pull request #75468 → hexen: remove abandoned software → https://git.io/Je9zG
viric_ has quit [Read error: Connection reset by peer]
<fresheyeball> clever: amazing
noudle has quit []
<fresheyeball> the most recent release of pytorch was 1.3.1 which was on Nov 7
<fresheyeball> and is needed for the current relase of torchvision
<clever> ah, so it could be that pytorch is just old
<zeta_0> vaibhavsagar: thanks for responding to the issue, i wasn't sure if the problem was ihaskell, ghc or emacs related, anyways i'll go to the emacs guys and show them the problem
o1lo01ol1o has quit [Remote host closed the connection]
ddellacosta has quit [Read error: Connection reset by peer]
<fresheyeball> clever: I updated it to the latest release!
<fresheyeball> how did they manage to release torchvision when it depends on pytorch unreleased
<fresheyeball> fishy fishy
<clever> fresheyeball: is the sha256 correct?
ddellacosta has joined #nixos
<fresheyeball> yes
<fresheyeball> I just tried downgrading torchvision 0.4.1
<fresheyeball> and it still needs that file
<fresheyeball> hmm actually
<fresheyeball> if I mess with the hash for pytorch I am not seeing nix complain
<{^_^}> [nixpkgs] @edef1c opened pull request #75469 → git: 2.23.0 -> 2.23.1 → https://git.io/Je9z8
<zeta_0> i installed the ghc package called `haskellPackages.brick` in home.nix, and when i use it in a haskell program it throws the error: `ghcmod could not find module Brick`?
<clever> zeta_0: haskell modules are only ever visible if you correctly use ghcWithPackages
<fresheyeball> zeta_0: I would not advice you to manage your projects that way
<clever> zeta_0: you must use the ghc that comes from `haskellPackages.ghcWithPackages (ps: [ ps.brick ])`
<clever> zeta_0: and i would recomend using a shell.nix and default.nix to provide that, so you dont get ghc's mixed up between projects
nornagon has quit [Quit: Ping timeout (120 seconds)]
jgt2 has quit [Ping timeout: 250 seconds]
<fresheyeball> clever: ok confirmed, the hash for pytorch is correct
nornagon has joined #nixos
<fresheyeball> I am going to try pointing pytorch at HEAD
<{^_^}> [nixpkgs] @edef1c opened pull request #75470 → git: 2.19.2 -> 2.19.3 → https://git.io/Je9zB
fendor has quit [Read error: Connection reset by peer]
Jonathan83 has joined #nixos
Gohla has quit [Ping timeout: 265 seconds]
<Jonathan83> Can I ask a quick question.
<betawaffle> approved
<Jonathan83> (:
ddellacosta has quit [Ping timeout: 268 seconds]
<betawaffle> i mean, you didn't even use a ?
<zeta_0> well i am using the brick example in the nix haskell recipes instructions : https://www.srid.ca/haskell-nix.html
<zeta_0> here is the code with my home.nix haskell installation: https://gist.github.com/zeta-00/3c52b32e7ae96e7fa5ac7e7e8dd1c9c5
<Jonathan83> I am trying to get a nix-shell environment to build EmptyEpsilon. I copied the EE nix expression from nixpkgs to default.nix. But nix-shell is complaining.
<Jonathan83> I tried `nix-shell '<nixos>'` and it still is not working.
<Jonathan83> I guess I am going about it wrong, what am I missing?
Synthetica has quit [Quit: Connection closed for inactivity]
Gohla has joined #nixos
<zeta_0> clever: (ps: [ ps.brick ]) , so i need to replace brick with this? in home.nix? https://gist.github.com/zeta-00/3c52b32e7ae96e7fa5ac7e7e8dd1c9c5
<jared-w> zeta_0: did you run something like: nix-shell -p "haskellPackages.ghcWithPackages (p: [p.brick])" --run "runhaskell HelloWorld.hs"
<clever> zeta_0: if you install ghc with home-manager, you will run into problems when you need a different ghc next week
nornagon has quit [Ping timeout: 240 seconds]
<jared-w> Yes, this is something that's a massive departure from the normal way of doing things. Install everything "from scratch" in every repo or project or folder as far down as possible
<clever> i make a shell.nix for each project, that pulls in the right libraries for that project
<zeta_0> i just use ghc in home.nix for my own projects, and i plan on using nix-shell for work, maybe this is not the best approach?
<zeta_0> i like the declarative installation in home.nix
nornagon has joined #nixos
<clever> zeta_0: 2 months later, when your on a different machine (or your home.nix has evolved), you wont be able to build that project anymore
<zeta_0> i did run a nix-shell command, so that's why `brick` is not visible?
<clever> zeta_0: what args did you give to nix-shell?
<clever> zeta_0: what does `which ghc` return inside that shell?
<zeta_0> clever: i am on the `Using library dependencies` section of the instructions: https://www.srid.ca/haskell-nix.html
<zeta_0> clever: i followed the instructions exactly up to that point
<jared-w> did you copy and paste the shell command and run it exactly?
fresheyeball has quit [Read error: No route to host]
<zeta_0> jared-w: yes, but i left the nix-shell like the instructions said, i think i need to go back into nix-shell for brick to be visible?
<jared-w> yes
<clever> zeta_0: correct, brick will only be visible when inside that shell
<jared-w> more specifically, the command they give is a one-shot command that enters the shell, runs ghc on the file, and then leaves the shell
__monty__ has quit [Quit: leaving]
<zeta_0> i went into a nix-shell but the module brick not found error is still being thrown?
drakonis has quit [Quit: WeeChat 2.6]
<clever> zeta_0: can you copy/paste everything the terminal is showing, to a pastebin?
<zeta_0> oh, i just ran `nix-shell -p ghc` i did not see the section under the code:
<zeta_0> $ nix-shell \
<zeta_0> -p "haskellPackages.ghcWithPackages (p: [p.brick])" \
<zeta_0> --run "runhaskell HelloWorld.hs"
erasmas has quit [Ping timeout: 240 seconds]
<clever> zeta_0: that was giving you a ghc with no modules at all
<zeta_0> so nix-shell doesn't do this automatically, i need to be explicit, got it
<clever> zeta_0: if you create a shell.nix file, you can just run `nix-shell` with no args
<clever> and it will load whatever the shell.nix said to load
mbrgm_ has joined #nixos
<clever> zeta_0: in this project, im just using ghcWithPackages, so the shell.nix is just refering to the default.nix (indirectly)
ng0 has quit [Quit: Alexa, when is the end of world?]
mbrgm_ is now known as mbrgm
<zeta_0> clever: thanks, i'll take a look
<clever> zeta_0: https://github.com/cleverca22/machotool/blob/master/default.nix in this one, i dont have a shell.nix, but i am using cabal2nix, so it works via `nix-shell -A machotool.env`
<clever> machotool also includes an example of how to override libraries
<clever> in this case, the macho library was so ancient, it didnt compile with modern ghc, and was missing a couple features
<zeta_0> the command threw an error: `user error (Terminal does not define required capability "cup")` , i am using eshell in emacs, so maybe eshell can't do things like this?
<clever> zeta_0: try testing with a plain nix-shell first
<zeta_0> clever: ok on second'
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/8f3ca4ec168 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<zeta_0> clever: yes, it works bash terminal but not in eshell terminal, i wonder why
<zeta_0> i like to do everything in emacs, it sucks having to leave it
jluttine has quit [Ping timeout: 268 seconds]
<clever> zeta_0: youll need to investigate what eshell is doing differently to fail
<zeta_0> clever: my guess is that eshell is new and it is written in lisp, so i don't think it can do much beyond basic tasks (yet)
syzygyzer has quit [Remote host closed the connection]
<clever> zeta_0: try straceing emacs, to see what it ran nix-shell with
<zeta_0> clever: `straceing`?
<clever> zeta_0: `strace -o logfiles -f -e execve emacs something.hs`
<clever> then try using eshell, and exit
<clever> then read the logfiles
<clever> oh, `-ff` instead of `-f` makes it a bit more readable
<zeta_0> clever: well eshell has been throwing warning errors about its limited functionality, i guess i just pushed it past its limit
lovesegfault has quit [Quit: WeeChat 2.6]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #75440 → riot-web: Run install hooks → https://git.io/Je9GQ
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/Je9z5
<zeta_0> clever: anyways thanks for the help'
<zeta_0> clever++
<{^_^}> clever's karma got increased to 273
<zeta_0> clever: in `nix-shell -p ghc`, what does be mean? is it an argument or flag that means `path`?
<clever> zeta_0: `-p ghc` auto-generates: with import <nixpkgs> {}; stdenv.mkDerivation { name = "something"; buildInputs = [ ghc ]; }
<zeta_0> clever: and can i run shell scripts within a haskell file or am i going to have to use .sh files (the shell language looks difficult)
<clever> nothing stops you from doing normal haskell things inside the haskell code, including using things like turtle or systemm
<zeta_0> clever: wow, a simple command that does so much
<zeta_0> clever: turtle, systemm ,i have never heard of those things
<{^_^}> [nixpkgs] @cdepillabout merged pull request #75446 → Unbreak haskellPackages.clay → https://git.io/Je9cD
<{^_^}> [nixpkgs] @cdepillabout pushed 2 commits to haskell-updates: https://git.io/Je9zA
<clever> zeta_0: system was a typo
EdLin has quit [Quit: Going offline, see ya! (www.adiirc.com)]
<zeta_0> oh
<clever> you give it a string, it runs the string, end of story, lol
<zeta_0> coll'
<zeta_0> cool
<zeta_0> clever: what is ghcid ?
<zeta_0> is it like runhaskell ?
<clever> a program that runs ghci, and then does :r every time you modify a file
<clever> so you can see the most recent warnings/errors
<zeta_0> oh, that's very useful
Church- has quit [Quit: WeeChat info:version]
<clever> with ghcid, you dont really need an IDE
Church- has joined #nixos
<CMCDragonkai> I'm using the callPackage pattern in nix-build -E, is this correct? Or is there a shorter way to call it on the command line:
<CMCDragonkai> `nix-build -E '(import <nixpkgs> {}).python3Packages.callPackage ./default2.nix {}'`
<clever> CMCDragonkai: only way to make it shorter, is to put that string into a .nix file, and run `nix-shell thatfile.nix`
<CMCDragonkai> hmmm i see
<clever> CMCDragonkai: if you name it shell.nix, then you can just `nix-shell`
<zeta_0> in emacs i use haskell-mode integrated with haskell interactive, so i just type: C- c l and the file gets loaded in ghci with autocompletion etc
mla has joined #nixos
<CMCDragonkai> I was wondering that given that we submit Python packages to nixpkgs, how does it know whether a package is python 3-only compatible
lassulus has joined #nixos
<{^_^}> [nixpkgs] @grahamc merged pull request #75466 → git: 2.24.0 -> 2.24.1 → https://git.io/Je9z3
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to master: https://git.io/Je9gJ
<zeta_0> clever: currently ihaskell is broken in emacs, that sucks because ihaskell is so useful, it really helps my workflow
erasmas has joined #nixos
fresheyeball has joined #nixos
<fresheyeball> clever: so moving to pytorch head got it to make some more progress
<fresheyeball> new error if you are curious
<clever> zeta_0: about the only thing my workflow is missing (vim + ghcid) is context aware auto-completion
<fresheyeball> I added `ninja` to nativeBuildInputs
<fresheyeball> maybe that will do it
<clever> zeta_0: but youcompleteme in vim will auto-complete any "word" present in any open buffer, and i usually have those open for cross-referencing, or they are already used nearby
<fresheyeball> clever: have you tried HIE with Coc?
<clever> fresheyeball: nope
mla has left #nixos [#nixos]
<fresheyeball> clever: it's nice. Full LSP stuff in nvim
<fresheyeball> autocomplete, error reporting, documentation, the works!
<{^_^}> Channel nixos-19.09 advanced to https://github.com/NixOS/nixpkgs/commit/45ea6092203 (from 14 hours ago, history: https://channels.nix.gsc.io/nixos-19.09)
<fresheyeball> its also nice along side ghcid
kleisli has quit [Quit: Leaving]
<fresheyeball> ghcid building the whole target is useful
<zeta_0> it would be nice if autocompletion was built into ghci, oh well
<fresheyeball> but so is getting single module builds from ghc-mod
<zeta_0> hie with lsp is great
<clever> ghcid can also be configured to run an `IO` thing after all warnings are gone
mla has joined #nixos
<clever> so you could just point it towards a testcase, and let it rip
<zeta_0> it was hard to setup in emacs but it was worth it
<fresheyeball> ghcid is critical to haskell dev regardless
<clever> ghcid -c "runhaskell Setup.hs repl"
<clever> and this lets you run ghcid against cabal projects
<zeta_0> fresheyeball: agreed having to do things manually over and over again get painful after a while
werner291 has quit [Quit: werner291]
<clever> main problem i run into, is when i'm editing a library, and want to repl an executable
erasmas has quit [Ping timeout: 276 seconds]
<jared-w> I just find HIE so unbearably slow
<clever> which gets worse if i cross a cabal file boundary
<jared-w> even for toy projects
<fresheyeball> hmm, HIE runs pretty fast for me
<fresheyeball> on a big project though, yeah its a now
<fresheyeball> no*
werner291 has joined #nixos
ar has quit [Ping timeout: 276 seconds]
ee194350 has quit [Read error: Connection reset by peer]
<zeta_0> jared-w: hie slow?
<zeta_0> hie runs fast for me too
ee194350 has joined #nixos
dansho has quit [Ping timeout: 268 seconds]
<zeta_0> so is hie still unstable? i don't think it has reached version 1.0 yest right?
EdLin has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #75343 → nixos/polkit: remove root from adminIdentities → https://git.io/JeSap
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/Je9gY
<{^_^}> [nixpkgs] @marsam opened pull request #75471 → zeek: 3.0.0 -> 3.0.1 → https://git.io/Je9gO
werner291 has quit [Client Quit]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #75320 → gsignondPlugins: use recurseIntoAttrs → https://git.io/JeS0T
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/Je9g3
fresheyeball has quit [Ping timeout: 265 seconds]
<jared-w> maybe it's the laptop? I'm using a dell xps 9350 when I've used HIE. It could also be that I just find it super slow compared to the language server experience typescript has
<jared-w> which, admittedly, isn't an entirely fair comparison
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/Je9g0
thc202 has quit [Ping timeout: 250 seconds]
<zeta_0> jared-w: what text-editor/ide do you use?
Soo_Slow has quit [Quit: Soo_Slow]
mla has quit [Remote host closed the connection]
<zeta_0> jared-w: i use emacs, after fixing a few problems, hie runs fast
mla has joined #nixos
mla has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #75317 → bluez: enable checkPhase on x86_64-linux → https://git.io/JeSRH
agent13 has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to staging: https://git.io/Je9gg
<jared-w> neovim with CoC setup. The speed of the editor doesn't make a difference to the speed of HIE from what I can tell
<jared-w> (particularly since CoC is "the" recommended way to use LSPs on neovim at the moment)
sam_d has joined #nixos
<{^_^}> [nixpkgs] @ianmjones opened pull request #75472 → [WIP] snippetpixie: init at 1.2.2 → https://git.io/Je9ga
Rusty1 has quit [Remote host closed the connection]
<zeta_0> jared-w: then i don't know
<jared-w> ghcide works pretty well for me, it's just lacking a lot of features compared to hie
<EdLin> how do I get nixos-rebuild build-vm to pass in my password from the host? It installs X, and I can't log in the greeter.
<zeta_0> jared-w: have you thought of switching to emacs and maybe using evil-mode, so you can get the vim keybindings
<EdLin> what I mean is how do I get the vm that is built to have a password for the user?
<EdLin> any password, something I can log in with...
<{^_^}> [nixpkgs] @marsam merged pull request #75337 → python38Packages.colored: 1.4.0 -> 1.4.1 → https://git.io/JeSgs
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Je9gr
mla has joined #nixos
<EdLin> I'm a bit of a nixos newbie, so I might be doing something wrong?
<simpson> EdLin: I think that you'll have to specify user passwords in the configuration.nix that you use when building the VM.
<EdLin> oh.
<EdLin> also, on a similar note, how do I delete old VMs?
<EdLin> rm seems to tell me it's on a ro file system
lambda-11235 has joined #nixos
<simpson> You could set users.users.myCoolUser.password, or set .hashedPassword. See https://nixos.org/nixos/manual/options.html for details on how to compute password hashes.
<clever> EdLin: `rm result` not `rm result/`
<simpson> I think that the VMs are in the Nix store, so you'd have to remove your `result` symlink as clever says, and then collect garbage from the Nix store (nix-collect-garbage, read the man page first!)
<jared-w> zeta_0: I've done that before, but I like neovim better. It just works better for how I like to use a text editor
fusion809 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @grahamc merged pull request #75469 → git: 2.23.0 -> 2.23.1 → https://git.io/Je9z8
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to release-19.09: https://git.io/Je9gD
fresheyeball has joined #nixos
<zeta_0> jared-w: that's cool, everyone has their own preferences, i like emacs because you can use lisp to hack it making it very flexible, and its part of the gnu foundation, which is great
<fresheyeball> clever: did that failure snippet look like just adding `ninja` would work to you?
<fresheyeball> Failure cycle on this is like an hour
<fresheyeball> :(
<zeta_0> jared-w: there are haskell text-editors, but right now they are not very good
scassy has joined #nixos
erasmas has joined #nixos
waleee-cl has quit [Quit: Connection closed for inactivity]
dbmikus__ has quit [Ping timeout: 268 seconds]
scasc has quit [Ping timeout: 250 seconds]
o1lo01ol1o has joined #nixos
erasmas has quit [Ping timeout: 265 seconds]
wildtrees has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @braydenjw opened pull request #75473 → hprotoc: fix broken build → https://git.io/Je9g5
<fresheyeball> AAAAA
<fresheyeball> after all that
<fresheyeball> same erro!
<fresheyeball> clever: so I build off of pytorch head which definately has that file
<fresheyeball> but it still doesn't see it
<fresheyeball> and what is stranger when I build pytorch directly
<fresheyeball> I don't see it in the result either
<clever> fresheyeball: the installPhase for pytorch may not copy the right files
<fresheyeball> clever: I see this
<fresheyeball> cp -r $out/${python.sitePackages}/torch/include $dev/include
<fresheyeball> I guess that is not good enough
<fuzen> how do i specify src to be a subdirectory in a git-repo?
<clever> fresheyeball: postUnpack = "sourceRoot+=/socket-io; echo source root reset to $sourceRoot";
<clever> fuzen: ^^
nek0 has quit [Quit: ZNC 1.7.4 - https://znc.in]
<fresheyeball> clever: I don't understand
nek0 has joined #nixos
<fresheyeball> I added cp -r ${src}/c10/* $dev/include/c10
<fresheyeball> but its a guess at best
<{^_^}> [nixpkgs] @chkno opened pull request #75474 → xsecurelock: Remove obsolete path fix → https://git.io/Je92v
<clever> fresheyeball: the postUnpack was for fuzen
<fresheyeball> oh
mwdev has joined #nixos
<fuzen> yep, which doesn't seem like that fixed the problem
<fuzen> >.<
<fuzen> I guess mavenix doesn't work with that
<mwdev> heyo- got a n00b question that can hopefully be resolved shortly: how would I go about utilizing a specific commit from the 19.09 branch of nixos-channels system-wide on my nixos laptop?
boxscape has quit [Remote host closed the connection]
<fuzen> I'm thinking at this point, it would bbe simpler for me to just run cryptomator's gui through a docker container than to build it
<{^_^}> [nixpkgs] @jonringer merged pull request #75353 → python38Packages.pikepdf: 1.6.5 -> 1.8.0 → https://git.io/JeSKH
lord| has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python38Packages.pikepdf: 1.6.5 -> 1.8.0 »: https://git.io/Je92k
<CMCDragonkai> Is there a way to add a python package to an overlay such that it becomes available to all intepreters, as if you had edited the top-level/python-packages.nix?
<buckley310> mwdev, so theres a change in the repo that hasnt hit the mirrors yet?
<{^_^}> [nixpkgs] @jonringer merged pull request #75350 → python38Packages.simpleeval: 0.9.8 -> 0.9.10 → https://git.io/JeSKT
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python38Packages.simpleeval: 0.9.8 -> 0.9.10 »: https://git.io/Je92I
sudoforge has joined #nixos
<mwdev> buckley310, not quite- I have a system76 darp6 and I think they need to update some stuff in their firmware for kernel 5.4 to work well with their driver/firmware
lord| has joined #nixos
<mwdev> to that end, I need to pin my system to kernel 5.3, which works
mla has quit [Remote host closed the connection]
<fuzen> mwdev: did you check with fwupd (I think system76 uses this) for firmware updates?
<buckley310> on unstable you can just add `boot.kernelPackages = pkgs.linuxPackages_5_3;` but im not sure on 1909, let me check what options they have
<{^_^}> [nixpkgs] @jonringer merged pull request #75346 → python38Packages.limnoria: 2019.09.08 -> 2019.11.09 → https://git.io/JeSV7
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python38Packages.limnoria: 2019.09.08 -> 2019.11.09 »: https://git.io/Je92m
<mwdev> fuzen, not yet- I've been using stites' repo which uses fetchFromGithub <- I updated the shas to be recent as well
<mwdev> buckley310, fair point. I'm trying to stick to `stable` as much as I can- haven't switched to unstable yet, but I'm willing to if no other options exist
<fuzen> looks like they are using LVFS and system76-firmware, guess fwupd wouldnt update everything
<buckley310> download the linux-5.3.nix file from unstable and in your config do something like `boot.kernelPackages = (callPackage /path/to/linux-5.3.nix {})
<CMCDragonkai> in other words, can we use `isPy3k` to disable a package that doesn't work in Python 2? Like ` disabled = !isPy3k;`
<simpson> CMCDragonkai: I'm not sure whether that's really a rewording of your first question, but yes to your second question. You'll find that sort of pattern already in nixpkgs, I think.
<CMCDragonkai> simpson: is that what `disabled = !isPy3k` does`?
mla has joined #nixos
<CMCDragonkai> It prevents it from existing under the Python2 package sets?
<simpson> CMCDragonkai: No, it still exists, but throws an error.
<mwdev> buckley310 <- genius! many many thank yous. Seems pretty straight forward now that I read it :D
<simpson> > python3Packages.enum
<{^_^}> enum-0.4.7 not supported for interpreter python3.7
<simpson> > python2Packages.enum34
<{^_^}> "<derivation /nix/store/ki64kwfwfyw4a775y6hw4y8yc9knja3p-python2.7-enum34-1.1.6.drv>"
<simpson> > python2Packages.enum # er, whoops
<{^_^}> "<derivation /nix/store/my2yggf5s0vgyk2iqllpnfg84sabpjzv-python2.7-enum-0.4.7.drv>"
<CMCDragonkai> simpson: this derivation has `disabled = !isPy3k`
<CMCDragonkai> but i'm able to build it `python2Packages.notebook` and `python3Packages.notebook`
<CMCDragonkai> oh wait
<CMCDragonkai> im on the wrong hash
<CMCDragonkai> let me try again
<hexa-> how would I mirror an efi partition across two disks?
<CMCDragonkai> hexa-: I used dd with systemd
<hexa-> hm? the efi system partition carries the initrd, no?
<{^_^}> [nixpkgs] @jonringer merged pull request #75338 → python38Packages.cassandra-driver: 3.19.0 -> 3.20.2 → https://git.io/JeSg0
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python38Packages.cassandra-driver: 3.19.0 -> 3.20.2 »: https://git.io/Je92B
<buckley310> hexa-: boot.loader.grub.mirroredboots <- its not perfect but thats what i use
<{^_^}> [nixpkgs] @jonringer merged pull request #75461 → python38Packages.azure-mgmt-recoveryservicesbackup: 0.4.0 -> 0.5.0 → https://git.io/Je90t
<{^_^}> [nixpkgs] @jonringer closed pull request #75339 → python38Packages.azure-mgmt-recoveryservicesbackup: 0.4.0 -> 0.5.0 → https://git.io/JeSg2
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/Je92E
<hexa-> buckley310: ok, but I only want to mirror /boot/efi{1,2}, does that work for that?
<buckley310> it just coppies all the files to both partitions
<hexa-> ok
<buckley310> i actually have my whole boot partition on my EFI partition
<buckley310> so i have /boot1 and /boot2..... your mileage may vary if you aren't doing that
tilpner_ has joined #nixos
tilpner has quit [Remote host closed the connection]
<clever> another factor, is if you have seperate /boot and /boot/efi's
<hexa-> I'm aiming for initramfs sshd to unlock luks crypted root
<fresheyeball> clever: do I need to include pytorch or pytorch.dev in the nativeBuildInputs?
<hexa-> so the initrd should probably be on the efi partition, the kernel shouldn't
<clever> fresheyeball: pytorch, the stdenv will get .dev for you
<clever> hexa-: both the initrd and kernel need to be accessible to open the prompt
<clever> hexa-: and nixos always puts the kernel/initrd on the /boot partition
<clever> hexa-: the efi binaries can optionally be on a /boot/efi partition, or a subdir of /boot
<hexa-> hm, actually into efiSysMountpoint, no?
<clever> hexa-: efiSysMountpoint is only for the .efi binary, the kernel/initrd remain on /boot, outside of efiSysMountpoint
<hexa-> ok, gotcha
<clever> hexa-: and when using efiSysMountpoint, you could make /boot just a normal dir on /
<hexa-> ok
<clever> something (havent checked what) will add luks support to grub, and grub will have its own pw prompt, before the initrd
<CMCDragonkai> so the notebook package has an if switch on `python-packages.nix`, which switches to a different derivation when it's python 2
<CMCDragonkai> seems like that `disabled` attribute can still be useful as well though
<{^_^}> [nixpkgs] @grahamc merged pull request #75470 → git: 2.19.2 -> 2.19.3 → https://git.io/Je9zB
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to release-19.03: https://git.io/Je926
<CMCDragonkai> but i still haven't figured out how to overlay the python packages such that it becomes available for all interpreters
<clever> hexa-: if you want remote unlock, then your /boot and /boot/efi must be plaintext
<hexa-> yep
<clever> CMCDragonkai: i'm not sure there is a simple option for that
<hexa-> thanks for being so helpful … and concise :)
jluttine has joined #nixos
<clever> hexa-: and one thing i always worry about, somebody can just modify the initrd to phone-home with the pw, and then wait for you to ssh in and unlock it
<zeta_0> so what does ./. mean in nix?
<clever> zeta_0: its a path, pointing to whatever directory the nix file is in
<hexa-> clever: true :3
<zeta_0> clever: alright, but that is a strange symbol
<o1lo01ol1o> How can I understand what paths are available during a given phase for `mkderivation`? I'm trying to add a custom "installPhase" command but I don't know what the default "buildPhase" does with the output.
<clever> zeta_0: paths start with either ./ (relative path) or / (absolute)
<clever> zeta_0: and must end with something not a /
<zeta_0> clever: what does relative mean in this case(does it depend on what directory you are currently in), the word relative has always confused me, especially in physics
<clever> zeta_0: relative to the file that contains the path
<zeta_0> clever: ok, that makes sense now, thanks
<{^_^}> [nixpkgs] @jonringer merged pull request #75426 → [staging] python3Packages.astor: 0.8.0 -> 0.8.1 → https://git.io/Je9kP
<{^_^}> [nixpkgs] @jonringer pushed to staging « python3Packages.astor: 0.8.0 -> 0.8.1 »: https://git.io/Je92d
h0m1 has quit [Ping timeout: 250 seconds]
<mwdev> buckley310, so I tried that, but no dice. Seems like it might work, but I'm getting `value is a set while a list was expected, at /nix/store/wrjvn1wysg1y98pr53priyp79di20h7s-nixos-19.09.1548.3a1861fcabc/nixos/pkgs/os-specific/linux/kernel/generic.nix:91:9`
<clever> o1lo01ol1o: you can always start with `pwd ; ls -lh` in the installPhase, to figure out whats available and where you are
<clever> mwdev: which nixos option did you set to what value?
h0m1 has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #75345 → python38Packages.icalendar: 4.0.3 -> 4.0.4 → https://git.io/JeSVQ
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python38Packages.icalendar: 4.0.3 -> 4.0.4 »: https://git.io/Je9aJ
<fresheyeball> clever: same error
<fresheyeball> #include <c10/cuda/impl/cuda_cmake_macros.h>
<fresheyeball> any ideas? I have been fighting this for 6 hours now
<clever> fresheyeball: can you push your nix code somewhere and i can try to reproduce it?
<fresheyeball> sure
<fresheyeball> apparently my changes copied this over cuda_cmake_macros.h.in
<mwdev> clever, I started a gist with the relevant configs: https://gist.github.com/mwilsoncoding/7e4d27f3a440c1a6f30491aeb7d83f25
<clever> fresheyeball: you need to run something to turn it into a cuda_cmake_macros.h
<clever> fresheyeball: double-check to see if the build system already did that, and your just copying the wrong path
<hexa-> clever: any idea where I went wrong? https://bpaste.net/show/FKCHM
<clever> mwdev: what is the contents of linux-5.3.nix?
<clever> hexa-: i think its upset that /boot isnt vfat tagged as the ESP
<clever> hexa-: ive not tried mirrored efi yet, so i dont know how its setup properly
<clever> mwdev: then line 4 is a single derivation with linux, and line 8 is expecting a set of all linux packages, and thats where it fails
<clever> mwdev: you must put a linuxPackages set into kernelPackages, such as pkgs.linuxPackages_5_3
<hexa-> clever: ok, it obviously isn't since it resides on the root fs which is brfs
<clever> hexa-: youll need to read the install-grub.pl file, and see what exactly its doing when mirrored boots is set, what efiSysMountpoint does, and what it runs grub-install with
<hexa-> ok, thanks for the filename :)
<clever> hexa-: that filename is on line 37 of your pastebin, and its also in nixpkgs
<fresheyeball> clever: github.com:Fresheyeball/nixpkgs.git
<fresheyeball> branch: HELL
<hexa-> aye
<clever> fresheyeball: and what `nix-build` cmd to reproduce the error?
<fresheyeball> clever: you can run `nix-build ./. -A python37Packages.pytorch`
<fresheyeball> will get you a `result-dev` showing the missing file
<fresheyeball> `nix-build ./. -A python37Packages.torchvision`
<clever> fresheyeball: ./. is basically the default for nix-build, so that part can be omitted
<fresheyeball> will get the error
<fresheyeball> clever: fair enough
<fresheyeball> I was including it for clarity
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
<clever> fresheyeball: does pytorch need git submodules to build?
<fresheyeball> yes I think so
zeta_0 has joined #nixos
<fresheyeball> also clever I would like to send you some cash if we get this tonight
<fresheyeball> I really need this
<zeta_0> i am not sure why i am getting this error? https://gist.github.com/zeta-00/80eef20f776f08609a8a4d8c90e37206
<zeta_0> i am in the cabal project section of these instructions: https://www.srid.ca/haskell-nix.html
<clever> -- USE_CUDA : OFF
<clever> fresheyeball: pytorch is building without cuda support
<fresheyeball> clever: oh good point!
<fresheyeball> I am using `pytorchWithCuda`
<fresheyeball> but have been building `pytorch` in my testing this whole time *facepalm*
<mwdev> clever: is line 4 not what buckley310 had suggested with `boot.kernelPackages = (callPackage /path/to/linux-5.3.nix {})` (admittedly split across lines 4 and 8)?
<clever> zeta_0: cabal2nix only works if you have a cabal file
<notgne2> is there any known way of running LoL on NixOS
<clever> mwdev: i would not expect that line to work, you have to pass the linux packakage thru pkgs.linuxPackagesFor first
<mwdev> clever: sweet- makes sense.. looking into how to set that up now
<clever> mwdev: examples are in all-packages.nix
<zeta_0> clever: so i need to run `cabal init` first, i am just following those instructions from that link?
<clever> zeta_0: you need a my_script.cabal file, and i think `cabal init` will make one
<clever> fresheyeball: dang is this a huge build, lol
<clever> fresheyeball: %Cpu(s): 71.2 us, 28.6 sy, 0.0 ni, 0.0 id, 0.1 wa, 0.0 hi, 0.0 si, 0.0 st
<{^_^}> [nixpkgs] @groodt opened pull request #75475 → argo: 2.4.1 -> 2.4.3 → https://git.io/Je9ag
<fresheyeball> clever: yeah that's why its so painful
<gchristensen> maybe I could help?
<gchristensen> is it parallelizable?
<clever> gchristensen: its maxing out every core in my machine
<clever> [495/2983] Running gen_proto.py on onnx/onnx.in.protokeFiles/gloo.dir/transport/tcp/buffer.cc.o.cc.o
<clever> gchristensen: and has nearly 3000 files to compile with cmake
<clever> i think an `exit 1` and `--keep-failed` in the installPhase would help more then a big computer
<zeta_0> [zeta@nixos:/my_script]$ ls
<zeta_0> CHANGELOG.md Setup.hs my-script.cabal
<zeta_0> Main.hs default.nix my_script.hs
<gchristensen> clever, fresheyeball: how about I get y'all a big machine to borrow?
ddellacosta has joined #nixos
<clever> i just noticed, i'm barely 1/6th into the build, lol
<clever> and the count isnt going up
<buckley310> clever, mwdev, maybe this? :) im just sorta free-handing here `boot.kernelPackages = recurseIntoAttrs (linuxPackagesFor (callPackage ../os-specific/linux/kernel/linux-5.4.nix {}));`
<clever> buckley310: recurseIntoAttrs is only needed to make nix-env -i search inside it
<zeta_0> well i don't understand why some of the instructions are left out, i am guessing i am going to have to use cabal2nix to translate the my_script.cabal to my_script.nix , and do i need to be super user, it keeps telling me permission denied?
<buckley310> ah
<clever> zeta_0: callCabal2nix will handle cabal2nix for you
<clever> buckley310: the rest looks like it should work
<clever> zeta_0: what is inside `default.nix` ?
<zeta_0> clever: do i need to place callCabal2nix in default.nix?
<gchristensen> clever: I'll get y'all a bigger machine to experiment on :)
<clever> gchristensen: thank you
<zeta_0> oh, you read my mind
<zeta_0> one second
<o1lo01ol1o> clever: Thanks, yes that is helpful.
<o1lo01ol1o> clever++
<{^_^}> clever's karma got increased to 274
<clever> zeta_0: first, we need to see what developPackage actually does
<o1lo01ol1o> clever: I also fixed my earlier problem with ssl and port 443, so you can rest easy. (I'm on to the next problem.)
<clever> zeta_0: pkgs/development/haskell-modules/make-package-set.nix: developPackage =
<clever> o1lo01ol1o: what was it?
<zeta_0> gchristensen: thank you (and the others) for setting up those nix-pills they really help, i am currently on chapter 11, garbage collection
<o1lo01ol1o> clever: bug in the expr overwriting the ssl option.
<clever> zeta_0: developPackage is just a giant fancy wrapper around callCabal2nix
<clever> zeta_0: so your already using callCabal2nix
<clever> zeta_0: found your problem, the directory is my_script, but the cabal file is my-script.cabal
<clever> zeta_0: they must match (the _ vs -) or it wont work
levdub has joined #nixos
<clever> zeta_0: you can also pass `name = "my-script";` to `developPackage`, then the directory name wont matter (the name= must match the cabal file then)
<zeta_0> clever: oh, when i ran cabal init , that's what it named the .cabal file
<zeta_0> clever: i can just rename the .cabal file right?
<clever> zeta_0: you have 3 choices
<clever> 1: rename the file to my_script.cabal
<clever> 2: rename the directory to my-script
<clever> 3: set name = "my-script"; in developPackage
<clever> 4: rename both the cabal file and set name=!
<clever> 5: rename both the directory and cabal file!
<clever> 5 choices*
<zeta_0> i guess i will just rename the directory since cabal init generates the .cabal with a - by default
<zeta_0> clever: choice overload
<mwdev> clever: you may have saved my bacon- I updated the gist to reflect the changes, but now I think I misunderstand the overlay setup. The current build complains, "attribute 'system76-dkms' missing, at /etc/nixos/system76-nixos/default.nix:23:32" <- I understand the error, but not the path to resolution =/
<zeta_0> too many cases
<{^_^}> [nixpkgs] @jonringer merged pull request #75441 → Fix a typo → https://git.io/Je9ZU
<{^_^}> [nixpkgs] @jonringer pushed commit from @0mp to master « Fix a typo »: https://git.io/Je9a9
<clever> mwdev: linuxPackagesFor (callPackage ...)` will ignore the overlay
<clever> mwdev: so you may want to do (linuxPackagesFor (callPackage ...)).extend, to apply an overlay to it
<clever> mwdev: and then it gets simpler to use nixpkgs overlays, to do it in steps, one to add the linux_5_4 and linuxPackages_5_4, then a 2nd to modify linuxPackages_5_4
<{^_^}> [nixpkgs] @jonringer merged pull request #75455 → oil: 0.7.pre6 -> 0.7.pre9 → https://git.io/Je9BZ
<{^_^}> [nixpkgs] @jonringer pushed commit from @dywedir to master « oil: 0.7.pre6 -> 0.7.pre9 »: https://git.io/Je9ad
<zeta_0> it throws an error when i try to rename the directory, how strange
scassy has quit [Ping timeout: 276 seconds]
<clever> zeta_0: what error does it throw?
andreas303 has quit [Remote host closed the connection]
<clever> [1851/2983] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/kernels/QuantizedOpKernels.cpp.AVX.cpp.o
<mwdev> clever: ho- lee- ba nay nays- it built XD I changed the last line to `boot.extraModulePackages = [ (pkgs.linuxPackages_5_3).system76-dkms ];` and all was copacetic. That said, I'll be looking into your suggestion as well
<clever> mwdev: that might be mixing a 5.3 module with a 5.4 kernel, which will fail to load
<clever> mwdev: you should only ever use config.boot.kernelPackages within extraModulePackages
<zeta_0> clever: a weird emacs error, anyways i changed: `my-script.cabal` to `my_script.cabal`
andreas303 has joined #nixos
<zeta_0> clever: and it works, thanks
<zeta_0> clever++
<{^_^}> clever's karma got increased to 275
<mwdev> clever: I see what you mean- sagely advice
<fresheyeball> gchristensen: do it
<fresheyeball> I have to stay up until this builds basically
<clever> fresheyeball: the race is on, can gchristensen's machine beat mine, even with a late start!
<gchristensen> I'm not going to actually try it, I'm just going to give you access
<fresheyeball> you can have access to mine personal box
<fresheyeball> but I don't think it would help much
szicari has joined #nixos
<gchristensen> fresheyeball, clever: root@147.75.39.61 (caveat: this machine can disappear at any moment, but probably wont. make sure to build with --cores 56, as the default system config probably has cores = 1.)
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
<clever> fresheyeball: i'm in a screen session, `screen -x`
aw has joined #nixos
spacefrogg has joined #nixos
<fresheyeball> clever: I think I am with you
<gchristensen> good luck
<clever> [root@fresheyeball2:~/nixpkgs]# nix-build -A python37Packages.pytorch --arg config '{ allowUnfree = true; }' --cores 56
<fresheyeball> clever: watching you go, this is really cool
<clever> fresheyeball: `top` is in screen 1, i see 48 cores!
<clever> the core list doesnt even fit on a split screen, lol
<gchristensen> oops right this one is 48 cores to 56 (they'are nice cores though, epyc 7401p)
<fresheyeball> clever: how do I switch screens?
<clever> fresheyeball: ctrl+a 1, to go to screen 1
<DigitalKiwi> is this a race for the cash
<fuzen> clever: how did you extract appimages? The manual says I should be using "./<crpytomator image> --appimage-mount" and the application launches instead and the mount steps for Type1 fail.
<clever> fuzen: there is also an appimage-run in nixpkgs
<fuzen> doesn't work with fuse
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/46703a446de (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
felixfoertsch has joined #nixos
<clever> fresheyeball: wait a second, this is using 20gig of ram? lol
<clever> fresheyeball: that explains why my machine was swapping harder then usual, lol
felixfoertsch23 has quit [Ping timeout: 250 seconds]
erasmas has joined #nixos
* DigitalKiwi wonders how many cores you can rent for how long for <$150
<clever> + find -name cuda_cmake_macros.h
<clever> fresheyeball: i had added this to the installPhase, but it found nothing
* fuzen is eyeing 32core threadripper
<clever> CUDA_TOOLKIT_ROOT_DIR not found or specified
<clever> fresheyeball: and this is likely why
<fresheyeball> hmm
<fresheyeball> clever: why would that env var cause the file to not produce?
<fresheyeball> that sounds pretty odd
<clever> [root@fresheyeball2:~/nixpkgs]# vi pkgs/development/python-modules/pytorch/default.nix
<fresheyeball> we can set it certaily
<fresheyeball> I did notice it was set in pytorch
<clever> fresheyeball: cudaSupport defaults to false
<fresheyeball> I know
erasmas has quit [Ping timeout: 240 seconds]
<clever> [root@fresheyeball2:~/nixpkgs]# time nix-build -E '(import <nixpkgs> { config.allowUnfree = true; }).python37Packages.pytorch.override { cudaSupport = true; }' --cores 48
<clever> fresheyeball: this will re-build it, with cuda support enabled
<fresheyeball> I think pytorchWithCuda does that too
LLED2_2 has joined #nixos
<{^_^}> [nixpkgs] @andersk opened pull request #75477 → python: testresources: Move pbr to propagatedBuildInputs → https://git.io/Je9Va
<DigitalKiwi> oh fresheyeball I just have to cut those trans nixos stickers which turned out fine (some other ones I did are not good) and paint the haskell ones still...
<DigitalKiwi> I had adhesive residue ruin a bunch of the nixos ones I did :<
zebrag has quit [Read error: Connection reset by peer]
<fuzen> I'm starting to wonder why cryptomator was made in java, if it cant be packaged in a portable way like .deb anymore
zebrag has joined #nixos
LLED2_3 has quit [Ping timeout: 265 seconds]
<fresheyeball> watching this machine work is just nuts
<gchristensen> when I handed it over I was disappointed: "aww, it only has 64G of ram..." and that was the moment I realized I am deeply, *deeply* spoiled
<clever> gchristensen: lol, i only have 32gig of ram each in my laptop&desktop
<gchristensen> fresheyeball: some of those power Hydra :) https://status.nixos.org/grafana/d/MJw9PcAiz/hydra-jobs?refresh=30s&orgId=1
EdLin has quit [Quit: WeeChat 2.6]
<samueldr> hmmm, anyone _knows_ the state of rust+cross-compilation with Nixpkgs?
<samueldr> followed the "cargo new hello" instructions https://nixos.org/nixpkgs/manual/#compiling-rust-crates-using-nix-instead-of-cargo
<clever> samueldr: ive gotten it to work impurely, using rustup i think it was, in a nix-shell
<samueldr> and replacing the import of nixpkgs with pkgsCross for aarch64 results in a failure to build the carnix'd thing
<clever> samueldr: i basically used nix-shell to get a linux->windows cross-compiler, then used the standard rust tools to get a windows crate, and off it went
<samueldr> note: I'm not knowledgeable in rust so it doesn't help in tracking down issues
<samueldr> error[E0463]: can't find crate for `std`
<clever> samueldr: yeah, std was it, i used some impure cmd to download a build of std for windows and it just landed in $HOME
<clever> ive no clue how to do it purely
<samueldr> wondering if it's carnix that doesn't do something or what
<samueldr> since the compiler itself built just fine
<fuzen> I think carnix targets a no-std environment
<fuzen> Can't seem to be able to build cryptomator due to missing hashes on bintray
mexisme_ has quit [Ping timeout: 268 seconds]
<clever> fresheyeball: turning on cuda support seems to slow it down heavily at the testing phase
<clever> fresheyeball: i can confirm that pytorch is not a split output derivation
<clever> result/lib/python3.7/site-packages/torch/lib/include
<clever> i also notice, its putting the headers in a weird place, and not generating cuda_cmake_macros.h
domogled has joined #nixos
<clever> nix-repl> a = ((import <nixpkgs> { config.allowUnfree = true; }).python37Packages.pytorch.override { cudaSupport = true; })
<clever> nix-repl> :b a.src
<clever> out -> /nix/store/brh6i1g40zhcyvqbdnfgwxk0i2iwnfgl-source
<clever> c10/cuda/CMakeLists.txt:install(FILES ${CMAKE_BINARY_DIR}/c10/cuda/impl/cuda_cmake_macros.h
<clever> fresheyeball: and thats what causes it to install the missing header, so we must read that cmake file
<clever> nothing there looks optional, but the file itself may be optionally pulled in elsewhere
<clever> fresheyeball: and thats where things get complicated, i dont see any obvious thing loading c10/cuda/CMakeLists.txt
<clever> fresheyeball: it almost looks like your meant to build c10 seperately, in its own package
<fresheyeball> clever: this is nuts
<clever> fresheyeball: Caffe2: Cannot find cuDNN library. Turning the option off
<clever> fresheyeball: do you know which package thats in?
<srid> zeta_0: oh hey, good to know that my tutorial helped you to some extent. :) sorry it is not as comprehensive as you'd have liked. i wrote it assuming that someone already had a valid cabal project.
<gchristensen> fresheyeball: progress?
<samueldr> is this even legal? https://nixos.org/nixpkgs/manual/#rust
<{^_^}> [nixpkgs] @worldofpeace merged pull request #74295 → Remove lots of pygtk using software → https://git.io/JeXIP
erasmas has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace pushed 22 commits to master: https://git.io/Je9VN
<samueldr> (sorry to be so memetic)
<samueldr> referring to the box about adding compilers to your systemPackages
<clever> fresheyeball: pkgs.cudnn duh!
<clever> CMake Error at CMakeLists.txt:41 (target_compile_options): Cannot specify compile options for target "c10_cuda" which is not built by
<clever> fresheyeball: aha, c10/CMakeLists.txt has an `add_subdirectory(cuda)` which loads the file in question
drakonis has joined #nixos
<rotaerk> hmm, I'm running xmonad in nixos with a high res monitor; I'd like to increase the size of my mouse cursor. is there some standard nix configuration file way of doing this, or do I just need to run xsetroot somewhere
<clever> fresheyeball: which is being loaded by the root...
<rotaerk> and if xsetroot, I'm not sure where I should get the cursor file(s) from
mlen has quit [Ping timeout: 250 seconds]
<clever> time nix-build -E '(import <nixpkgs> { config.allowUnfree = true; }).python37Packages.pytorch.override { cudaSupport = true; }' --cores 48
<clever> fresheyeball: despite building with cuda enabled, the logs say cuda is disabled...
<rotaerk> also, I need to get the mouse moving farther across the screen ... it takes several swipes of the touchpad to get it all the way across the screen
<{^_^}> [nixpkgs] @worldofpeace merged pull request #74966 → sweet: init at 1.10.5 → https://git.io/JeD3x
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/Je9wU
erasmas has quit [Ping timeout: 276 seconds]
<clever> rotaerk: that sounds like acceleration profile issues
NoctisLabs has quit [Quit: WeeChat 2.6]
<rotaerk> I probably need to set services.xserver.libinput.{accelProfile, accelSpeed}
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
<{^_^}> [nixpkgs] @worldofpeace merged pull request #75468 → hexen: remove abandoned software → https://git.io/Je9zG
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/Je9wL
<clever> fresheyeball, gchristensen: kind of stuck now, not sure what to check next
<rotaerk> though the documentation is unclear on what the format of the speed should be ... guess I'll dig into nixpkgs to figure out where that's going
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
<clever> gchristensen: shal we kill it or leave it up?
NoctisLabs has joined #nixos
<clever> fresheyeball: my current idea, is to edit it to fail after the configure script, skip the huge build, and then iterate until the configure phase says cuda is actually enabled
drakonis has quit [Read error: Connection reset by peer]
<gchristensen> fresheyeball, clever will yall try tomorrow?
<clever> gchristensen: the plan i have now doesnt require an insane core count
<clever> gchristensen: the problem appears to be before the computation heavy phase
<clever> gchristensen: and ive put all changes of importance into the above gist, so the machine doesnt matter much
<gchristensen> I'm inclined to leave it up
<gchristensen> let me know tomorrow if you don't need it
scassy has joined #nixos
mexisme_ has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #75043 → webkitgtk: cleanups → https://git.io/JeD9N
<{^_^}> [nixpkgs] @worldofpeace pushed 4 commits to master: https://git.io/Je9wC
<{^_^}> [nixpkgs] @worldofpeace merged pull request #75450 → wrapGAppsHook: don't add empty variables (see also #75443) → https://git.io/Je9Cn
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to staging: https://git.io/Je9w4
<{^_^}> [nixpkgs] @worldofpeace merged pull request #75434 → zsh-history: 2019-10-07 -> 2019-12-10 → https://git.io/Je9YN
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/Je9wB
fresheyeball has quit [Quit: WeeChat 2.6]
fresheyeball has joined #nixos
mexisme_ has quit [Ping timeout: 250 seconds]
endformationage has quit [Ping timeout: 250 seconds]
CMCDragonkai has quit [Quit: Connection closed for inactivity]
<fresheyeball> clever: back
<fresheyeball> my kid woke up
<clever> fresheyeball: left a gist and some ideas above
mlen has joined #nixos
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
<{^_^}> [nixpkgs] @veprbl merged pull request #75335 → texlive.bin.dvisvgm: fix → https://git.io/JeSzj
<{^_^}> [nixpkgs] @veprbl pushed 3 commits to master: https://git.io/Je9ww
<fresheyeball> clever: so I assume that -find found nothing aye?
<clever> fresheyeball: correct
<fresheyeball> I am baffled
<clever> fresheyeball: cuda isnt enabled, so cmake doesnt build c10, so cmake doesnt generate the header we want
<fresheyeball> oic
Lears has joined #nixos
orivej has quit [Ping timeout: 276 seconds]
<fresheyeball> clever: I need to get in bed
<clever> fresheyeball: we want a `postConfigure = "exit1";` and then iterate until configurePhase says coda IS enabled
<fresheyeball> going to get back on it in the morning
<clever> sure
<fresheyeball> this helps a ton though
<fresheyeball> thank you for being so supportive
[Leary] has quit [Read error: No route to host]
<fresheyeball> looking at this code
<fresheyeball> doesn't cudaSupport an argument?
<clever> 2019-12-11 00:32:17 < clever> time nix-build -E '(import <nixpkgs> { config.allowUnfree = true; }).python37Packages.pytorch.override { cudaSupport = true; }' --cores 48
<clever> fresheyeball: this was setting it, but the logs still said cuda not enabled
<fresheyeball> I didn't realize this was so broken
sudoforge has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @Mic92 opened pull request #75479 → bcc: 0.11.0 -> 0.12.0 → https://git.io/Je9wD
sudoforge has joined #nixos
iqubic` has joined #nixos
iqubic` has quit [Remote host closed the connection]
iqubic has quit [Ping timeout: 250 seconds]
<rotaerk> nyone had any issues with a laptop touchpad periodically stopping being responsive? seems to recover after a few seconds ...
<rotaerk> anyone *
<rotaerk> seems to also affect the touch screen
mexisme_ has joined #nixos
lovesegfault has joined #nixos
scassy has quit [Ping timeout: 268 seconds]
<keithy[m]> rotaerk: look out for a touchpad disable function that you may have accidentally triggered
<keithy[m]> on mine its a function key combination that can get invoked if you hit the wrong thing when adjusting vol/brightness
<rotaerk> hmm
<keithy[m]> * on mine its a function key combination that can get invoked if you hit the wrong thing when adjusting vol/brightness (in the dark)
[Leary] has joined #nixos
<rotaerk> now it seems to be stuck disabled; bleh
<rotaerk> don't see a function for that
<keithy[m]> I spotted and obscure symbol that i didnt know what it meant
<{^_^}> [nixpkgs] @worldofpeace merged pull request #75477 → pythonPackages.testresources: Move pbr to propagatedBuildInputs → https://git.io/Je9Va
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/Je9w7
Lears has quit [Read error: No route to host]
<keithy[m]> was probably a box wiht a line through it.
iqubic has joined #nixos
<rotaerk> -
<rotaerk> having so many problems with nixos on this laptop ... eventually everything in X was locked up; unresponsive
<keithy[m]> its not a pineboookpro is it?
<{^_^}> [nixpkgs] @ryantm merged pull request #75255 → kubeseal: 0.9.5 -> 0.9.6 → https://git.io/JeSqa
<rotaerk> nope, HP Spectre
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/Je9wN
infinee has joined #nixos
<samueldr> rotaerk: linux 5.3 or 5.4?
<samueldr> rotaerk: humour me, and if you can, use 4.19 and see if the issue happens there too
knupfer has joined #nixos
<rotaerk> using 5.3.8. and I can't use a much earlier version because it doesn't support my hardware
<samueldr> aw
<samueldr> there might be something weird (and not nixos specific) with 5.3 (maybe 5.4 too?) that makes the computer unresponsive for small amount of time
<rotaerk> I had to use an "unstable" release of nixos from https://nixos.org/nixos/download.html in order to get my wifi hardware working
<samueldr> at first I thought it was the mouse, but it's not, and it happened to a friend of mine on archlinux, and happened to another nixos user that confirmed that 4.19 didn't have the issue for them either :/
<samueldr> rotaerk: right, that's why "if you can", as I saw you said it was a laptop and I assumed a recent one :)
<rotaerk> it's not just the mouse; the touchpad and touchscreen sometimes stop responding and *sometimes* recover, but I also sometimes see the entire system freeze, unresponsive to the keyboard as well
<samueldr> yeah, it's not just the mouse either for me
<samueldr> it just looked like that
cfricke has joined #nixos
<samueldr> though your issue sound different as you say "sometimes recover"
<rotaerk> I'm just not sure how to begin to diagnose this
<rotaerk> well I think the mouse issue and the entire system freezing are two different problems
<samueldr> here it always recovers, and not for long, just infuriatingly annoying hiccups
cfricke has quit [Client Quit]
<samueldr> oh, great, compound issues :(
<rotaerk> though yeah, the mouse issue alone, it didn't always recover
scassy has joined #nixos
felixfoertsch has quit [Quit: ZNC 1.7.3 - https://znc.in]
felixfoertsch has joined #nixos
<keithy[m]> I am getting similar issues come to mention it, imac 2008, running elementary Hera (kernal 5.1)
<samueldr> I haven't tried anything in-between 4.19 and 5.3 so it's possible the issue is not strictly new
<samueldr> (and it's not exactly reproducible, so bisecting would end up during days!)
<rotaerk> I also get an issue where occasionally when I poweroff or reboot, the screen goes black but the system is still running (and in the case of reboot, it never reaches system startup)
scassy is now known as scasc
<rotaerk> have to hold the power button
szicari has quit [Remote host closed the connection]
szicari has joined #nixos
knupfer has quit [Ping timeout: 245 seconds]
<scasc> @keithy[m]: elementarz *Hera*'s out?
mwdev has quit [Ping timeout: 260 seconds]
<scasc> I checked like last week or the one before and it was still 5.0
brightflame has joined #nixos
<keithy[m]> yes, and 5.0 updates!
<keithy[m]> (but tidy up /boot before it accidentally fills up)
<brightflame> i'm slowly getting used to this strange nixos-y world. why is it that when i install something via nix-env i have to name it like `nixos.lxappearance-gtk3`, but when i run it via nix run i name it like `nixpkgs.lxappearance-gtk3`?
<keithy[m]> ok... one solution I found (bit random) The solution I found was to disable power management of the USB controller that the mouse is connected to.
<rotaerk> how do you manage power management settings
<scasc> @keithy[m], does it elementaryOS work nicely with nix?
<keithy[m]> no idea - I jst put it on an old imac in the guest bedroom for visitors to use
<keithy[m]> it gives them a browser, youtube, and now spotify via sideloaded flatpak
<scasc> Yeah, I was also looking into it for an older machine, not my workhorse, for my children; the target is very different (and I don't have a necessity for nix there).
<keithy[m]> rot sorry that was just clutching at staws
* scasc was just wondering, given the channel
ddellacosta has quit [Ping timeout: 250 seconds]
doublex_ has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @florianjacob opened pull request #75480 → pkgs/matomo: 3.11 -> 3.13 → https://git.io/Je9rs
<rotaerk> I'm trying to figure out .Xresources ... the Arch documentation for it gives the general format but...
<rotaerk> how do you know what specific name.class.resource things are valid ... I don't see documentation of the actual values you can use
<rotaerk> except stray references to one or two here and there
erasmas has joined #nixos
CMCDragonkai has joined #nixos
<rotaerk> for instance, you're supposed to be able to set Xcursor.theme and Xcursor.size, but they aren't working for me ... so where do I find out more details
<rotaerk> such as what names I can use for the theme ... if I'm referencing xcursor theme folders, where it is looking for them
<rotaerk> or what sizes are valid for a given theme
<CMCDragonkai> one point of confusion when using overlay to override, is that if you orride python3, it doesn't override python36, python37, python38... etc etc
erasmas has quit [Ping timeout: 276 seconds]
lambda-11235 has quit [Read error: Connection reset by peer]
ar has joined #nixos
lambda-11235 has joined #nixos
bahamas has joined #nixos
jgt2 has joined #nixos
palo1 has joined #nixos
palo has quit [Ping timeout: 246 seconds]
palo1 is now known as palo
peanutbutter144 has quit [Quit: No Ping reply in 180 seconds.]
peanutbutter144 has joined #nixos
<{^_^}> [nixpkgs] @tbenst opened pull request #75482 → pythonPackages.caiman: init at 1.6.4 → https://git.io/Je9rr
lovesegfault has quit [Ping timeout: 245 seconds]
lambda-11235 has quit [Quit: Bye]
lovesegfault has joined #nixos
Sigma has quit [Ping timeout: 265 seconds]
zupo has joined #nixos
scasc has quit [Ping timeout: 268 seconds]
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/583cee53483 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
rauno has joined #nixos
Ariakenom has joined #nixos
smatting has joined #nixos
Chiliparrot has joined #nixos
philr has joined #nixos
o1lo01ol1o has quit [Ping timeout: 250 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/a546edcac4b (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<kolbycrouch> Does anyone know how to get toolchain binaries without a tuple prefix in a pkgsCross stdenv? A lot of packages are failing to respect $AR, $LD, $CC etc..
<yorick> kolbycrouch: best to patch the packages I think
<yorick> kolbycrouch: it's not like the configure script will work like that
<{^_^}> [nixpkgs] @saschagrunert opened pull request #75483 → conmon: v2.0.4 -> v2.0.5 → https://git.io/Je9oK
orivej has joined #nixos
Sigma has joined #nixos
alexherbo2 has joined #nixos
<kolbycrouch> yorick: I'm just wondering were at. I tried using ln in pre/postFixup. Didn't work. Not sure if it's an upstream default, a binutils or a cc-wrapper issue.
<yorick> kolbycrouch: which packages?
<yorick> kolbycrouch: packages generally have to explicitly support cross-compilation, since they often use build outputs as part of the compilation process
<kolbycrouch> yorick: argp-standalone is one. it tries to call ar from path without a cross-compile prefix. I think having a symlink from i686-unknown-linux-musl-ar should just work.
<yorick> kolbycrouch: argp-standalone is an autoconf package, that should support AR and such
<kolbycrouch> yorick:I thought I would be able to avoid pkgsCross with i686-musl on my x86_64 seeing as it can run natively, but when using an expression that combines pkgsMusl and pkgsi686Linux I get an error about unsupported stdenv.
<yorick> hmm
<kolbycrouch> yorick: I know it is uses autoconf. Still it fails with command not found for ar. it's respecting CC obviously because the command line output shows the full path for it during compilation, but ar is getting called as just ar.
smatting has quit [Ping timeout: 240 seconds]
<ar> yup. almost noone calls me by my name ;)
<kolbycrouch> ar: Well this makefile is :D
mmercier has joined #nixos
<kolbycrouch> I recently built nix and its dependencies with pkgsCross.rpi and everything went smoothly. Don't think argp-standalone was in the closure, but still.
Jackneill has joined #nixos
noudle has joined #nixos
<keithy[m]> in nixos, where has /boot gone?
orivej has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @raboof opened pull request #75484 → installer/cd-dvd/iso-image: avoid leaking build timestamps → https://git.io/Je9KB
<keithy[m]> ah not mounted!
<{^_^}> [nixpkgs] @jonringer merged pull request #75471 → zeek: 3.0.0 -> 3.0.1 → https://git.io/Je9gO
<{^_^}> [nixpkgs] @jonringer pushed commit from @marsam to master « zeek: 3.0.0 -> 3.0.1 »: https://git.io/Je9KR
<clever> keithy[m]: you will want to fix hardware-configuration.nix, or bad thigns will happen
veske has joined #nixos
<clever> keithy[m]: simplest way is to just mount it, and rerun nixos-generate-config with no args
lukash_|away is now known as lukash_
<keithy[m]> ok, Im working my way thoguh your 16hour nixcon videos!
<keithy[m]> thx
<keithy[m]> df -sk
<keithy[m]> *
doublex has joined #nixos
Makaveli7 has joined #nixos
erasmas has joined #nixos
jgt2 has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @wamserma opened pull request #75486 → gnunet: 0.11.6 -> 0.11.8 → https://git.io/Je9KP
nikivi has quit [Ping timeout: 252 seconds]
alexherbo28 has joined #nixos
alexherbo2 has quit [Ping timeout: 250 seconds]
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
erasmas has quit [Ping timeout: 268 seconds]
pointfourone has quit [Quit: WeeChat 2.6]
reactormonk has joined #nixos
megfault has joined #nixos
megfault has quit [Client Quit]
<{^_^}> [nixpkgs] @domenkozar merged pull request #75484 → installer/cd-dvd/iso-image: avoid leaking build timestamps → https://git.io/Je9KB
<{^_^}> [nixpkgs] @domenkozar pushed 2 commits to master: https://git.io/Je96v
cfricke has joined #nixos
nikivi has joined #nixos
aexoxea has joined #nixos
Tucky has joined #nixos
Makaveli7 has quit [Quit: WeeChat 2.6]
Dandellion[m] has quit [Quit: authenticating]
Makaveli7 has joined #nixos
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
veske has quit [Quit: This computer has gone to sleep]
lovesegfault has quit [Quit: WeeChat 2.6]
logzet has joined #nixos
mmercier_ has joined #nixos
thc202 has joined #nixos
alexherbo28 has quit [Ping timeout: 250 seconds]
lovesegfault has joined #nixos
jgt2 has joined #nixos
mmercier has quit [Ping timeout: 246 seconds]
mmercier_ is now known as mmercier
alexherbo28 has joined #nixos
<{^_^}> [nixpkgs] @vbgl merged pull request #74924 → ocamlPackages.merlin: 3.3.2 → 3.3.3 → https://git.io/JeDvX
<{^_^}> [nixpkgs] @vbgl pushed to master « ocamlPackages.merlin: 3.3.2 → 3.3.3 »: https://git.io/Je96c
mmercier has quit [Quit: mmercier]
gxt_ has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/9e58ecd4ad0 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
chloekek has joined #nixos
alexherbo28 has quit [Ping timeout: 246 seconds]
Makaveli7 has quit [Quit: WeeChat 2.6]
magneticduck has joined #nixos
user19293 has joined #nixos
joshuagl has joined #nixos
smatting has joined #nixos
levdub has quit [Ping timeout: 276 seconds]
FRidh has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @michaeladler opened pull request #75487 → nixos/systemd: use global proxy config in systemd-importd → https://git.io/Je9ik
cfricke has quit [Quit: WeeChat 2.6]
Chiliparrot has joined #nixos
<Unode> hi all, I've upgraded to 19.09 yesterday. All going well but one service (systemd-timesyncd) is failing right at start. Looking at the service file the ExecStart command has two exclamation marks as a prefix (ExecStart=!!/path/to/timesyncd). I've never encountered this syntax. Does anyone know what it means or if this is the reason why the service is failing?
<immae> Unode: man systemd.service :)
<immae> (to partially answer your question, !! at the beginning is a valid syntax for systemd services, but it has some consequences that are described in the manpage)
veske has joined #nixos
grumble has quit [Quit: SOMEBODY ONCE TOLD ME]
veske has quit [Quit: This computer has gone to sleep]
grumble has joined #nixos
<{^_^}> #31540 (by MrSorcus, 2 years ago, open): Failed to start Network Time Synchronization.
<DigitalKiwi> that's a lot older than I thought it would be hmm
<DigitalKiwi> I feel like there were release notes about the timesyncd problems
veske has joined #nixos
<makefu> DigitalKiwi: with every system i update from 19.03 to 19.09 i trip over this
sudoforge has quit [Ping timeout: 268 seconds]
magthe has joined #nixos
<{^_^}> [nixpkgs] @mat8913 opened pull request #75488 → internetarchive: Provide setuptools at runtime → https://git.io/Je9iF
<DigitalKiwi> Because of the systemd upgrade, systemd-timesyncd will no longer work if system.stateVersion is not set correctly. When upgrading from NixOS 19.03, please make sure that system.stateVersion is set to "19.03", or lower if the installation dates back to an earlier version of NixOS.
psyanticy has joined #nixos
<sshow> Had the same problem. I went for ntpd
lsix has joined #nixos
<lassulus> I fix it everytime by rm -r /var/lib/systemd/timesync
<DigitalKiwi> most people just use that yeah
<DigitalKiwi> (later on in the github issue)
<{^_^}> [nixpkgs] @c0bw3b pushed to master « mbedtls_1_3: clarify deprecation message »: https://git.io/Je9PT
gilligan_ has joined #nixos
levdub has joined #nixos
sigmundv has joined #nixos
lovesegfault has quit [Ping timeout: 250 seconds]
fendor__ has joined #nixos
lovesegfault has joined #nixos
cfricke has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #75456 → samba: 4.10.10 -> 4.10.11 - fix CVE-2019-14861, CVE-2019-14870 → https://git.io/Je9BQ
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @wamserma to master « samba: 4.10.10 -> 4.10.11 (#75456) »: https://git.io/Je9Pz
__monty__ has joined #nixos
magneticduck has quit [Quit: Leaving]
veske has quit [Quit: This computer has gone to sleep]
erasmas has joined #nixos
ng0 has joined #nixos
alexherbo28 has joined #nixos
Diagon has quit [Quit: Leaving]
erasmas has quit [Ping timeout: 268 seconds]
sb0 has joined #nixos
<pistache> rotaerk: for your mouse issue, check for USB resets in dmesg
iyzsong has joined #nixos
fusion809 has joined #nixos
brightflame has quit [Ping timeout: 245 seconds]
civodul has joined #nixos
<{^_^}> [nixpkgs] @hedning opened pull request #75489 → nixos/gdm: only set session on auto login → https://git.io/Je9Xz
logzet has quit [Ping timeout: 250 seconds]
silver has joined #nixos
<Taneb> My Hydra server's logs are annoyingly full of "Hydra::Plugin::GitlabSatus=HASH(0x3a27f48)->buildFinihsed: Can't call method \"value\" on an underfined value at hydra/libexec/hydra/lib/Hydra/Plugin/GitlabStatus.pm line 57" :(
<{^_^}> [nixpkgs] @orendorff-mi opened pull request #75490 → barrier: add openssl runtime dependency → https://git.io/Je9Xi
orivej has joined #nixos
bahamas has quit [Quit: leaving]
<{^_^}> [nixpkgs] @filalex77 opened pull request #75491 → hugo: 0.60.1 -> 0.61.0 → https://git.io/Je9XX
<DigitalKiwi> hmm, raise the fine?
<Taneb> I'm also not great at typing sometimes :P
gilligan_ has quit [Quit: Leaving]
tom39291 has quit [Ping timeout: 245 seconds]
tom39291 has joined #nixos
cfricke has quit [Quit: WeeChat 2.6]
ThatDocsLady_ has joined #nixos
levdub has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @Ma27 opened pull request #75492 → nixos/tests/gitea: test basic git workflow → https://git.io/Je9X5
cfricke has joined #nixos
alexherbo28 has quit [Ping timeout: 245 seconds]
alexherbo28 has joined #nixos
__Sander__ has joined #nixos
domogled has quit [Ping timeout: 240 seconds]
gxt_ is now known as gxt
domogled has joined #nixos
jgeerds has joined #nixos
cosimone has joined #nixos
veske has joined #nixos
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
domogled has quit [Ping timeout: 265 seconds]
<jtojnar> hedning even the terminology is confusing
<{^_^}> [nixpkgs] @aanderse merged pull request #75444 → php74: Enable zip support → https://git.io/Je9cu
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/Je91L
<jtojnar> hedning I propose using initialSession for the first time session
<cfricke> Hei, question regarding recent unstable changes. My window manager (xmonad) doesn't seem to honor my user path anymore. I assume prior to the change my login shell (using .zshenv) was honored. Can't find anything in nixpkgs/issues. Anyone got a clue?
domogled has joined #nixos
domogled has quit [Ping timeout: 246 seconds]
levdub has joined #nixos
<{^_^}> [nixpkgs] @filalex77 opened pull request #75493 → db-backup: init at 1.0 → https://git.io/Je91G
Chiliparrot has quit [Ping timeout: 245 seconds]
hmpffff has joined #nixos
ckauhaus has joined #nixos
levdub has quit [Ping timeout: 240 seconds]
<infinisil> cfricke: Not sure what you mean
Chiliparrot has joined #nixos
Chiliparrot has quit [Client Quit]
sb0 has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @Elyhaka opened pull request #75494 → pop-gtk-theme: init at 3.1.2 → https://git.io/Je91o
<cfricke> Well, I have executables in my user (home) PATH, which I define define in .zshenv, which is read by the default login shell. So, I have in my /etc/nixos/configuration.nix a sessionCommand: "${pkgs.systemd}/bin/systemctl --user import-environment PATH &". Before I updated today, my ~/bin was included. Now it's only the default nix defined path.
Chiliparrot has joined #nixos
aexoxea has quit [Quit: Goodbye!]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/2cf477f28da (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
cosimone has quit [Quit: Terminated!]
levdub has joined #nixos
FRidh has joined #nixos
o1lo01ol1o has joined #nixos
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
nhey_ has joined #nixos
nhey_ has quit [Client Quit]
ZeDestructor has quit [Ping timeout: 246 seconds]
andreas303 has quit [Ping timeout: 260 seconds]
erasmas has joined #nixos
<{^_^}> [nixpkgs] @bendlas merged pull request #75351 → clojure: 1.10.1.489 -> 1.10.1.492 → https://git.io/JeSKc
<{^_^}> [nixpkgs] @bendlas pushed commit from @jlesquembre to master « clojure: 1.10.1.489 -> 1.10.1.492 »: https://git.io/Je9Ma
magthe has quit [Ping timeout: 246 seconds]
andreas303 has joined #nixos
erasmas has quit [Ping timeout: 276 seconds]
CMCDragonkai has quit [Quit: Connection closed for inactivity]
domogled has joined #nixos
alexherbo28 has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @liff opened pull request #75505 → teams: init at 1.2.00.32451 → https://git.io/Je9MS
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/583cee53483 (from 10 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
<betawaffle> where can i find the implementation of a nix builtin like toJSON?
alexherbo28 has joined #nixos
cosimone has joined #nixos
fendor__ has quit [Ping timeout: 265 seconds]
alexherbo28 has quit [Ping timeout: 268 seconds]
cosimone has quit [Remote host closed the connection]
<evanjs> Soooo any advice on debugging a nixos emacs config that behaves differently when launched as a service?
cosimone has joined #nixos
<evanjs> (I usually try nixos-emacs but it typically seems fairly quiet there)
bennofs has quit [Remote host closed the connection]
mexisme_ has quit [Ping timeout: 276 seconds]
bennofs has joined #nixos
alexherbo28 has joined #nixos
<evanjs> In this case, specifically, doom-modeline seems to get enabled and all the icons work fine, but when connecting via emacsclient, the icons are not rendered
<betawaffle> liff: probably, thanks
zupo has joined #nixos
Mateon3 has joined #nixos
Mateon1 has quit [Ping timeout: 265 seconds]
<angerman> gchristensen: some minimal UI for --trace-function-calls https://dl.dropbox.com/s/sg9554r3okwt1ye/Screenshot%202019-12-11%2020.30.38.png
Mateon3 is now known as Mateon1
fendor has joined #nixos
<yorick> angerman: <3
<yorick> angerman: do you have the flame chart too?
<angerman> it can, if you explicitly ask it (as it's not instantanious) also do some in-line annotation. The % calculation works only for the top-level part, and yes I did fix the off-by-one error still visible in the sceenshot: https://dl.dropbox.com/s/4xoforv0zx2399r/Screenshot%202019-12-11%2013.09.09.png
<angerman> yorick: the flamegraph.pl thing keeps failing me ... eats too much memory.
<yorick> angerman: yeah, I run it on a 64GB server
<angerman> yorick: but the flamegraph would kinda be waht you see on the left in the first screenshot. I'd like to generate that in vscode directly. Without flamegraph.pl. However nice that is.
<yorick> angerman: so this thing is O(n^2) right? :D
<angerman> yorick: with https://gist.github.com/angerman/96cf90722c1424493cd2b39ba06ce3de, you can generate the sqlite file: `./to-sql.py nix-trace-function-calls.profile | sqlite3 prof.db`. The vscode extension (pretty much a quickly hacked up mish-mash of examples) is here: https://github.com/input-output-hk/laughing-disco
<yorick> (the code you're profiling)
<angerman> yorick: well the `flatLibDepends` is basically what's killing us right now.
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/a546edcac4b (from 11 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
dansho has joined #nixos
<yorick> angerman: well yeah, you need Tarjan to do it all at once
<yorick> if I understand it right
<angerman> I'm still not certain we actually need it in that form.
<angerman> Do I really need the transtive closure? I'm not so sure.
Rusty1 has joined #nixos
<yorick> angerman: how often is flatLibDepends called, usually?
orivej has quit [Ping timeout: 268 seconds]
waleee-cl has joined #nixos
<angerman> I would guess ~470x, at least that often the `(haskellLib.flatLibDepends component)` shows up in the trace.
<yorick> angerman: that's too many times :P
alexherbo28 has quit [Quit: The Lounge - https://thelounge.chat]
alexherbo2 has joined #nixos
<angerman> the % annotations are not correctly calculated for anything besides toplevel, so they are garbage here. However the fequency counters give the number of times that line showed up in the trace. That is slightly misleading as we end up aggregating the same line multiple times if there were multiple traces for the same line but different functions (I think).
marek_ has joined #nixos
bvdw has quit [Quit: bvdw]
turion has quit [Quit: Leaving.]
bvdw has joined #nixos
<Unode> immae: thanks, I couldn't search for it on google. Always annoying when syntax isn't searchable
<immae> Unode: yes I understand. As far as I saw so far, systemd manpages are rather complete, so I always start there (the only problem I have is finding which systemd manpage applies :p )
<{^_^}> [nixpkgs] @c0bw3b merged pull request #75458 → samba: 4.10.10 -> 4.10.11 - fix CVE-2019-14861, CVE-2019-14870 → https://git.io/Je9Rz
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @wamserma to release-19.09 « samba: 4.10.10 -> 4.10.11 (#75458) »: https://git.io/Je9D9
<b42> systemd.directives(7) sometimes helps
Tucky has quit [Ping timeout: 268 seconds]
Neo-- has quit [Ping timeout: 252 seconds]
Tucky has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #75489 → nixos/gdm: only set session on auto login → https://git.io/Je9Xz
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/Je9Dh
<immae> b42: nice entrypoint actually, thanks!
veske has quit [Quit: Leaving]
<exarkun> pkgs.extend (or pkgs.appendOverlays, not sure what the difference is) seems like a useful function for making composable packages
<exarkun> but the docs warn against them because of fixed point recalculation
<exarkun> what to do
<exarkun> is there a better pattern for making packages composable
<exarkun> specifically, for having two packages without mutual knowledge each of which comes with overlays
<{^_^}> [nix] @edolstra pushed 18 commits to flakes: https://git.io/Je9y8
<{^_^}> [nixpkgs] @wmertens merged pull request #75406 → git: Install bash-completion symlink for gitk → https://git.io/JeSjY
<{^_^}> [nixpkgs] @wmertens pushed 2 commits to master: https://git.io/Je9yu
sigmundv has quit [Ping timeout: 276 seconds]
cosimone has quit [Quit: Terminated!]
cfricke has quit [Quit: WeeChat 2.6]
ng0 has quit [Quit: Alexa, when is the end of world?]
ng0 has joined #nixos
<{^_^}> [nixpkgs] @offlinehacker opened pull request #75507 → k3s: init at 1.0.0 → https://git.io/Je9yM
marek_ has quit [Ping timeout: 268 seconds]
sigmundv has joined #nixos
logzet has joined #nixos
<{^_^}> [nixpkgs] @flokli opened pull request #75508 → gitlab: 12.5.3 -> 12.5.4 → https://git.io/Je9yh
<{^_^}> [nixpkgs] @ryantm merged pull request #75412 → wsjtx: 2.1.0 -> 2.1.2 → https://git.io/Je9vs
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/Je9yj
<rotaerk> pistache, thanks
<dminuoso> So I have the following situation. We have a VMware hypervisor and I want to kick off a fleet of 12 nixos servers.
jakobrs has joined #nixos
<dminuoso> Now, I dont want to hand install 12 nixos machines because it'd be a silly thing to do.
<dminuoso> Since we generally use UEFI, I really dont want to just clone the VMs, it'd be wrong.
<dminuoso> And nixops sadly doesnt appear to have an integration into vSphere
<{^_^}> [nixpkgs] @ryantm closed pull request #55026 → thunderbird: clean up, make flags closer to default, official branding → https://git.io/fhyQx
<{^_^}> [nixpkgs] @ryantm merged pull request #75251 → leatherman: 1.9.0 -> 1.9.1 → https://git.io/JeStQ
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/Je9SI
ddellacosta has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #75276 → MMA: 16.06 -> 19.08 → https://git.io/JeSsd
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/Je9SL
<{^_^}> [nixpkgs] @ryantm merged pull request #75198 → bshapr: 0.4 -> 0.6 → https://git.io/JeSvt
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/Je9St
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/ffe35783f52 (from 53 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
jakobrs_ has joined #nixos
jakobrs_ has left #nixos [#nixos]
erasmas has joined #nixos
jakobrs has quit [Read error: Connection reset by peer]
jakobrs has joined #nixos
phreedom has quit [Ping timeout: 260 seconds]
fendor has quit [Ping timeout: 246 seconds]
erasmas has quit [Ping timeout: 240 seconds]
jakobrs has quit [Quit: leaving]
jakobrs has joined #nixos
<{^_^}> [nixpkgs] @Scriptkiddi opened pull request #75509 → precice: init at 1.6.1 → https://git.io/Je9Sw
jakobrs has quit [Client Quit]
jakobrs has joined #nixos
sigmundv has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @dasJ opened pull request #75510 → nixos/systemd: Use a proper type for unit paths → https://git.io/Je9SX
fendor has joined #nixos
<duairc> dminuoso: I don't know anything about vSphere, but terraform seems to have a provider for it?
<dminuoso> duairc: Ah, I shall look into terraform. Cheers.
<duairc> And then you can use the tricks from here https://github.com/tweag/terraform-nixos to hack together your own nixops basically
<makefu> hey all, what would be the correct way to override the cacerts on nixos for jdk11? i managed to get it working by overriding cacerts for the package but how does it work in version11 which does not provide the cacerts overridable parameter?
<duairc> Or you could just use terraform to set up the machines and then nixops to do your nixos configuration
<makefu> the wiki currently does not hold that info: https://nixos.wiki/wiki/Java
sigmundv has joined #nixos
jakobrs has quit [Ping timeout: 245 seconds]
tilpner_ is now known as tilpner
ng0_ has joined #nixos
rauno has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @pmiddend opened pull request #75511 → quake3e: 2019-09-09 -> 2019-11-29 → https://git.io/Je9Sp
<gchristensen> cooool angerman!
dansho has quit [Remote host closed the connection]
ng0 has quit [Ping timeout: 260 seconds]
dansho has joined #nixos
<angerman> gchristensen: yea, I wish there was some flame graphy thing for vscode. but i haven't found it yet. wiring the sqlite database up to it shouldn't be that hard.
cosimone has joined #nixos
<angerman> gchristensen: I'm still conflicted if I'd rather have nix write the sqlite db directly instead of dumping that info to stdout.
<angerman> err
<gchristensen> wow
philr has quit [Ping timeout: 276 seconds]
erasmas has joined #nixos
<gchristensen> ls
ftzm has joined #nixos
erasmas has quit [Ping timeout: 265 seconds]
ng0_ is now known as ng0
<{^_^}> [nixpkgs] @Moredread opened pull request #75512 → prusa-slicer: 2.1.0 -> 2.1.1 → https://git.io/Je99n
o1lo01ol1o has quit [Remote host closed the connection]
<makefu> i've update the wiki with my findings for overriding the jdk8 truststore ( https://nixos.wiki/wiki/Java#Overriding_java_jks_Certificate_Store ) and i would to know how it works with jdk11. Cheers!
<{^_^}> [nixpkgs] @ckauhaus opened pull request #75513 → vulnix: 1.9.2 -> 1.9.4 → https://git.io/Je99a
jakobrs has joined #nixos
<stammon> I'm still looking for some help with npm and nix derivations. I have a npm run script, that I want to run when building my derivation. The run script needs several node modules available and I fail to get it working with node2nix. I also can't find too help on nix and npm run scripts online.
EdLin has joined #nixos
<EdLin> I keep getting errors during nixos-rebuild switch with collisions associated with gstreamer files I think.
<EdLin> is this something I should be concerned about?
jakobrs has quit [Ping timeout: 245 seconds]
<infinisil> EdLin: Does it error because of those?
Chiliparrot has quit [Quit: Textual IRC Client: www.textualapp.com]
endformationage has joined #nixos
<EdLin> infinisil: it gives me warnings. lots of them
<EdLin> collisions
<EdLin> looks like icon assetts or something
amanjeev[m] has joined #nixos
<infinisil> Generally unproblematic
<infinisil> EdLin: Can you pastebin the warnings?
m0rphism has quit [Quit: WeeChat 2.4]
<infinisil> Or gist them or whatever
<infinisil> ,paste
<{^_^}> Use a website such as [ https://gist.github.com/ http://ix.io/ https://hastebin.com/ http://sprunge.us/ https://paste.ee/ ] or similar services to share anything that's longer than a couple lines.
<EdLin> is there a command line pastbin program in nixos repos? It'd make it a lot simpler.
erasmas has joined #nixos
<EdLin> hmm, I'll nix search for it
<EdLin> nixos.pastebinit
<EdLin> OK, I'll do it again and pipe it.
<EdLin> pastebinit didn't catch the errors... I'll have to paste manually maybe, either that or try ix.
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/ffe35783f52 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
erasmas has quit [Ping timeout: 268 seconds]
ftzm has quit [Ping timeout: 265 seconds]
<wedens[m]> EdLin: there is always http://ix.io/ and similar services that don't require any special program
<{^_^}> [nixpkgs] @madjar merged pull request #75299 → openfortivpn: 1.10.0 -> 1.11.0 → https://git.io/JeSWZ
<{^_^}> [nixpkgs] @madjar pushed 2 commits to master: https://git.io/Je9H4
<EdLin> that's an exerpt from my nixos-rebuild
<infinisil> EdLin: And there's `gist` for gist
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/44fe29a624e (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<EdLin> infinisil: pipes in both "ix" and "pastebinit" didn't capture this.
<{^_^}> [nixpkgs] @teto merged pull request #75488 → internetarchive: Provide setuptools at runtime → https://git.io/Je9iF
<{^_^}> [nixpkgs] @teto pushed commit from @mat8913 to master « internetarchive: Provide setuptools at runtime »: https://git.io/Je9HE
<EdLin> I think that it's because it's stderr or something
<EdLin> so I doubt "gist" captures it either.
<EdLin> maybe I should redirect the stderr handle when I pipe?
<EdLin> didn't think of that. lol
<EdLin> anyhow, I pasted it.
m0rphism has joined #nixos
<__monty__> EdLin: command 2>&1 | ix should do ya.
<wedens[m]> |& in bash
<wedens[m]> and zsh too, I think
<EdLin> wedens[m]: I use zsh usually.
<wedens[m]> > ‘|&’ is shorthand for ‘2>&1 |’,
<{^_^}> error: syntax error, unexpected $undefined, at (string):271:1
o1lo01ol1o has joined #nixos
<EdLin> wedens[m]: cool, I'll keep that in mind.
wander[m] has joined #nixos
<{^_^}> [rfcs] @regnat opened pull request #62 → [RFC 0060] Content-addressed paths → https://git.io/Je9HQ
<EdLin> hmm, even with the stderr redirect, it doesn't capture it.
<{^_^}> [nix] @regnat opened pull request #3262 → Conent-addressed paths → https://git.io/Je9H7
<EdLin> weird.
<EdLin> anyhow, I pasted the relevent part manually... sigh
<{^_^}> [nixpkgs] @ivan opened pull request #75516 → chromium: 78.0.3904.108 -> 79.0.3945.79 → https://git.io/Je9Hb
<{^_^}> [nixpkgs] @WilliButz opened pull request #75517 → grafana: 6.5.1 -> 6.5.2 → https://git.io/Je9Hh
cfricke has joined #nixos
<ivan> fresheyeball: are you interested in the very latest torchvision and compatible pytorch, or pytorch 1.3.1 and whatever torchvision works with that?
<EdLin> anyone have ideas on how to fix these errors?
<gchristensen> holy guacamole
<{^_^}> rfcs#62 (by regnat, 8 minutes ago, open): [RFC 0060] Content-addressed paths
zarel_ has joined #nixos
<{^_^}> nix#3262 (by regnat, 7 minutes ago, open): Content-addressed paths
zarel has quit [Ping timeout: 268 seconds]
<infinisil> :o
<infinisil> EdLin: Are you using plasma5?
<EdLin> infinisil: yes
<infinisil> EdLin: It seems that plasma5 adds libsForQt5.phonon-backend-gstreamer to environment.systemPackages by default
<infinisil> Do you have the Qt4 version specified yourself somewhere too?
<EdLin> no
<infinisil> Hm, it should come from somewhere in your configuration (or anything it depends on), but it's hard to know where exactly
<infinisil> So something that adds phonon from qt4 to environment.systemPackages
<EdLin> want to see the packages I have installed?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<EdLin> (how do I say to nix-env to list what I installed with it btw?)
<infinisil> Oh nix-env doesn't have anything to do with this
<infinisil> Only the NixOS configuration can influence this
knupfer has joined #nixos
<infinisil> (but it's `nix-env -q` to list installed things)
<alexherbo2> how to update surf ? :(
<alexherbo2> looks very old :(
<EdLin> that's from my configuration nix file
zeta_0 has joined #nixos
<infinisil> Yeah that doesn't seem to be it
<infinisil> anyways, I don't think it's a problem to just ignore these warnings
<infinisil> alexherbo2: It's the stable version: https://git.suckless.org/surf/refs.html
<alexherbo2> infinisil I tried to compile surf myself from git but I cannot access https
polman has joined #nixos
zertox has quit []
zertox has joined #nixos
<{^_^}> [nixpkgs] @Pamplemousse opened pull request #75518 → tmux: 3.0 -> 3.0a → https://git.io/Je97s
polman has quit [Ping timeout: 250 seconds]
zupo has joined #nixos
polman has joined #nixos
erasmas has joined #nixos
sudoforge has joined #nixos
<gchristensen> does `perf record` automatically start watching all the threads of a process?
polman has quit [Excess Flood]
polman has joined #nixos
<zeta_0> i plan using haskell for some projects(right now just web development using the yesod framework and warp web server, as well as sql for the backend(i'm going to use the selda package to write haskell to generate sql code)), anyways, i want to correctly set up nix-shell to install and configure all the packages that i am going to be using, i would also like do the nix code in a very generic and abstract way so i can
<zeta_0> reuse it for other projects, as well as to automate everything as much as possible, could someone help in guiding me through the steps?
teehemkay has quit []
<noonien> hello
<fresheyeball> the goal is to have a nix-shell where I can use this project
<fresheyeball> with cuda
teehemkay has joined #nixos
<noonien> is there a way to get the current value of a configration i've setup in configuration.nix?
<zeta_0> and is there a good link for `yesod development with nix`?
<infinisil> ,dnw alexherbo2
<{^_^}> alexherbo2: Provide as much info as possible on problems. What specifically doesn't work? What command did you run? What's the error? This makes debugging easier and helps getting faster responses
<noonien> i want to execute a command and tell me, for example, what value 'hardware.opengl.driSupport32Bit' has
<zeta_0> maybe its buried somewhere in documentation and i can't find it
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<pistache> zeta_0: nixos-option
<fresheyeball> this is very promising work, but doesn't fill my need yet
__Sander__ has quit [Quit: Konversation terminated!]
<infinisil> pistache: There's no nixos option for "yesod development with nix"
<pistache> oops, it was meant for noonien
<pistache> noonien: ^
<infinisil> Ah :)
erasmas has quit [Ping timeout: 250 seconds]
<noonien> pistache: thanks!
<infinisil> noonien: Alternatively (and faster): nix-instantiate '<nixpkgs/nixos>' -A config.hardware.opengl.driSupport32Bit
<infinisil> With tab completion too
<infinisil> Oops and add --eval
<infinisil> (i personally have `alias ne="nix-instantiate --eval"`)
<pistache> is there a way to do "x = let y = f y; in y" without a let ?
<alexherbo2> infinisil `git clone https://git.suckless.org/surf; cd surf; nix-shell -p pkgconfig wrapGAppsHook glib glib-networking gsettings-desktop-schemas libsoup webkitgtk gcr --run make; surf https://github.com`
<alexherbo2> > mkdir -p ~/.surf/styles
<{^_^}> undefined variable 'mkdir' at (string):271:1
<alexherbo2> oups
<pistache> I swear I've read something about this in the docs, but I can't find it anymore
<alexherbo2> "TLS/SSL support not available; install glib-networking"
<infinisil> pistache: Looks like lib.fix to me
<alexherbo2> I got this messable
<zeta_0> pistache: nixos-option?
<pistache> ah, of course.. ! thanks
MmeQuignon has joined #nixos
<pistache> zeta_0: it was meant for noonien, sorry
<zeta_0> pistache: oh
<infinisil> alexherbo2: I personally would try to update the nix file in nixpkgs to use master surf
<alexherbo2> I'm not familiar with nix
<alexherbo2> it would be better yes
<infinisil> alexherbo2: Want me to guide you through that?
<infinisil> It's not hard
marek has joined #nixos
<infinisil> (well hard is relative I guess)
<alexherbo2> infinisil oh yes
<alexherbo2> I could patch some packages myself then
<infinisil> alexherbo2: First step: Clone nixpkgs
jgeerds has quit [Ping timeout: 276 seconds]
NemesisD has quit []
NemesisD has joined #nixos
erasmas has joined #nixos
polman has quit [Remote host closed the connection]
polman has joined #nixos
fendor has quit [Ping timeout: 276 seconds]
polman has quit [Read error: Connection reset by peer]
chloekek has quit [Quit: WeeChat 2.6]
fresheyeball has quit [Quit: WeeChat 2.6]
<worldofpeace> alexherbo2: this package works fine for me when I visit github. what's the issue?
<alexherbo2> worldofpeace the package is old
mexisme_ has joined #nixos
<worldofpeace> alexherbo2: Oh, I thought "TLS/SSL support not available; install glib-networking" was an issue for you
<{^_^}> [nixpkgs] @WilliButz opened pull request #75519 → wt: 3.4.2 -> 3.5.0, 4.1.2 -> 4.2.0 → https://git.io/Je953
polman has joined #nixos
mexisme_ has quit [Ping timeout: 250 seconds]
fresheyeball has joined #nixos
<fresheyeball> test
fendor has joined #nixos
fresheyeball has quit [Client Quit]
fresheyeball has joined #nixos
bpierre has quit []
bpierre has joined #nixos
<fresheyeball> clever: let me know where we left off, it appears the big box is still around for us
<gchristensen> I'm looking in to why hydra-queue-runner is reporting 400 Active jobs when (copying inputs + rnuning + copying outputs) is only about 100. I did a flame graph of hydra-queue-runner but it doesn't seem very interesting. any tips
<gchristensen> ?
Tucky has quit [Ping timeout: 250 seconds]
tazjin has quit []
<{^_^}> [nixpkgs] @florianjacob opened pull request #75520 → matomo: 3.11 -> 3.13 → https://git.io/Je95p
tazjin has joined #nixos
<{^_^}> [nixpkgs] @florianjacob closed pull request #75480 → matomo: 3.11 -> 3.13 → https://git.io/Je9rs
jw358 has quit []
jw358 has joined #nixos
d10n-work has quit []
Tucky has joined #nixos
d10n-work has joined #nixos
hmpffff has quit [Quit: nchrrrr…]
polman has quit [Ping timeout: 250 seconds]
andreas303 has quit [Ping timeout: 260 seconds]
bvdw has quit [Read error: Connection reset by peer]
drakonis has joined #nixos
polman has joined #nixos
bvdw has joined #nixos
jgeerds has joined #nixos
<zeta_0> can someone explain this more in depth? https://github.com/input-output-hk/haskell.nix
andreas303 has joined #nixos
polman has quit [Read error: Connection reset by peer]
<drakonis> zeta_0: its an alternative haskell setup
polman has joined #nixos
<drakonis> nixpkgs has its own haskell infrastructure
polman has quit [Read error: Connection reset by peer]
polman has joined #nixos
<drakonis> this exposes the motivation behind its existence
<zeta_0> drakonis: i am looking to develop some haskell projects(right now yesod web development), after searching the internet this is the only link i could find that uses nix: https://jezenthomas.com/deploying-a-haskell-web-service-with-nix/
<alexherbo2> infinisil done
<yorick> zeta_0: we use nix for all our haskell stuff at https://github.com/serokell
<drakonis> you're in the funclang zone tho
<drakonis> there's a strong intersection between haskell and nix
<infinisil> alexherbo2: Now open the surf expression, can be done with `nix edit nixpkgs.surf -I nixpkgs=/path/to/your/nixpkgs`
sigmundv has quit [Ping timeout: 246 seconds]
<alexherbo2> done
<infinisil> alexherbo2: The current expression fetches it from a release url, we need to change that to use a git revision
<drakonis> dont ping me on haskell development stuff though, i dont write haskell
orivej has joined #nixos
<infinisil> alexherbo2: Namely you need to replace fetchurl with fetchgit
<infinisil> alexherbo2: And fetchgit takes three necessary arguments: `url` for the git repository url, `rev` for the git revision to fetch, and `sha256` for the hash
<infinisil> Can you fill those out?
polman has quit [Ping timeout: 250 seconds]
Lears has joined #nixos
<alexherbo2> hm
<alexherbo2> not sure how to get the sha
<infinisil> ,tofu is useful for this
<{^_^}> is useful for this: To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000) then replace it with the correct hash Nix expected. See: tofu-vim
<drakonis> ,tofu-vim
<{^_^}> <esc>52i0<esc>
<drakonis> hmm
<drakonis> what.
<infinisil> That's a vim package name I presume, not a command here :)
<drakonis> is that a emoji code?
<drakonis> i see
[Leary] has quit [Read error: No route to host]
<infinisil> Oh!
<infinisil> No it is a command here, didn't see that
<infinisil> That's the keys you need to press in vim to insert 52 0's
<drakonis> oh i see
boxscape has joined #nixos
<drakonis> neat.
zupo has joined #nixos
<alexherbo2> infinisil how can I test my local nixpkgs?
<Shoubit> There's also lib.fakeSha256
jgt2 has quit [Ping timeout: 250 seconds]
<{^_^}> [nixops-aws] @AmineChikhaoui merged pull request #3 → elastic ip: module update → https://git.io/JenDk
<{^_^}> [nixops-aws] @AmineChikhaoui pushed 2 commits to master: https://git.io/Je9dM
zupo has quit [Client Quit]
<infinisil> alexherbo2: nix-build -A surf in the nixpkgs root directory
phreedom has joined #nixos
cfricke has quit [Ping timeout: 245 seconds]
polman has joined #nixos
<zeta_0> yorick: do you guys use yesod as well?
<yorick> zeta_0: not really, we don't actually use haskell for webdevelopment anywhere :D
jgt2 has joined #nixos
markasoftware has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<zeta_0> yorick: oh alright
polman has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @Enteee opened pull request #75522 → hopper: fix libxml2 dynamic linking issue → https://git.io/Je9Fv
m4ts_ has joined #nixos
levdub has quit [Quit: The Lounge - https://thelounge.chat]
joshuagl has quit [Quit: Textual IRC Client: www.textualapp.com]
<zeta_0> is there a way to use nix to automatically upload your projects to a repository(gitlab, github) using nix?
m4ts has quit [Ping timeout: 250 seconds]
<kcalvinalvnn> zeta_0 a bash script might better suited for that purpose
<zeta_0> to an external repository that is
<immae> infinisil: would a patch for nix to make it accept "0" as a syntaxically-valid hash be accespted? That’s much easier to write than "0000000000000000000000000000000000000000000000000000" when we just want a fake hash :p
<zeta_0> kcalvinalvnn: i was just wondering, i normally use git to manually do this
[Leary] has joined #nixos
levdub has joined #nixos
<infinisil> immae: Hm, we could just extend fetch* functions to use 52 0's by default if no hash is specified
Lears has quit [Read error: No route to host]
<kcalvinalvnn> zeta_0 unless you want to push it after a successful nix build, I don't see the benefits gained using nix
<immae> ah that’s an even better idea
cosimone has quit [Quit: Quit.]
[Leary] has quit [Remote host closed the connection]
Lears has joined #nixos
Jackneill has quit [Remote host closed the connection]
levdub has quit [Client Quit]
Thra11 has joined #nixos
polman has joined #nixos
judson has joined #nixos
<Thra11> What's the easiest way to get a shell in which I can't
<zeta_0> kcalvinalvnn: that's fine, i was just curious
<Thra11> *can run make menuconfig in linux sources
polman has quit [Read error: Connection reset by peer]
polman has joined #nixos
nckx has joined #nixos
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
levdub has joined #nixos
dbmikus__ has joined #nixos
ixxie has joined #nixos
jgt2 has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @flokli merged pull request #74066 → Add systemd analyze test → https://git.io/JePU5
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/Je9Fz
reactormonk has quit [Ping timeout: 268 seconds]
t58 has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #75508 → gitlab: 12.5.3 -> 12.5.4 → https://git.io/Je9yh
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/Je9Fo
<{^_^}> [nixpkgs] @flokli pushed to release-19.09 « gitlab: 12.5.3 -> 12.5.4 »: https://git.io/Je9FK
polman has quit [Excess Flood]
polman has joined #nixos
jb55 has quit [Remote host closed the connection]
jb55 has joined #nixos
polman has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @Lassulus merged pull request #75285 → Add autochanger support to bacula-sd → https://git.io/JeSZU
<{^_^}> [nixpkgs] @Lassulus pushed commit from @wucke13 to master « nixos/bacula-sd: add autochange support »: https://git.io/Je9Fd
polman has joined #nixos
polman has quit [Ping timeout: 250 seconds]
iz16 has joined #nixos
iz16_izmntuk has quit [Ping timeout: 240 seconds]
polman has joined #nixos
knupfer has quit [Ping timeout: 246 seconds]
<alexherbo2> infinisil I had to stop the compil because it was rebuilding the whole tree (which is much up to date than my current)
<alexherbo2> so basically recompiling everything xd
<infinisil> alexherbo2: Ahh, should've told me that, there's no need for this!
<infinisil> alexherbo2: Check out the version of your system to make sure you have pretty much everything already
<infinisil> nixos-version should give you a git revision
<{^_^}> [nixpkgs] @Lassulus merged pull request #73419 → chez-matchable: init at 1.0 → https://git.io/Jer9u
<{^_^}> [nixpkgs] @Lassulus pushed commit from @jitwit to master « chez-matchable: init at 20160306 »: https://git.io/Je9bq
pbogdan has left #nixos ["ERC (IRC client for Emacs 26.3)"]
pbogdan has joined #nixos
georgyo_ has quit []
georgyo_ has joined #nixos
georgyo_ has quit [Client Quit]
georgyo has joined #nixos
lovesegfault has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @FRidh merged pull request #75513 → vulnix: 1.9.2 -> 1.9.4 → https://git.io/Je99a
<{^_^}> [nixpkgs] @FRidh pushed commit from @ckauhaus to master « vulnix: 1.9.2 -> 1.9.4 »: https://git.io/Je9bn
<alexherbo2> 20.03pre196725.94500c93dc2
<alexherbo2> infinisil ^
<infinisil> The last part after the dot there is the git hash
<{^_^}> [nixpkgs] @CheariX opened pull request #75523 → Open vm tools 11.0.1 → https://git.io/Je9bC
<alexherbo2> oh
<alexherbo2> thanks
dansho has quit [Remote host closed the connection]
dansho has joined #nixos
<alexherbo2> very nice trick
<infinisil> :)
polman has quit [Ping timeout: 268 seconds]
polman has joined #nixos
zgrep has quit [Quit: It's a quitter's world.]
zgrep has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #75520 → matomo: 3.11 -> 3.13 → https://git.io/Je95p
<{^_^}> [nixpkgs] @FRidh pushed commit from @florianjacob to release-19.09 « matomo: 3.11 -> 3.13 »: https://git.io/Je9bi
polman has quit [Excess Flood]
fendor__ has joined #nixos
polman has joined #nixos
mexisme_ has joined #nixos
polman has quit [Read error: Connection reset by peer]
polman has joined #nixos
fendor has quit [Ping timeout: 245 seconds]
chloekek has joined #nixos
willghatch has joined #nixos
evils has quit [Quit: Lost terminal]
fendor has joined #nixos
fendor__ has quit [Ping timeout: 240 seconds]
<willghatch> Hello. Usually on nixos I use systemPackages to define which packages I have. Recently I installed just the nix package manager on a non-nixos system. Is there a way to specify a list of packages declaratively when just using the package manager like systemPackages instead of using nix-env?
smatting has quit [Ping timeout: 250 seconds]
evils has joined #nixos
cosimone has joined #nixos
polman has quit [Read error: Connection reset by peer]
polman has joined #nixos
shibboleth has joined #nixos
<{^_^}> [nixpkgs] @Ma27 pushed to master « i3status-rust: 0.11.0 -> 0.12.0 »: https://git.io/Je9NU
fendor has quit [Ping timeout: 252 seconds]
polman has quit [Read error: Connection reset by peer]
polman has joined #nixos
levdub has quit [Quit: The Lounge - https://thelounge.chat]
polman has quit [Read error: Connection reset by peer]
polman has joined #nixos
t58 has quit [Quit: Leaving]
mexisme_ has quit [Ping timeout: 268 seconds]
jgt2 has joined #nixos
<tilpner> ,declarative willghatch
<{^_^}> willghatch: There are multiple ways of managing declarative profiles. 1) Attrset, compatible with imperative use of nix-env https://git.io/fAQHW ; 2) buildEnv, providing more control over the paths that are linked into the profile https://git.io/fp0aU ; 3) home-manager, providing nixos-like config for your ~ https://github.com/rycee/home-manager
Laarlf has joined #nixos
<{^_^}> [nixpkgs] @jollheef opened pull request #75524 → codeql: init at 2.0.0 → https://git.io/Je9NW
polman has quit [Read error: Connection reset by peer]
ThatDocsLady_ has quit [Ping timeout: 252 seconds]
polman has joined #nixos
jmarin217 has joined #nixos
jmarin217 has left #nixos [#nixos]
marek has quit [Ping timeout: 252 seconds]
inkbottle has joined #nixos
marek has joined #nixos
werner291 has joined #nixos
<worldofpeace> We have surprisingly little information about software licensing in the nixpkgs manual https://nixos.org/nixpkgs/manual/#sec-meta-license, especially when packaging something. I fear expressions get merged that are violative, we could also be requiring reviewers to nudge upstream to make some informed changes.
<worldofpeace> Other distros have a better wealth of this information referenced or to refer to. And if you even look at their review process it holds a greater importance.
<Laarlf> anyone runs pagekit on nixos? i cant get the site to show up properly. i use nginx and phpfpm but all it shows is "Pagekit" after throwing me onto site.com/installer. the relevant pieces of my config are here: https://paste.debian.net/1120698/ some help would be appreciated
ng0 has quit [Ping timeout: 260 seconds]
<qyliss> worldofpeace: yeah I somewhat often find things not marked as unfree that should be
mexisme_ has joined #nixos
polman has quit [Ping timeout: 268 seconds]
zupo has joined #nixos
polman has joined #nixos
mexisme has joined #nixos
inkbottle has quit [Ping timeout: 268 seconds]
mexisme_ has quit [Ping timeout: 268 seconds]
<Laarlf> if i can somehow provide helpful logs, please tell me which logs and where i can find them, thanks
polman has quit [Read error: Connection reset by peer]
polman has joined #nixos
ng0 has joined #nixos
cosimone has quit [Quit: Quit.]
cfricke has joined #nixos
<acowley> Can I get the number of build threads I should use within a nix derivation?
polman has quit [Excess Flood]
<gchristensen> $NIX_BUILD_CORES
polman has joined #nixos
<acowley> gchristensen: Thank you, that's perfect!
<gchristensen> great!
<acowley> How should I have gone about finding that out?
<o1lo01ol1o> fresheyeball: I saw your pytorch messages and just came across this: https://github.com/nixos-rocm/nixos-rocm. Maybe it helps with something?
<o1lo01ol1o> fresheyeball: also: https://github.com/stites/pytorch-world
andreas303 has quit [Remote host closed the connection]
logzet has quit [Ping timeout: 250 seconds]
<gchristensen> acowley: hmm not sure exactly how you were trying to find it (ie: how best to make it easy to find the information in the docs!) https://nixos.org/nix/manual/#chap-tuning-cores-and-jobs
<{^_^}> [nixpkgs] @jonringer opened pull request #75525 → [Draft] teams: init at 1.2.00.32451 → https://git.io/Je9Am
<acowley> gchristensen: I should have found that. I had expected it to be a nix value like `config`.
siiky has quit [Quit: leaving]
andreas303 has joined #nixos
<{^_^}> [nixpkgs] @robertodr opened pull request #75526 → Add GNU threading and Fortran libraries → https://git.io/Je9AZ
polman has quit [Ping timeout: 268 seconds]
siiky has joined #nixos
polman has joined #nixos
<acowley> Are there any docs to speak of regarding patchShebangs? I have this package that has dozens of bash scripts involved in its build and at runtime. I currently call patchShebangs on every file in the source tree just to be sure, but it takes quite a while and feels crude.
<{^_^}> [nixpkgs] @reset closed pull request #68709 → dotnet-sdk: add darwin support, set myself as maintainer → https://git.io/Je9AW
lovesegfault has joined #nixos
goolord has joined #nixos
wildtrees has joined #nixos
polman has quit [Read error: Connection reset by peer]
polman has joined #nixos
wrl has quit [Read error: Connection reset by peer]
<goolord> for some reason i can't open uris with custom protocols with xdg-open even though there's a default application for the associated mime type https://pastebin.com/xjhUViLQ
wrl has joined #nixos
<philipp[m]2> Trying to package myself a little python app. Can sbd tell me why I can't seem to inherit version in line 11? https://share.xndr.de/uidar7Lahvoo8iang3au5oang9chim/psub.nix
lordcirth_ has quit [Remote host closed the connection]
kreisys has quit [Read error: No route to host]
<philipp[m]2> Got it. Didn't mark the function as recursive.
fendor has joined #nixos
<goolord> found the solution, i have to set `XDG_CURRENT_DESKTOP=X-Generic`, might be a problem when using xfce as the de and i3 as the wm
goolord has quit [Remote host closed the connection]
<__monty__> Hmm, python.withPackages [ pillow ]; "import pillow" in an interpreter says there's no pillow. Who took my pillow?!
<__monty__> Ah, it's `import PIL` I guess.
<simpson> Yeah. We aren't shipping any of the Pillow derivatives with changed package names, AFAIK.
polman has quit [Ping timeout: 268 seconds]
<philipp[m]2> It does seem though that buildPythonPackage doesn't do what I want here. The dependency is not available after bulld.
polman has joined #nixos
knupfer has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<philipp[m]2> Ah, it builds for python2.7...
zupo has joined #nixos
polman has quit [Read error: Connection reset by peer]
fendor has quit [Ping timeout: 265 seconds]
polman has joined #nixos
<{^_^}> [nixpkgs] @rycee closed pull request #75463 → WIP: virtualbox: fix build under Linux 5.4 → https://git.io/Je906
psyanticy has quit [Quit: Connection closed for inactivity]
polman has quit [Excess Flood]
polman has joined #nixos
cosimone has joined #nixos
<exarkun> nix-shell is dumping me into a shell that doesn't have any of the things that default.nix defines
<exarkun> how do I figure out why
<clever> exarkun: nix-shell -v ?
<infinisil> exarkun: You post the default.nix!
<exarkun> two competing strategies
<exarkun> `nix-shell -v` definitely writes out a lot of stuff
elibrokeit has quit [Quit: A random quit message]
ng0 has quit [Quit: Alexa, when is the end of world?]
<exarkun> it references some of the stuff that it should reference, considering what default.nix says
elibrokeit has joined #nixos
<clever> exarkun: post the default.nix?
urban_murmeli is now known as murmeli
andymandias has quit [Quit: ZNC 1.7.4 - https://znc.in]
acarrico has quit [Ping timeout: 265 seconds]
ng0 has joined #nixos
<clever> exarkun: and do you expect it to give you a shell with a working copu of gridsync, or a shell suitable for building gridsync?
<exarkun> working copy of gridsync
<clever> exarkun: nix-shell gives you a shell suitable for building gridsync, with that file
andymandias has joined #nixos
<clever> exarkun: you must create another derivation, that has gridsync in the buildInputs, then nix-shell that other drv
<clever> exarkun: `nix-shell -p 'import ./. {}'` may also work
<exarkun> okay, thanks
ixxie has quit [Ping timeout: 268 seconds]
<exarkun> Would it be idiomatic to put the expression for that other derivation in shell.nix?
<clever> i would make it into an attribute
<clever> maybe something like this in shell.nix
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/06354647830 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<clever> let foo = import ./. {}; foo // { using = stdenv.mkDerivation { name = "foo"; buildInputs = [ foo ]; }
<clever> then nix-shell will let you build gridsync, and `nix-shell -A using` lets you use a copy nix built purely
<clever> but that depends on if you want to develop it more
<exarkun> cool, I'll mess around with that
polman has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @offlinehacker opened pull request #75527 → hasura: init at 1.0.0-rc.1 → https://git.io/Je9x6
mzabani has joined #nixos
nobbo has joined #nixos
murmeli is now known as rural_fox
<mzabani> Good afternoon, everyone. I'd like to delete profiles in the future (not in the past) and collect garbage to save space, but I don't know how to do that.. can anyone help me out on this one?
<clever> mzabani: which generation do you want to delete?
<mzabani> all but the current one. It seems the current one is number 44 according to `nix-env --list-generations`, but the others don't appear in the output of that
<clever> mzabani: that would imply that they have already been deleted from the profile
<clever> mzabani: do you have a large thing in /nix/store you know the path of, that you want deleted?
rural_fox is now known as urban_mumeli
<mzabani> hmmm that's strange. Why do they still appear as boot options?
urban_mumeli is now known as murmeli
<clever> mzabani: the bootloader config is not updated until you re-run switch or boot
<clever> mzabani: `/run/current-system/bin/switch-to-configuration boot` will make whatever your currently running the default boot, and update the list to reflect what --list-generations prints
murmeli is now known as urban_murmeli
<mzabani> ok, that's very new to me..
urban_murmeli is now known as murmeli
<clever> mzabani: nixos-rebuild switch would also update the bootloader, but that also builds the current configuration.nix
<clever> which may be something you didnt want done
<mzabani> yes.. 19.09 is still broken for me, but I already updated the channel.. I could just go back to 18.09 - which works - and run switch again, I guess
kolaente_ has joined #nixos
<mzabani> but I was wondering how to do this without running switch again
<clever> mzabani: there is also `nix-channel --rollback`, since channels have their own generations
<mzabani> ah, really? That's good to know.
jgeerds has quit [Ping timeout: 265 seconds]
<mzabani> thanks a lot, @clever, I'll try to reboot and see how that goes. Otherwise I'll try running switch again with a working channel.
murmeli is now known as rural_fox
mzabani has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @LnL7 opened pull request #75528 → darwin.CF: fix retry condition → https://git.io/Je9pf
rural_fox is now known as urban_murmeli
urban_murmeli is now known as rural_fox
<lovesegfault> worldofpeace: What's the path to get https://github.com/NixOS/nixpkgs/pull/75328 merged?
<{^_^}> #75328 (by lovesegfault, 2 days ago, open): thunderbird: rewrite (68.2.2 -> 68.3.0)
Irenes[m] has joined #nixos
<{^_^}> [nixpkgs] @lsix merged pull request #75518 → tmux: 3.0 -> 3.0a → https://git.io/Je97s
<{^_^}> [nixpkgs] @lsix pushed 2 commits to master: https://git.io/Je9pO
levdub has joined #nixos
leotaku has quit [Quit: ZNC 1.7.4 - https://znc.in]
<philipp[m]2> https://share.xndr.de/woh5soKohchieghohmaiJ3aidaepuz/psub.nix why isn't questionary adde to the run time here?
leotaku has joined #nixos
<infinisil> philipp[m]2: Because buildInputs /= runtime
<infinisil> ,runtimeDeps philipp[m]2
<{^_^}> philipp[m]2: In order of preference: Patch source OR ((if it uses PATH -> wrap with new $PATH) AND (if it uses dlopen, (patchelf --set-rpath in postFixup OR wrap with new LD_LIBRARY_PATH)))
<infinisil> I guess this isn't even complete ^^, but "runtime" can mean a lot of things. It really depends on how the package uses it
sondr3 has joined #nixos
cosimone has quit [Quit: Quit.]
<philipp[m]2> It's python, so it uses pythonpath. I thought there was some magic in buildPythonApplication, that did it.
<clever> i think the magic, is that all inputs wind up in PYTHONPATH at build time
<clever> and something will create a shell-script wrapper, that uses the build-time $PYTHONPATH
<philipp[m]2> clever: Yes, that's what I thought, but it somehow doesn't here.
<clever> so the PYTHONPATH persists at runtime
<clever> does such a shell script exist?
<philipp[m]2> Yes, there is a wrap script, but it doesn't set PYTHONPATH at all, so I ran out of ideas and came here.
<clever> philipp[m]2: and what is within .psub-wrapped?
<philipp[m]2> Already a python file:
<clever> philipp[m]2: yep, there it is, it has an array of site-packages folders
<clever> which its adding as site dirs
<clever> import sys;import site;import functools;sys.argv[0] = '/nix/store/sr81h3qj8hwgclqbzgnplsf8lyb1gy98-nixops-1.7/bin/.nixops-wrapped';functools.reduce(lambda k, p: site.addsitedir(p, k), ['/nix/store/sr81h3qj8hwgclqbzgnplsf8lyb1gy98-nixops-1.7/lib/python2.7/site-packages','/nix/store/5izkw319vwa329ygggf0skjx4mwrn0lj-python2.7-prettytable-0.7.2/lib/python2.7/site-packages','/nix/store/rhf1igkyfwb5cylnid0k2sh4818hmyi4-python2.7-boto-2.49.0/lib/python2.7/site-pa
<clever> for nixops, it looks somewhat like this
rural_fox is now known as urban_murmeli
urban_murmeli is now known as murmeli
marek has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @risicle opened pull request #75529 → [r19.09] glibc: add patch for CVE-2019-19126 → https://git.io/Je9pw
<kolaente_> Hi there, I added nixos unstable to my channels to get some packages from unstable instead of 19.09. The entry in my configuration.nix looks pretty much like the question on https://stackoverflow.com/q/48831392/10924593 and has worked well in the past. However, I'm now trying to install go 1.13 from unstable, by adding unstable.go to my user
<philipp[m]2> Ah! I need propagatedBuildInput, not buildInput.
<kolaente_> 's packages, but I still get 12.9, which is the version on stable
<clever> kolaente_: which user did you add the channel to? are you running `nix-channel --update` as that user?
<kolaente_> clever: I added the config to users.users.<user>.packages in my configuration.nix
<kolaente_> I updated the channel as root
<kolaente_> Since I'm also building my system as root
<clever> kolaente_: what does `which --all go` return?
<kolaente_> which: bad option: -l
<clever> kolaente_: `which which` ?
<kolaente_> clever: `shell built-in command`
<clever> ah, thats why
<clever> we want the which in $PATH
<kolaente_> `which go` gets me `/home/user/.nix-profile/bin/go`
<clever> try `command which --all go` ?
<clever> yep, theres your problem
<clever> you installed go with `nix-env -i`, so its ignoring what configuration.nix did
<fresheyeball> o1lo01ol1o: Its a great thing, but doesn't fully do what I need
<clever> you must uninstall that copy with `nix-env -e go`
<kolaente_> clever: As my user?
<clever> kolaente_: yeah
<kolaente_> interesting though, I cannot remember doing that (which does ofc not mean I didn't do it -.-)
<clever> kolaente_: ls /nix/var/nix/profiles/per-user/clever/profile*/bin/go
<clever> kolaente_: do you see which generation it was added at?
<kolaente_> clever: That gives me ~20 lines of /nix/var/nix/profiles/per-user/user/profile-<n>-link/bin/go
<kolaente_> clever: How do I find the generation?
ckauhaus has quit [Quit: WeeChat 2.6]
murmeli is now known as urban_mumeli
drakonis has quit [Ping timeout: 265 seconds]
<clever> kolaente_: what is the lowest <n> in the list?
<kolaente_> clever: 2
<kolaente_> Does that mean the second generation?
<clever> yep
<clever> kolaente_: and then `nix-env --profile /nix/var/nix/profiles/per-user/user/profile --list-generations`
<clever> that will show dates for each
urban_mumeli is now known as murmeli
murmeli is now known as murmeli_
murmeli_ has quit [Quit: WeeChat 2.6]
<kolaente_> clever: Ah ok, I see it is an old one, back from june
<clever> thats likely when you installed go to the user's profile
<kolaente_> And the newer versions came through updates? Even though I never did a `nixos-rebuild switch` as my user?
cfricke has quit [Quit: WeeChat 2.6]
dbmikus__ has quit [Ping timeout: 276 seconds]
dbmikus has joined #nixos
<kolaente_> clever: I guess I need to login again for `nix-env -e go` to have an effect? Since I did that and `go version` still gives me 12.9
<clever> nope, it should take effect immediately
<clever> you can use `which go` and `nix-env -q` to confirm
<clever> you may need to use the exact name `nix-env -q` shows
<kolaente_> clever: `which go` gives me /home/user/.nix-profile/bin/go and `nix-env -q` only `home-manager-path`... I'm not sure if I understood that correctly
<clever> kolaente_: oh!, so its been installed by home-manager
<clever> kolaente_: but `users.users.<user>.packages in my configuration.nix` isnt home-manager, as far as i know? ...
<clever> kolaente_: double-check your home-manager config?
<kolaente_> clever: Yes, I just checked it and indeed, there it is... damn...
chekkie has quit [Quit: ZNC 1.7.4 - https://znc.in]
notgne2 has quit [Quit: ZNC 1.7.4 - https://znc.in]
<clever> kolaente_: its also possible that both configuration.nix and home-manager are installing the go from nixos-unstable
<clever> kolaente_: but you simply havent updated home-manager yet
<kolaente_> clever: it looks like I pinned the version in home-manager to 1.12
<kolaente_> I'm just so confused why I did that
<clever> heh, that would explain half of it!
<{^_^}> [nixpkgs] @filalex77 opened pull request #75530 → starship: 0.28.0 -> 0.29.0 → https://git.io/Je9pp
notgne2 has joined #nixos
nobbo has quit [Quit: leaving]
<kolaente_> The thing is, I already had go 1.12 pinned in my configuration.nix, and because of that I just assumed it was installed from there and never looked further
<kolaente_> clever: half?
<fresheyeball> clever: where did we leave off on pytorch?
<clever> kolaente_: we have the how, but not the why
<fresheyeball> what should I investigate?
<fresheyeball> I feel like no one wants ma money
<clever> fresheyeball: the configure phase, use postConfigure = "exit 1"; to speed up iteration, and then try and figure out why cmake claims cuda is disabled
<fresheyeball> clever: got it
<kolaente_> clever: I threw the go config out of the home-manager config and after a `home-manager switch` it works like it should
<kolaente_> I also took a look at my git, it seems I added that go statement in my home manager config back when I first tried nix - when I really had no clue about it all
silver_hook has quit [Ping timeout: 246 seconds]
Ariakenom has quit [Quit: Leaving]
silver_hook has joined #nixos
<{^_^}> [nixpkgs] @filalex77 opened pull request #75531 → keybase,keybase-gui: 5.0.0 -> 5.1.0 → https://git.io/Je9hq
phreedom has quit [Remote host closed the connection]
domogled has quit [Ping timeout: 240 seconds]
<kolaente_> clever: Thank you, that helped me a lot!
phreedom has joined #nixos
philr has joined #nixos
reactormonk has joined #nixos
erasmas has quit [Read error: Connection reset by peer]
erasmas_ has joined #nixos
<{^_^}> [nixpkgs] @0x4A6F opened pull request #75532 → xandikos: init at 0.1.0 → https://git.io/Je9hB
Jackneill has joined #nixos
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/06354647830 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
knupfer has quit [Ping timeout: 250 seconds]
werner292 has joined #nixos
werner291 has quit [Ping timeout: 250 seconds]
werner292 is now known as werner291
zeta_0 has joined #nixos
Jonathan83 has quit [Remote host closed the connection]
<zeta_0> if i understand correctly, i can use ssh-agent to automatically use my ssh password, but what about gpg, i don't want to have to type the password over and over again when using git?
<lassulus> gpg-agent?
<clever> zeta_0: gpg-agent can remember the gpg passphrase for a set period of time, before forgetting and asking again
<clever> default-cache-ttl 34560000
<clever> [clever@amd-nixos:~]$ cat .gnupg/gpg-agent.conf
<clever> that option controls how long
<zeta_0> oh that's great thanks for the information guys
<zeta_0> lassulus++
<{^_^}> lassulus's karma got increased to 3
<zeta_0> clever++
<{^_^}> clever's karma got increased to 276
<zeta_0> that would suck having to type those passwords over and over again, good thing there is a way to automate it
Laarlf has quit [Remote host closed the connection]
Jackneill has quit [Remote host closed the connection]
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
orivej has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @nyanloutre opened pull request #75533 → kdeApplications: kcalcore dependencies fix → https://git.io/Je9hw
orivej has joined #nixos
knupfer has joined #nixos
inkbottle has joined #nixos
<{^_^}> [nixpkgs] @averelld opened pull request #75534 → pdftk: reinit at 3.0.8 → https://git.io/Je9hi
kolaente_ has quit [Quit: WeeChat 2.6]
<o1lo01ol1o> Are there any resources from which I could learn how to install a certificate into the trusted machine store on nixos?
Thra11 has quit [Quit: WeeChat 2.6]
jgt2 has quit [Ping timeout: 250 seconds]
__monty__ has quit [Quit: leaving]
tbenst has quit [Ping timeout: 252 seconds]
sondr3 has quit [Quit: WeeChat 2.6]
lukash_ is now known as lukash_|away
lsix has quit [Quit: WeeChat 2.6]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/8af07181d05 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<infinisil> o1lo01ol1o: No idea what you mean by that
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<infinisil> Oh, you mean the root certificates perhaps?
<o1lo01ol1o> Sorry, I need to install a root CA to the system store
growpotkin has joined #nixos
<o1lo01ol1o> infinisil: ^^
zupo has joined #nixos
zupo has quit [Client Quit]
m0rphism has quit [Ping timeout: 252 seconds]
<o1lo01ol1o> it looks like maybe they're just added to `security.pki.certificates` in configuration.nix?
<infinisil> Yup looks like it
<o1lo01ol1o> excellent. it's so nice when things look easy and turn out to be easy.
<infinisil> The power of NixOS options abstracting things :D
<o1lo01ol1o> infinisil: thanks, i'll get back if the latter turns out to not be true
<o1lo01ol1o> infinisil++
<{^_^}> infinisil's karma got increased to 165
lovesegfault has quit [Quit: WeeChat 2.6]
<infinisil> :D
smatting has joined #nixos
PyroLagus has quit [Ping timeout: 276 seconds]
knupfer has quit [Ping timeout: 250 seconds]
Tucky has quit [Quit: WeeChat 2.7]
mexisme has quit [Quit: WeeChat 2.6]
<chrisaw> I know I'm being an idiot here but how do I define "withGui = true" for the arduino package.
<notgne2> `(arduino.override { withGui = true; })` or something like that chrisaw
ddellacosta has quit [Quit: WeeChat 2.2]
zeta_0 has joined #nixos
<zeta_0> is there a way to setup `ssh-agent` and `gpg-agent` in home.nix?
<zeta_0> clever: ^
<chrisaw> notgne2: Thanks! Much appreciated. :)\
<clever> zeta_0: personally, i use gpg-agent as an ssh agent
orivej has quit [Ping timeout: 268 seconds]
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
<clever> zeta_0: but i set it up somewhat impurely, and dont remember how!
<clever> and the latest nixos-unstable seems to also break it
jgt2 has joined #nixos
PyroLagus has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<zeta_0> clever: would i just put the commands in sessionCommands:
<zeta_0> displayManager.sessionCommands =
<zeta_0> ${pkgs.xorg.xkbcomp}/bin/xkbcomp ${keymap} $DISPLAY
<zeta_0> ''
<zeta_0> xrandr --output eDP-1 --brightness 0.3
<zeta_0> udiskie &
<zeta_0> '';
<clever> zeta_0: that should be a good place for it
<zeta_0> so for ssh-agent i think i would need to place:
<zeta_0> eval `ssh-agent -s`
<zeta_0> ssh-add
<zeta_0> i am not sure about gpg-agent though?
<clever> zeta_0: there is also a nixos option for ssh-agent, but the gpg ssh agent remembers keys, so you dont have to keep doing ssh-add
<clever> zeta_0: the gpg agent remembers the keys, and will defer asking for a pw until you try to use the key
<Ox4A6F> zeta_0 Have a look at the configuration snippet at https://nixos.wiki/wiki/Yubikey
<clever> [clever@amd-nixos:~]$ echo $SSH_AUTH_SOCK
<clever> /run/user/1000/gnupg/S.gpg-agent.ssh
growpotkin has joined #nixos
<zeta_0> clever: so gpg remembers the passwords for both ssh and gpg?
<zeta_0> i thought i needed do setup ssh-agent and gpg-agent?
<zeta_0> it remembers it automatically?
ddellacosta has joined #nixos
<clever> zeta_0: when you run `ssh-add` with the gpg ssh agent, it will ask for 2 passwords, first one to decrypt id_rsa, then a 2nd one, to re-encrypt it, within the gpg keyring
<clever> zeta_0: then it will be saved into the gpg keyring forever, and any time an app wants to use it, gpg will ask you for the 2nd pw
pikajude has quit [Quit: ZNC 1.7.5 - https://znc.in]
<clever> [clever@amd-nixos:~]$ cat .gnupg/gpg-agent.conf
<clever> enable-ssh-support
<clever> that line is likely important, lol
<qyliss> don't think that's necessary any more
<clever> default-cache-ttl-ssh 34560000
<clever> max-cache-ttl-ssh 34560000
<clever> and this one makes it remember the unlock forever (until shutdown)
<ajs124> Are there any firefox (packaging) experts around? I'm trying to add policies support to firefox, but it searches in the unwrapped path, instead of the wrapped one.
<zeta_0> so do i need to enable a nix option or put some commands in sessionCommands, i am confused?
MmeQuignon has quit [Quit: WeeChat 2.6]
pikajude has joined #nixos
bvdw has quit [Read error: Connection reset by peer]
<clever> zeta_0: is gpg agent running by default already?
bvdw has joined #nixos
ddellacosta has quit [Read error: Connection reset by peer]
ddellaco1 has joined #nixos
<zeta_0> clever: i just setup gpg and ssh keys setup for both gitlab and github'
<zeta_0> clever: i don't know if gpg is running by default?
<evanjs> Any general guidelines on what might be happening for GTK(2) apps that encounter 'The name org.freedesktop.secrets was not provided by any .service files' ?
<clever> zeta_0: `ps aux | grep gpg` ?
<zeta_0> clever: thanks on second
chloekek has quit [Ping timeout: 246 seconds]
erasmas_ is now known as erasmas
<zeta_0> [zeta@nixos:~]$ ps aux | grep gpg
<zeta_0> zeta 2210 0.0 0.0 129000 2176 pts/0 S+ 16:22 0:00 grep gpg
<zeta_0> zeta 2179 0.0 0.0 203604 2916 ? SLs 16:22 0:00 /nix/store/q88ip4l56v84dck0z1w09rgq4y468p7j-gnupg-2.2.17/bin/gpg-agent --supervised
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
<zeta_0> clever: ^
nornagon has quit [Ping timeout: 240 seconds]
<clever> zeta_0: then gpg is running
<clever> zeta_0: lsof -p 2179 | grep STREAM
<clever> zeta_0: do you see an ssh socket open?
<zeta_0> clever: i need to install lsof, let me do a rebuild
ddellaco1 has quit [Ping timeout: 240 seconds]
<zeta_0> clever: also do i need to enable this in home.nix? https://rycee.gitlab.io/home-manager/options.html#opt-programs.ssh.enable
<zeta_0> clever: i haven't setup ssh in home.nix
<clever> zeta_0: i think all that does, is install the ssh binary
<chrisaw> Using overrideAttrs how do I append to a list? I seem to remember something about using ++ but I could be wrong. *-)\
<clever> zeta_0: gpg is already running, we dont know how, and dont really care how, lol
<zeta_0> clever: so i don't need to set these up, right?
<chrisaw> Damn backslash, got to get used to this new K/B!
<clever> chrisaw: .overrideAttrs (old: { foo = old.foo ++ [ "end" ]; })
<chrisaw> Ahh yeah that's it, thanks @clever !
nornagon has joined #nixos
<zeta_0> alright well let me install lsof real quick
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
zeta_0 has joined #nixos
<ornxka> when is nixos support for little endian mips devices coming
<zeta_0> clever: ok, i installed lsof, what was the command you wanted me to run?
<clever> ornxka: step 1, does a cross-compiler exist for it?
<clever> zeta_0: lsof -p 2179 | grep STREAM
<clever> ornxka: (and is already in nixpkgs)
<ornxka> good question
<zeta_0> clever: that command returned an empty output?
<clever> zeta_0: you have to use the new pid for the gpg agent
<clever> ornxka: https://github.com/NixOS/nixpkgs/pull/72657 is an example of adding vc4 cross-compile to nixpkgs
<{^_^}> #72657 (by cleverca22, 5 weeks ago, merged): Initial implementation of vc4 cross-compile
kahiru has quit [Ping timeout: 265 seconds]
<clever> ornxka: i did see some mips stuff while doing that, but i dont know which mips it was
<zeta_0> clever: how, is there instructions on how to do it?
<ornxka> wow
<clever> zeta_0: ps aux | grep gpg
<ornxka> i definitely wasnt expecting a real answer to that, thats pretty cool
<ornxka> i might try and get nixos to run on my ci20 at some point
<ornxka> thats the mips device i had in mind
<clever> ornxka: now that vc4 is properly in nixpkgs, https://gist.github.com/cleverca22/c9e89ceaadba96f1969bc8eeab8ba532#file-helloworld-c-L16 i can just `nix-build -A helloworld --argstr linker sram` and i get a `hello.bin` file
<clever> ornxka: if i copy that to an SD card, and rename to `bootcode.bin`, it prints hello world, from an rpi GPU
<ornxka> ah nice!
<{^_^}> [nixpkgs] @marsam merged pull request #74064 → cataclysm-dda-git: 2019-05-03 -> 2019-11-22 → https://git.io/JePJN
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Je9jd
<ornxka> yeah the whole reason i got the ci20 was to run bare metal code on it :p
<ornxka> i had no idea you could do it so easily with nix
<clever> ornxka: currently, it only works on the rpi 1-3, and its even more baremetal then the examples, because the arm isnt online, neither is the ram!
<clever> zeta_0: 1481 is the new pid
<ornxka> getting cross compilers set up on any other system is a gigantic pain in the butt
<ornxka> >neither is the ram
<ornxka> ram bootstrapping code to me has always seemed like the most arcane black magic ive ever heard of
<ornxka> i dont know where they get those timing numbers, i think they just make them up
<clever> ornxka: somebody has reverse engineered the ddr2 stuff on the rpi1-3, and ive forked that repo
<ornxka> ahhh
<zeta_0> clever: so how do i do it, do i need to place some code in home.nix?
<clever> zeta_0: 2019-12-11 19:34:30 < clever> zeta_0: lsof -p 2179 | grep STREAM
<clever> zeta_0: 2019-12-11 19:24:29 < clever> zeta_0: do you see an ssh socket open?
<elvishjerricco> So I want to install NixOS on a new system, using a USB thumb drive for `/boot`. But I awkwardly only have one USB drive lying around at the moment, which I use to boot the installer. Is there a way to reuse the USB drive from within the installer?
leotaku has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @cko opened pull request #75536 → aws-adfs: 1.19.1 -> 1.20.0; fix build → https://git.io/Je9jF
<clever> ornxka: my fork has nix support, and if you just `nix-build -A helper`, it will generate all of the proper cross-compilers (line 3, it doesnt care which channel your on), then cross-compile the entire firmware, and generate a bash script that updates the vfat partition in your SD reader
<zeta_0> clever: no that command returned nothing
<qyliss> elvishjerricco: boot installer with copytoram, then you can do whatever you want with the drive
<clever> zeta_0: replace 2179 with the new pid
<ornxka> man that is so cool
<elvishjerricco> qyliss: ah, didn't know there was such a thing.
<clever> zeta_0: 2019-12-11 19:39:28 < clever> zeta_0: 1481 is the new pid
<elvishjerricco> thanks
<qyliss> it's in the menu when you boot the installer :)
<ornxka> i hope some day to be half as good at nix as you are
<clever> ornxka: yep
<elvishjerricco> now to find a monitor for this blasted thing so I can see the boot menu :P
<elvishjerricco> or is there a way to make an iso that does copytoram by default?
<qyliss> probably :P
<clever> elvishjerricco: the multi-boot helper i have may also work for that
<elvishjerricco> What's that?
<clever> ornxka: https://hydra.angeldsis.com/jobset/things/rpi-open-firmware and i configured my hydra to build the firmware
<clever> elvishjerricco: if you run nix-build on this, it will generate a directory with 3 files, nixos-kernel, nixos-initrd, and grub-fragment.cfg
<clever> elvishjerricco: you then add that grub-fragment to a grub.cfg, and grub-install as usual
<clever> elvishjerricco: the rootfs is fully contained within nixos-initrd, so its always in a copytoram mode
<elvishjerricco> interesting...
<clever> elvishjerricco: it was originally made for somebody that wanted a usb stick that can boot all the installers (multiple distro's in the grub menu)
<zeta_0> clever: so that means that gpg-agent is working and will automatically save the passwords for both ssh and gpg?
<elvishjerricco> clever: I think... I will just comment out these other lines :P https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/installer/cd-dvd/iso-image.nix#L60-L63
<clever> zeta_0: gpg agent is listening for ssh stuff, but is SSH_AUTH_SOCK pointed to it?
<clever> zeta_0: `echo $SSH_AUTH_SOCK` ?
<clever> elvishjerricco: thats also an option, depends on how confortable you are with grub
<elvishjerricco> clever: Not comfortable at all lol
<zeta_0> [zeta@nixos:~]$ echo $SSH_AUTH_SOCK
<zeta_0> clever: ^
shibboleth has quit [Quit: shibboleth]
<zeta_0> clever: ya, it looks like ssh auth sock is pointed to it, right?
<clever> zeta_0: you didnt paste any path
<zeta_0> clever: i just pasted the output of the command you had me run, i don't know, i'm confused
<clever> zeta_0: for short-term testing, try `export SSH_AUTH_SOCK=/run/user/1000/gnupg/S.gpg-agent.ssh`
<clever> zeta_0: and then do `ssh-add`
<elvishjerricco> I love how easy it is to make custom ISOs of NixOS.
<gchristensen> <3
<zeta_0> clever: ok i entered my password and it told me identity added
<clever> elvishjerricco: also, with kexec, you dont even need the usb at all
<clever> zeta_0: sounds like its working normally
<elvishjerricco> clever: ?
<clever> zeta_0: you just need to add `export SSH_AUTH_SOCK=/run/user/1000/gnupg/S.gpg-agent.ssh` to your sessionCommands
leotaku has joined #nixos
<clever> elvishjerricco: if another linux distro is currently working on that machine, you can just copy this magic tarball over, run 2 commands, and it will instantly be running nixos from ram
<elvishjerricco> clever: Ah, no there is currently not another linux distro on it
<clever> and that is the rabbit hole that led me to learning the M$ bootloader, lol
<elvishjerricco> :P
<elvishjerricco> Can windows be kexec'd into?
<clever> i wanted to add linux to the M$ bootloader, so you could transition over like that, without a usb stick, and without dd'ing over the live disk
<clever> elvishjerricco: to windows, probably not, from windows, maybe
<clever> elvishjerricco: also, colinux was a thing
<clever> elvishjerricco: http://colinux.org/
<clever> basically, it turned the entire linux kernel into a "windows network driver"
<elvishjerricco> wat
<elvishjerricco> lol that's awesome
<clever> from the point of view of windows, its a driver that needs several gig of ram, and hoards the cpu a lot
<clever> but in reality, every time the "driver" gets control of the cpu, it performs a hostile take-over
<clever> and then linux runs for a short period of time
<clever> then the driver undoes the take-over, and restores control back to the windows kernel
<clever> and windows just thinks the driver had disabled IRQ's for an abnormally long time
<elvishjerricco> WSL is basically an official version of that, right?
<elvishjerricco> just without the network driver hack
<clever> WSL is very different
<notgne2> WSL2 is closer to that
<notgne2> WSL doesn't use Linux at all irc
<clever> WSL is just adding proper linux support to the windows kernel i think
<elvishjerricco> yea should have specified WSL2
werner291 has quit [Remote host closed the connection]
<elvishjerricco> since they actually started shipping a kernel binary with WSL2
<clever> colinux never had smp support on the linux side, so it was limited to 1 core for linux
<clever> colinux was also 32bit only