47 lines
1.1 KiB
Nix
47 lines
1.1 KiB
Nix
{
|
|
description = ":3";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
flake-parts.url = "github:hercules-ci/flake-parts";
|
|
npm-package = {
|
|
url = "github:netbrain/npm-package";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
};
|
|
|
|
outputs = inputs@{ nixpkgs, flake-parts, npm-package, ... }:
|
|
flake-parts.lib.mkFlake {inherit inputs;} {
|
|
systems = [
|
|
"x86_64-linux"
|
|
];
|
|
|
|
perSystem = {self', pkgs, system, ...}:
|
|
{
|
|
# packages.default = self'.packages.masons;
|
|
# packages.masons = pkgs.stdenv.mkDerivation {
|
|
# pname = "Masons";
|
|
# version = "0.0.1";
|
|
|
|
# src = ./.;
|
|
|
|
# nativeBuildInputs = with pkgs; [ ];
|
|
# buildInputs = [ ];
|
|
|
|
# };
|
|
|
|
devShells.default = pkgs.mkShell {
|
|
packages = [
|
|
pkgs.quint
|
|
(npm-package.lib.${system}.npmPackage {
|
|
name = "quint-language-server";
|
|
packageName = "@informalsystems/quint-language-server";
|
|
version = "0.17.0";
|
|
})
|
|
];
|
|
};
|
|
|
|
};
|
|
};
|
|
}
|