<clever>
drozdziak1: the ssh is done by root, so it has a diff ~/.ssh/config
<clever>
Dr_Facepalm: i think you want wineWowPackages.base
<clever>
sure
<clever>
and its kind of hard to re-write the http -> https change, without it being an identical copy, lol
<clever>
do such minor changes really need them to agree to the new license?
<clever>
Mic92: checking the git history, the only change paumr did was http -> https in the readme, and matthewbauer just changed `rm` -> `rm -f` in linux-build-slave.nix
<clever>
dang, a ~3 year old issue!
<clever>
colemickens: that may be unreliable, depending on what the u-boot dtb is doing
<clever>
andoriyu: you can switch over to using the raw firmware
<clever>
andoriyu: the dtoverlay= doesnt work when using u-boot
<clever>
prsteele: you can also `nix edit nixpkgs#irssi` to view the nix expr that created those directions
<clever>
prsteele: it will run builder, with args, everything in env is an env var, and the things under inputDrvs will be build, and placed in the sandbox, the things in inputSrcs are raw source files
<clever>
simonpe^^: and userland threads are then simple to context switch, no native stack to deal with, just save the haskell stack+PC, and jmp somewhere else!
<clever>
simonpe^^: the native stack is basically unused, every chunk of ghc generated code will tail-call into the next, and maintain the haskell stack within the haskell heap
<clever>
simonpe^^: its all tail-calls, thats all GHC can generate!
<clever>
redmp: maybe?
<clever>
simonpe^^: but haskell, is a complicated web of tail-calls of native code...
<clever>
simonpe^^: for nix, the entire functional AST is just translated directly into a tree of value/thunk classes in c++, and lazy things are just a c++ function pointer and some args, forceValue then just recursively evals each thunk, until the required value is known
<clever>
haskell's implementation is far more complex, due to it being native rather then more interpreted
<clever>
simonpe^^: so i just tore open the nix source, and looked at the implementation!
<clever>
simonpe^^: as i was learning nix, i wanted to know, how can you write a functional lazy language in c??
<clever>
redmp: defaults will merge, mkForce can then override, same rules as nixos
<clever>
simonpe^^: i learned nix and haskell at the same time
<clever>
redmp: or use defaults to set common stuff?
<clever>
redmp: use map to turn a list of things into a list of `lib.mkMerge [ common per-machine ]` ?
<clever>
simonpe^^: so the same rootfs could boot on either, and nixos-rebuild switch on either
<clever>
simonpe^^: i once made an SD card, that had both arm and x86 builds of the same configuration.nix, with bootloaders for both x86 and rpi
<clever>
typo
<clever>
oops, parens shouldnt be there
<clever>
simonpe^^: you wind up with qemu's deps, not the targets deps!
<clever>
simonpe^^: qemu-user also breaks ldd, if qemu was dynamic
<clever>
redmp: and then you can freely use mkForce like you would normally in nixos
<clever>
redmp: this lets you specify multiple nixos modules, and each one can be in the form of { config, pkgs, ... }:
<clever>
s1341_: that complicates it more, its better to copy in that case
<clever>
s1341_: `nixos-rebuild boot` will update it
<clever>
s1341_: the same fileSystems."/nix" stuff you would use to mount anything else
<clever>
on the next boot, it will try to respect the configuration.nix from when you `nixos-rebuild build`, and it will find where you moved it
<clever>
s1341_: ideally, you would `nixos-rebuild build` with the new config for what is mounted to /nix, then switch to a livecd, and move the full contents over
2021-02-26
<clever>
but if the old state was lost, then it wont have the old things you had installed
<clever>
jimkooch: and .nix-profile should repair itself when you use nix-env
<clever>
jimkooch: defexpr is automatically updated when using nix-channel
2021-02-25
<clever>
and systemd saves the full dmesg buffer on startup
<clever>
cole-h: writing to /dev/kmsg will inject things into the dmesg buffer
<clever>
gchristensen: and at one point, i was booting my laptop from iscsi, and ipxe was emulating legacy ide, so grub didnt even need netboot support
<clever>
gchristensen: i did also boot some rpi's with iscsi root, because nfs has trouble with a 64bit server and 32bit client
<clever>
gchristensen: for my main desktop, i use it to store games for steam, because nfs has trouble with steam
<clever>
gchristensen: and this is then on the client side, how to list and connect (disconnect is -u instead of -l)
<clever>
then look thru it for something that matches you
<clever>
to list the bans
<clever>
awmv: /mode ##linux +b
<clever>
nf: because its reusing the same internal api as ${./foo.txt}, where $out is based on a hash of the contents, not a hash of how those contents got built
<clever>
zn60: you need to run a `chmod -R +w` over it to fix that
<clever>
zn60: $src is read-only, so the copy in $out will also be read-only
<clever>
,callPackage sshow
2021-02-19
<clever>
sterni: sometimes, but ive found it to be buggy
<clever>
attila_lendvai: it also tells you to :? on startup!
<clever>
attila_lendvai: as-in, `:p foo` in the repl, `:?` shows all cmds
<clever>
attila_lendvai: :p
<clever>
attila_lendvai: `nix repl` caches the contents of any file it parses
<clever>
attila_lendvai: you may need to restart `nix repl` after each change
<clever>
attila_lendvai: did you enable the service in the configuration.nix you supplied?
<clever>
you have to restore it one window at a time, then reboot chrome
<clever>
but if session buddy restores tabs, it loads EVERY SINGLE ONE
<clever>
the main problem, is that if chrome auto-restores tabs, they arent loaded, so it restores quickly
<clever>
i tried one-tab, and it failed at its ONE BLOODY JOB, and all of its state is reset after each startup, lol
<clever>
colemickens: i use session buddy in chrome to back that up
<clever>
if you close without restoring, its toast
<clever>
chrome does that too
<clever>
so the ram usage doubles on the spot
<clever>
colemickens: to make things worse, chrome tends to restore all 4000 of my tabs when that happens
<clever>
*
<clever>
steam and discord&
<clever>
colemickens: ive had even worse problems, chrome and discord will either fail to spawn chrome entirely (the sandbox breaks it), or the new chrome process fails to contact the old one, then double-opens my profile, corruption all cookies
<clever>
configuration.nix can then set options to make the module do something
<clever>
then you can just eval `config.foo` to see what all of the config contains
<clever>
that will load a local checkout of nixpkgs, and load a configuration.nix from a custom path
<clever>
attila_lendvai: you must instead do something like `nix repl ~/apps/nixpkgs/nixos --arg configuration ./configuration.nix`
<clever>
attila_lendvai: modules cant be loaded with callPackage
<clever>
`--option repeat 0` can be passed to nixos-rebuild to force it back off, incase you find yourself unable to rebuild
<clever>
attila_lendvai: you should also never edit anything in /nix/store/
<clever>
attila_lendvai: you can also add `repeat = 1` to /etc/nix/nix.conf, to make nix build everything twice, and fail if it cant product bit-identical results
<clever>
any non-valid files are ignored when checking if it exists, and are silently deleted upon starting a build
<clever>
attila_lendvai: nix wont register the product as valid in sqlite until the download completes and it matches the sha256 you claimed
<clever>
attila_lendvai: that shouldnt happen
<clever>
attila_lendvai: correct
<clever>
attila_lendvai: if you claim the sha256 didnt change, it uses the old build, because you said the contents are the same
<clever>
attila_lendvai: it computes $out based purely on the sha256
<clever>
matrix'd once more!
<clever>
if you use {} then you dont have to indent
<clever>
tpw_rules: indenting is just to let you skip using { and }
<clever>
and it just works
<clever>
correct, you can just throw toJSON output right into a yaml parser
<clever>
yaml is a superset of json, so any yaml parser will also accept json
<clever>
> builtins.toJSON { key = "value"; }
2021-02-16
<clever>
veleiro: i use `nix build` if i want progress reporting
<clever>
bqv: i have no idea what that bind is doing, i just remembered that :v shows how a value was defined
<clever>
thats the bind you wound up with
<clever>
> :v bind
<clever>
eyJhb: just fetch the right branch from the start!
<clever>
eyJhb: fetchgit doesnt fetch other branches, so that will already fail