flake init

This commit is contained in:
Rowan Torbitzky-Lane 2025-02-25 04:01:11 -06:00
parent 3c900613da
commit 15b1071938

37
flake.nix Normal file
View File

@ -0,0 +1,37 @@
{
description = "A flake for developing in a clojure environment with vscode";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11";
};
outputs = { self , nixpkgs, ... }:
let system = "x86_64-linux"; in
{
devShells."${system}".default =
let
pkgs = import nixpkgs {
inherit system;
};
in
pkgs.mkShell {
packages = with pkgs; [
clojure
clojure-lsp
leiningen
vscodium
(vscode-with-extensions.override {
vscode = vscodium;
vscodExtensions = pkgs.vscode-utils.extensionsFromVscodeMarketplace [
{
name = "calva";
publisher = "betterthantomorrow";
version = "2.0.486";
sha256sum = "";
}
];
})
];
};
};
}