aboutsummaryrefslogtreecommitdiff
path: root/shell.nix
diff options
context:
space:
mode:
Diffstat (limited to 'shell.nix')
-rw-r--r--shell.nix24
1 files changed, 2 insertions, 22 deletions
diff --git a/shell.nix b/shell.nix
index d6ae5a552..20cf4133b 100644
--- a/shell.nix
+++ b/shell.nix
@@ -1,33 +1,13 @@
{ useClang ? false }:
-with import <nixpkgs> {};
+with import (builtins.fetchGit { url = https://github.com/NixOS/nixpkgs.git; ref = "release-18.03"; }) {};
with import ./release-common.nix { inherit pkgs; };
(if useClang then clangStdenv else stdenv).mkDerivation {
name = "nix";
- buildInputs =
- [ curl bison flex libxml2 libxslt
- bzip2 xz brotli
- pkgconfig sqlite libsodium boehmgc
- docbook5 docbook5_xsl
- autoconf-archive
- (aws-sdk-cpp.override {
- apis = ["s3"];
- customMemoryManagement = false;
- })
- autoreconfHook
-
- # For nix-perl
- perl
- perlPackages.DBDSQLite
-
- # Tests
- git
- mercurial
- ]
- ++ lib.optional stdenv.isLinux libseccomp;
+ buildInputs = buildDeps ++ tarballDeps ++ perlDeps;
inherit configureFlags;