automuse/flake.nix

22 lines
505 B
Nix
Raw Normal View History

{
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
'';
};
});
}