-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathshell.nix
More file actions
43 lines (38 loc) · 1.14 KB
/
shell.nix
File metadata and controls
43 lines (38 loc) · 1.14 KB
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
33
34
35
36
37
38
39
40
41
42
43
let
moz-overlay = import (builtins.fetchTarball https://github.com/mozilla/nixpkgs-mozilla/archive/master.tar.gz);
nixpkgs =
import (builtins.fetchTarball {
name = "nixos-unstable-2020-02-16";
url = https://github.com/nixos/nixpkgs/archive/56c4800e7f9d57b102bb53326f24c10847cec8a1.tar.gz;
sha256 = "0r6fwzxs9ywhff8mp6hx2a1bzp8pwkc5qy3fv03i1k37rfabq4r8";
}) {
overlays = [ moz-overlay ];
};
rust-channel = nixpkgs.rustChannelOf { date = "2021-03-27"; channel = "nightly"; };
rust-platform = (nixpkgs.makeRustPlatform {
rustc = rust-channel.rust;
cargo = rust-channel.cargo;
}) // {
rustcSrc = ''${rust-channel.rust-src}/lib/rustlib/src/rust/src'';
};
in with nixpkgs;
stdenv.mkDerivation {
name = "hedlx-bbs";
RUST_SRC_PATH = ''${rust-channel.rust-src}/lib/rustlib/src/rust/src'';
buildInputs = [
rust-channel.rust
rust-channel.rust-src
imagemagick7
pngcrush
pngnq
rustracer
cargo-edit
postgresql.lib
postgresql
(callPackage ./nix/pgquarrel.nix { postgresql = postgresql_11; })
# front-clj
leiningen
# front-elm
nodejs-10_x
];
}