worldofpeace_ changed the topic of #nixos to: NixOS stable: 20.03 ✨ https://discourse.nixos.org/t/nixos-20-03-release/6785 || 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/ || use ,channels for a list of Nix* related channels || nixcon videos: https://tinyurl.com/nixcon2019 || Link to the output of nix-info
corpix has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @bcdarwin closed pull request #86151 → vtk: unbreak on OS X → https://git.io/JfqFR
corpix has joined #nixos
seanparsons has joined #nixos
<jasom> xdg-open doesn't seem to respect ~/.config/mimetypes.lis? The folloiwng shows it doesn't even seem to try opening it: strace -f xdg-mime query default image/jpeg 2>&1|fgrep .list
<jasom> *mimetypes.list
iyzsong has joined #nixos
rogue_koder has quit [Ping timeout: 244 seconds]
gustavderdrache has joined #nixos
fresheyeball has joined #nixos
smatting_ has quit [Ping timeout: 256 seconds]
rogue_koder has joined #nixos
fusion809 has joined #nixos
jluttine has quit [Ping timeout: 244 seconds]
h0m1 has quit [Quit: WeeChat 2.8]
h0m1 has joined #nixos
<notgne2> I'm a bit confused about this https://github.com/NixOS/nixpkgs/commit/a634bd0fd72ac4d3e41c278a6c76b0f83a0a924c#diff-b0dea930587c021d4f6dda481e68f7a9L42 - why was doCheck removed despite the tests continuing to fail
rogue_koder has quit [Remote host closed the connection]
rogue_koder has joined #nixos
daGrevis has quit [Remote host closed the connection]
daGrevis has joined #nixos
jluttine has joined #nixos
xkapastel has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @Lassulus merged pull request #86144 → hcxdumptool: fix incorrect pname → https://git.io/JfqQm
<{^_^}> [nixpkgs] @Lassulus pushed 2 commits to master: https://git.io/JfqA3
<{^_^}> [nixpkgs] @kini opened pull request #86158 → acl2: fix AArch64 Linux build → https://git.io/JfqAs
rogue_koder has quit [Ping timeout: 260 seconds]
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JfqAW
jbrock has quit [Client Quit]
jbrock has joined #nixos
proofofkeags has quit [Remote host closed the connection]
proofofkeags has joined #nixos
<jasom> looks like xdg-open uses ktraderclient5 if you are on KDE, so now I'm looking at that...
<elvishjerricco> Can either Plasma or Gnome be declaratively configured with NixOS? i.e. setting key bindings and themes and whatnot?
jbrock has quit [Quit: jbrock]
rogue_koder has joined #nixos
jbrock has joined #nixos
pamplemousse has joined #nixos
<{^_^}> [nixpkgs] @adisbladis pushed 7 commits to master: https://git.io/JfqAu
cole-h has quit [Quit: Goodbye]
proofofkeags has quit [Ping timeout: 264 seconds]
cole-h has joined #nixos
phreedom_ has quit [Ping timeout: 240 seconds]
phreedom has joined #nixos
proofofkeags has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #86082 → thermald: 1.9.1 -> 2.1 → https://git.io/JfthN
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JfqAw
<elvishjerricco> does `extraGSettingsOverrides` do what I'm looking for?
<freeman42x[m]> how do I change the 2nd code to use unstable for `cabal-debian` package: https://gist.github.com/razvan-flavius-panda/cc3b7a761cc32099483f24636820b301 ?
phreedom has quit [Client Quit]
phreedom has joined #nixos
m0rphism has quit [Ping timeout: 260 seconds]
<elvishjerricco> Or maybe `dconf`?
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
jbrock has quit [Client Quit]
jbrock has joined #nixos
proofofkeags has quit [Remote host closed the connection]
proofofkeags has joined #nixos
proofofkeags has quit [Remote host closed the connection]
proofofkeags has joined #nixos
dingenskirchen has quit [Remote host closed the connection]
dingenskirchen has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #86013 → nixos/printing: make access to web-interface configurable → https://git.io/JftGU
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JfqAy
<colemickens> some ideas in there for gnome3
<elvishjerricco> colemickens: Ooh thanks
<freeman42x[m]> I don't understand installation procedure for taffybar under NixOS: https://github.com/taffybar/taffybar or rather, I can't find it anywhere in there
markus1189 has joined #nixos
<keithy[m]> im getting path '/nix/store/j08r79pwmpj6cx3czm4b9i5jsw66ln9x-dhall-json-1.6.3' does not exist and cannot be created errors a lot should I sudo?
klntsky has joined #nixos
<elvishjerricco> keithy[m]: Probably not
<keithy[m]> everything in store is under root
<elvishjerricco> keithy[m]: As it should be
sigmundv_ has quit [Ping timeout: 260 seconds]
<elvishjerricco> keithy[m]: Are you using NixOS?
<keithy[m]> yes
<keithy[m]> I wanted to try out dhall
<elvishjerricco> keithy[m]: Yea, so Nix uses a daemon on NixOS (and it can on other OSes too)
<elvishjerricco> The daemon enables the store to be used by any allowed user
markus1199 has quit [Ping timeout: 260 seconds]
<elvishjerricco> So the store has to be owned by root
<elvishjerricco> keithy[m]: Pretty much anything you can do with Nix, you can do without sudo
klntsky_ has quit [Remote host closed the connection]
<keithy[m]> am I an allowed user?
<elvishjerricco> It's basically just channels and profiles that are per-user
<elvishjerricco> keithy[m]: You'd be getting a different error if you weren't I think
<keithy[m]> is a trusted user different to an allowed user?
<elvishjerricco> keithy[m]: Yes
<elvishjerricco> Trusted users are allowed to get packages from caches that the system doesn't trust
<elvishjerricco> Allowed users can only use trusted caches
<keithy[m]> and --show-trace?
<elvishjerricco> keithy[m]: What about it?
<keithy[m]> I tried it and it said I wasnt trusted
<elvishjerricco> Huh. Weird.
<elvishjerricco> Doesn't seem related though
<keithy[m]> I thought it might give me more info on the unhelpful error
fengdaolong has quit [Ping timeout: 240 seconds]
<elvishjerricco> keithy[m]: Doubt it. That's used for nix expression evaluation. You're at the actual build phase
<elvishjerricco> keithy[m]: Actually... That error may be from not being an allowed user...
<elvishjerricco> keithy[m]: Does `/etc/nix/nix.conf` have you in the `allowed-users` line?
fengdaolong has joined #nixos
<keithy[m]> allowed-users = *
<keithy[m]> looks ok
<keithy[m]> this box hasnt been updated for a couple of months
<elvishjerricco> Yea, so that's not it
<elvishjerricco> keithy[m]: What command are you running to try to build it?
<keithy[m]> nix-env -i dhall
<{^_^}> [nixpkgs] @zowoq opened pull request #86161 → haskellPackages.hadolint: mark unbroken, remove override → https://git.io/Jfqxm
<keithy[m]> does nixos-rebuild need root?
<keithy[m]> sudo
<Xe> for the switch command: i'd imagine
<elvishjerricco> keithy[m]: Yea, because it messes with root's profile and can even update root's channel
<elvishjerricco> keithy[m]: But `nixos-rebuild build` or `nixos-rebuild build-vm` can both be run without root
<elvishjerricco> because they just build the system, they don't actually install it
rogue_koder has quit [Remote host closed the connection]
rogue_koder has joined #nixos
xcmw has joined #nixos
<elvishjerricco> keithy[m]: Can you post your entire `/etc/nix/nix.conf`?
<keithy[m]> sudo nixos-rebuild switch --upgrade - didnt work either
<elvishjerricco> Oh that's bad
<xcmw> Is this the right place to ask questions for nix on mac or is that a different channel?
<elvishjerricco> Try nix-collect-garbage. Might clean up some funk that's breaking something? Shot in the dark
<keithy[m]> this is basically a fresh in sstall a couple of months ago
<elvishjerricco> xcmw: Here and #nix-darwin are good places
bqv has quit [Quit: WeeChat 2.8]
<freeman42x[m]> how can I change the `taffybar` package here to use `unstable` ? https://gist.github.com/razvan-flavius-panda/f268da8b9e424e681e80daafcca1f536
<elvishjerricco> keithy[m]: Still, garbage collection never hurts
<xcmw> What do errors like this mean? When I use sudo it works but I feel like I should not need to. error: opening lock file '/nix/store/287bi0aiz96rj5s77zvfkknfwb13a2dx-MisoTest.lock': Permission denied
<keithy[m]> ok
<keithy[m]> and rebuild again?
jbrock has quit [Quit: jbrock]
<elvishjerricco> xcmw: That means you installed Nix with a different user than yourself and didn't make it a multi-user install
jbrock has joined #nixos
<xcmw> I only have one user
<elvishjerricco> xcmw: Then you probably installed it as root
<xcmw> I feel like I didn't use sudo before and that this a something new
<xcmw> Could be wrong though
<elvishjerricco> xcmw: Which you should only do if you're making a multi-user install
<elvishjerricco> xcmw: You may have run just one command long after installing with root or something
<xcmw> How do I go about fixing it?
rogue_koder_ has joined #nixos
rogue_koder has quit [Ping timeout: 244 seconds]
<elvishjerricco> xcmw: You might be able to just `chown -R MYUSER:MYGROUP /nix`
<elvishjerricco> xcmw: But first make sure I'm right that you don't have a multi-user install
<elvishjerricco> Check for a process called `nix-daemon`
<elvishjerricco> keithy[m]: Did the gc help?
bqv has joined #nixos
<xcmw> elvishjerricco: looked in activity monitor did not see nix-daemon
<elvishjerricco> xcmw: Then either you don't have a multi-user install or something killed the daemon
<keithy[m]> no still getting...
<elvishjerricco> xcmw: Check if *any* of the files in /nix have you as the owner
<keithy[m]> oooh the nixos-rebuild switch --upgrade seems to have worked this time
<keithy[m]> says I am on 2.3.3
<{^_^}> [nixpkgs] @cdepillabout merged pull request #86161 → haskellPackages.hadolint: mark unbroken, remove override → https://git.io/Jfqxm
<{^_^}> [nixpkgs] @cdepillabout pushed 2 commits to haskell-updates: https://git.io/Jfqxu
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/3aeaf749846 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
pamplemousse has quit [Ping timeout: 246 seconds]
<elvishjerricco> keithy[m]: Does the dhall command work now?
<keithy[m]> no same error
zakkor has quit [Quit: Connection closed for inactivity]
<elvishjerricco> keithy[m]: Check if `/nix/store/11b3gwnnj9nd61d0kh6kg42l5c7468b4-dhall-1.31.1` currently exists
<xcmw> elvishjerricco: I did ls -al some are me some are root
jbrock has quit [Quit: jbrock]
<elvishjerricco> xcmw: Yea that's not supposed to happen :P
jbrock has joined #nixos
<elvishjerricco> You must've used root a few times when running nix commands
<xcmw> Probably so run `chown -R MYUSER:MYGROUP /nix` then?
<xcmw> I know my user but what is my group?
<elvishjerricco> xcmw: Yea, probably.
<elvishjerricco> use the `id` command to get your user and group info
<keithy[m]> its not there
<elvishjerricco> it's probably `staff` if you're on macos
<elvishjerricco> keithy[m]: So weird... I'm at a loss, honestly
<{^_^}> [nixpkgs] @cdepillabout merged pull request #86138 → darcs 2.14.3: remove doJailBreak and patches → https://git.io/Jfqib
<{^_^}> [nixpkgs] @cdepillabout pushed 2 commits to haskell-updates: https://git.io/Jfqxo
<elvishjerricco> keithy[m]: What happens with `nix path-info /nix/store/11b3gwnnj9nd61d0kh6kg42l5c7468b4-dhall-1.31.1`?
<xcmw> Is nixbld a group because that is what the files with my username have?
AstroBadger has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @cdepillabout merged pull request #86140 → hasql-th isn't broken → https://git.io/JfqMO
<{^_^}> [nixpkgs] @cdepillabout pushed 2 commits to haskell-updates: https://git.io/JfqxK
<elvishjerricco> xcmw: Oh yea I forgot about that. Dunno if it's supposed to be like that but it's probably fine
<keithy[m]> is not valid
<elvishjerricco> Thought so...
<elvishjerricco> xcmw: I didn't know that group was created on single-user installs though, so that makes me feel suspicious
<keithy[m]> ok I tried nix-env -i nano that worked
<elvishjerricco> xcmw: People in #nix-darwin would probably know more about that
AstroBadger has joined #nixos
<elvishjerricco> keithy[m]: I feel like there's gotta be something broken in your store
jumper149 has quit [Quit: WeeChat 2.7.1]
<keithy[m]> ok hardlink installed
<elvishjerricco> keithy[m]: `nix path-info --all` should match `ls /nix/store`
<keithy[m]> cant hink what I would have done to bork it
<elvishjerricco> If there's any extraneous paths in the `ls` output, that's a problem
systo has quit [Ping timeout: 258 seconds]
<keithy[m]> 7551 entries all look ok
<elvishjerricco> keithy[m]: `diff <(nix path-info --all | sort) <(find /nix/store -mindepth 1 -maxdepth 1 | sort)` just because I'm paranoid :P
<keithy[m]> 4874a4875
<keithy[m]> > /nix/store/.links
<{^_^}> /nix/store/.links
<elvishjerricco> Yea that's the only thing that should be there
<elvishjerricco> That's fine
<elvishjerricco> keithy[m]: How about `nix-store --verify`?
<keithy[m]> reading the Nix store...
<keithy[m]> checking path existence...
<elvishjerricco> Man, it looks like absolutely nothing is broken in the store... So weird
<keithy[m]> I have dhall already installed form nixpkgs
<xcmw> elvishjerricco: `sudo chown -R michaelmesser:nixbld /nix` fixed it. Thanks!
<elvishjerricco> Yea but you're updating it, right? It shouldn't matter
<elvishjerricco> xcmw: Sweet
h0m1 has quit [Ping timeout: 244 seconds]
h0m1 has joined #nixos
rogue_koder_ has quit [Ping timeout: 260 seconds]
<keithy[m]> im trying to reproduce the buikld locally - but thatcould take a while it probably has to build haskel
<keithy[m]> what if the binary isnt compatible with my x86?
<keithy[m]> its a bit old (missinf sse4.2
chagra_ has quit [Ping timeout: 264 seconds]
rogue_koder_ has joined #nixos
<keithy[m]> * its a bit old (missing sse4.2 instructions)
<elvishjerricco> keithy[m]: You'd get a very different error than tha
gustavderdrache has quit [Quit: Leaving.]
<keithy[m]> is there anything it doesnt load?
rogue_koder_ has quit [Excess Flood]
rogue_koder_ has joined #nixos
anderslundstedt has quit [Ping timeout: 264 seconds]
<elvishjerricco> keithy[m]: What do you mean?
<keithy[m]> I am reproducing the build
<keithy[m]> but it looks like that involved compiling perl and the world
<elvishjerricco> keithy[m]: What do you mean "reproducing the build"? How are you doing that?
<keithy[m]> https://hydra.dhall-lang.org/build/56819 Actions "reproduce locally"
<keithy[m]> its mighty impressive, but on a 2006 mc its going to be a week
CMCDragonkai1 has joined #nixos
rogue_koder_ has quit [Ping timeout: 260 seconds]
chagra_ has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/712026ead1f (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<elvishjerricco> keithy[m]: Are you able to install other Haskell packages with Nix? stylish-haskell, cabal, stack? GHC itself?
<elvishjerricco> keithy[m]: And yea, especially the Haskell builds are going to be super unfriendly to a CPU that old
<elvishjerricco> I'm curious why you're using such an old chip though?
<keithy[m]> its the server under the stairs and I cant get anything to work on my mac (10.11)
<keithy[m]> my laptop is too locked down by my employer
<keithy[m]> my other laptop is arm (pinebook pro)
<keithy[m]> cant find dhall build for arm
<keithy[m]> brew wont support 10.11
<keithy[m]> nix doesnt
<keithy[m]> either
<keithy[m]> and nix-darwin I cant understand the instructions
<keithy[m]> al also have a rock64 server also arm
<{^_^}> [nixpkgs] @worldofpeace merged pull request #84160 → quaternion: update, libquotient: init → https://git.io/JvFiY
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/JfqpR
<keithy[m]> this is a white imac 17" running nixos, probably the cheapest intel device available
<elvishjerricco> keithy[m]: Nix/NixOS does work on aarch64 in beta quality
<{^_^}> [nixpkgs] @worldofpeace merged pull request #86118 → [20.03] treewide: add types to boolean / enable options → https://git.io/JfqWz
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to release-20.03: https://git.io/Jfqpu
<elvishjerricco> I believe Haskell works pretty well in that context too
<keithy[m]> theres no binaries for dhall though ?
<keithy[m]> or would it build?
felixfoertsch has quit [Ping timeout: 244 seconds]
mrpi has quit [Quit: killed]
Scriptkiddi has quit [Quit: killed]
ajs124 has quit [Quit: killed]
das_j has quit [Quit: killed]
proofofkeags has quit [Remote host closed the connection]
felixfoertsch has joined #nixos
<elvishjerricco> keithy[m]: It could probably build it
proofofkeags has joined #nixos
<keithy[m]> for a simple yaml replacement this is proving to be hard work
mrpi has joined #nixos
ajs124 has joined #nixos
Scriptkiddi has joined #nixos
das_j has joined #nixos
<elvishjerricco> Search dhall on there
<elvishjerricco> Looks like dhall built fine and was cached on cache.nixos.org till a few days ago
<keithy[m]> ooh
<keithy[m]> nix you dark horse you
<keithy[m]> can I install an older version of nix btw? (on the mac)
<elvishjerricco> Looks like the GHC simply timed out a few days ago :/
rogue_koder_ has joined #nixos
<elvishjerricco> Building GHC can be... quite demanding
<keithy[m]> looks like lots of things broke 4d ago
<keithy[m]> I just searched for squak
proofofkeags has quit [Ping timeout: 260 seconds]
<keithy[m]> * I just searched for squeak
CMCDragonkai2 has joined #nixos
user_0x58 has quit [Ping timeout: 240 seconds]
user_0x58 has joined #nixos
CMCDragonkai has quit [Ping timeout: 244 seconds]
CMCDragonkai1 is now known as CMCDragonkai
CMCDragonkai2 is now known as 7IZAABQHW
CMCDragonkai is now known as 18VAAL1Y4
<{^_^}> [nixpkgs] @xrelkd opened pull request #86162 → eksctl: 0.17.0 -> 0.18.0 → https://git.io/Jfqhl
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
aw has joined #nixos
spacefrogg has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
slack1256 has joined #nixos
<keithy[m]> the pinebookpro stability might be an issue
<keithy[m]> its frozen on my twice
<keithy[m]> * its frozen on me twice, attempting with only nix-env -i running no browsers (i3 manjaro)
pie_[bnc] has quit [Changing host]
pie_[bnc] has joined #nixos
turona has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @offlinehacker merged pull request #86143 → Add `jq` into path for `nix-prefetch-docker` → https://git.io/JfqSr
<{^_^}> [nixpkgs] @offlinehacker pushed 2 commits to master: https://git.io/Jfqhj
turona has joined #nixos
proofofkeags has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace opened pull request #86163 → Gnome and Pantheon: install nixos wallpapers → https://git.io/Jfqjq
jkachmar has quit [Quit: Connection closed for inactivity]
proofofkeags has quit [Ping timeout: 260 seconds]
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
<aleph-> Well seems I'll be patching the prometheus module. Need to add openstack support to the scrape config.
jbrock has quit [Client Quit]
jbrock has joined #nixos
waleee-cl has quit [Quit: Connection closed for inactivity]
<gchristensen> is there a way to do this: config = lib.mkMerge (mapAttrsToList (name: cfg: { ... })); in a NixOS module? when I do this, even with an empty function in the mapAttrsToList, I get an infinite recursion
<elvishjerricco> gchristensen: You can't write modules that are dynamic in the top level options they generate. That makes it possible for them to generate options that should have been included in the `mapAttrsToList` function; hence the infinite recursion
<gchristensen> right. ack
<elvishjerricco> top level options they provide definitions for* is more accurate wording
<gchristensen> annoying, but ack :)
AluisioASG has quit [Quit: No Ping reply in 180 seconds.]
<energizer> i'm trying to install latex and i keep getting trying http://ftp.math.utah.edu/pub/tex/historic/systems/texlive/2019/tlnet-final/archive/... -> curl 404 not found
AluisioASG has joined #nixos
<{^_^}> Channel nixos-20.03 advanced to https://github.com/NixOS/nixpkgs/commit/2faa76db27c (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-20.03)
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 is now known as Supersonic
<gchristensen> thanks elvishjerricco
<gchristensen> just finished up a little module to glue buildkite to vault
<gchristensen> 4 submodules deep :)
<hyper_ch> hi gchristensen
alp has joined #nixos
<{^_^}> [nixpkgs] @jtojnar pushed 3 commits to master: https://git.io/JfmeY
jasongrossman has joined #nixos
sarcasticadmin has quit [Ping timeout: 260 seconds]
<jasongrossman> Hi!
<hyper_ch> lately I'm having a weird problem with my Lenovo notebook: When I shut it down, it seems to work fine. At the end screen gets turned of but the power button led and others remain lit on... also the cpu (?) fan starts up and get noticeably loud and it just won't stop until I press the power button.
jasongro` has joined #nixos
jbrock has quit [Quit: jbrock]
slack1256 has quit [Ping timeout: 260 seconds]
jbrock has joined #nixos
jbrock has quit [Remote host closed the connection]
jbrock has joined #nixos
AluisioASG has quit [Read error: Connection reset by peer]
AluisioASG has joined #nixos
xcmw has quit [Quit: Textual IRC Client: www.textualapp.com]
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
<pjt_014> hyper_ch: does dmesg give any warnings?
<hyper_ch> pjt_014: how? it reaches power off state, screen goes out, there doesn't seem to be any noticeable action going on
<pjt_014> It could still be in a state where dmesg can operate. Having something like dmesg -w > log.txt run while 'shutting down' would tell you if that's the case
<pjt_014> because I can't tell exactly what state it's in by that description only
rogue_koder_ has quit [Ping timeout: 246 seconds]
rogue_koder_ has joined #nixos
<hyper_ch> I could try, thx
<{^_^}> [nixpkgs] @jtojnar opened pull request #86165 → libusb → libusb-compat-0_1, libusb1 ↜ libusb → https://git.io/Jfme1
<{^_^}> [nixpkgs] @matthewbauer merged pull request #86154 → [20.03] python.pkgs.grpcio: use system openssl, zlib, and c-ares → https://git.io/Jfqbp
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to release-20.03: https://git.io/Jfmey
rogue_koder_ has quit [Ping timeout: 240 seconds]
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
jbrock has quit [Client Quit]
jbrock has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #86157 → palemoon: 28.8.4 -> 28.9.1, add GTK3 option → https://git.io/JfqNB
<{^_^}> [nixpkgs] @jonringer pushed commit from @OPNA2608 to master « palemoon: 28.8.4 -> 28.9.1, add GTK3 option »: https://git.io/JfmeA
daGrevis has quit [Remote host closed the connection]
rogue_koder_ has joined #nixos
daGrevis has joined #nixos
butterthebuddha has joined #nixos
<butterthebuddha> How can I check the current value of nixpkgs?
<butterthebuddha> the NIX_PATH variable that is
<clever> butterthebuddha: nix-instantiate --find-file nixpkgs
<clever> that will parse NIX_PATH and any -I flags it might receive, and tell you where <nixpkgs> is
<butterthebuddha> Also, this is a darwin-os specific question, but I'm still stuck on nix 2.3.3
<butterthebuddha> My nixpkgs is up to 20.09, so channel updates seem to be working OK
<energizer> i have `mkShell {buildInputs = [a b c];}` but i want a gc root. am i supposed to use buildEnv or mkDerivation for this?
<energizer> i just want all the same stuff in the shell, but i dont want to lose it because it's a slow build
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #86166 → *-wrapper; Switch from `infixSalt` to `suffixSalt` → https://git.io/Jfmvm
<clever> energizer: you could just nix-build an expr that does writeText "name" (toString [ a b c])
<clever> that would depend on a/b/c then
<energizer> clever: that oughta work
daGrevis has quit [Remote host closed the connection]
daGrevis has joined #nixos
domogled has joined #nixos
daGrevis has quit [Remote host closed the connection]
<energizer> clever: `buildEnv {name="foo"; paths=[]; buildInputs = [a b c];}` seems to work too. is that idiomatic for this job?
daGrevis has joined #nixos
drakonis has joined #nixos
<clever> energizer: does it actually depend on the things?, nix-store -q --roots
butterthebuddha has quit [Remote host closed the connection]
zebrag has quit [Ping timeout: 244 seconds]
inkbottle has joined #nixos
daGrevis has quit [Remote host closed the connection]
<energizer> i guess not
daGrevis has joined #nixos
<clever> energizer: buildEnv only depends on the things in paths at runtime
drakonis has quit [Read error: Connection reset by peer]
zeta_0 has joined #nixos
<energizer> oh even better, this problem is already solved: lorri creates gc roots in ~/.cache/
Henson has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
bhipple has quit [Remote host closed the connection]
<zeta_0> i'm still getting this trace warning: https://dpaste.org/f3t6, how do i fix it show it stops showing that warning?
<zeta_0> that warning gets thrown whenever i do nixos-rebuild switch
drakonis has joined #nixos
<clever> zeta_0: edit configuration.nix to rename the option
<{^_^}> [nixpkgs] @jtojnar opened pull request #86167 → webkitgtk: 2.28.1 → 2.28.2 → https://git.io/JfmfI
<zeta_0> clever: i don't have either of those 2 options set so i guess i can set that picom option, does it have to be set in configuration.nix or can i set the option home.nix instead?
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
<clever> zeta_0: then you need to figure out which file is setting compton
jbrock has quit [Client Quit]
jbrock has joined #nixos
chagra has joined #nixos
<zeta_0> clever: it turns out i had the compton option set in home.nix, so i renamed it to picom, i don't remember why i set that up in the 1st place, so i'm going to need to look that picom stuff up
<{^_^}> [nixpkgs] @jonringer merged pull request #86145 → jid: 0.7.2 -> 0.7.6 → https://git.io/Jfq7S
<{^_^}> [nixpkgs] @jonringer pushed commit from @jerith666 to master « jid: 0.7.2 -> 0.7.6 »: https://git.io/Jfmfn
mir100 has quit [Ping timeout: 250 seconds]
chagra_ has quit [Ping timeout: 260 seconds]
<zeta_0> cool, that change removed the trace warning
Jonathan21 has joined #nixos
endformationage has quit [Quit: WeeChat 2.6]
mir100 has joined #nixos
<Jonathan21> Hey, brilliant Nix people. I am having a crash with Sway in the unstable branch, so I submitted an issue with Sway, but they say it is a NixOS issue.
<Jonathan21> They made this statement, but is this actually true?! """On NixOS you'll have to recompile as soon as you upgrade one of the dependencies, since your libs go out of sync otherwise."""
<clever> Jonathan21: anything in /nix/store must follow that rule
<Jonathan21> Aaa, which rule?
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/697bff74fd9 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<Jonathan21> That dependencies will go out of sync?
<simpson> Are you using sway from nixpkgs?
<Jonathan21> Yes, nixpkgs-unstable.
<Jonathan21> (Although, my OS is on the stable branch)
<simpson> Then you're fine. Nix will make sure that libraries line up, and recompile stuff as needed.
<Jonathan21> So, you are saying that guy on the Sway issue tracking made a false statement?
<Jonathan21> simpson...
<clever> Jonathan21: can you link the issue?
<simpson> Jonathan21: Probably. I mean, it's a sentence on the Internet.
<Jonathan21> simpson: lol
<clever> Jonathan21: opengl behaves weirdly on nixos, and ignores the previous rules
<simpson> The rest of what they said makes sense; they recommend a certain overlay.
<clever> Jonathan21: you must get sway from the same version of nixpkgs as nixos, or things break
<Jonathan21> Oh, because multiple versions of OpenGL does not work.
<simpson> That looks like a funkily-linked libdrm. Wonder how that happened?
<clever> simpson: the GL.h it was compiled from is out of sync with the libGL in /run/opengl-driver/
<clever> because 2 nixpkgs versions got mixed up
<clever> opengl is the only place where nix impurely mixes things up like that
peelz has joined #nixos
<simpson> clever: That makes zero sense to me. libGL's ABI is fixed, and moreover the symbols that are messed up are from libdrm, one of the libraries underneath the GL stack. But whatever fixes it, I guess.
<Jonathan21> Okay.
<clever> simpson: but libGL may be pulling in an old libdrm via RPATH, which isnt in sync with the libdrm that sway was built against
<clever> simpson: so it spreads like a virus, and all of GL's deps could be the "wrong" version for sway
<simpson> clever: Sure. This is an abstraction violation for sway, but who knows whether it's their fault.
<clever> id say its due to mixing nixpkgs revs, and it wouldnt happen if sway and nixos came from the same rev
<simpson> clever: It *is* possible to just go ham and ioctl() the DRM node without libdrm, and further to open up an X socket without libxcb. All of these libraries, on Linux, are comfort and cushioning.
<simpson> Ah, sure. Mixing multiple nixpkgs doesn't go well.
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
aminechikhaoui has quit [Quit: Ping timeout (120 seconds)]
jbrock has quit [Client Quit]
jbrock has joined #nixos
<zeta_0> emacs is not recognizing the environment variables in the shellHook i set in shell.nix for my lorri setup, so i'm just going to put all the environment variables in the `home.sessionVariables` option in home.nix, i hope that does not cause problems down the road
kahiru has quit [Ping timeout: 250 seconds]
kahiru_ has joined #nixos
<zeta_0> anyways, what does --pure mean in nix-shell --pure ? i've never used the --pure option before, so i'm wondering what are some cases where it needs to be used?
<clever> zeta_0: it means env vars wont leak in from the shell above nix-shell
Jonathan21 has quit [Remote host closed the connection]
aminechikhaoui has joined #nixos
<zeta_0> clever: thanks, that makes sense
<JameySharp[m]> simpson: open an X socket without libxcb? then what did I write it for? 😅
<JameySharp[m]> that was a funny comment to walk in on 😆
<{^_^}> [nixpkgs] @lblasc opened pull request #86168 → sof-firmware: init at 1.4.2 → https://git.io/JfmJs
<{^_^}> [nix] @matthewbauer opened pull request #3544 → Allow empty hashes → https://git.io/JfmJ8
drakonis has quit [Quit: WeeChat 2.8]
<simpson> JameySharp[m]: I've been working on an XML parser in Monte so that I can connect to X from Monte without XCB. Yet another one of my many poor life decisions.
palo1 has joined #nixos
<JameySharp[m]> Haha, oh noooo
<{^_^}> [nixpkgs] @uri-canva closed pull request #85356 → bazel_latest: 2.1.0 -> 3.0.0 → https://git.io/JffIj
18VAAL1Y4 has quit [Read error: Connection reset by peer]
7IZAABQHW has quit [Read error: Connection reset by peer]
palo has quit [Ping timeout: 265 seconds]
palo1 is now known as palo
cole-h has quit [Ping timeout: 260 seconds]
rauno has joined #nixos
<{^_^}> [nixpkgs] @jraygauthier opened pull request #86169 → gopass-ui: init at 0.7.0 → https://git.io/JfmJK
dingenskirchen has quit [Quit: dingenskirchen]
dingenskirchen1 has joined #nixos
jasongro` has quit [Quit: ERC (IRC client for Emacs 26.3)]
dingenskirchen1 has quit [Client Quit]
dingenskirchen has joined #nixos
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
markus1189 has quit [Ping timeout: 260 seconds]
markus1189 has joined #nixos
fabianhjr has quit [Quit: Leaving.]
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
FRidh has joined #nixos
<{^_^}> [nixpkgs] @OPNA2608 opened pull request #86170 → [20.03] palemoon: 28.8.4 -> 28.9.1, add GTK3 option → https://git.io/JfmUt
<ashkitten> JameySharp[m]: omg, nice coincidence
<ashkitten> also hi
<JameySharp[m]> hi! :wave
<JameySharp[m]> bah, emojis are hard
smatting_ has joined #nixos
shafox has joined #nixos
opthomasprime has joined #nixos
opthomasprime has left #nixos [#nixos]
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
jbrock has quit [Client Quit]
jbrock has joined #nixos
<{^_^}> [nixpkgs] @evils opened pull request #86171 → foldingathome: 7.5.1 -> 7.6.9 → https://git.io/JfmUC
<{^_^}> [nixpkgs] @foxit64 opened pull request #86172 → update telegraf 1.14.0 => 1.14.1 → https://git.io/JfmUW
user_0x58 has quit [Quit: Leaving]
opthomasprime has joined #nixos
opthomasprime has left #nixos [#nixos]
linarcx has joined #nixos
smatting_ has quit [Ping timeout: 260 seconds]
lord| has quit [Quit: https://i.imgur.com/xacQ09F.mp4]
mallox has joined #nixos
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
<la-s> Is there any way to use a custom mesa?
zupo_ has joined #nixos
jbrock has quit [Client Quit]
<colemickens> Las, you can use an overlay for that, but it will trigger a rebuild of a lot of things.
hax404 has quit [Ping timeout: 272 seconds]
lord| has joined #nixos
hax404 has joined #nixos
proofofkeags has joined #nixos
<la-s> I wasn't sure if that would work so I just copied the tree and changed mesa/default.nix, but it makes me recompile a bunct of things that are seemingly unrelated like libav
zupo_ has quit [Read error: Connection reset by peer]
<colemickens> yeah, mesa is at the bottom of a very large inverted tree
<colemickens> If you just need to build an additional driver there's a trick you can use.
<colemickens> Otherwise I don't know of a good option in Nix.
alp has quit [Ping timeout: 272 seconds]
proofofkeags has quit [Ping timeout: 260 seconds]
seku has joined #nixos
konobi has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @talyz opened pull request #86173 → nixos/gitlab: Fix services.gitlab.enableStartTLSAuto → https://git.io/JfmUb
cr4y1 has joined #nixos
Avaq has quit [Quit: Leaving.]
konobi has joined #nixos
<energizer> what's the trick?
kreisys has quit [Ping timeout: 256 seconds]
deuloma has joined #nixos
cfricke has joined #nixos
<deuloma> What is the way to pass a variable into nix-shell? I have a default.nix which uses rust unstable if a variable is set, for tests, I would like to override it to run test in both scenario
<deuloma> so, run nix-shell as play but also run nix-shell with one variable overriten
lsix has joined #nixos
kreisys has joined #nixos
hax404 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @vbgl merged pull request #86089 → ocamlPackages.tsdl: 0.9.4 -> 0.9.7 → https://git.io/JfqTH
<{^_^}> [nixpkgs] @vbgl pushed commit from David Arroyo to master « ocamlPackages.tsdl: 0.9.4 -> 0.9.7 »: https://git.io/JfmTZ
alexherbo2 has joined #nixos
<deuloma> something like running nix-shell with config.use-stable-rust override
hax404 has joined #nixos
alp has joined #nixos
CMCDragonkai has joined #nixos
CMCDragonkai has quit [Read error: Connection reset by peer]
nschoe has joined #nixos
shreyansh_k has joined #nixos
jbrock has joined #nixos
<{^_^}> [nixpkgs] @chkno opened pull request #86174 → kvmtool: Init at 0.20200424 → https://git.io/JfmTM
jbrock has quit [Client Quit]
jbrock has joined #nixos
<{^_^}> [nixos-homepage] @garbas pushed to landing-page « add few examples, still missing deploy examples »: https://git.io/JfmTQ
<{^_^}> [nixpkgs] @Kloenk opened pull request #86175 → nixos/initrd-ssh: add extraConfig Options → https://git.io/JfmTF
jgeerds has joined #nixos
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
jbrock has quit [Client Quit]
jbrock has joined #nixos
gxt has joined #nixos
<colemickens> The AWS tab on the download page doesn't look right.
jgeerds has quit [Ping timeout: 265 seconds]
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
jbrock has quit [Client Quit]
jbrock has joined #nixos
hax404 has quit [Ping timeout: 240 seconds]
hax404 has joined #nixos
smatting_ has joined #nixos
<nschoe> Hi everyone, for those who were here last night (for me), just know that... the GHC cross compilation termiinated during the night... and it was successful!
svends has quit [Ping timeout: 240 seconds]
civodul has joined #nixos
<nschoe> Hum, hi again. Now I'm trying to copy the closure I've just cross-compiled on my rPi, but I can't do it. No matterif I use 'nix copy' (with or without --no-check-sigs, with 'ssh-ng://', with 'ssh://') or 'nix-copy-closure', I always get error: cannot add path '/nix/store/2gmj7d2ij7gyqk2mbs2czmii9pc8g81c-linux-headers-4.19.16' because it lacks a valid signature
<nschoe> I've tried copy fro mlaptop to rPi with --to and from the rPi wih --from but same error.
<srk> \o/
<la-s> well you can try copying it manually
<nschoe> la-s: well I don't know all dependencies.
<la-s> nschoe: nix-store -qR
<nschoe> la-s: thanks
<nschoe> But that doesn't feel very nix-like ^^
chagra has quit [Ping timeout: 260 seconds]
<nschoe> Also with nix copy isn't some thing "else' performed rather that just a copy?
<la-s> well, it works lol; I've even used it before
<la-s> I think it's pretty much just a literal copy
<srk> nschoe: are you copying as root, right?
<srk> on the rPi
<seku> noob here, been playing around a bit with gchristensen's idea of deleting / on every boot. It worked, but of course it deleted my users as well, so i can no longer log in xD. Parsing his configuration file, i saw that he stores them in secrets... somewhere. Is there something like a tutorial for that? :)
knupfer1 has joined #nixos
<kahiru_> I just defined my users in configuration.nix and put hashed passwords in there
<nschoe> srk: no I was not.
<nschoe> srk: but I've just tried now and it seems to work.
<nschoe> srk: is this the 'trusted user' thing?
<srk> nschoe: yup
thc202 has joined #nixos
<seku> kahiru_, thanks ill try that! just for my understanding, /etc/ gets wiped too, so configuration.nix as well? is it copied/rebuilt in the iniramfs or something like that?
<nschoe> srk: anyway to make my normal user 'trusted'? should I?
<seku> thanks, DigitalKiwi!
alexherbo23 has joined #nixos
<kahiru_> seku: /etc gets indeed wiped. I put the configuration to a persistent mountpoint and then added something to configuration.nix to create symlinks in /etc/nixos pointing to the persistent location
<srk> nschoe: I'm not sure if that would help, it depends on the signatures of the build products iirc
<{^_^}> [nixpkgs] @elohmeier opened pull request #86176 → kapacitor: 1.5.1 -> 1.5.4 → https://git.io/JfmkA
alexherbo2 has quit [Ping timeout: 246 seconds]
alexherbo23 is now known as alexherbo2
<xfix> about tmpfs, you want to keep /etc/nixos somewhere safe probably if you want to be able to use nixos-rebuild
<xfix> let me check my own configuration, because i did something similar in a virtual machine
<seku> interesting, it sounds a bit more involved than i tought :)
<seku> maybe i should just make /etc/nixos a persistent dataset as well?
<nschoe> srk: yes but I can always use --no-check-sigs, no?
alp has quit [Ping timeout: 265 seconds]
<nschoe> srk: because the issue here is that it "forces" me to log in as roo, which is not good. Or log in as root from teh rPi (with sudo -i) and use --from.
<xfix> environment.etc.nixos.source = "/data/etc/nixos";
<xfix> rather straightforward
<srk> nschoe: right! or setup proper signatures but that's probably overkill :)
orivej has joined #nixos
<kahiru_> xfix: ah, so I went a bit longer way around it
<xfix> this means on every boot, /etc/nixos becomes a symlink to /data/etc/nixos
<xfix> of course, this depends on what the exact persistent storage path is
<nschoe> srk: :/
alp has joined #nixos
<nschoe> srk: okay, will keep copy from the Rpi (logged as normal user, elevated to roo twith sudo -i). Because signing derivations afte reach rebuild (I'm in development mode) will be a pain.
<nschoe> Thanks for the help:)
<srk> yw!
<seku> xfix, thanks, that's just what i need :D
<xfix> in my case, i made partitions for /nix, /data, /home and /boot
<xfix> but of course, your approach can be different
<xfix> specifically used btrfs subvolumes (this is a virtual machine, so I didn't particularly care about details)
<seku> yeah, i am still testing in a VM too, and trying to understand nixos a bit
<seku> ill still have loads to learn... but nixos feels damn fun.
<kahiru_> in theory it should be also doable with a single non-cow filesystem and bind mounts, right?
<xfix> i'm somewhat surprised tmpfs on root even works, but... it does
rien has joined #nixos
<seku> kahiru_: yeah, sounds like it should
titaf has quit [Ping timeout: 244 seconds]
<seku> tmpfs on root still feels a bit crazy... but nice :)
<xfix> only /nix (and possibly /boot) is really necessary, which is cool
<xfix> of course, you probably want more than that if you want to preserve state
jbrock has quit [Quit: jbrock]
<{^_^}> [nixpkgs] @Mic92 merged pull request #86172 → update telegraf 1.14.0 => 1.14.1 → https://git.io/JfmUW
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JfmIl
jbrock has joined #nixos
<nschoe> Ah YES! It works people!
<nschoe> Yes!
<nschoe> And *it works*. Cross compiled to rPi 3, even for Haskell programs is not broken.
<nschoe> I have cross-compiled a *haskell* program on the laptop, targetted for an rPi3, copied to closure and executed the thing on the rPi.
<nschoe> (Sorry just needed to share the joy)
<manveru> nschoe: congratulations :)
orivej has quit [Ping timeout: 260 seconds]
<Valodim> woo :)
<nschoe> Thanks for the support and help :)
<ikwildrpepper> nschoe: awesome, congrats
<immae> xfix: do you use tmpfs on root filesystem? I think someone was interested in that a few days ago, if you’re available to share some code
<xfix> well, i experimented with that in a virtual machine
<nschoe> (and if you guys wans to do this, make damn sure to have enough space on /tmp and limit --cores 2 -j 2 unless you have 16GB+ of RAM, because GHC is a greedy bastard to compile :D)
<xfix> i don't do that on an actual computer... yet
<immae> sure
<immae> aanderse: ^
ris has quit [Ping timeout: 258 seconds]
<etu> I've been using tmpfs for root for months and months
<xfix> it's honestly rather straightforward, you just mount tmpfs under /mnt during installation
<immae> (He might have found a solution inbetween though)
<etu> and recently switched over my /home to tmpfs as well
<xfix> nixos-generate-config will recognize that
<xfix> of course, put a real mount for /nix, /boot and whatever you want really
<immae> It’s not for me, someone who asked a few days ago about it :)
<immae> Maybe he’ll jump in
<{^_^}> [nixpkgs] @lheckemann opened pull request #86177 → [WIP] Mailman refactor → https://git.io/JfmIR
<xfix> no need to back up /nix or /boot, but you probably want to back up mountpoints with actual state
<immae> xfix: you mount tmpfs under /mnt and then it will be written as is in fstab is that it?
<xfix> you are using NixOS, /etc/fstab is an implementation detail :)
<xfix> but yes
<immae> right, it’s easier than what I though indeed :)
<xfix> what you probably are thinking of is hardware-config.nix
<xfix> hardware-configuration.nix*
<immae> yes
<xfix> and nixos-generate-config can handle tmpfs
<immae> yes, my question was more "you can mount a tmpfs as root early in the boot process" but I get your idea
<xfix> yes
<immae> Thanks xfix / etu
<xfix> it makes sense to allow having /nix on a separate partition, so of course the boot process is prepared for that
<immae> yes sure
hax404 has quit [Ping timeout: 240 seconds]
<wucke13> Can one packageOverride be used in another packages override?
<xfix> in fact, having /nix on a separate partition isn't very contrived, for instance you may want to do that to disable snapshoting for /nix, and so on
<etu> And one probably want a bunch of bind-mounts and symlinks specified in the config to some kind of persistent storage
hax404 has joined #nixos
<xfix> cool :)
user_0x58 has joined #nixos
<xfix> technically only .local/share/fish/fish_history needs to be persistent, but i suppose this saves on time running completion generation script every time you reboot the machine
user_0x58 has quit [Client Quit]
<{^_^}> [nixpkgs] @Mic92 opened pull request #86178 → gox: 20181025 -> 1.0.1 → https://git.io/JfmIy
<colemickens> etu: has someone tried to submit a persistence module like that upstream?
<etu> colemickens: The ones on top are upstream things, such as symlinks in etc and bind-mounts. The thing on bottom is using a module for home-manager that isn't upstream.
<colemickens> yeah, I went and found the module from talyz or whatever. it'd be cool to see that in HM
<etu> yeah, some day maybe :D
<{^_^}> [nixpkgs] @Mic92 opened pull request #86179 → kinect-cpp-client: remove → https://git.io/JfmIF
aswanson has quit [Quit: WeeChat 2.7.1]
<{^_^}> [nixpkgs] @Mic92 opened pull request #86180 → prey-bash-client: remove → https://git.io/JfmIh
Fare has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @Mic92 opened pull request #86181 → connmanui: remove → https://git.io/JfmLe
Fare has joined #nixos
<{^_^}> [nixpkgs] @Mic92 opened pull request #86182 → libhdhomerun: 1efbcb -> 20200303 → https://git.io/JfmLm
__monty__ has joined #nixos
sam3 has joined #nixos
medvid has quit [Ping timeout: 256 seconds]
sam3 has quit [Client Quit]
<{^_^}> [nixpkgs] @Mic92 opened pull request #86183 → tmsu: 0.7.4 -> 0.7.5 → https://git.io/JfmLa
sb0_ has joined #nixos
jbrock has quit [Quit: jbrock]
stree has quit [Read error: Connection reset by peer]
stree has joined #nixos
stree has quit [Read error: Connection reset by peer]
stree has joined #nixos
hax404 has quit [Remote host closed the connection]
hax404 has joined #nixos
jbrock has joined #nixos
iqubic has quit [Ping timeout: 260 seconds]
sigmundv_ has joined #nixos
jbrock has quit [Client Quit]
jbrock has joined #nixos
fendor has joined #nixos
fendor has quit [Remote host closed the connection]
fendor has joined #nixos
fendor has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Avaq opened pull request #86185 → keybase,kbfs,keybase-gui: 5.3.1 -> 5.4.2 → https://git.io/JfmLp
fendor has joined #nixos
fendor has quit [Remote host closed the connection]
fendor has joined #nixos
globin_ has joined #nixos
<{^_^}> [nixpkgs] @danieldk opened pull request #86186 → sentencepiece: 0.1.85 -> 0.1.86 → https://git.io/Jfmtv
globin has quit [Ping timeout: 246 seconds]
<hyperfekt> xfix: actually NixOS generates all the completions for you and puts them in the store, also they're not saved in the variables
<xfix> this isn't what i'm referring to
<xfix> fish shell has a functionality where it automatically generates completions from man pages, and i don't see it being patched out anyhow
<{^_^}> [nixpkgs] @talyz merged pull request #86173 → nixos/gitlab: Fix services.gitlab.enableStartTLSAuto → https://git.io/JfmUb
<{^_^}> [nixpkgs] @talyz pushed 2 commits to master: https://git.io/Jfmtn
<{^_^}> [nixpkgs] @mmilata opened pull request #86187 → [20.03] libssh: 0.8.8 -> 0.8.9 → https://git.io/Jfmtc
m0rphism has joined #nixos
domogled has quit [Ping timeout: 244 seconds]
hax404 has quit [Ping timeout: 240 seconds]
hax404 has joined #nixos
deuloma has quit [Remote host closed the connection]
<lemsip> how would I go about making a package from a shell.nix? I just want an executable that runs a single command.
ilikeheaps has quit [Quit: Konversation terminated!]
<hyperfekt> xfix: automatically? where does it do that? i thought you'd have to trigger that? generating the completions from man pages is exactly what NixOS does for you
<xfix> fish shell creates ~/.local/share/fish/generated_completions directory if missing
<{^_^}> [nixpkgs] @Mic92 opened pull request #86188 → gopherclient: remove → https://git.io/JfmtS
fusion809 has quit [Quit: Leaving]
obadz has quit [Quit: WeeChat 2.8]
<{^_^}> [nixpkgs] @markuskowa merged pull request #85920 → libpsm2: init at 11.2.156 → https://git.io/JfLqk
<{^_^}> [nixpkgs] @markuskowa pushed commit from @bzizou to master « libpsm2: init at 11.2.156 (#85920) »: https://git.io/JfmtN
Darkmatter66 has joined #nixos
domogled has joined #nixos
anderslundstedt has joined #nixos
Baughn has quit [Ping timeout: 260 seconds]
Darkmatter66_ has quit [Ping timeout: 260 seconds]
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
Baughn has joined #nixos
iMatejC has quit [Quit: WeeChat 2.7.1]
<{^_^}> [nixpkgs] @Mic92 opened pull request #86189 → blsd: remove → https://git.io/Jfmql
<hyperfekt> xfix: looks like you're right, that's not great
iMatejC has joined #nixos
orivej has joined #nixos
o1lo01ol1o has joined #nixos
alexherbo27 has joined #nixos
pjt_014 has quit [Ping timeout: 258 seconds]
alexherbo2 has quit [Ping timeout: 244 seconds]
alexherbo27 is now known as alexherbo2
Fare has quit [Ping timeout: 240 seconds]
Fare has joined #nixos
hax404 has quit [Ping timeout: 240 seconds]
hax404 has joined #nixos
chagra has joined #nixos
iMatejC has quit [Quit: WeeChat 2.7.1]
hoijui has joined #nixos
<{^_^}> [nixpkgs] @adisbladis merged pull request #86188 → gopherclient: remove → https://git.io/JfmtS
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/Jfmmf
<hyperfekt> xfix: actually i don't think that's true. i can't quite tell why but deleting that directory does NOT have it recreated on NixOS
iMatejC has joined #nixos
<{^_^}> [nixpkgs] @talyz opened pull request #86190 → nixos/gitlab: Fix services.gitlab.enableStartTLSAuto → https://git.io/JfmmO
jasongrossman has quit [Ping timeout: 240 seconds]
<xfix> if not test -d $__fish_user_data_dir/generated_completions
<xfix> well, according to the source code the script should run if a directory doesn't exist
<xfix> for interactive fish shell sessions
<xfix> interactive is defined as "when the prompt is displayed"
<xfix> however, if you have an already running fish shell, then of course you need to run `fish` again for completions to be generated
<{^_^}> [nixpkgs] @talyz opened pull request #86191 → nixos/gitlab: Fix services.gitlab.enableStartTLSAuto → https://git.io/Jfmmn
<hyperfekt> xfix: i'm reading the same source, and i agree that it should happen. but it doesn't seem to be?
<xfix> it happens for me
<xfix> it's sufficient to run `fish` again after removing the directory
<hyperfekt> if you move your generated completions they get recreated?
<hyperfekt> and you have the fish module enabled?
<xfix> no
<xfix> i guess that may be related, i don't know
o1lo01ol1o has quit [Remote host closed the connection]
<xfix> okay, so programs.fish.enable = true; is needed for NixOS specific fish shell behaviour
<{^_^}> [nixpkgs] @kampka opened pull request #86192 → trilium: 0.40.7 -> 0.41.6 → https://git.io/Jfmmz
obadz has joined #nixos
cosimone has joined #nixos
o1lo01ol1o has joined #nixos
stree has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @danieldk opened pull request #86193 → fasttext: 0.9.1 -> 0.9.2 → https://git.io/JfmYJ
stree has joined #nixos
srk has quit [Changing host]
srk has joined #nixos
hax404 has quit [Ping timeout: 240 seconds]
hax404 has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #86176 → kapacitor: 1.5.1 -> 1.5.4 → https://git.io/JfmkA
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JfmYy
CMCDragonkai has joined #nixos
stree has quit [Read error: Connection reset by peer]
bvdw1 has joined #nixos
stree has joined #nixos
corpix_ has joined #nixos
Scriptkiddi has quit [Ping timeout: 246 seconds]
ajs124 has quit [Ping timeout: 260 seconds]
das_j has quit [Ping timeout: 260 seconds]
mrpi has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @Profpatsch opened pull request #86194 → pandoc: remove GHC from the runtime closure (2.4GB -> 180MB) → https://git.io/JfmYj
corpix has quit [Ping timeout: 240 seconds]
rembo10_ has joined #nixos
Bunogi has quit [Ping timeout: 246 seconds]
Scriptkiddi has joined #nixos
wolfshappen has quit [Ping timeout: 256 seconds]
lurkless has quit [Ping timeout: 256 seconds]
bvdw has quit [Ping timeout: 256 seconds]
reactormonk has quit [Ping timeout: 256 seconds]
bvdw1 is now known as bvdw
gxt has quit [Ping timeout: 240 seconds]
unacceptable has quit [Ping timeout: 256 seconds]
WilliButz has quit [Ping timeout: 264 seconds]
rembo10 has quit [Ping timeout: 264 seconds]
aszlig has quit [Ping timeout: 260 seconds]
Bunogi has joined #nixos
unacceptable has joined #nixos
lurkless has joined #nixos
reactormonk has joined #nixos
aszlig has joined #nixos
WilliButz has joined #nixos
gxt has joined #nixos
<hyperfekt> xfix: any chance you have python on $PATH? it seems like the source you were looking at doesn't have its python path patched during the build
mrpi has joined #nixos
das_j has joined #nixos
ajs124 has joined #nixos
<xfix> i do
wolfshappen has joined #nixos
<hyperfekt> that's it then, thanks. i'll get that fixed
<xfix> cool :)
<xfix> Python is an optional dependency for fish, so fish pretty much ignores it being missing
<xfix> and the shell never informs about it being missed, so it could be easily missed
<xfix> about it not existing*
<xfix> a particular Python version doesn't matter, fish shell checks python3, python2 and python in order
jbrock has quit [Ping timeout: 260 seconds]
jbrock has joined #nixos
<adisbladis> Hm
CMCDragonkai1 has joined #nixos
<adisbladis> We should patch those shebangs
CcxWrk_ has joined #nixos
CcxWrk_ is now known as CcxWrk
CcxWrk has quit [Killed (tolkien.freenode.net (Nickname regained by services))]
fpob_ has joined #nixos
<adisbladis> Ah, it's not even a shebang
fpob has quit [Ping timeout: 256 seconds]
<adisbladis> That's pretty dumb
<{^_^}> [nixos-homepage] @garbas pushed to landing-page « a bit better main description, but i'm lost with words »: https://git.io/JfmOW
<adisbladis> xfix: hyperfekt: We could patch the fish function __fish_anypython
<xfix> sure
<hyperfekt> adisbladis: haha if that was used consistently we could only do that, yes
<adisbladis> hyperfekt: It would fix fish_config at least
opticnerve has joined #nixos
<xfix> this probably could be fixed to use __fish_anypython, i think it's a bug that generating man pages doesn't do that
<hyperfekt> adisbladis: the fish_update_completions command already works, that's not the issue
<adisbladis> What's your issue then? :)
<xfix> i will submit a patch soon
<xfix> for fish shell specifically to use __fish_anypython here
<hyperfekt> wait nvm i'm still on an old version.
<xfix> yeah, the git master uses __fish_anypython in fish_update_completions
<xfix> so yeah, this could return a constant value in NixOS
<xfix> echo /nix/store/whatever
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
<hyperfekt> okay, so we patch fish to use __fish_anypython everywhere upstream, we patch __fish_anypython to actually return a path in the nix derivation, and we patch the fish interactive init to create the completion directory in the fish module
<xfix> i think fish should use __fish_anypython everywhere already
<xfix> other than python completions, but here it's correct to not use __fish_anypython
<{^_^}> [nixpkgs] @Mic92 merged pull request #86056 → watson: added bash/zsh completions → https://git.io/JftSV
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/JfmOa
<xfix> oh yeah, right
<{^_^}> [nixpkgs] @adisbladis opened pull request #86195 → fish: Patch __fish_anypython function to return build input python3 → https://git.io/JfmOo
<adisbladis> In the mean time: ^
Darkmatter66 has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @adisbladis merged pull request #83378 → Build MELPA package sets without null packages → https://git.io/JvSDH
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/JfmOX
Darkmatter66 has joined #nixos
ddellacosta has quit [Ping timeout: 260 seconds]
proofofkeags has joined #nixos
opticnerve has quit [Quit: Leaving]
chagra has quit [Ping timeout: 260 seconds]
<aanderse> immae: thanks for the ping :)
<aanderse> etu: my final parts are getting here today for my new build... i'm gonna try / on tmpfs!
<aanderse> i do like the idea of /home on tmpfs for a pure media center build though :D
<{^_^}> [nixos-org-configurations] @edolstra pushed 4 commits to master: https://git.io/Jfm3q
proofofkeags has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @romildo opened pull request #86196 → pop-icon-theme: init at 2020-03-04 → https://git.io/Jfm3s
<adisbladis> aanderse: tmpfs / \o/
<adisbladis> Well, I also have /home on tmpfs :)
<aanderse> yeah you and etu are too intense for me! you definitely have me beat :P
<sphalerite> tmpfs /etc/nixos
<sphalerite> tmpfs /var/db/postgresql
<sphalerite> :D
alp has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #85755 → arm-trusted-firmware: 2.2 -> 2.3 → https://git.io/JfkPq
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/Jfm3B
<{^_^}> [nixpkgs] @jojosch opened pull request #86197 → dbeaver: 7.0.2 -> 7.0.3 → https://git.io/Jfm32
zupo has joined #nixos
<adisbladis> sphalerite: Yeah! tmpfs _all_ the things!
<hyperfekt> rheesa would be proud
<adisbladis> Running Docker on tmpfs was annoying
alp has joined #nixos
<hyperfekt> haha
<etu> aanderse: tmpfs is really fast though ;D
<aanderse> woo! i'm glad to hear
<hyperfekt> xfix: now i see why i don't have that directory created even with python on path, i have my own __fish_config_interactive that cuts out like 80% of the stuff
<aanderse> etu: looks like /root needs to be persistent?
<etu> adisbladis: I still do that, but I only have one container that I build very rarely. We'll when I need to build more with docker.
<etu> aanderse: I have that bind mounted
<etu> aanderse: /persistent/home/root /root auto bind,noauto,x-systemd.automount 0 2
<aanderse> etu: yeah i noticed that. i assume there is a reason it need to be persistent then?
<etu> aanderse: No real need, but I kinda like to have the shell history intact
<{^_^}> [nixos-homepage] @garbas merged pull request #414 → Use fd to rebuild untracked files → https://git.io/JftTp
<{^_^}> [nixos-homepage] @garbas pushed 2 commits to master: https://git.io/Jfm3S
<aanderse> etu: ahh, ok
<hyper_ch> and also .ssh/known_hosts is nice to have :)
<aanderse> i usually just sudo... maybe i'll skip the persistent /root
<etu> aanderse: Sure :)
never_released_ has joined #nixos
<aanderse> this is a home desktop, not a server
<adisbladis> As a data point: I don't have persistent /root anywhere
<adisbladis> I don't care about root shell history
never_released has quit [Ping timeout: 256 seconds]
<etu> hyper_ch: Well, I don't ssh from root user. And .ssh is reasonable to have persistent for ssh keys so known_hosts is in there as well
<adisbladis> etu: Luckily podman doesn't have the same shortcomings as Docker in the file system drivers
<etu> adisbladis: Ond most systems I could probably drop that :D
<hyper_ch> :)
<adisbladis> etu: Feels a bit ¯\_(ツ)_/¯
<adisbladis> etu: Interesting idea though, also use home-manager for root :P
<adisbladis> And get the same persistent symlinking
<etu> That would be nice
<etu> I should probably do that
<hyperfekt> xfix: adisbladis: i made the upstream PR
<adisbladis> \o/
<adisbladis> hyperfekt: xfix: https://github.com/NixOS/nixpkgs/pull/86195
<{^_^}> #86195 (by adisbladis, 36 minutes ago, open): fish: Patch __fish_anypython function to return build input python3
<seku> things are moving fast :O
jakobrs has joined #nixos
<jakobrs> Does NixOS + NixOps work well on the Pi 4?
pjan has joined #nixos
<hyper_ch> etu: what is the effect of that bind mount: /persistent/home/root /root auto bind,noauto,x-systemd.automount 0 2 ?
maddo has joined #nixos
<hyper_ch> sphalerite: why have /etc/nixos on tmpfs?
<{^_^}> [nixops] @adisbladis opened pull request #1327 → Restore private ipv4 support → https://git.io/JfmsU
chagra has joined #nixos
<etu> hyper_ch: It will create a systemd automount unit for /root that has a placeholder filesystem "mounted" on /root that will trigger a the mount of /persistent/home/root on /root whenever something accesses /root
<hyper_ch> and why not just mount it like normal?
<etu> Because speed :p
<hyper_ch> :)
<adisbladis> Aint nobody got time for mount
<aanderse> lol
<etu> hyper_ch: I don't think it matters tbh when you have it all on a zfs volume, but it's something I've used to do in the past because spinning rust with ext4 may take time to mount etc. And then I didn't want mounts blocking the boot process since they weren't needed for the boot really.
itorres has left #nixos ["Kicked by @appservice-irc:matrix.org : issued !quit command"]
<hyper_ch> I see :)
<{^_^}> [nixpkgs] @Mic92 merged pull request #86197 → dbeaver: 7.0.2 -> 7.0.3 → https://git.io/Jfm32
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/Jfms3
<{^_^}> [hydra] @edolstra merged pull request #738 → Add SoTest plugin → https://git.io/JfvEG
<{^_^}> [hydra] @edolstra pushed 3 commits to master: https://git.io/Jfmss
<{^_^}> [nixpkgs] @vbgl merged pull request #85208 → ocamlPackages.angstrom: 0.12.1 -> 0.13.0 → https://git.io/JfezT
<{^_^}> [nixpkgs] @vbgl pushed commit from @sternenseemann to master « ocamlPackages.angstrom*: 0.12.1 -> 0.13.0 »: https://git.io/JfmsG
<seku> ill stick with normal boots for now xD
<seku> err... normal mounts i meant
<hyper_ch> mine looks currently like this https://paste.simplylinux.ch/view/raw/c15d0e02
itorres has joined #nixos
<seku> ah, no swap either. seems that is out of fashion :)
sb0_ has quit [Quit: Leaving]
<hyper_ch> I don't see a need to it
<hyper_ch> I have 32gb
<noonien> is it normal to have /tmp/ filed with `nix-shell-*` dirs?
<{^_^}> [nixpkgs] @primeos pushed to master « signal-desktop: 1.33.3 -> 1.33.4 »: https://git.io/Jfmsa
<linarcx> Hey guys, i'm using nix shell. Added libedit library. It's working perfect. But i wana to access it's manual page too. So `man history` won't show anything to me. How can i access man pages of installed package inside nix shell?
<nschoe> noonien: they are doen when you instantiate nix-shells yes. But they should be cleared on boot.
<nschoe> noonien: can you run 'ls -l /tmp | wc -l' and give the result? I'd like to check smth
<noonien> `$ ls -lh /tmp | grep nix-shell | wc -l` => 14095, after ~24h uptime
<{^_^}> [nixpkgs] @Mic92 pushed 61 commits to staging: https://git.io/JfmsQ
<{^_^}> [nixpkgs] @Mic92 closed pull request #85535 → buildGoPackage: use $out instead of $bin → https://git.io/JfUsi
jakobrs has left #nixos ["WeeChat 2.8"]
<{^_^}> [nixpkgs] @romildo opened pull request #86198 → gnome: document packaging icon themes → https://git.io/Jfmsh
hoijui has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @primeos opened pull request #86199 → [20.03] signal-desktop: 1.33.3 -> 1.33.4 (backport) → https://git.io/JfmGv
<{^_^}> [nixpkgs] @jamesottaway opened pull request #86200 → dotnetCorePackages: Fix `combinePackages` example → https://git.io/JfmGk
<{^_^}> [nixpkgs] @primeos opened pull request #86201 → signal-desktop: Add passthru.tests → https://git.io/JfmGI
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @talyz merged pull request #86190 → [20.03] nixos/gitlab: Fix services.gitlab.enableStartTLSAuto → https://git.io/JfmmO
<{^_^}> [nixpkgs] @talyz pushed 2 commits to release-20.03: https://git.io/JfmGs
cfricke has quit [Quit: WeeChat 2.8]
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
jbrock has quit [Remote host closed the connection]
rauno has quit [Remote host closed the connection]
jbrock has joined #nixos
<{^_^}> [nixpkgs] @talyz merged pull request #86191 → nixos/gitlab: Fix services.gitlab.enableStartTLSAuto → https://git.io/Jfmmn
<{^_^}> [nixpkgs] @talyz pushed 2 commits to release-19.09: https://git.io/JfmGR
<{^_^}> [nixops] @adisbladis opened pull request #1329 → Remove adhoc-cloud-vm.nix → https://git.io/JfmGE
<{^_^}> [nixpkgs] @adisbladis merged pull request #86195 → fish: Patch __fish_anypython function to return build input python3 → https://git.io/JfmOo
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/JfmGa
<{^_^}> [nixos-homepage] @garbas pushed 5 commits to landing-page: https://git.io/JfmGK
<{^_^}> [nixpkgs] @hyperfekt opened pull request #86202 → nixos/fish: prevent fish from generating completions on first run → https://git.io/JfmGH
<hyperfekt> xfix: thanks for hashing this out with me, we just made NixOS a little bit better c:
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
Desetude has joined #nixos
jbrock has quit [Client Quit]
jbrock has joined #nixos
<{^_^}> [nixos-homepage] @garbas pushed to landing-page « some more cleanup »: https://git.io/JfmGp
<{^_^}> [nixos-homepage] @garbas pushed to landing-page « still find a description a bit bullshit-like: »: https://git.io/JfmZm
<{^_^}> [nixpkgs] @marsam merged pull request #85869 → cri-o: 1.17.3 -> 1.18.0 → https://git.io/JfIiL
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfmZO
<{^_^}> [nixos-homepage] @garbas pushed to landing-page « words words words »: https://git.io/JfmZW
CMCDragonkai has quit [Ping timeout: 260 seconds]
CMCDragonkai1 is now known as CMCDragonkai
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
jbrock has quit [Client Quit]
jbrock has joined #nixos
<{^_^}> [nixpkgs] @adisbladis merged pull request #86136 → fish: 3.1.0 -> 3.1.1 → https://git.io/Jfqif
<{^_^}> [nixpkgs] @adisbladis pushed 3 commits to master: https://git.io/JfmZ2
aswanson has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
<{^_^}> [nixops] @adisbladis merged pull request #1329 → Remove adhoc-cloud-vm.nix → https://git.io/JfmGE
<{^_^}> [nixops] @adisbladis pushed 2 commits to master: https://git.io/JfmZF
jbrock has quit [Client Quit]
jbrock has joined #nixos
hoijui has joined #nixos
gustavderdrache has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
lorimer has quit [Read error: Connection reset by peer]
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @mweinelt opened pull request #86203 → zsh-powerlevel10k: v1.6.0 → v1.6.1 → https://git.io/Jfmn8
<{^_^}> [nixpkgs] @DonHugo69 opened pull request #86204 → lutris: 0.5.5 -> 0.5.6 → https://git.io/JfmnR
<{^_^}> [nixpkgs] @ericdallo opened pull request #86205 → dart: 2.7.1 -> 2.7.2 (stable) + 2.8.0-dev.10.0 -> 2.9.0-4.0.dev (dev) → https://git.io/Jfmnz
romildo has joined #nixos
romildo has left #nixos [#nixos]
dooygoy has joined #nixos
lorimer has joined #nixos
<sphalerite> hyperfekt: just joking, taking the concept beyond sane extents
<sphalerite> er
<sphalerite> hyper_ch: ^
<hyper_ch> sphalerite: ok :)
<hyper_ch> I thought you might have some nix wizzardry up your sleeve for doing so
linarcx has quit [Ping timeout: 265 seconds]
turlando has joined #nixos
<turlando> Hello
<hyper_ch> hmmm, the Dell PERC H200 that I ordered unRAIDed through ebay works fine... I have now for each server one of those. I just wonder if I should order maybe 1 or 2 more as backups
<hyperfekt> that reminds me of when i tried to write a toSQL function for nix
<hyperfekt> oh no
<{^_^}> [nixpkgs] @Mic92 merged pull request #86180 → prey-bash-client: remove → https://git.io/JfmIh
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/Jfmni
zupo has joined #nixos
proofofkeags has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #86179 → kinect-cpp-client: remove → https://git.io/JfmIF
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/Jfmny
<aanderse> hyperfekt: toSQL? care to elaborate?
<turlando> I'm new to Nix and NixOS and I'm planning to migrate my server (now running FreeBSD) to Nix. I'm reading some documentation and performing some tests in a VM. Here https://nixos.wiki/wiki/NixOS_on_ZFS#Pool_Layout_Considerations it suggests to create a local/nix volume and a safe volume. Should it be the same if I create just a nix volume not residing inside local, right?
<hyper_ch> Eelco Dolstra is Dutch right? The Netherland just made a big push towards free software: https://fsfe.org/news/2020/news-20200424-01.html
vesper11 has quit [Ping timeout: 256 seconds]
vesper has joined #nixos
proofofkeags has quit [Ping timeout: 260 seconds]
<hyperfekt> aanderse: i wanted to define an sqlite database in nix because a program stored its settings in there. that function would convert a submodule specifying a database and its contents to SQL statements generating such a database
<aanderse> ah, ok
<edcragg> hi, i'm having difficulty working out how to install a plugin for nixops, for which there is almost no documentation. i'm trying to install https://github.com/input-output-hk/nixops-packet, is someone able point me in the right direction?
rogue_koder has joined #nixos
rogue_koder_ has quit [Read error: No route to host]
<{^_^}> [nixpkgs] @Mic92 merged pull request #86201 → signal-desktop: Add passthru.tests → https://git.io/JfmGI
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JfmcE
hoijui has quit [Ping timeout: 244 seconds]
<sphalerite> turlando: yeah, I think the idea of the poitn in the article is only to avoid snapshotting the nix store
<sphalerite> turlando: my layout is a bit flatter, but I also have my nix store on a non-snapshotted filesystem.
<{^_^}> [nixpkgs] @primeos opened pull request #86206 → chromium: 81.0.4044.122 -> 81.0.4044.129 → https://git.io/Jfmc7
<sphalerite> turlando: (though some people snapshot/backup their store too, to enable faster restores and/or "deployment history" backups)
<{^_^}> [nixpkgs] @adisbladis merged pull request #86202 → nixos/fish: prevent fish from generating completions on first run → https://git.io/JfmGH
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/JfmcF
waleee-cl has joined #nixos
<turlando> sphalerite: thanks for your reply. So it should be safe to put the nix store in an unencrypted volume too. What about compression though? It's going to contain mostly compressed archives?
<{^_^}> [nixpkgs] @primeos merged pull request #86199 → [20.03] signal-desktop: 1.33.3 -> 1.33.4 (backport) → https://git.io/JfmGv
<{^_^}> [nixpkgs] @primeos pushed 2 commits to release-20.03: https://git.io/JfmCO
<arianvp> worldofpeace: is there a way to make nixos pick up desktop icons in gnome without logging in and out?
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #86203 → zsh-powerlevel10k: v1.6.0 → v1.6.1 → https://git.io/Jfmn8
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JfmCu
<{^_^}> [nixpkgs] @Mic92 merged pull request #86193 → fasttext: 0.9.1 -> 0.9.2 → https://git.io/JfmYJ
<{^_^}> [nixpkgs] @Mic92 pushed 4 commits to master: https://git.io/JfmCS
<{^_^}> [nixpkgs] @Mic92 merged pull request #86205 → dart: 2.7.1 -> 2.7.2 (stable) + 2.8.0-dev.10.0 -> 2.9.0-4.0.dev (dev) → https://git.io/Jfmnz
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JfmCp
<{^_^}> [nixpkgs] @arianvp opened pull request #86208 → linux: do not depend on systemd indirectly → https://git.io/JfmWv
cjpbirkbeck has joined #nixos
<seku> turlando: noob here too, but iirc zfs checks the first few chunks of a file to see if it is compressible. if it is,compression is applied. I usually just leave compression on on the pool level, thus nix store as well.
<{^_^}> [nixpkgs] @primeos pushed to master « python3Packages.mysql-connector: 8.0.19 -> 8.0.20 »: https://git.io/JfmWc
<{^_^}> [nixpkgs] @mmahut closed pull request #44646 → Feature/brother ql → https://git.io/fNyuo
<init_6> Hi all!!! Thx for 20.03!
<arianvp> you're welcome!
<turlando> seku you're right, zfs compares the first 1/8 of data and if the compressed version is smaller than the uncompressed version then it keeps the compressed one, otherwise discards compression. On freebsd I'm used to disable compression for the distfile and packages directory since they contains only compressed archives, thus I was asking. I agree it's harmless and a minor optimization
sarcasticadmin has joined #nixos
<xfix> ZFS compression is worth it even if all files are already compressed
<turlando> thanks for the suggestions
<turlando> What about the safe volume? It reflects a normal *nix tree, right?
lord| has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @jakobrs opened pull request #86209 → v4l2loopback: 0.12.4 -> 0.12.5 → https://git.io/JfmWS
jbrock has quit [Quit: jbrock]
sarcasticadmin has quit [Ping timeout: 260 seconds]
jbrock has joined #nixos
jbrock has quit [Client Quit]
jbrock has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #86210 → vdirsyncer: fix build → https://git.io/JfmWb
<xfix> specifically, ZFS compression compresses file meta data (such as file names) and trailing data
<adisbladis> ZFS compression is <3
<adisbladis> A nice performance boost for most files too
<turlando> good point xfix
<turlando> Do you guys have any opinions about the new checksum algorithms? I've been using fletcher4 since ever and I'm out of the loop
<xfix> by trailing data, i mean that if you say have recordsize set to 128KB and you have a 10KB file, it will use 10KB, not 128KB
fyuuri has joined #nixos
<xfix> i'm not sure why is this related to compression, but it is
lord| has joined #nixos
<fyuuri> Hi. Since upgrading to 20.03, gpg does not work anymore. It just says: "gpg: decryption failed: No secret key".
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to staging: https://git.io/Jfmlf
<{^_^}> [nixpkgs] @Mic92 closed pull request #86194 → pandoc: remove GHC from the runtime closure (2.4GB -> 180MB) → https://git.io/JfmYj
<{^_^}> [nixpkgs] @marsam opened pull request #86211 → nodejs-12_x: 12.16.2 -> 12.16.3 → https://git.io/Jfmlk
<xfix> fyuuri: have you enabled gpg-agent: `programs.gnupg.agent.enable = true`?
<fyuuri> Also, since upgrading to 20.03 tmux does not load ~/tmux.conf anymore. Does anybody else have the same problem?
<fyuuri> @xfix: Not that I know of! THank you very much for the hint. Did not seem to be necessary before 20.03.
<fgaz> how do I make a package available for fstab mounts?
<fyuuri> Ill try and come back :)
<fgaz> I'm trying to set up s3fs
aveltras has joined #nixos
<fgaz> adding it to systemPackages doesn't seem to work
<xfix> fyuuri: it's in release notes
<xfix> - GnuPG is now built without support for a graphical passphrase entry by default. Please enable the gpg-agent user service via the NixOS option programs.gnupg.agent.enable. Note that upstream recommends using gpg-agent and will spawn a gpg-agent on the first invocation of GnuPG anyway.
<fyuuri> xifix: I must be blind :(. I read through it and did not notice
<turlando> xfix I could be wrong but I think that the recordsize is the biggest block ZFS will read, not the smallest
<turlando> read/write
<xfix> oh right
<xfix> okay, better example, if you have 160KB file with record size set to 128KB, with compression you will have 160KB file, not 256KB file
<turlando> makes sense now :)
<xfix> good on you on verifying whatever you read on the internet :)
<{^_^}> [nixops] @adisbladis opened pull request #1330 → nixops.util.ImmutableValidatedObject: Handle default values → https://git.io/JfmlC
<fgaz> maybe I should use systemd.mounts instead of fileSystems?
iyzsong has quit [Ping timeout: 244 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @afrepues opened pull request #86213 → emacs-modes: build MELPA package sets without null packages → https://git.io/Jfmlg
<fyuuri> @xfix : thank you so much! It works like a charm :)
<rooke> Running into an odd error with lorri + direnv. The set up was working until it suddenly stopped. When I enter the directory lorri complains that it can't find the `EVALUATION_ROOT`. Building the enviroment by hand with `lorri shell` still completes and other directories are working. Reboot didn't fix the problem, any ideas what may be causing it?
<rooke> https://pastebin.com/SUteUmvE is the complaint the lorri daemon spits out in the journal
<fyuuri> Does anyone have an example nixos compatible fish configuartion using the fisher plug-in manager?
fabianhjr has joined #nixos
<fgaz> aha, fixed it by using `${pkgs.s3fs}/bin/s3fs#buket` instead of `s3fs#bucket`
<rooke> er of course right as I ask I manage to fix it... not sure exactly why it caused the issue or why it was working before but changing the `.envrc` to be `eval "$(lorri direnv)"` instead of `eval '$(lorri direnv)'` fixed it
<{^_^}> [nixpkgs] @elohmeier opened pull request #86214 → obs-studio: 25.0.3 -> 25.0.8, use addOpenGLRunpath → https://git.io/Jfmli
<fyuuri> Files in ~/.config/fish/conf.d/ are loaded too late in the loading process
<{^_^}> [nixpkgs] @Mic92 merged pull request #84199 → libmicrodns: 0.1.0 -> 0.1.2 → https://git.io/Jvbtt
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/Jfml5
<{^_^}> [nixpkgs] @petabyteboy pushed commit from @flokli to release-20.03 « gitlab: 12.8.8 -> 12.8.9 »: https://git.io/JfmlF
hoijui has joined #nixos
<{^_^}> [nixops] @grahamc merged pull request #1330 → nixops.util.ImmutableValidatedObject: Handle default values → https://git.io/JfmlC
<{^_^}> [nixops] @grahamc pushed 2 commits to master: https://git.io/JfmlA
dingenskirchen has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @markuskowa opened pull request #86215 → openblas: 0.3.8 -> 0.3.9 → https://git.io/Jfmlj
dingenskirchen has joined #nixos
<noonien> is it common tofor blue man to not display device names?
eoli3n_ has joined #nixos
<noonien> for blueman*
CMCDragonkai1 has joined #nixos
cosimone has quit [Quit: Quit.]
cosimone has joined #nixos
eoli3n_ has quit [Client Quit]
<nschoe> Is there some context somewhere for funny nix hashes? 'cause I just saw "-L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gdbm-1.18.1/lib" pass on my build.... :-)
<fyuuri> Does anyone have a pointer for me regarding fish and nixos? Can I somehow make it only load the config in ~/.config/ ?
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
aveltras has quit [Read error: Connection timed out]
aveltras has joined #nixos
<{^_^}> [nixpkgs] @Mic92 pushed commit from @mmilata to release-20.03 « libmicrodns: 0.1.0 -> 0.1.2 »: https://git.io/Jfm8O
jbrock has quit [Client Quit]
<gustavderdrache> if you see a whole bunch of e's, it's likely that it was a removeReferencesTo call in order to keep the closure size down
jbrock has joined #nixos
o1lo01ol1o has joined #nixos
<nschoe> gustavderdrache: oh :/ You just crushed my hopes ^^
<nschoe> gustavderdrache: just kidding. Thanks :)
<gustavderdrache> haha, it's all good
hoijui has quit [Ping timeout: 260 seconds]
<gustavderdrache> my shoes aren't that dirty :P
<gustavderdrache> in that specific context, it looks like there's a reference to gdbm that someone wanted to remove in a script
<nschoe> gustavderdrache: stupid question: why would anyone want to remove a reference?
<gustavderdrache> so here's an example
<gustavderdrache> i'm packaging $FOO for nixpkgs
<gustavderdrache> and $FOO is an autoconf-powered program
<gustavderdrache> and so one of the things it helpfully does is keep track of all of its configure flags
<gustavderdrache> so you can see that $FOO was compiled with, say, gdbm support
<gustavderdrache> but most library packages are split: there's a dev (headers) and a lib (.so files) version, so to speak
<gustavderdrache> so what this means is that just to support foo --help, nix is forced to assume that $FOO needs both the gdbm library files and its headers
proofofkeags has joined #nixos
<gustavderdrache> (this is what "closure" means - it's like a function closure)
<nschoe> I see.
<etu> gustavderdrache: Have you seen the updated php packaging? :)
<gustavderdrache> etu: i did! i'm still really amused that i accidentally inspired that
<etu> gustavderdrache: :)
<gustavderdrache> i can't wait to give it a proper spin
<gustavderdrache> it might replace a bunch of awkward PHP packaging i've had to do for work
<etu> gustavderdrache: We have some more improvements coming
<etu> gustavderdrache: Well, you had some really cool things going on there, we just needed to work a bit more on it :)
<gustavderdrache> nschoe: long story short, it's how you tell nix "no, really, i don't need this"
<gustavderdrache> etu: eyes emoji
<gustavderdrache> etu: if you need an extra pair of hands, i'm more than happy to accidentally break things due to my newbieness
<{^_^}> [nix] @edolstra merged pull request #3541 → Fix long paths permanently breaking GC → https://git.io/Jfqww
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/Jfm8X
<worldofpeace> @arianvp:matrix.org: I'm guessing by desktop icons you just mean icon themes. When you install an icon theme they should be at either /run/current-system/sw/share/icons, or under nix-profile with nix-env, so it should work instant because the enviroment doesn't need to change to detect them (xdg data dirs)
<worldofpeace> if it doesn't, maybe we have a bug
kahiru_ has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
kahiru has joined #nixos
proofofkeags has quit [Remote host closed the connection]
proofofkeags has joined #nixos
<{^_^}> [nixpkgs] @bcdarwin opened pull request #86216 → mrtrix: 3.0_RC3_latest -> 3.0.0 → https://git.io/Jfm8F
alexherbo29 has joined #nixos
alexherbo2 has quit [Ping timeout: 246 seconds]
alexherbo29 is now known as alexherbo2
<arianvp[m]> I mean e.g. if I install a new app say Firefox that it shows up in the launcher
<arianvp[m]> I always need to log in and out to get packages to show up in the launcher
<hexa-> .desktop files
ddellacosta has joined #nixos
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
<{^_^}> [nixpkgs] @adisbladis merged pull request #86213 → emacs-modes: build MELPA package sets without null packages → https://git.io/Jfmlg
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to release-20.03: https://git.io/Jfm4V
jbrock has quit [Client Quit]
jbrock has joined #nixos
eoli3n_ has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg opened pull request #86217 → filezilla: 3.46.3 -> 3.48.0 → https://git.io/Jfm41
worldofpeace has left #nixos ["User left"]
worldofpeace has joined #nixos
<betaboon_> anyone knows how to properly create a dummy-interface ?
betaboon_ is now known as betaboon
<hyper_ch> ip link add dummy0 type dummy
<betaboon> hyper_ch: in nixos-configuration.nix of course :D
<hyper_ch> I don't know what nixos-configuration.nix is :)
<{^_^}> [nixpkgs] @bzizou opened pull request #86218 → libfabric: init at 1.10.0 → https://git.io/Jfm4A
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alexherbo27 has joined #nixos
pamplemousse has joined #nixos
<{^_^}> [nixpkgs] @gnidorah opened pull request #86219 → asf: init at 4.2.0.1 → https://git.io/Jfm4j
alexherbo2 has quit [Ping timeout: 260 seconds]
alexherbo27 is now known as alexherbo2
cole-h has joined #nixos
linarcx has joined #nixos
CMCDragonkai_ has joined #nixos
<CMCDragonkai_> I'm looking to create a multiple output package.
<CMCDragonkai_> However I don't understand how Nix is able to "not install" the extra output.
<CMCDragonkai_> For example in my derivation, I set `outputs = [ "out" "weights" ];`
<CMCDragonkai_> So that `weights` is a separate output.
<CMCDragonkai_> Now how does `weights` get populated?
<__monty__> Profpatsch: Why did the pandoc derivation include GHC?
<CMCDragonkai_> One way I saw is through `postInstall`.
<CMCDragonkai_> But wouldn't a hook like that execute all the time, even if I only want `out` and not `weights`?
lordcirth has quit [Read error: Connection reset by peer]
alexherbo2 has quit [Quit: The Lounge - https://thelounge.chat]
lordcirth has joined #nixos
<{^_^}> [nixpkgs] @avdv opened pull request #86220 → wtf: 0.29.0 -> 0.29.0 → https://git.io/JfmB4
growpotkin has joined #nixos
virus_dave has joined #nixos
<virus_dave> stupid question: given an attrset, how can i get another one that's the same except excluding one key?
<virus_dave> `{a = "a"; b = "b"}` -> `{a = "a";}` # by excluding key `b`
primeos has quit [Quit: WeeChat 2.4]
<CMCDragonkai_> virus_dave: have a look at https://github.com/NixOS/nixpkgs/blob/master/lib/attrsets.nix
<CMCDragonkai_> you can probably flip `getAttrs`
<CMCDragonkai_> and create a sort of `dontGetAttrs` or `getAttrsExc` lol
<virus_dave> ah, filterAttrs is what i want, thanks!
page_ has joined #nixos
<Profpatsch> __monty__: Because every Haskell library references GHC for some reason, and the static pandoc still referenced two libraries via Paths_
page has quit [Ping timeout: 258 seconds]
user_0x58 has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus pushed 2 commits to master: https://git.io/JfmBS
hoijui has joined #nixos
primeos has joined #nixos
andi- has quit [Ping timeout: 244 seconds]
erasmas has joined #nixos
primeos has quit [Client Quit]
justanotheruser has quit [Ping timeout: 240 seconds]
hke has joined #nixos
primeos has joined #nixos
<{^_^}> [nixpkgs] @wucke13 opened pull request #86221 → cargo-flash: init at 0.6.0 → https://git.io/JfmRY
<{^_^}> [nixos-org-configurations] @edolstra pushed to master « Add ngi0 logo »: https://git.io/JfmR3
<{^_^}> [nixpkgs] @markuskowa merged pull request #86218 → libfabric: init at 1.10.0 → https://git.io/Jfm4A
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/JfmRZ
endocrimes has quit [Quit: running from the computers]
endocrimes has joined #nixos
rien has quit [Read error: Connection reset by peer]
andi- has joined #nixos
endocrimes has quit [Client Quit]
endocrimes has joined #nixos
<the_pumpkin_man[> Hello, is there a way ton configure something system wide even if it isn't implemented in NixOS ?
<the_pumpkin_man[> Because I'm trying to use udevil to mount device, but I need to edit the configuration for that
justanotheruser has joined #nixos
<the_pumpkin_man[> And tried to search in nixos-option, there's a programs.udevil.enable option but nothing more (hell, why not a configFile or extraConfig ?)
<{^_^}> [nixpkgs] @bcdarwin opened pull request #86222 → python3Packages.batchgenerators: 0.19.7 -> 0.20.0 → https://git.io/JfmRP
medvid has joined #nixos
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
<{^_^}> [nixpkgs] @pikajude opened pull request #86223 → pkgsStatic: use clang for C compiler on Darwin → https://git.io/Jfm0U
jbrock has quit [Client Quit]
jbrock has joined #nixos
<ajs124> the_pumpkin_man[: you can implement your own module
<the_pumpkin_man[> ajs124: how that ?
<the_pumpkin_man[> Oh yeah and then send a pull request to Nixpkgs ?
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
<ajs124> After you've tested it and deemed ready for review and inclusion, sure.
<the_pumpkin_man[> Anyway I just found a workaround by using something else, maybe I could do that one day, yes
<the_pumpkin_man[> Implementing a settings section should be a good entrypoint for a beginner like me
cjpbirkbeck has quit [Quit: cjpbirkbeck]
<the_pumpkin_man[> Thank you for the anwser !
<the_pumpkin_man[> s/anwser/answer
<the_pumpkin_man[> * Thank you for the answer !
<the_pumpkin_man[> * Thank you for the answer !
Thra11 has quit [Ping timeout: 244 seconds]
bgamari has quit [Quit: ZNC 1.7.5 - https://znc.in]
sarcasticadmin has joined #nixos
<{^_^}> [nix] @edolstra pushed 3 commits to master: https://git.io/Jfm0P
<{^_^}> [nix] @edolstra merged pull request #3537 → nix-env: refactor uninstallDerivations → https://git.io/JfttO
HeN has quit [Quit: Connection closed for inactivity]
zarel has quit [Ping timeout: 256 seconds]
zarel has joined #nixos
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
Thra11 has joined #nixos
<dooygoy> jj
bgamari has joined #nixos
<{^_^}> [nixpkgs] @bbigras opened pull request #86224 → starship: 0.40.1 -> 0.41.0 → https://git.io/JfmEV
asbachb has joined #nixos
<asbachb> Maybe a strange question: But does nixos default firewall block outgoing ssh connections?
Thra11 has quit [Ping timeout: 260 seconds]
<gchristensen> no
<Guest215> I don't think so
<gchristensen> Guest215: you've gone from bbigras to Guest215 :)
asbachb has quit [Remote host closed the connection]
philr_ has quit [Ping timeout: 260 seconds]
<Guest215> haha yeah. I'm using matrix and I had "Bruno" in most rooms but I kept getting notifications destined to others Brunos. So I changed my main name or whatever to bbigras and I use "Bruno" in like 1 room with a friend.
asbachb has joined #nixos
<asbachb> Mh strange. I'm unable to access my server via ssh or connect to github.
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
<{^_^}> [nixpkgs] @kraem reopened pull request #79559 → nixos/unbound: add enableRemoteAccess option → https://git.io/Jvn79
chloekek has joined #nixos
stree has quit [Read error: Connection reset by peer]
<asbachb> Any ideas how to gather some more information?
stree has joined #nixos
jbrock has quit [Quit: jbrock]
thommey has quit [Ping timeout: 240 seconds]
<cole-h> journalctl/dmesg would probably help
CMCDragonkai1 has quit [Ping timeout: 260 seconds]
<asbachb> I just get `Connection refused`
<asbachb> Port 80 is working just fine.
<asbachb> cole-h: Nothing relevant logged to journalctl/dmesg
asbachb is now known as asbachb_
asbachb has joined #nixos
asbachb_ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @jonringer merged pull request #86222 → python3Packages.batchgenerators: 0.19.7 -> 0.20.0 → https://git.io/JfmRP
<{^_^}> [nixpkgs] @jonringer pushed commit from @bcdarwin to master « python3Packages.batchgenerators: 0.19.7 -> 0.20.0 »: https://git.io/Jfmui
<{^_^}> [nixpkgs] @jonringer merged pull request #85773 → pythonPackages.cloudflare: init at 2.6.5 → https://git.io/JfkQ0
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JfmuS
Kyndig has joined #nixos
jbrock has joined #nixos
<{^_^}> [nixpkgs] @sorki opened pull request #86225 → nixos/proxychains: init → https://git.io/JfmuH
drakonis has joined #nixos
<{^_^}> [nixpkgs] @sorki opened pull request #86226 → nixos/znc: add proxychains support, maintainers, password tip → https://git.io/JfmuF
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
jbrock has quit [Client Quit]
jbrock has joined #nixos
chagra has quit [Ping timeout: 246 seconds]
<Kyndig> so I did the following and then imported into another system: nix-store --export $(nix-store --query --requisites ~/.nix-profile)
<{^_^}> [nixpkgs] @BananchickPasha opened pull request #86227 → jetbrains rider: resharper on dotnet support → https://git.io/JfmzW
<Kyndig> now how can I install all the packes which were exported into my user environment?
<Kyndig> the import worked, but how to get them into profile with nix-env
<Kyndig> nix-env wants to search .nix-defexpr and I don't want that, so I considered specifying each target to install in the store
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
<Kyndig> to that end I have a list produced by nix-store --query --references ~/nix-profile on the original system
johnw_ is now known as johnw
<Kyndig> but that list seems to contain "extras"
<{^_^}> [nixpkgs] @prusnak opened pull request #86228 → etcher: 1.5.60 -> 1.5.82 → https://git.io/JfmzE
<{^_^}> [nixpkgs] @prusnak closed pull request #76238 → etcher: 1.5.60 -> 1.5.70 → https://git.io/Jfmzz
<spacekookie> Is anyone here using kdenlive (outside of KDE)? I'm trying to do an audio capture which errors with a very generic codec message
<Kyndig> instead of just "curl-7.68.0", the references contains: ...dj9-curl-7.68.0-man and ...2k-curl-7.68.0-bin
<{^_^}> [nixpkgs] @flokli pushed to release-19.09 « gitlab: 12.8.8 -> 12.8.9 »: https://git.io/Jfmzi
<risson> Hi! I need some help with runInLinuxVM, I'm building a qcow2 image inside it, and I need zfs modules loaded
thommey has joined #nixos
<risson> However modprobe doesn't find them
<risson> Is there any way to tell runInLinuxVM to actually load those modules
<worldofpeace> spacekookie: kdenlive's packaging in nixpkgs is questionable to say the least
<spacekookie> Oh how come?
<asbachb> Seems that the connection problem is connected with the switch to `network` manger. Does this make sense?
<{^_^}> [nixpkgs] @prusnak opened pull request #86230 → electron_3: refactor → https://git.io/Jfmgk
fresheyeball has quit [Quit: WeeChat 2.7.1]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<Kyndig> I tried manually creating a profile link to ...3s60widcb-user-environment, which is what the first user's profile pointed to, but that resulted in a nix-env error about nix/share
<Kyndig> it seems all the documentation stops short of telling you how to actually install the imported store items.
<nschoe> ,locate ar
<numkem> say I'd like to provide my own packages that I can put in configuration.nix but outside of nixpkgs itself. Are overlays the way to go?
<{^_^}> [nixpkgs] @flokli pushed 4 commits to release-20.03: https://git.io/Jfmgz
<{^_^}> [nixpkgs] @symphorien opened pull request #86231 → nix-du: fix with strictDeps → https://git.io/Jfmgo
<numkem> the idea would be to make it available to multiple machines
o1lo01ol1o has quit [Ping timeout: 264 seconds]
<ar> nschoe: warsaw, poland; this time not at the hackerspace
<{^_^}> [nixpkgs] @illiusdope opened pull request #86232 → kubie → https://git.io/JfmgD
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Read error: Connection reset by peer]
o1lo01ol1o has joined #nixos
<cole-h> nschoe: Should be in binutils, I think
<cole-h> Yeah, it is
<{^_^}> [nixpkgs] @prusnak opened pull request #86233 → amdadl-sdk, amdapp-sdk: remove → https://git.io/Jfmgj
<{^_^}> [nixpkgs] @maxeaubrey opened pull request #86234 → nomad: 0.11.0 -> 0.11.1 → https://git.io/Jfm2L
<{^_^}> [nixpkgs] @flokli pushed 4 commits to release-19.09: https://git.io/Jfm2q
shafox has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @zimbatm merged pull request #86171 → foldingathome: 7.5.1 -> 7.6.9 → https://git.io/JfmUC
<{^_^}> [nixpkgs] @zimbatm pushed commit from @evils to master « foldingathome: 7.5.1 -> 7.6.9 (#86171) »: https://git.io/Jfm2s
jkarni has joined #nixos
<nschoe> ar: ^^ sorry :D
<nschoe> cole-h: okay it's just that i'm trying to package a library and it complains that 'ar: not found'.
trubi has joined #nixos
<aanderse> so what's the command to rescue an install from nixos live usb?
Henson has joined #nixos
morgrimm has joined #nixos
<cole-h> nixos-enter I think you're looking for?
<cole-h> aanderse: ^
<morgrimm> Hey all - I'm trying to customize ndrxp's flake repo for my configs, and I'm getting an error when trying to use a symlink as a path in it.
<cole-h> bqv: ^ Maybe you can help
<morgrimm> It's missing a `lastModified` attribute - I assume Nix needs it to hash it
<Henson> hi folks. What's the best way to handle inter-software dependency in NixOS? Say the derivation of one piece of software has variables that are set using NixOS options, and a second piece of software takes the first software's derivation as an argument in order to call an executable in the first software. In the NixOS configuration file I'll need to make the second package refer to the first...
<aanderse> cole-h: perfect thanks
<{^_^}> [nixpkgs] @worldofpeace merged pull request #84449 → guvcview: fix gsettings filechooser errors → https://git.io/JvNDR
<{^_^}> [nixpkgs] @worldofpeace pushed 10 commits to master: https://git.io/Jfm2F
<Henson> somehow. Do I make an NixOS option for the second software to explicitly specify the first? Do I have the first software insert a hidden option in the system configuration indicating its derivation that the second piece of software picks up on without the user ever having to specify it?
<glittershark> https://nixos.org/nix/manual/#chap-distributed-builds says "you need to ensure that the PATH of non-interactive login shells contains Nix." for using remote builders - but doesn't give any info on *how* to do that
dooygoy has quit [Ping timeout: 264 seconds]
<Henson> or is there a better way I can accomplish the goal?
<glittershark> I'm getting exactly the described error message
<hyper_ch> Henson: what are you trying to achieve specifically?
jgeerds has joined #nixos
<glittershark> my .zshrc on that machine sources ~/.nix-profile/etc/profile.d/nix.sh, and if I actually log in to a shell on that machine `which nix-store` succeeds
<glittershark> but nix ping-store says nix-store is not a command
dooygoy has joined #nixos
<glittershark> is nix ping-store not sourcing my .zshrc? if so what *does* it source?
<{^_^}> [nixpkgs] @worldofpeace merged pull request #86231 → nix-du: fix with strictDeps → https://git.io/Jfmgo
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JfmaJ
<nschoe> Quick question: I have added 'binutils-unwrapped' in my 'buildInputs'. I entered a nix-shell and ran 'unpackPhase' and 'configurePhase'.
<nschoe> Looks like 'ar' is not in the path.
<nschoe> I can see that 'ar' is in /nix/store/....binutils-2.31.1/bin, but 'which ar' doesn't show it.
<Henson> hyper_ch: I have multiple pieces of software that depend on each other because they call each other's executables. At the derivation level I simply need to pass the derivations of parent software into children software and they can find the executables. But when incorporating this into a NixOS configuration, I want to keep the software modules separate from each other and wrap the different...
<nschoe> I thought adding a package in 'buildInputs' would add its bin/ in the $PATH
rogue_koder has quit [Ping timeout: 246 seconds]
<cole-h> nschoe: buildInputs is for libraries. You probably want it in nativeBuildInputs.
<cole-h> (and you probably don't want -unwrapped, just normal binutils will do fine)
<nschoe> cole-h: okay, trying this.
<nschoe> thanks
<Henson> hyper_ch: derivation variables in NixOS options. But I need to figure out the correct way at the NixOS configuration level of making the different software aware of each other. I can't pass derivations for the software around to each other because they're now controlled using NixOS options and not by explicitly defining the software using callPackage with arguments. I'm trying to keep the...
<Henson> hyper_ch: interfaces to configuration the software separate and clean, while being able to handle the inter-package dependencies.
rogue_koder has joined #nixos
<hyper_ch> no idea
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #86080 → meson: Clean up build and infra → https://git.io/JftpE
<{^_^}> [nixpkgs] @Ericson2314 pushed 4 commits to staging: https://git.io/Jfmac
<{^_^}> [nixpkgs] @WhittlesJr opened pull request #86235 → rdesktop: 1.8.6 -> 1.9.0 → https://git.io/JfmaW
<{^_^}> [nixpkgs] @ThibautMarty opened pull request #86236 → treewide: fix modules options types where the default is null → https://git.io/Jfma8
<nschoe> cole-h: I've used 'binutils' instead of the -unwrapped and put it in 'nativeBuildInput' : stil not 'ar' in the PATH, and this time, the derivation path is '/nix/store/....binutils-wrapper-2.31.1/' and no 'ar' in the bin/
alp has quit [Ping timeout: 272 seconds]
Darkmatter66 has quit [Ping timeout: 240 seconds]
<cole-h> AFAIK, binutils should be available by default. How exactly are you running this?
<aanderse> cole-h any ideas if nixos-enter says it isn't a nixos installation?
<turlando> Using ZFS on NixOS is it mandatory to use mountpoint=legacy for / and /nix?
Darkmatter66 has joined #nixos
<cole-h> aanderse: Sorry, I was just recalling the binary from memory -- I don't actually use NixOS yet x)
<{^_^}> [nixpkgs] @prusnak opened pull request #86237 → Update Electron 6,7,8 → https://git.io/JfmaS
<nschoe> cole-h: as standard as it getch: src = fetchurl{...}, nativeBuildInputs = [ binutils ];
<nschoe> But aside fro mthis, pretty standard.
<nschoe> Note that I'm calling 'pkgs.pkgsCross.aarch64-multiplatform.callPackage' because this is meant to be built for the rPi.
<nschoe> A standard build doesn't work. So I'm entering a shell and running unpackPhase, configurePhase and buildPhase (which fails).
<cole-h> How do you mean "a standard build doesn't work"
<aanderse> ah ok thanks
<Izorkin> etu: aanderse: how to need to merge PR #85225 ?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/85225 (by Izorkin, 2 weeks ago, open): nixos/unit: update service configuration and update unit to 1.17
<nschoe> cole-h: 'nix-build -A my-bcm' fails. I see "ar cru libbcm2835.a bcm2835.o
<nschoe> /nix/store/9si14qjcz8072c0v42zbkglq08s2cg04-bash-4.4-p23/bin/bash: ar: command not found"
zupo has joined #nixos
<cole-h> I'm unfamiliar with our cross compiling stuff, but have you looked here: https://nixos.org/nixpkgs/manual/#chap-cross
<cole-h> ?
<cole-h> Specifically, this might help: https://nixos.org/nixpkgs/manual/#cross-qa-fails-to-find-ar
o1lo01ol_ has joined #nixos
o1lo01ol1o has quit [Ping timeout: 256 seconds]
<glittershark> does anyone use a darwin machine as a remote builder? I can't get nix to find nix-store when it sshes in
<{^_^}> [nixpkgs] @sternenseemann opened pull request #86238 → ocamlPackages.x509: 0.11.0 → 0.11.1 → https://git.io/JfmVU
<glittershark> it's not sourcing the nix profile
<glittershark> obviously, because it's a non-interactive shell
<nschoe> cole-h: ah thank.
<nschoe> So presumably I have to patch something to replace ar with the ar from binutils. Now are you sure it's the 'binutils' and not -wrapped needed?
asbachb has quit [Ping timeout: 240 seconds]
<nschoe> I can't seem to find 'ar' (even prefixed) in 'binutils'/bin
o1lo01ol_ has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
jbrock has quit [Remote host closed the connection]
jbrock has joined #nixos
gustavderdrache has quit [Ping timeout: 265 seconds]
<cole-h> In that case, yeah, use -unwrapped :P
alp has joined #nixos
<glittershark> I needed to source the nix-profile in zshenv not zshrc >.<
apeyroux has quit [Quit: leaving]
<{^_^}> [nixpkgs] @worldofpeace pushed to master « pantheon.gala: 3.3.0 -> 3.3.1 »: https://git.io/JfmVz
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to release-20.03: https://git.io/JfmVg
shabius has quit [Remote host closed the connection]
chagra has joined #nixos
<nschoe> Okay. Using binutils-unwrapped gives me a prefixed ar in the PATH. Not I just have to find where "ar" is used and sed/substitue this :)
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
gustavderdrache has joined #nixos
chagra has quit [Ping timeout: 256 seconds]
sshow has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #86147 → kde/{kate,konqueror,okular}: decrease text mimetype preference → https://git.io/Jfq5h
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JfmVy
numkem has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @matthewbauer to release-20.03 « kde/{kate,konqueror,okular}: decrease text mimetype preference »: https://git.io/JfmV9
sshow has joined #nixos
numkem has joined #nixos
ris has joined #nixos
<{^_^}> [nixpkgs] @tathougies opened pull request #86239 → [nixos/prometheus] promTypes.filter.value -> promTypes.filter.values → https://git.io/JfmVF
Desetude has quit [Ping timeout: 240 seconds]
mbrgm has quit [Ping timeout: 265 seconds]
mbrgm has joined #nixos
numkem has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<{^_^}> [nixpkgs] @glittershark opened pull request #86240 → kubie: 0.7.3 -> 0.8.4 → https://git.io/JfmwU
fabianhjr has quit [Ping timeout: 272 seconds]
stigo has quit [Remote host closed the connection]
stigo has joined #nixos
<sphalerite> ar: nschoe can't find you!
<sphalerite> (scnr)
fabianhjr has joined #nixos
fabianhjr has quit [Max SendQ exceeded]
dooygoy has quit [Quit: WeeChat 2.8]
<nschoe> sphalerite: it's not a lack of trying, though!
FRidh has quit [Ping timeout: 244 seconds]
fabianhjr has joined #nixos
fabianhjr has quit [Max SendQ exceeded]
fabianhjr has joined #nixos
fabianhjr has quit [Max SendQ exceeded]
mallox has quit [Quit: WeeChat 2.8]
<sphalerite> nschoe: re having things use the right ar — often they'll look at the AR environment variable, so maybe start by setting that and see if it magically fixes everything?
fabianhjr has joined #nixos
fabianhjr has quit [Max SendQ exceeded]
mallox has joined #nixos
<{^_^}> [nixpkgs] @glittershark opened pull request #86241 → openexr: Switch to cmake-based build → https://git.io/Jfmws
knupfer has joined #nixos
knupfer1 has quit [Quit: knupfer1]
<nschoe> sphalerite: well I've beeng issuing about sixty billion "grep" commands to try and find this "AR" thing to be able to --substitute but so far.. none
<nschoe> I am wondering about my sanity at this point ^^
<nschoe> sphalerite: but it makes sense to try and export AR and manually call buildPhase indeed. Thanks.
<nschoe> sphalerite: export AR=/nix/store/jwh64p4p93kima3kgdgnb1l4pqq80kxg-aarch64-unknown-linux-gnu-binutils-2.31.1/bin/aarch64-unknown-linux-gnu-ar
<nschoe> But it was worth the try.
<nschoe> did not solve the error when calling 'buildPhase'.
Desetude has joined #nixos
mallox has quit [Ping timeout: 240 seconds]
himmAllRight has quit [Remote host closed the connection]
himmAllRight has joined #nixos
mallox has joined #nixos
numkem has joined #nixos
himmAllRight has quit [Remote host closed the connection]
rickhull has joined #nixos
<cole-h> What happens if you use `nix-build` instead of running it in a shell? Same thing?
chagra has joined #nixos
pbogdan_ has quit [Quit: ZNC 1.7.5 - https://znc.in]
iqubic has joined #nixos
CRTified has quit [Ping timeout: 240 seconds]
numkem has quit [Remote host closed the connection]
pjt_014 has joined #nixos
proofofkeags has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @lordcirth opened pull request #86242 → Ipfs05 → https://git.io/Jfmwh
proofofkeags has joined #nixos
pbogdan has joined #nixos
<{^_^}> [nixpkgs] @avnik opened pull request #86243 → Wine update → https://git.io/Jfmrk
<{^_^}> [nixpkgs] @hlolli opened pull request #86244 → WIP: graalvm 19.2.1 -> 20.0.0 (plus some refactoring) → https://git.io/JfmrI
CRTified has joined #nixos
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
proofofkeags has quit [Ping timeout: 264 seconds]
<sphalerite> nschoe: might also already be checked at configure time
vykook has quit [Ping timeout: 256 seconds]
gustavderdrache has quit [Ping timeout: 244 seconds]
knupfer has quit [Ping timeout: 240 seconds]
himmAllRight has joined #nixos
anderslu1dstedt has joined #nixos
himmAllRight has quit [Remote host closed the connection]
rickhull has quit [Changing host]
rickhull has joined #nixos
<lordcirth> How can I configure nixops to install a specific derivation from a different version of nixpkgs?
<srk> ,unstable
<lordcirth> Thanks!
<srk> lordcirth: not quite what you asked for but you can fetchFromGitHub the specific nixpkgs revision if needed instead of <nixpkgs-unstable>
<lordcirth> Ah, perfect, I'll try that
anderslundstedt has quit [Ping timeout: 264 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
numkem has joined #nixos
himmAllRight has joined #nixos
<lordcirth> srk, how do I import fetchFromGithub into a nixops file?
<srk> > pkgs.fetchFromGitHub
<{^_^}> { __functionArgs = <CODE>; __functor = <CODE>; override = <CODE>; }
<lordcirth> Ah, I was trying lib.
<srk> :)
<{^_^}> [nixpkgs] @jonringer merged pull request #86234 → nomad: 0.11.0 -> 0.11.1 → https://git.io/Jfm2L
<etu> Izorkin: I would like to get https://github.com/NixOS/nixpkgs/pull/85026 in first, because that one can be useful to improve on that PR.
<{^_^}> [nixpkgs] @jonringer pushed commit from @maxeaubrey to master « nomad: 0.11.0 -> 0.11.1 »: https://git.io/JfmrH
<{^_^}> #85026 (by talyz, 2 weeks ago, open): php.buildEnv: Make the exported php package overridable, improve handling of currently enabled extensions, etc
<{^_^}> [nixpkgs] @edolstra merged pull request #85711 → nixos/release: add GNOME ISO → https://git.io/JfkOw
<{^_^}> [nixpkgs] @edolstra pushed 3 commits to master: https://git.io/JfmrQ
pamplemousse has quit [Ping timeout: 246 seconds]
<{^_^}> [nix] @edolstra merged pull request #3542 → Set GCROOT to store path to prevent garbage collection → https://git.io/Jfq1m
<{^_^}> [nix] @edolstra pushed 4 commits to master: https://git.io/Jfmrd
<Izorkin> etu: checked unit-php with pr 85026, not worked (
<etu> Izorkin: It shouldn't be worse than before?
o1lo01ol1o has quit [Ping timeout: 244 seconds]
asbachb has joined #nixos
<asbachb> Anyone has some sample configuration for a shared google drive folder?
numkem has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
numkem has joined #nixos
<hyper_ch> I don't share my folders with google
<Izorkin> etu: probably better. For unit-php need to make a new PR https://github.com/NixOS/nixpkgs/pull/85026#issuecomment-619628078
<etu> Izorkin: Yeah, I know
<Izorkin> *found
pbogdan has quit [Quit: ZNC 1.7.5 - https://znc.in]
pbogdan has joined #nixos
numkem has quit [Remote host closed the connection]
numkem has joined #nixos
jasom has quit [Ping timeout: 246 seconds]
knupfer has joined #nixos
eoli3n__ has joined #nixos
tpanum- has joined #nixos
<energizer> nix-copy-closure prints "copying 9023 paths" and then every minute or so it says "copying path /nix/store/... to ssh://foo". does that mean it's gonna take ~9023 minutes to finish?
<risson> Are you sure you have a good enough bandwidth?
<risson> Or maybe you just started with some heavy paths
<risson> I'm getting cannot copy /nix/store/0cgij5flg2azj1byy3wyn47qbxyv1ppz-grub-2.04/share/grub/unicode.pf2 to /boot when switching configuration inside a chroot
tpanum has quit [Ping timeout: 260 seconds]
proofofkeags has joined #nixos
<risson> Yes /boot is mounted, but apparently I cannot write to it from inside the chroot
Nilgeist has joined #nixos
numkem has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
gustavderdrache has joined #nixos
numkem has joined #nixos
infandum has joined #nixos
ntqz has joined #nixos
<infandum> Does nix support network during build / install phases? One program I'm trying to install uses wget to download stuff.
numkem has quit [Client Quit]
himmAllRight has quit [Remote host closed the connection]
<lewo`> infandum: if the Nix sandbox is enabled (the default), no.
jasom has joined #nixos
numkem has joined #nixos
<djanatyn> infandum: the things wget is downloading can become build inputs
<lewo`> infandum: you should instead write a fixed output derivation to fetch this stuff
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
<infandum> The install script is, I'm not
jbrock has quit [Client Quit]
jbrock has joined #nixos
knupfer has quit [Quit: knupfer]
knupfer1 has joined #nixos
knupfer1 has quit [Client Quit]
knupfer has joined #nixos
asbachb has quit [Ping timeout: 240 seconds]
fresheyeball has joined #nixos
numkem has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
numkem has joined #nixos
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
iqubic` has joined #nixos
iqubic` has quit [Remote host closed the connection]
cruxeternus has joined #nixos
himmAllRight has joined #nixos
jbrock has quit [Client Quit]
jbrock has joined #nixos
<fresheyeball> I have a thing I want to build like this
<fresheyeball> nix-build -A foo.bar.baz
<fresheyeball> which worked fine
user_0x58 has quit [Ping timeout: 244 seconds]
<fresheyeball> but now foo.bar.baz is a lambda that requires a set with field "color"
iqubic has quit [Ping timeout: 240 seconds]
<fresheyeball> I tried nix-build -A foo.bar.baz --argstr color "red"
asbachb has joined #nixos
<fresheyeball> but it seems to pass the argument, not to the lambda in question, but into the default.nix file
<fresheyeball> how can I get around this?
<asbachb> When I enable `networking.networkmanager.enable = true;` I'm able to connect to my wifi. Firefox is working too. But I'm unable to do ssh for example.
<asbachb> Any ideas how to investigate?
<fresheyeball> asbachb: do you have a firewall?
iqubic has joined #nixos
<asbachb> fresheyeball: Only default configuration. Already tried to disable the firewall completely.
<fresheyeball> what is the error you are getting?
<hexa-> asbachb: try ssh -v
niso_ has joined #nixos
<kraem> are you trying to connect by ip or a domain name? (not sure but i think web browsers usually use their own dns resolver, which could explain firefox working)
<edrex> Hi all, I getting my user env set up on an old 32 bit thinkpad, and wondering if there are any big i686 binary caches out there. I guess the build verifiability of nix doesn't help if there's no trusted party specifying the hash keys ya?
niso has quit [Ping timeout: 250 seconds]
<hexa-> interesting, wfm
drakonis has quit [Ping timeout: 265 seconds]
<hexa-> asbachb: can you ping and traceroute said ip?
<edrex> i unfortunately have quite a mix of arches: i686, armv7, armv8 so expecting to be waiting for builds a bit :P
drakonis has joined #nixos
<edrex> gonna wait to switch my main modern laptop from arch till I get a bit more experience
<asbachb> hexa-: Basically http trafic works fine. But does not.
<bqv> can i patch a rust dependency in a buildRustPackage? or should i not even try
nschoe has quit [Ping timeout: 265 seconds]
<hexa-> asbachb: unitymedia has problems lately, their connection tracking tables are full and that results in connection refused
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
<hexa-> so the issue lies with your ISP
jbrock has quit [Client Quit]
qyliss has quit [Quit: bye]
Shell has quit [Quit: ZNC 1.7.5 - https://znc.in]
<asbachb> hexa-: I don't think it's a unitymedia problem. When I disable `NetworkManager` and switch back to `networking.wireless.networks` it works without problems.
jbrock has joined #nixos
<hexa-> asbachb: that sounds unlikely tbh
mupf has quit [Quit: WeeChat 2.8]
Shell has joined #nixos
user_0x58 has joined #nixos
qyliss has joined #nixos
mupf has joined #nixos
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
<{^_^}> [nixpkgs] @mweinelt opened pull request #86246 → openldap: 2.4.49 → 2.4.50 → https://git.io/JfmKX
knupfer has quit [Client Quit]
knupfer has joined #nixos
lsix has quit [Ping timeout: 244 seconds]
chloekek has quit [Ping timeout: 258 seconds]
fabianhjr has joined #nixos
fabianhjr has quit [Max SendQ exceeded]
<{^_^}> [nixpkgs] @mweinelt opened pull request #86247 → [20.03] openldap: 2.4.49 → 2.4.50 → https://git.io/JfmK9
<asbachb> hexa-: https://gist.github.com/asbachb/dd1191cebbca9cbd2ec30f74f07e9bf5 network1 is working network2 does not. I don't get it either.
fabianhjr has joined #nixos
fabianhjr has quit [Max SendQ exceeded]
fabianhjr has joined #nixos
fabianhjr has quit [Max SendQ exceeded]
<hexa-> :o no idea then
fabianhjr has joined #nixos
fabianhjr has quit [Max SendQ exceeded]
never_released_ has quit [Quit: ZNC 1.7.5 - https://znc.in]
niso_ has quit [Ping timeout: 246 seconds]
niso has joined #nixos
fabianhjr has joined #nixos
koleesch has joined #nixos
domogled has quit [Quit: domogled]
<asbachb> Flussh all iptables. Still does not work.
never_released has joined #nixos
nschoe has joined #nixos
never_released has quit [Remote host closed the connection]
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
proofofk_ has joined #nixos
jbrock has quit [Client Quit]
pamplemousse has joined #nixos
asbachb has quit [Ping timeout: 240 seconds]
cr4y1 has quit [Remote host closed the connection]
jbrock has joined #nixos
cr4y1 has joined #nixos
asbachb has joined #nixos
<asbachb> hexa-: Got it to work. Seems that the NetworkManager profile was kind of broken. Deleted it and redone the connection. Seems so work now. Thank you for your time.
proofofkeags has quit [Ping timeout: 240 seconds]
seku has quit [Quit: Connection closed]
<NinjaTrappeur> 0/, I'm puzzled by https://github.com/NixOS/nixpkgs/blob/5a31e46b7aeabfcc25acc0b5d44046fd2981a4e9/pkgs/tools/security/pass/default.nix#L151 . Could someone show me how we are supposed to use this to inject a pass extension?
<bgamari> gchristensen, system time looks a bit rough here: https://myfriendshate.me/files/2020-01-07-075516_2880x1800_scrot.png
<hexa-> asbachb: very weird :D
eoli3n_ has quit [Ping timeout: 260 seconds]
<bgamari> gchristensen, I think that is the aarch64 builder
lsix has joined #nixos
lsix has quit [Client Quit]
numkem has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<bgamari> gchristensen, might be something to investigate
<gchristensen> system time?
numkem has joined #nixos
<gchristensen> load average?
<bgamari> gchristensen, kernel time
<NinjaTrappeur> answering my own question for the potential bystanders: pass.withExtensions (exts: [ exts.pass-import ]))
numkem has quit [Client Quit]
<bgamari> gchristensen, the red in the per-core bar graphs
<gchristensen> ah
numkem has joined #nixos
numkem has quit [Client Quit]
numkem has joined #nixos
<gchristensen> looks like maybe it was just a well-timed screenshot
<gchristensen> load average looked reasonable, too
jumper149 has joined #nixos
erictapen has joined #nixos
jbrock has quit [Quit: jbrock]
<{^_^}> [nixpkgs] @jonringer merged pull request #86235 → rdesktop: 1.8.6 -> 1.9.0 → https://git.io/JfmaW
<{^_^}> [nixpkgs] @jonringer pushed commit from @WhittlesJr to master « rdesktop: 1.8.6 -> 1.9.0 »: https://git.io/Jfm6P
jbrock has joined #nixos
jbrock has quit [Client Quit]
jbrock has joined #nixos
tobeportable has quit [Ping timeout: 272 seconds]
never_released has joined #nixos
<nschoe> Hum... apparently I solved my 'ar' not being found by using "AR=${stdenv.cc.targetPrefix}ar" in 'cmakeFlags'.
<nschoe> I also removed binutils-unwrapped from teh deps and from buildInputs and it still works ;/
<nschoe> No idea what this does nor why it works, though.
<clever> nschoe: the stdenv already sets a $AR for you
vykook has joined #nixos
<nschoe> clever: without this "AR=..." my cross-compilation doesn't work: missing 'ar'.
<clever> nschoe: you need to tell cmake to use $AR, and not set AR, i believe
<clever> AR=... in cmakeFlags, is diff from AR being an env var
<nschoe> clever: 'make' you mean (the project doesn't use 'cmake')
<clever> then why are you editing cmakeFlags?
endformationage has joined #nixos
<nschoe> I'm editign 'makeFlags'
<iqubic> How can I check which version of p11kit I'm using on nixos?
<nschoe> oh I jsut re-read my previous message sorry I did write 'cmakeFlags' :/
<clever> nschoe: which package is it? it should be as simple as just https://github.com/librerpi/rpi-open-firmware/blob/master/common/Makefile#L19
knupfer has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @adisbladis opened pull request #86249 → podman: Wrap packages required to run containers → https://git.io/Jfm6h
<nschoe> clever: ah.Well regarding our previous conversation from earlier, I decided to go ahead and try to package library bcm2835 anyway, Even if I don't use it in the end (I'm still aiming at usign one of the other two Haskell I2C lib).
<nschoe> Anyway so I'm writing a .nix file to package bcm2835. And it was failing in the 'buildPhase' b/c 'ar not found'.
never_released has quit [Remote host closed the connection]
<nschoe> clever: so I have been trying for about 2 hours now to find a way to make 'ar' known to the buildPhase.
<aleph-> Hmm, how does one pass changes to the docker daemon to docker? Need to set it to using an insecure registry
<clever> nschoe: ah yeah, *looks*
never_released has joined #nixos
eoli3n__ has quit [Ping timeout: 256 seconds]
<clever> nschoe: can you gist your nix exprs?
vykook has quit [Ping timeout: 265 seconds]
<nschoe> clever: just so you know: I've tried including 'binutils' ,'binutils-unwrapped', both in 'buildInputs' and 'nativeBuildInput' ,to no avail: there is just never an unpreficed 'ar' in the PATH.
<nschoe> Then I found this thing to put in makeFlags on the Internet, I tried it and now it builds.
<nschoe> I tried to grep everything I could in the source of bcm2835, nothing.
<nschoe> I did notice that there was a prefixed 'ar', (something with 'linux-gnu-aarch64' as a prefix in ${binutils}/bin/.
<{^_^}> [nixpkgs] @mweinelt opened pull request #86250 → [19.09] openldap: add patch for CVE-2020-12243 → https://git.io/Jfmic
xO1 has quit [Ping timeout: 240 seconds]
<nschoe> clever: this is what I have which doesn't fail on build for now.
<nschoe> I'm copyingthe clojure on the rPi see if this works.
hoijui has quit [Ping timeout: 244 seconds]
<bdju> Is "PantherX" related to or based on NixOS? I just heard about it and some things sound similar.
<bdju> they mention transactional upgrades and instant rollbacks
dingenskirchen has quit [Quit: dingenskirchen]
<simpson> bdju: https://wiki.pantherx.org/PantherX-compared-to-other-distributions/ It seems that they are a GuixSD fork.
dingenskirchen has joined #nixos
<iqubic> I'm trying to diagnose a flatpak issue. How can I check which version of p11kit flatpak is using on my system?
xcmw has joined #nixos
<bdju> simpson: oh interesting, thanks for finding that
jasom has quit [Ping timeout: 256 seconds]
vykook has joined #nixos
erictapen has quit [Ping timeout: 260 seconds]
o1lo01ol1o has joined #nixos
<clever> nschoe: if you let it fail, and build with --keep-failed, then you can view the generated Makefile in /tmp ...
<clever> 542 libbcm2835.a: $(libbcm2835_a_OBJECTS) $(libbcm2835_a_DEPENDENCIES) $(EXTRA_libbcm2835_a_DEPENDENCIES)
<clever> 544 $(AM_V_AR)$(libbcm2835_a_AR) libbcm2835.a $(libbcm2835_a_OBJECTS) $(libbcm2835_a_LIBADD)
<clever> 133 AM_V_AR = $(am__v_AR_$(V))
<clever> 131 AR = ar
<clever> nschoe: looks like automake detected the wrong ar
<nschoe> clever: oh I never managed to get that AR = <something>
<nschoe> clever: but how could it select the "right ar"? The only 'ar' is the on ein binutils-unwrapped/bin, and it's prefixed.
<energizer> https://bpaste.net/N7RA could not locate fortran compiler, but i have pkgs.gfortran in buildInputs. How can i get it to notice the fortran compiler?
<clever> nschoe: the stdenv already set $AR the env var
o1lo01ol1o has quit [Ping timeout: 240 seconds]
morgrimm has quit [Ping timeout: 240 seconds]
bastion-tester has joined #nixos
<clever> nschoe: preConfigure = ''makeFlags="$makeFlags AR=$AR"''; is enough to fix it as well
<nschoe> clever: it seems you're right: I've just removed my makeFlags and entered the nix-shell, echo $AR deos print "aarch64-unknown-linux-gnu-ar"
<clever> nschoe: that forces make to set AR (the make var) to $AR (the bash env var)
<nschoe> clever: so I guess just putting AR=${AR} would work, then?
<energizer> answer: it needed scikit-build
<nschoe> Ah, well you bascially wrote this :)
<clever> the problem is that the makefile is force-setting AR, not providing a default and fallback
erictapen has joined #nixos
<clever> the example i linked from open-firmware, just assumes $AR (the env var) is already set, and fails otherwise
<clever> use nix or go away :P
eoli3n__ has joined #nixos
<iqubic> So, I'm running afoul of this issue: https://github.com/p11-glue/p11-kit/issues/275 Basically my flatpak applications can't properly work now. Anyone know if there's a fix for this in nixpkgs yet?
<{^_^}> p11-glue/p11-kit#275 (by smcv, 12 weeks ago, closed): p11-kit server >= 0.23.19 doesn't interoperate with p11-kit-client.so < 0.23.19, breaking Flatpak apps
<nschoe> clever: okay. What's the need for preConfigure="makeflags=... rather than makeFlags="" as I used before?
<clever> nschoe: makeFlags is eval-time, ${AR} would be a nix variable, not an env var
<clever> nschoe: the $AR we want, only exists at build-time, after the shell hooks for the cross stdenv have mutated env vars
<nschoe> hum.... not sure I understand, but okay
<nschoe> Incidentally, why did my build suceed with my AR=${stdenv.cc.targetPrefix}ar in 'makeFlags'?
<clever> at eval time, nix is just evaluating the pure nix expression, and creating .drv files, that contain build directions
<iqubic> I didn't know that bot would show information for other github repos. Woah.
<clever> then at build time, nix will take that drv, and begin building things
vykook has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @veprbl opened pull request #86251 → sherpa: 2.2.8 -> 2.2.9 → https://git.io/Jfmi9
<clever> nschoe: your likely generating the same string as what normal $AR contains
<drozdziak1[m]> I'm trying to install an overridden vimHugeX I defined in `~/.config/nixpkgs/config.nix`. It does what I want in nix-shell, but it gets in a conflict with another vim_configurable on man pages. Setting the priority on vim_configurable coesn't do the trick as it still complains again
<drozdziak1[m]> Even when I uninstall vim altogether it's all the same
<nschoe> clever: ok
<nschoe> clever: I've just tried your preConfigure=makeFlags=... and it build :)
<nschoe> Thanks
<bqv> nix does full evaluation from scratch every time, doesn't it? just checking cause i've seen times vary sometimes, guessing that's just from dumping paths to store though
<clever> drozdziak1[m]: what does `nix-env -q` list?
<iqubic> I wish flatpak and NixOS weren't such a pain to integreate.
<iqubic> *integrate
Darkmatter66 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @veprbl pushed commit from @matthuszagh to master « pythonPackages.pylibftdi: init at 0.18.1 (#71286) »: https://git.io/JfmiF
<{^_^}> [nixpkgs] @veprbl merged pull request #71286 → pylibftdi: init at 0.18.1 → https://git.io/Je4Ky
<nschoe> Let's see if copying the clojure works now.
<bqv> iqubic: appimage works a lot nicer, if available
<iqubic> I see.
<iqubic> Thank you for that.
<{^_^}> [nixpkgs] @erictapen opened pull request #86253 → nixos/printers: fix example for hardware.printers.ensurePrinters.*.model → https://git.io/Jfmip
vykook has joined #nixos
<iqubic> I'm not looking to switch what I'm using, I'm looking to see if this current issue can be fixed.
Darkmatter66 has joined #nixos
<simpson> Hopefully the issue would be fixed if your target package were built using Nix; I'm assuming that whatever you're working with is unfree.
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #86254 → mkDerivation mesonFlags: Fix cross file logic to handle more cases → https://git.io/JfmPT
<iqubic> Is flatpak unfree?
<{^_^}> [nixpkgs] @bachp opened pull request #86256 → Skypeforlinux 8.59.0.77 → https://git.io/JfmPt
<{^_^}> [nixpkgs] @lovesegfault opened pull request #86255 → zoom-us: 3.5.385850.0413 -> 5.0.398100.0427 → https://git.io/JfmPq
<simpson> No, but if whatever's in your Flatpak has source code, then it can probably be built by Nix instead.
<simpson> This p11-kit bug looks nasty. They changed the RPC protocol but didn't bump numbers or tell anybody.
<iqubic> Ah. Yeah. I could just use Native Steam client.
nDuff has joined #nixos
<asbachb> Is grunt packaged for nixos?
<fresheyeball> asbachb: yes, by virtue of npm in nix
<fresheyeball> there is also
<fresheyeball> nix-env -iA nixos.nodePackages.grunt-cli
<asbachb> fresheyeball: thanks!
<iqubic> simpson: How will we fix this p11-kit bug?
<iqubic> How can we fix it?
vykook has quit [Ping timeout: 260 seconds]
<simpson> iqubic: It sounds like they'll release a new version rolling back the RPC changes. So we'd just have to update to that new version in nixpkgs and possibly leave a comment for the next person, warning them that that particular release version is bogus.
<nschoe> clever: this looks to be working: clojure is copied on the rPi and executed. I do get a "test-hpi: I2C: : illegal operation (Received an unexpected NACK.)" error.
<nschoe> But I think it's an issue with my wiring or the arduino polluting the I2C bus
<clever> nschoe: id double-check things with a scope
<nschoe> clever: yeah. A lot of unpilling to do :)
<iqubic> simpson: How long will I have to wait to for this new version to be made?
<nschoe> But at least the cross-compilation (and bcm packaging) worked.
<nschoe> Now I'll try *not* using HPi :D but after I fixed my I2C wiring :=)
<simpson> iqubic: I don't know how to answer that question. I recommend not waiting.
<iqubic> Why shouldn't I wait?
<nschoe> clever: thanks again for your help!
<{^_^}> [nixpkgs] @drewrisinger closed pull request #85612 → Backport #84271 to 20.03 → https://git.io/JfTLD
<simpson> Well, who are you waiting for, what changes are you going to integrate, and what is your definition of working? Perhaps finding another path forward will be more fruitful. I don't know; I have no idea what this package is used for or why it's there.
nDuff has quit [Read error: Connection reset by peer]
vykook has joined #nixos
linarcx has quit [Read error: Connection reset by peer]
linarcx has joined #nixos
mallox has quit [Ping timeout: 246 seconds]
kumikumi_ has quit [Ping timeout: 250 seconds]
vykook has quit [Ping timeout: 260 seconds]
jluttine has quit [Ping timeout: 264 seconds]
<energizer> i need to figure out why this build fails to find the fortran compiler that should be available. how can i diagnose it? https://bpaste.net/AW3Q
<energizer> can i somehow get a shell inside the build environment?
<nschoe> energizer: if you are writing your own derivation, you can 'nix-shell default.nix` yes
<simpson> Yeah, you can use nix-shell *without* -p.
jasom has joined #nixos
<energizer> nschoe: i dont think that does what i need. the problem is that the build fails, so nix-shell refuses to enter the environment because the environment is not successfully built
jluttine has joined #nixos
zemm has quit [Ping timeout: 246 seconds]
zemm has joined #nixos
kumikumi has joined #nixos
<energizer> maybe i misunderstood your suggestion
<energizer> when a build fails, how do you figure out why?
<cole-h> Read the logs. Add `-K` to keep the output so you can explore the files it was operating on. Add `breakpointHook` to its `buildInputs` and use `cntr` to enter the sandbox as soon as it fails.
ramses_ has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<iqubic> simpson: Basically, I'm just trying to debug this issue where running Steam in flatpak gives me ssl certificate invalid errors when trying to do any networking at all.
<nschoe> energizer: entering teh nix-shell will not initiate the build: this is how you debug a failed build, precisely.
morgrimm has joined #nixos
vykook has joined #nixos
<bqv> breakpointHook
<bqv> I'm gonna remember that one
<bqv> that sounds like a lifesaver
<cole-h> It's pretty nice.
zupo has joined #nixos
<{^_^}> [nixpkgs] @jonringer opened pull request #86258 → libbfd: remove stale patch → https://git.io/JfmX2
markus1189 has quit [Ping timeout: 260 seconds]
markus1189 has joined #nixos
<{^_^}> [nixpkgs] @globin pushed 2 commits to structured-attrs: https://git.io/JfmXw
zarel has quit [Quit: ZNC 1.7.4 - https://znc.in]
zarel has joined #nixos
morgrimm has quit [Ping timeout: 265 seconds]
<energizer> ok if i do --keep-failed, looking in env-vars shows that PATH only includes the basic stdenv stuff plus python, and it's missing the programs that I passed buildInputs. aren't the buildInputs programs supposed to be on PATH?
<nschoe> energizer: have you pasted your nix expression (default.nix) for this?
asbachb has quit [Ping timeout: 240 seconds]
<clever> energizer: run `nix-shell` directly on the .drv that failed, then just `echo $PATH`
<esclear> Huh, for some reason I can't start my pulseaudio user unit anymore, since it can't find pulseaudio.socket O_o
<esclear> Although there is a pulseaudio.socket file right next to the pulseaudio.service unit file
linarcx has quit [Ping timeout: 240 seconds]
vykook has quit [Ping timeout: 244 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #86254 → mkDerivation mesonFlags: Fix cross file logic to handle more cases → https://git.io/JfmPT
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to staging: https://git.io/Jfm1t
__monty__ has quit [Quit: leaving]
<{^_^}> [nixops] @dhess opened pull request #1331 → eval-machine-info.nix: add nixpkgsPath argument. → https://git.io/Jfm13
shibboleth has joined #nixos
rsaarelm has left #nixos [#nixos]
vykook has joined #nixos
<energizer> clever: yeah it's missing gfortran
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
zupo has joined #nixos
nschoe has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @jonringer opened pull request #86259 → glibcCross: add arm entry for meson flags → https://git.io/Jfm1z
<energizer> is there anybody doing little one-off packaging contracts? i like using nix but i dont have time to spend a hours figuring out how to package my deps every couple days, so maybe i can outsource that?
<{^_^}> [nixpkgs] @Ma27 opened pull request #86260 → libbfd: fix build → https://git.io/Jfm1V
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
jbrock has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @jonringer closed pull request #86259 → glibcCross: add arm entry for meson flags → https://git.io/Jfm1z
jbrock has joined #nixos
<{^_^}> [nixpkgs] @jonringer closed pull request #86258 → libbfd: remove stale patch → https://git.io/JfmX2
KennosiS has left #nixos ["No boundaries on the net!"]
vykook has quit [Ping timeout: 264 seconds]
xcmw has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #86255 → zoom-us: 3.5.385850.0413 -> 5.0.398100.0427 → https://git.io/JfmPq
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/Jfm11
eoli3n__ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #80896 → nixos/security/pam: Add nodelay option → https://git.io/Jv0ys
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/Jfm17
rednaZ has left #nixos ["ERC (IRC client for Emacs 26.3)"]
<{^_^}> [nixpkgs] @globin pushed to structured-attrs « waf: fix for structured-attrs »: https://git.io/Jfm1b
erictapen has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @grahamc merged pull request #85757 → [20.03] babeld: 1.9.1 → 1.9.2 → https://git.io/JfkPB
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to release-20.03: https://git.io/Jfm1j
<Kyndig> could someone please explain to me how to install packages from a closure which I've just imported? All the documentation shows export and import, but then doesn't say how to actually get a user environment setup to reflect the imports...
vykook has joined #nixos
gustavderdrache has quit [Quit: Leaving.]
<infinisil> Kyndig: Where do you want to install it/
<infinisil> ?
<Kyndig> in my user profile
<{^_^}> [nixpkgs] @robaca opened pull request #86261 → webcamoid: init at 8.7.1 → https://git.io/JfmMI
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/365ca111211 (from 18 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<Kyndig> i want my 'nix-env -q' output to match that of the user that exported the closure
<Kyndig> sorry forgot to mention the closure is all of the original user's ~/.nix-profile
<infinisil> Well there is a way to install raw /nix/store paths with nix-env, but it's really not something you usually want to do
<Kyndig> right, that's the problem
<infinisil> And it only works with nix-env, not NixOS or other uses of Nix
<Kyndig> it doesnt work
orivej has quit [Quit: orivej]
<infinisil> What you should rather do is to write a nix expression that produces the environment you want, then anybody can install that however they like
<infinisil> ,declarative Kyndig
<{^_^}> Kyndig: 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
<infinisil> These are all ways of achieving this
<Kyndig> i'm basically trying to do a nix-copy-closure, but I have no direct ssh connection
<Kyndig> so I used nix-store --export --requisites ~/.nix-profile
<Kyndig> and imported to destination
orivej has joined #nixos
<Kyndig> so the store objects are there
<Kyndig> but how to get my profile to match
infandum has quit [Remote host closed the connection]
<Kyndig> i don't want declarative environment
<{^_^}> [nixpkgs] @flokli merged pull request #86250 → [19.09] openldap: add patch for CVE-2020-12243 → https://git.io/Jfmic
<{^_^}> [nixpkgs] @flokli pushed 2 commits to staging-19.09: https://git.io/JfmMW
vykook has quit [Ping timeout: 246 seconds]
<Kyndig> it seems like this would be something that's done all the time
<{^_^}> [nixpkgs] @flokli merged pull request #86246 → openldap: 2.4.49 → 2.4.50 → https://git.io/JfmKX
morgrimm has joined #nixos
<{^_^}> [nixpkgs] @flokli pushed 2 commits to staging-next: https://git.io/JfmM8
<Kyndig> but the docs seem to leave out the next step after import
<{^_^}> [nixpkgs] @flokli merged pull request #86247 → [20.03] openldap: 2.4.49 → 2.4.50 → https://git.io/JfmK9
<{^_^}> [nixpkgs] @flokli pushed 2 commits to staging-20.03: https://git.io/JfmM4
<infinisil> As already said, this is not something one usually wants to do, in fact it's probably never the right thing to do
<infinisil> Lemme think about this for a bit
<Kyndig> people never want to copy their built store ?
<simpson> Kyndig: Folks usually declare whatever they want to copy, then copy the declaration. If both boxes have Internet access, then this is usually easier than anything else.
<infinisil> No I mean installing paths with nix-env
<infinisil> Kyndig: So you can just do `nix-env -i /nix/store/...` I believe
<Kyndig> yes
<Kyndig> that does work
<Kyndig> but
morgrimm has quit [Ping timeout: 244 seconds]
<infinisil> Kyndig: What's the problem with doing it declaratively?
<Kyndig> lets say I do a 'nix -q' on the original computer and my output is: tmux-3.0a
lukash_ is now known as lukash_|away
proofofk_ has quit [Remote host closed the connection]
proofofkeags has joined #nixos
<Kyndig> then i do 'nix-store -q --references ~/.nix-profile' in order to see the store items that I could directly install with nix-env -i /nix/store.... , but what I see is:
<Kyndig> nix/store/xy3nfgkc3dpc91ims3bf3zxkkgj12v1c-tmux-3.0a and nix/store/xy3nfgkc3dpc91ims3bf3zxkkgj12v1c-tmux-3.0a-man
orivej has quit [Ping timeout: 244 seconds]
<Kyndig> so now on target machine a 'nix -q' shows the latter
<Kyndig> not the former
vykook has joined #nixos
<Kyndig> target machines sees two different packages
<Kyndig> instead of the one tmux
<infinisil> Looks like a problem you wouldn't have by doing it declaratively
<simpson> Yeah, this is the sadness of nix-env. Package names are just not enough information for reconstitution. I think that a lot of folks have gotten used to the disappointment of going by package names and versions, because that's all most other package managers offer.
orivej has joined #nixos
<Kyndig> i'm trying to compile on one machine and copy to another
<Kyndig> to make declarative config on target machine it goes through the whole nix-defexpr process
<Kyndig> i don't want that
<simpson> Hm. So don't you want nix-copy-closure?
<Kyndig> i believe i do want nix-copy-closure, but I don't have direct ssh
<Kyndig> need two steps
<Kyndig> export ; then import
<infinisil> Kyndig: ~/.nix-defexpr? That won't have anything to do with that
<infinisil> You mean that it would evaluate Nix?
<Kyndig> let's just say I'm using a thumbdrive to transfer
<Kyndig> I want it to use the store items that are built already for the install rather than doing a new query which references ~/.nix-defexpr
proofofkeags has quit [Ping timeout: 240 seconds]
<Kyndig> i don't have a channel on the target machine
maddo has quit [Quit: See ya]
<infinisil> Yeah that's no problem if you do it declaratively
<Kyndig> even without a channel?
<simpson> I'm searching through the manual, but there is a way to copy parts of the store to a thumb drive. The main obstacle is that Nix has a database tracking the store, and not just the store itself, so you've gotta update that database too. I don't know offhand how that's done.
<Kyndig> no NIX_PATH
<simpson> You can always copy the *whole* store, of course, but that's probably not what you want to do.
<infinisil> Yes, NIX_PATH is just the default way to get a nixpkgs, but it's not the only way
<infinisil> ,pinning Kyndig
trubi has quit [Ping timeout: 260 seconds]
<Kyndig> right; but I mean I have no set of nixpkgs expressions
<Kyndig> at all
<Kyndig> on target machine
<Kyndig> just want the bins
<infinisil> Do you have Nix installed?
<infinisil> Because that's all you need
<Kyndig> yes just nix
<Kyndig> but if I tried "nix-env -iA tmux" for example, it starts looking for .nix-defexpr
<Kyndig> how do i point it do the store items
<Kyndig> but intelligently so that it knows that tmux is actually 2 store items
Desetude has quit [Quit: WeeChat 2.7.1]
<Kyndig> not just one
vykook has quit [Ping timeout: 260 seconds]
opticnerve has joined #nixos
<simpson> You can give nix-env paths into the Nix store, and it'll do what you want it to do. $(nix-env -i /nix/store/...-tmux-...)
<Kyndig> sorry; typing is not quickest way to explain
<Kyndig> yes that's what I did at first nix-env -i $(cat list_of_references_of_original_nix-profile)
<simpson> infinisil: So, I suspect that that thumb drive is important. I can't find anything on this; how *does* one copy some packages to a thumb drive, and add them offline to a store?
<Kyndig> yep; that's the documentation i've been talking about
<Kyndig> they all say to export and then import
<Kyndig> but don't show how to get your user-env profile created
<Kyndig> to match the original one
<infinisil> Okay so there appears to be a way
<Kyndig> I even tried manually creating a symlink in nix/var/nix/profiles/my-user
<simpson> Well, how did you make your original one!?
<infinisil> Again, I don't recommend it, but
proofofkeags has joined #nixos
<infinisil> (wait, writing it out)
<Kyndig> original one just using nix-env -iA for all packages
<Kyndig> they all built
<Kyndig> from source
<cole-h> Why don't you have ssh access, aagin? If you have thumbdrive access, surely ssh access would be easier to set up...
<simpson> Okay. That's not a reproducible action; if you do it again (say, after a channel update), you'll get a different result. Does that help explain why your current route cannot give you what you desire?
<Kyndig> it's not really relevant didn't want to distract, but I'm building in ~/nix/...
<Kyndig> don't have root on target system
<cole-h> But you have Nix and the nix-daemon, OK, understandable.
<Kyndig> not nix daemon just single user
<Kyndig> same username
<Kyndig> both sites
<Kyndig> same prefix
<Kyndig> so yes, I could simply copy all of ~/nix
<Kyndig> and did for starters
<Kyndig> but going foward
<Kyndig> want to use store --export and --import for updates
<simpson> Going forward, *declare* the packages that you want, using Nix expression language, and then you'll be able to *reproduce* the setup on the other machine.
<cole-h> (^ That's kinda our shtick...)
pamplemousse has quit [Quit: Lost terminal]
<infinisil> Yeah very much
<Kyndig> you mean just do a "nix-env -iA packageA packageB" on the target machine right?
<cole-h> g/nix-env/d
<Kyndig> with a facy declarative config though
<{^_^}> [nixpkgs] @flokli merged pull request #85772 → Use Open Watcom to build VirtualBox BIOS → https://git.io/JfkHL
<{^_^}> [nixpkgs] @flokli pushed 3 commits to master: https://git.io/JfmDs
<simpson> No, nix-env actions are *not reproducible*, for the most part. The same text, typed on different machiens, will make nix-env do different things.
<Kyndig> it still looks for nixpkgs expressisons
<Kyndig> I don't have nixpkgs on target machine
<simpson> The trick is precisely to avoid making nix-env do any lookups or hard work. Instead, nix-env will only install *precisely* what you declare in a single file.
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
alp has quit [Ping timeout: 272 seconds]
<bqv> generally a decent rule of thumb: if you're using nix-env, you're probably doing something wrong, or recovering from doing something wrong
<infinisil> For reference, here's how you *could* transfer a profile to another machine (but again I don't recommend it): Get the profile path with `p=$(realpath /nix/var/nix/profiles/per-user/$USER/profile)`. Export its closure with `nix-store --export $(nix-store -qR $p) > out`. Import it on the other machine with `nix-store --import < out`, then set the profile with `nix-env -p
<infinisil> /nix/var/nix/profiles/per-user/$USER/profile --set $p`
<cole-h> Well, nixpkgs is really easy to get... It's just a `git clone github.com/nixos/nixpkgs ~/vcs/nixpkgs` away
<simpson> You don't need a nixpkgs channel on the target. nixpkgs can be referenced inline from your single Nix file.
<simpson> infinisil++ for answering the question as asked
<{^_^}> infinisil's karma got increased to 271
<MichaelRaskin> I would say that «doing something wrong» is about nix-env -iA (and even more so -i)
vykook has joined #nixos
<energizer> must nix-env exist at all?
<MichaelRaskin> -e is undoing, --set is a complicated story (and low-level)
<fresheyeball> I like it
morgrimm has joined #nixos
<simpson> It's a useful transitional crutch.
<Kyndig> nix-env is for those who want imperative management i thought
o1lo01ol1o has quit [Remote host closed the connection]
<Kyndig> I used declarative for system wide nixos, but use imperative for user level
<Kyndig> i like it that way
<Kyndig> system uses stable, user uses unstable
<cransom> nix-env is a temporary bandaid for me where i'm exploring a tool temporarily and don't want to add it to anything permanent. just slightly longer lasting than a `nix-shell -p`
o1lo01ol1o has joined #nixos
<Kyndig> but that's a side track
<cole-h> I use imperative for user level, and much prefer it, precisely because all I need to do is copy a few files, `home-manager switch` and bang
<cole-h> Errr
<cole-h> Not imperative; declarative
<cole-h> ,unstable Kyndig
<cole-h> Just FYI
<Kyndig> infinisil's summary is what I did essentially
<fresheyeball> I like imperative for things I have not made up my mind about
<bqv> managing an imperative user profile works out more complicated in the long run
<{^_^}> [nixpkgs] @zowoq opened pull request #86262 → podman: 1.9.0 -> 1.9.1 → https://git.io/JfmD4
<cransom> if, as a user, all you are doing is nix-env, you are making life harder than it needs to be. you might as well be doing homebrew/etc
<MichaelRaskin> For undecided I use a nix-shell-like tool
<energizer> it would be be better to `nix-install() { echo "$@" >> ~/.config/nixpkgs/my-packages ;}` and have nix import from that file
<bqv> i genuinely only reach for nix-env when i want to pin a package so it doesn't accidentally get gc'd away
<bqv> other than that, declarative or nix-shell
<Kyndig> apparently there's something more about a user's environment than just the store, that needs to match because after just importing the store paths directly, I got errors about missing nix/var/share paths
<Kyndig> that were not needed for the nix package itself
Avaq has joined #nixos
<Kyndig> so I had to copy all of ~/nix
<MichaelRaskin> What is importing?
<{^_^}> [nixpkgs] @chkno closed pull request #86174 → kvmtool: Init at 0.20200424 → https://git.io/JfmTM
<Kyndig> sorry; I'm getting everyone confused; I need to write up a little document and put on ix
<Kyndig> I'm not opposed to declarative, but I just don't see how it helps in this situation
<MichaelRaskin> Keeping better records
<Kyndig> the problem is stuff under ~/nix, but outside of
<Kyndig> ~/nix/store
zupo has quit [Ping timeout: 246 seconds]
<Kyndig> that info doesn't get transerred with the import
<MichaelRaskin> Well, if you copy declarations and rebuild, everything gets handled properly
<bqv> Kyndig: it would help because you wouldn't have made your way into this clusterf**k
CMCDragonkai1 has joined #nixos
<rickhull> Hi, I am trying to figure out why my /etc/resolv.conf has domain mshome.net https://gist.github.com/rickhull/27f2b6604f5a13363ac9fce62c867717
CMCDragonkai has quit [Ping timeout: 256 seconds]
CMCDragonkai_ is now known as CMCDragonkai
vykook has quit [Ping timeout: 256 seconds]
<bqv> transferring from one machine to another would be as simple as copying a text file, rather than parsing nix databases and tracking down files
<colemickens> my eyebrows are raised and I am confuse-ed
<{^_^}> [nixpkgs] @worldofpeace merged pull request #85589 → Add ACME maintainers team → https://git.io/JfUya
<{^_^}> [nixpkgs] @worldofpeace pushed 6 commits to master: https://git.io/JfmDV
CMCDragonkai is now known as Guest55208
<simpson> Kyndig: That's the database that I was trying to tell you about. If you use the NAR path, and export and import along the documented lines, then you'll not have that problem.
niksnut has quit [Remote host closed the connection]
zupo has joined #nixos
<simpson> bqv: Note that Kyndig does want to only perform the compilation on one of two machines, so a copy-closure, export, or cache would be required, and their setup precludes copy-closure and caches.
trubi has joined #nixos
<bqv> that can still be done declaratively, with build machines
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/a7ceb2536ab (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<bqv> what's the preclusion of caches?
cosimone has quit [Quit: Quit.]
<bqv> airgapped machines :D
<simpson> Not using /nix for the Nix root.
<Kyndig> right
<bqv> oh, well then
zupo has quit [Client Quit]
<bqv> my first question is why, my second question is can this be solved with a bind mount? but feel free to ignore me cause i'm just sating my curiosity at this point
<MichaelRaskin> Not using /nix does not preclude you from running a local nix-serve cache, BTW
<simpson> Right, but it does not make the problem simpler, since now a closure has to be copied to the cache.
<Kyndig> the rabbit hole grows
<Kyndig> i would 've loved to do proot
<Kyndig> but the kernel doesn't allow user namespaces
jbrock has quit [Quit: jbrock]
<Kyndig> hence recompiling /nix to ~/nix
jbrock has joined #nixos
<bqv> this doesn't need an external cache
<fresheyeball> less: unrecognized option '--RAW-CONTROL-CHARS'
<bqv> if both machines use the same nix store path
<bqv> just set each one up as a substituter for the other
<bqv> that's what i meant by build machines
<fresheyeball> I am trying to use pkgs.gitAndTools.delta
<energizer> Kyndig: out of curiosity, what kind of computer is it?
<fresheyeball> but it throws up from less for some reason
<bqv> i assumed the problem was that one was using a different nix-store path to the other
jbrock has quit [Client Quit]
jbrock has joined #nixos
<MichaelRaskin> bqv: then copying would not work either
<Kyndig> ok; I have not looked into local serve cache; that might be the answewr
<{^_^}> [nixpkgs] @squalus opened pull request #86264 → ungoogled-chromium: 81.0.4044.92-2 -> 81.0.4044.122-2 → https://git.io/JfmDb
vykook has joined #nixos
<bqv> MichaelRaskin: hence "well then"
<Kyndig> but in order for the cache to be seen, doesn't the nixpkgs expression evaluation still need to happen?
<bqv> no, the build machines are stored in /etc/nix/nix.conf
<simpson> Kyndig: infinisil already gave the answer. A cache would be an overcomplication.
<{^_^}> [nixpkgs] @worldofpeace merged pull request #86167 → webkitgtk: 2.28.1 → 2.28.2 → https://git.io/JfmfI
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JfmyY
<bqv> simpson: how exactly?
<bqv> using substituters is just an automatic method of doing that exact copy-closure
<bqv> if anything it's an oversimplification
<bqv> i think you're confusing build substitution for cachix
<bqv> they are not the same thing
<simpson> bqv: In the sense that the problem's already well-described enough that the solution is $(nix-store --export) to thumb drive, $(nix-store --import) on the target, $(nix-env -i) the desired packages or use infinisil's trick.
<Kyndig> yes; that's what I've been trying
eoli3n__ has joined #nixos
<{^_^}> [nixpkgs] @christianharke opened pull request #86265 → spectrwm: 2.7.2 -> 3.3.0 → https://git.io/JfmyZ
<bqv> i can understand that that might be simpler if this is a one-time issue and you won't be sharing packages between these machines again
<bqv> otherwise i don't see how
est31 has quit [Remote host closed the connection]
<simpson> Okay, and how does it not work?
<simpson> You'll need to be more specific, now that we know which commands you're running and what the expectations are.
<Kyndig> ok; So machine A is the builder B is the target which has no nixpkgs tree
user_0x58 has quit [Ping timeout: 240 seconds]
erasmas has quit [Quit: leaving]
<infinisil> commas!
<Kyndig> B does have a simple ~/nix bootstrap with nix installed
<simpson> You mean that it has no channels configured? Or you mean that somehow there's no nixpkgs.tar.gz at all in the Nix store and there can't be?
est31 has joined #nixos
user_0x58 has joined #nixos
<Kyndig> no nixpkgs.tar
<bqv> Kyndig: does it have network access?
<Kyndig> so I can do nix-store --export on machine A, transfer via thumbdrive to machine B and nix-store --import
<Kyndig> then nix-store -i ~/nix/store/path/to/a/store/item
<Kyndig> that works
<infinisil> nix-env?
<Kyndig> so i figured I need a list of all those store items
<bqv> this is going to give me an anyeurism
<Kyndig> so back on machine A, I do: nix-env -q --references ~/.nix-profile
<Kyndig> gives me a list
<infinisil> Kyndig: Didn't you take my advice earlier?
vykook has quit [Ping timeout: 264 seconds]
philr_ has joined #nixos
<Kyndig> what advice about the exporting per-user profile?
<Kyndig> was getting to that
<infinisil> Ah
<Kyndig> i did essentially the same thing by finding where my Machine A profile pointed in the store and creating the same symlink on machin B
<Kyndig> the user-env link
<infinisil> Sorry I was confused because you switched to using ~/.nix-profile and --references
gustavderdrache has joined #nixos
<{^_^}> [nixpkgs] @zowoq opened pull request #86266 → minikube, docker-machine-{hyperkit,kvm2}: use makefile → https://git.io/Jfmyz
bhipple has joined #nixos
jbrock has quit [Quit: jbrock]
<Kyndig> sorry; I really should just so a little write up an post on ix.
jbrock has joined #nixos
jbrock has quit [Remote host closed the connection]
jbrock has joined #nixos
<infinisil> I'm still waiting for the actual problem!
<bqv> i'm sure there is a better solution to whatever you're trying to achieve, including the things you've already done, using declarative files and nix-serve
<bqv> but it is incredibly hard to tell without you explaining from first principles, what you're trying to a chieve
wolfshappen has quit [Ping timeout: 260 seconds]
<bqv> and i understand if that's nosey but we won't be able to un-overcomplicate this otherwise
<simpson> bqv: It's not hard to imagine, if one has worked in a datacenter before: Kyndig is trying to get their preferred set of tools onto an airgapped/LAN-only machine in the NOC, and the admin doesn't know/trust Nix.
trubi has quit [Read error: Connection reset by peer]
<Kyndig> i'm not worried about privacy; just didn't want to distract from issue; ultimately, after getting correct profile symlink pointing to imported store environment, nix-env then gave me errors about non-existen dirs under ~/nix, but outside of ~/nix/store.
<Kyndig> i'm working on a writup
<infinisil> Kyndig: And the error is..?
wolfshappen has joined #nixos
trubi has joined #nixos
<infinisil> And what command did you run specifically?
est31 has quit [Remote host closed the connection]
<Kyndig> that's what I'm putting together
<Kyndig> starting from scratch and dcoumenting
jbrock has quit [Quit: jbrock]
<infinisil> Oh, well I can already tell you now that if your nix store is at /nix/store on the source machine, the target one has to have the same nix store path
jbrock has joined #nixos
<infinisil> Otherwise you can't reuse builds from the source machine
est31 has joined #nixos
<Kyndig> the errors are gone now, because i copied the entire ~nix dir
vykook has joined #nixos
<Kyndig> but didn't want to do that going forward
<keithy[m]> hi guys, I had an error in my build https://pastebin.com/X5Yxi5q9
<cole-h> Sandboxed builds don't have network access
jbrock has quit [Client Quit]
jbrock has joined #nixos
<keithy[m]> k so I need to open the sandbox?
mbrgm_ has joined #nixos
<simpson> `doCheck = false;` or fix the offending tests.
<infinisil> Kyndig: I feel like you're ignoring a lot of the advice people give you without actually considering it or addressing it
<cole-h> keithy[m]: The better thing to do is not access the internet...
<keithy[m]> I just copied the reproduce the build from hydra
<cole-h> Those tests should probably be disabled
mbrgm has quit [Ping timeout: 260 seconds]
mbrgm_ is now known as mbrgm
est31 has quit [Remote host closed the connection]
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/e64b2be53c8 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<keithy[m]> Im going to try nix on fedora vm this time.
<keithy[m]> but is there a nixos virtualbox image around?
est31 has joined #nixos
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
vykook has quit [Ping timeout: 240 seconds]
<keithy[m]> thx
jbrock has quit [Client Quit]
<keithy[m]> lets see if dhall runs on that
jbrock has joined #nixos
jumper149 has quit [Quit: WeeChat 2.8]
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @colemickens opened pull request #86267 → tor: 0.4.2.6 -> 0.4.3.3-alpha → https://git.io/JfmSU
<Fare> What need I put in my nix recipe to use `sysctl(1)` on a mac?
o1lo01ol1o has joined #nixos
<cole-h> What problem are you trying to solve with sysctl?
<Fare> finding the number of CPUs. But I suppose I can try to override this with the number of cores that the recipe is supposed to use... how do I get that number from my recipe?
eoli3n__ has quit [Ping timeout: 246 seconds]
<cole-h> ,locate bin sysctl
<{^_^}> Found in packages: procps, sysctl, toybox, busybox, unixtools.procps
<cole-h> Fare: What is a "recipe" in this context?
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
bhipple has quit [Ping timeout: 260 seconds]
<energizer> iirc that's the conda term for what derivations
infinisil is now known as infi
<energizer> s/what/what nix calls/
freeman42x has joined #nixos
fenedor has joined #nixos
vykook has joined #nixos
<{^_^}> [nixpkgs] @mweinelt opened pull request #86268 → coturn: apply patch for CVE-2020-6061/6062 → https://git.io/JfmSO
<{^_^}> [nixpkgs] @das-g opened pull request #86269 → python3Packages.python-gitlab: 1.15.0 -> 2.2.0 → https://git.io/JfmS3
infi is now known as infinisil
eoli3n__ has joined #nixos
<Fare> cole-h: pkgs/development/compilers/gerbil/build.nix
fusion809 has joined #nixos
fendor has quit [Ping timeout: 240 seconds]
<Fare> I need to tell the new gerbil to use the right number of cores, instead of trying to autodetect it via sysctl.
<Fare> where "right" is presumably defined by nix.buildCores
<simpson> Fare: $NIX_BUILD_CORES perhaps?
andymandias has quit [Ping timeout: 244 seconds]
jumper149 has joined #nixos
<{^_^}> [nixpkgs] @Infinisil merged pull request #86024 → lib/tests: Allow overriding pkgs independent of lib being tested → https://git.io/Jftlx
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/JfmSW
<{^_^}> [nixpkgs] @mweinelt opened pull request #86270 → [20.03] coturn: apply patch for CVE-2020-6061/6062 → https://git.io/JfmSl
andymandias has joined #nixos
<Fare> simpson, bingo. That's what git grep buildCores suggested, too
vykook has quit [Ping timeout: 260 seconds]
justanotheruser has quit [Ping timeout: 246 seconds]
zeta_0 has joined #nixos
<jumper149> Hi, I want to install libreoffice in my nix-env, but it started compiling instead of just downloading from cache.nixos.org and then it failed miserably. I checked https://hydra.nixos.org/job/nixpkgs/trunk/libreoffice.x86_64-linux and it seems it's not building on the git commit I'm on. So my question: How can I still install it? Do I need to install it from another channel?
<Fare> (thanks!)
<Fare> jumper149, take it from a slightly more stable channel?
trubi has quit [Read error: Connection reset by peer]
<makefu> or simply wait for the build to finish
trubi has joined #nixos
<zeta_0> what does this error mean? https://dpaste.org/VFhb https://dpaste.org/ceMe
<infinisil> jumper149: As a simple fix you can do `nix-env -f channel:nixos-20.03 -iA libreoffice` to install from the stable channel, as Fare suggested
<zeta_0> there are no syntax errors in that shell.nix file, so i'm not sure why that terminal error is being thrown
<cole-h> I was gonna suggest `nix-store -r <hydra's successful path> && nix-shell -p <hydra's successful path>`, but that works too
<{^_^}> [nixpkgs] @mweinelt opened pull request #86271 → [19.09] coturn: apply patch for CVE-2020-6061/6062 → https://git.io/JfmSV
bhipple has joined #nixos
aveltras has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @flokli merged pull request #85998 → nixos/nsswitch: Make databases more configurable → https://git.io/JftkV
<{^_^}> [nixpkgs] @flokli pushed 3 commits to master: https://git.io/JfmSr
<jumper149> Ok I will go with using another channel.
<jumper149> cole-h: What would be that path?
<bqv> check hydra.nixos.org
<zeta_0> it's telling me: `value is a set while a list was expected`, i copied it directly from home.nix to shell, so i'm guessing i need to change it a bit so `buildInputs` can recognize it
<jumper149> Is it output store path from https://hydra.nixos.org/build/117316122#tabs-details ?
opticnerve has quit [Ping timeout: 264 seconds]
<zeta_0> typo: i copied the ihaskell expression from home.nix to shell.nix
<Henson> how can I convert an integer to a string?
<cole-h> jumper149: `nix-store -r /nix/store/g3hm892z38hppxx3r2s8kp0q7hzkwmpb-libreoffice-6.3.5.2`
<jumper149> cole-h: ok thank you! Just to make sure :p
fenedor has quit [Read error: Connection reset by peer]
<cole-h> > toString 2
<{^_^}> "2"
<cole-h> Henson: ^
bhipple has quit [Ping timeout: 244 seconds]
<cole-h> (where toString is builtins.toString, if necessary)
trubi has quit [Read error: Connection reset by peer]
<cole-h> > builtins.toString 1
<{^_^}> "1"
trubi has joined #nixos
<Henson> cole-h: thanksyou very much
justanotheruser has joined #nixos
<Henson> thanksyou -> thank you
<cole-h> :D
smatting_ has quit [Ping timeout: 256 seconds]
vykook has joined #nixos
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/27c7e7d38ab (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
is_null has quit [Ping timeout: 240 seconds]
shibboleth has quit [Quit: shibboleth]
vykook has quit [Ping timeout: 260 seconds]
<hackerfoo> > toString 0.1
<{^_^}> "0.100000"
<hackerfoo> > builtins.toJSON 0.1
<{^_^}> "0.1"
<hackerfoo> ^ I recommend toJSON for floats
<zeta_0> could you guys give me some tips on how to fix this, i made some changes but i'm still getting errors thrown: https://dpaste.org/CpBL
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
<infinisil> > builtins.toJSON 0.123456789
<{^_^}> "0.123457"
<infinisil> hackerfoo: It's not much better unfortunately
xcmw has joined #nixos
jbrock has quit [Client Quit]
<infinisil> > builtins.toJSON 0.0000000001
<{^_^}> "1e-10"
jbrock has joined #nixos
<infinisil> > toString 0.0000000001
CMCDragonkai has joined #nixos
<{^_^}> "0.000000"
<hackerfoo> Yeah. `toString` has the same problem.
<infinisil> Oh, I guess it kind of is
<hackerfoo> Luckily, I haven't needed more precision yet.
arahael2 has quit [Ping timeout: 260 seconds]
freeman42xx has joined #nixos
jumper149 has quit [Quit: WeeChat 2.8]
<hackerfoo> If I do, I'll submit a PR with `printf("%.15g", x)`
<hackerfoo> That's my preferred way to print doubles for most situations.
vykook has joined #nixos
arahael2 has joined #nixos
freeman42x has quit [Ping timeout: 264 seconds]
<hackerfoo> It's far from perfect, though.
cr4y1 has quit [Ping timeout: 246 seconds]
trubi has quit [Read error: Connection reset by peer]
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos