about summary refs log tree commit diff
path: root/third_party/immer/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/immer/default.nix')
-rw-r--r--third_party/immer/default.nix10
1 files changed, 5 insertions, 5 deletions
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 <nixpkgs> {};
+{ 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;