21 lines
394 B
Nix
21 lines
394 B
Nix
{
|
|
description = "Linux Package Manager";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
|
};
|
|
|
|
outputs = {
|
|
self,
|
|
nixpkgs,
|
|
...
|
|
}: let
|
|
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
|
in {
|
|
devShell.x86_64-linux = pkgs.mkShell {
|
|
packages = [pkgs.nodePackages.pnpm pkgs.nodejs-18_x];
|
|
};
|
|
|
|
formatter.x86_64-linux = pkgs.alejandra;
|
|
};
|
|
}
|