This commit is contained in:
Mira
2026-04-13 21:56:16 +03:00
commit cfe2102f51
2 changed files with 35 additions and 0 deletions
Executable
+1
View File
@@ -0,0 +1 @@
use flake
+34
View File
@@ -0,0 +1,34 @@
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils, ... }:
flake-utils.lib.eachSystem [ "x86_64-linux" ] (system:
let
pkgs = import nixpkgs {
inherit system;
config.allowUnfree = true;
};
tsc = pkgs.writeShellScriptBin "tsc" ''
exec pnpm exec tsc "$@"
'';
in
{
devShells.default = pkgs.mkShell {
buildInputs =
with pkgs; [
nodejs pnpm tsc
zip unzip rsync
pkg-config openssl.dev openssl pwgen
jq curl git asciinema
];
};
devShell = self.devShells.${system}.default;
}
);
}