THFKA4 has joined #nixos-aarch64
orivej has quit [Ping timeout: 244 seconds]
worldofpeace has joined #nixos-aarch64
worldofpeace has quit [Ping timeout: 250 seconds]
worldofpeace has joined #nixos-aarch64
worldofpeace has quit [Remote host closed the connection]
efraim has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
efraim has joined #nixos-aarch64
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 245 seconds]
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 268 seconds]
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos-aarch64
v0|d has quit [Remote host closed the connection]
<samrose> I wonder on aarch64 if a message like "GC Warning: Bad initial heap size 100000 - ignoring it." is a concern?
<THFKA4> i haven't seen it after the initial rebuild
<samrose> aha
<samrose> THFKA4: doing initial rebuild now so good to know :)
<gchristensen> that was a bad default in some versions of the installer, and was fixed somewhat recently
<samrose> I actually didn't use the nixos-install, but instead dd image, then diable boot, then adjust configuration.nix, and now initial rebuild
<samrose> I found you all talking about it here in old IRC logs but wasn't clear what the overall deal was so good to know and thanks :)
<samrose> gchristensen: aha I see now https://github.com/NixOS/nixpkgs/pull/49328
<{^_^}> #49328 (by c0bw3b, 6 weeks ago, merged): [18.09] installation-device: set GC initial heap size to 1MB
<samueldr> :/ it feels like there's something going on with the aarch64 builders https://hydra.nixos.org/build/85805038 cancelled (I think) by lack of output (14400 timeout)
<samueldr> (or was it that timeout?)
<gchristensen> hmm
<samueldr> anyways, it's fewer than 10
<samueldr> there's yet to be a successfully marked build of 4.19 on hydra, some failing in 10 hours, some in four
<gchristensen> I love nixops' dry-activate flag
<gchristensen> makes me feel much much better about automating the deploys
<gchristensen> I am in a maze of little yak shaves, all alike
<samueldr> if there's anything I can do to help, ask
<gchristensen> I removed my remote builders from my host by mistake
<gchristensen> so I had to to fix a bug in my config to re-enable them, which involved fixing a bunch of weird hacks I did around secrets + my config, which involved fixing the source of the font "helvetica". finally I was able to get nixos-rebuild to start, which means I must now wait for my custom-patched notmuch to compile
<gchristensen> so once that finishes, I'll `switch` and then start the process of building the new system config for the builders and issuing that deploy.
<gchristensen> mysteriously, the `switch` caused my USB keyboard to fall away until I unplugged / replugged
<gchristensen> anyway, like I said -- lots of yaks all alike :P
pxc has joined #nixos-aarch64
<samrose> samueldr: is it enough to set line boot.kernelPackages = pkgs.linuxPackages_testing; in configuration.nix, and then make my edits to pkgs/os-specific/linux/kernel/common-config.nix and then run nixos-rebuild switch -I /mnt/usbdrive/nixpkgs in order to try and rebuild against the testing that is currently set to https://github.com/NixOS/nixpkgs/blob/master/pkgs/os-specific/linux/kernel/linux-testing.nix 4.20-rc5 unfortunately for
<samrose> me that combination led to building 4.19-rc3
<samueldr> did you check in your checkout that it is also 4.20-rc5?
<samueldr> and I'm unsure whether -I the/path is enough
<samueldr> yeah, but if you cloned nixpkgs earlier, or using e.g. the stable branch, it could be different than on master :)
<samrose> maybe there is a flag needed for nixos-rebuild beyond -I <my customized repo> ? This was a brand new clone
<samueldr> the annoying thing is that I never used -I on nixos-rebuild so I'm not sure, but it might be that you need to use -I /mnt/usbdrive
<samrose> how do you tell nixos to use the repo you've customized samueldr?
<samueldr> since it cannot find <nixpkgs> in the added path entry (-I only *adds*) it will fallback to the other path entry
<samueldr> using NIX_PATH=/etc/nixos for /etc/nixos/nixpkgs
<samueldr> through my system configuration :)
<samrose> ahh!
<samueldr> what I'm saying is: I hate giving an answer when I haven't explicitly tested and used it, but I think your -I parameter is wrong :)
<samueldr> >> Paths can also be specified between angle brackets, e.g. <nixpkgs>. This means that the directories listed in the environment variable NIX_PATH will be searched for the given file or directory name.
<samueldr> >> Add a path to the Nix expression search path. This option may be given multiple times. See the NIX_PATH environment variable for information on the semantics of the Nix search path. Paths added through -I take precedence over NIX_PATH.
<samueldr> so yeah
<samueldr> NIX_PATH=/foo/bar will make it search <nixpkgs> as /foo/bar/nixpkgs
<samueldr> samrose: does that look right?
<globin> you might want NIX_PATH=nixpkgs=/path/to/nixpkgs
<samueldr> that's an alternative too
<samrose> samueldr: I think you are totally right of course, I am going to try it now
pxc has quit [Ping timeout: 240 seconds]
pxc has joined #nixos-aarch64
<samrose> thanks samueldr globin
clr_ has quit [Remote host closed the connection]
pxc has quit [Ping timeout: 245 seconds]
<samrose> fwiw I tried NIX_PATH=nixpkgs=/path/to/nixpkgs nixos-rebuild switch -I /path/to/nixpkgs but somehow this is still not obeying my direction in configuration.nix to use pkgs.linuxPackages_testing
<samrose> aha I probably need the nixos-config flag like nixos-config=./test.nix
<samrose> although it should default to /etc/nixos/configuration.nix
pxc has joined #nixos-aarch64
orivej has quit [Ping timeout: 244 seconds]
<samrose> there's a setting for -I flag "-I nixpkgs="
<samrose> (I was forgetting to add it)
<samrose> ugh none of this appears to be working for me unfortunately as it looks like it's building copying path '/nix/store/fizpz8zx22pgnb87hxmam7kh2q5brdp6-linux-4.18.3.tar.xz' from 'https://cache.nixos.org'...
<samrose> trying NIX_PATH=nixpkgs=/path/to/nixpkgs;NIXOS_CONFIG=/etc/nixos/configuration.nix nixos-rebuild boot
<samrose> I am just going to let it roll and see what I get :)
orivej has joined #nixos-aarch64
pxc has quit [Ping timeout: 240 seconds]
pxc has joined #nixos-aarch64
pxc has quit [Ping timeout: 250 seconds]