nix: add direnv support

This commit is contained in:
Soramane
2025-07-15 17:53:20 +10:00
parent ca93616da7
commit b1019d1192
2 changed files with 11 additions and 6 deletions
+10 -6
View File
@@ -30,11 +30,15 @@
default = caelestia-cli;
});
# devShells = forAllSystems (pkgs: {
# default = pkgs.mkShellNoCC {
# inputsFrom = [self.packages.${pkgs.system}.caelestia-cli];
# packages = [inputs.caelestia-shell.packages.${pkgs.system}.default];
# };
# });
devShells = forAllSystems (pkgs: {
default = pkgs.mkShellNoCC {
inputsFrom = [self.packages.${pkgs.system}.caelestia-cli];
packages = [
(pkgs.writeShellScriptBin "caelestia" ''
cd src && python -m caelestia "$@"
'')
];
};
});
};
}