42 lines
911 B
Nix
42 lines
911 B
Nix
|
|
{
|
|
description = "The Flake";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
flake-utils.url = "github:numtide/flake-utils";
|
|
};
|
|
|
|
outputs = inputs: with inputs;
|
|
flake-utils.lib.eachDefaultSystem
|
|
(system:
|
|
let
|
|
pkgs = import nixpkgs {
|
|
inherit system;
|
|
};
|
|
|
|
nativeBuildInputs = with pkgs; [
|
|
];
|
|
|
|
buildInputs = with pkgs; [
|
|
stdenv
|
|
clojure
|
|
clojure-lsp
|
|
clj-kondo
|
|
leiningen
|
|
];
|
|
|
|
nativeLibs = with pkgs; [
|
|
];
|
|
in rec
|
|
{
|
|
devShell = pkgs.mkShell {
|
|
nativeBuildInputs = nativeBuildInputs;
|
|
buildInputs = buildInputs;
|
|
nativeLibs = nativeLibs;
|
|
};
|
|
defaultPackage = pkgs.libsForQt5.callPackage ./default.nix { };
|
|
}
|
|
);
|
|
}
|