flake init
This commit is contained in:
parent
3c900613da
commit
15b1071938
37
flake.nix
Normal file
37
flake.nix
Normal 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 = "";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
})
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user