propeller/flake.nix
Rowan Torbitzky-Lane f700934f5d
Some checks are pending
CI / test-clj (push) Waiting to run
CI / test-cljs (push) Waiting to run
add default back to the flake
2025-02-25 13:41:33 -06:00

39 lines
973 B
Nix

{
description = "A flake for developing in a clojure environment with vscode";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11";
};
outputs = { nixpkgs, ... }:
let system = "x86_64-linux"; in
{
devShells."${system}".default =
let
pkgs = nixpkgs.legacyPackages."${system}";
in
pkgs.mkShellNoCC {
packages = with pkgs; [
clojure
clojure-lsp
leiningen
(vscode-with-extensions.override {
vscode = vscodium;
vscodeExtensions = pkgs.vscode-utils.extensionsFromVscodeMarketplace [
{
name = "calva";
publisher = "betterthantomorrow";
version = "v2.0.486";
sha256 = "sha256-pL+OgJvIK5eqE5Kr/wDeJ+2BGUT9Uj42coWSHtbPolk=";
}
];
})
];
shellHook = ''
echo "starting codium"
codium .
'';
};
};
}