mirror of
https://code.forgejo.org/actions/checkout.git
synced 2024-11-23 18:04:51 +01:00
26 lines
714 B
Nix
26 lines
714 B
Nix
|
{
|
||
|
description = "A Nix wrapped development environment";
|
||
|
|
||
|
inputs = {
|
||
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-23.11-small";
|
||
|
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable-small";
|
||
|
flake-utils.url = "github:numtide/flake-utils";
|
||
|
};
|
||
|
|
||
|
outputs = { self, nixpkgs, nixpkgs-unstable, flake-utils }:
|
||
|
flake-utils.lib.eachDefaultSystem (system:
|
||
|
let
|
||
|
pkgs = nixpkgs.legacyPackages.${system};
|
||
|
pkgs-unstable = nixpkgs-unstable.legacyPackages.${system};
|
||
|
in
|
||
|
{
|
||
|
devShell = pkgs.mkShell
|
||
|
rec {
|
||
|
buildInputs = with pkgs;
|
||
|
[
|
||
|
nodePackages.typescript-language-server
|
||
|
];
|
||
|
};
|
||
|
});
|
||
|
}
|