start repl on nix develop

main
Anish Lakhwara 2022-03-25 17:18:37 +10:00
parent dfba351059
commit 66014852fe
1 changed files with 17 additions and 12 deletions

View File

@ -1,21 +1,26 @@
{
description = "Sketches in Quil";
description = "tumblr RSS feed fixer";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils }:
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system:
let pkgs = nixpkgs.legacyPackages.${system};
in {
devShell = pkgs.mkShell {
buildInputs = [
pkgs.leiningen
pkgs.jdk11
pkgs.clojure
];
};
});
let pkgs = nixpkgs.legacyPackages.${system};
in
{
devShell = pkgs.mkShell {
buildInputs = [
pkgs.leiningen
pkgs.jdk11
pkgs.clojure
];
shellHook = ''
alias repl='lein repl';
repl
'';
};
});
}