blob: 75b14fbd6c7bd0b9c45ac3a0b1ef52d222bfd058 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
{ pkgs ? import <nixpkgs> { } }:
let
script = {
build = pkgs.writeShellScriptBin "build" /* sh */ ''
echo "this could be your buildscript"
'';
run = pkgs.writeShellScriptBin "run" /* sh */ ''
echo "this could be your run script"
'';
};
in pkgs.mkShell {
buildInputs = with pkgs; [
lessc
script.build
script.run
elmPackages.elm
elmPackages.elm-format
];
shellHook = ''
HISTFILE=${toString ./.history}
'';
}
|