automuse/flake.nix
Xe Iaso bdd4631486 initial commit
Signed-off-by: Xe Iaso <me@xeiaso.net>
2023-04-12 08:42:14 -04:00

22 lines
505 B
Nix

{
inputs = {
nixpkgs.url = "nixpkgs/nixos-unstable";
utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, utils }:
utils.lib.eachDefaultSystem (system:
let pkgs = nixpkgs.legacyPackages.${system}; in
{
devShells.default = pkgs.mkShell {
buildInputs = with pkgs; [
nodejs-18_x
deno
];
shellHook = ''
export PATH="$PATH":$(pwd)/node_modules/.bin
'';
};
});
}