From 3fcebfdaa1bedea6d40fe90cdf4885c2b5d36da2 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Wed, 15 Jul 2020 08:30:22 +0100 Subject: chore(3p/immer): Amend derivation to work in depot Change-Id: If580b76b7b7170ce7840d3a97c3a547c29405a6f Reviewed-on: https://cl.tvl.fyi/c/depot/+/1174 Tested-by: BuildkiteCI Reviewed-by: Kane York --- third_party/immer/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'third_party') diff --git a/third_party/immer/default.nix b/third_party/immer/default.nix index 2eb7dbb1f80b..f9225f9fd713 100644 --- a/third_party/immer/default.nix +++ b/third_party/immer/default.nix @@ -1,12 +1,12 @@ -with import {}; +{ pkgs, lib, ... }: -stdenv.mkDerivation rec { +pkgs.llvmPackages.libcxxStdenv.mkDerivation rec { name = "immer-git"; version = "git"; - src = fetchGit ./.; - nativeBuildInputs = [ cmake ]; + src = ./.; + nativeBuildInputs = [ pkgs.cmake ]; dontBuild = true; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://github.com/arximboldi/immer"; description = "Postmodern immutable data structures for C++"; license = licenses.boost; -- cgit 1.4.1