| 12 Sep 2022 |
k0kada (he/him) | TIL: using builtins.trace to print user friendly messages is a bad idea :D | 18:58:46 |
k0kada (he/him) | Who would know right? /s | 18:58:50 |
ckie (they/them) | k0kada: i haven't gotten to the gh response yet but i still wonder why we can't just have a mkDoomEmacs flake output like nixpkgs | 19:00:52 |
ckie (they/them) | nix-repl> (builtins.getFlake "nixpkgs").outputs.legacyPackages.x86_64-linux.mkShell
{ __functionArgs = { ... }; __functor = «lambda @ /nix/store/npgmcygdkbqsky140qk9jp56dsmr9ys8-source/lib/trivial.nix:430:19»; override = { ... }; }
| 19:00:54 |
ckie (they/them) | mkShell is kind of special, here's a different one | 19:01:20 |
ckie (they/them) | nix-repl> (builtins.getFlake "nixpkgs").outputs.legacyPackages.x86_64-linux.mkNvidiaContainerPkg
copying '/nix/store/npgmcygdkbqsky140qk9jp56dsmr9ys8-source'«lambda @ /nix/store/npgmcygdkbqsky140qk9jp56dsmr9ys8-source/pkgs/top-level/all-packages.nix:20393:26»
| 19:01:21 |
ckie (they/them) |  Download image.png | 19:01:46 |
k0kada (he/him) | In reply to @ckie:ckie.dev
nix-repl> (builtins.getFlake "nixpkgs").outputs.legacyPackages.x86_64-linux.mkShell
{ __functionArgs = { ... }; __functor = «lambda @ /nix/store/npgmcygdkbqsky140qk9jp56dsmr9ys8-source/lib/trivial.nix:430:19»; override = { ... }; }
We can, just not as a package | 19:01:52 |
ckie (they/them) | i mean that says legacypackage | 19:02:01 |
k0kada (he/him) | In reply to @ckie:ckie.dev i mean that says legacypackage Well, we can, but this is kinda looks like we are abusing legacyPackages | 19:03:07 |
k0kada (he/him) | legacyPackages was created only for nixpkgs, it wasn't supposed to be used outside it | 19:03:40 |
ckie (they/them) | it seems flakes are missing what we need | 19:03:55 |
k0kada (he/him) | Also, override is meant to be used in exactly those cases IMO | 19:04:00 |
ckie (they/them) | it seems very wrong to me is all | 19:04:14 |
ckie (they/them) | you're making your doom emacs with nde | 19:04:26 |
k0kada (he/him) | In reply to @ckie:ckie.dev it seems flakes are missing what we need We can use lib to expose functions | 19:04:28 |
ckie (they/them) | you're not changing nde's doom emacs | 19:04:30 |
k0kada (he/him) | It is just that it isn't official | 19:04:34 |
k0kada (he/him) | In reply to @ckie:ckie.dev you're making your doom emacs with nde I am not making my doom-emacs NDE | 19:04:58 |
k0kada (he/him) | We are making the default doom-emacs config NDE | 19:05:12 |
k0kada (he/him) | My config is way more complex than the one in repo | 19:05:27 |
ckie (they/them) | but that implies it includes everything | 19:05:33 |
ckie (they/them) | we don't ship all the binaries for spellchecking and stuff | 19:05:47 |
k0kada (he/him) | In reply to @ckie:ckie.dev but that implies it includes everything This is why we call it example and not full | 19:05:57 |
ckie (they/them) | but there's no "nde's emacs" | 19:06:23 |
ckie (they/them) | if it doesn't have the batteries included | 19:06:29 |
k0kada (he/him) | Also, most users use the HM module that still has no default config | 19:06:32 |
k0kada (he/him) | In reply to @ckie:ckie.dev but there's no "nde's emacs" Ok, what about this? | 19:08:01 |
k0kada (he/him) | I can remove the default | 19:08:08 |
k0kada (he/him) | This way the user had to type explicitly that they want the example output | 19:08:38 |