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
+1
View File
@@ -0,0 +1 @@
use flake
+10 -6
View File
@@ -30,11 +30,15 @@
default = caelestia-cli; default = caelestia-cli;
}); });
# devShells = forAllSystems (pkgs: { devShells = forAllSystems (pkgs: {
# default = pkgs.mkShellNoCC { default = pkgs.mkShellNoCC {
# inputsFrom = [self.packages.${pkgs.system}.caelestia-cli]; inputsFrom = [self.packages.${pkgs.system}.caelestia-cli];
# packages = [inputs.caelestia-shell.packages.${pkgs.system}.default]; packages = [
# }; (pkgs.writeShellScriptBin "caelestia" ''
# }); cd src && python -m caelestia "$@"
'')
];
};
});
}; };
} }