start repl on nix develop

This commit is contained in:
Anish Lakhwara 2022-03-25 17:18:37 +10:00
parent dfba351059
commit 66014852fe

View file

@ -1,5 +1,5 @@
{
description = "Sketches in Quil";
description = "tumblr RSS feed fixer";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs";
@ -8,14 +8,19 @@
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
'';
};
});
}