diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-10-19 11:12:21 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-10-19 11:12:21 +0900 |
| commit | fea67022a933d8c55b89c1c96bc3a62661c1fd6e (patch) | |
| tree | ecd60d2aee0fc8f8af2bbd93b30a7c5e87825e06 /flake.nix | |
| parent | 21036e75a699a01a4b0383f40e1c96dc0a11560a (diff) | |
| download | phpstudy-180-slides-fea67022a933d8c55b89c1c96bc3a62661c1fd6e.tar.gz phpstudy-180-slides-fea67022a933d8c55b89c1c96bc3a62661c1fd6e.tar.zst phpstudy-180-slides-fea67022a933d8c55b89c1c96bc3a62661c1fd6e.zip | |
first commit
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..3bc1509 --- /dev/null +++ b/flake.nix @@ -0,0 +1,21 @@ +{ + description = "A basic flake with a shell"; + inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; + inputs.systems.url = "github:nix-systems/default"; + inputs.flake-utils = { + url = "github:numtide/flake-utils"; + inputs.systems.follows = "systems"; + }; + + outputs = + { nixpkgs, flake-utils, ... }: + flake-utils.lib.eachDefaultSystem ( + system: + let + pkgs = nixpkgs.legacyPackages.${system}; + in + { + devShells.default = pkgs.mkShell { packages = [ pkgs.typst ]; }; + } + ); +} |
