blob: 839f5c069e5b2dbe9f5ac577524b374d5206443c (
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
scripts = {
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
'';
}
|