Begin
This commit is contained in:
46
flake.nix
Normal file
46
flake.nix
Normal file
@ -0,0 +1,46 @@
|
||||
{
|
||||
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";
|
||||
})
|
||||
];
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user