From b1e8776ee22ca0dc884fa98c5d216c5b8807ab99 Mon Sep 17 00:00:00 2001
From: Michele Alberti <michele.alberti@cea.fr>
Date: Thu, 6 Aug 2020 10:54:43 +0200
Subject: [PATCH] [Nix] Fetch and use unstable packages with RTTI fix.

---
 nix/default.nix | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/nix/default.nix b/nix/default.nix
index a173d234..d4cbcf28 100644
--- a/nix/default.nix
+++ b/nix/default.nix
@@ -3,12 +3,12 @@
    ocaml_version ? "ocamlPackages_latest.ocaml", plugins ? { } }:
 
 let
-     unstablePckgs = import (builtins.fetchGit {
+     unstablePckgs = import (pkgs.fetchFromGitHub {
          # Descriptive name to make the store path easier to identify
-         name = "With-RTTI-fix";
-         url = "https://github.com/NixOS/nixpkgs/";
-         ref = "master";
+         owner = "nixos";
+         repo = "nixpkgs";
          rev = "0f0b14258be090303c5013c2e29234040fa9766c";
+         sha256 = "0000000000000000000000000000000000000000000000000000";
      }) {};
 in
 plugins.helpers.simple_plugin
-- 
GitLab