Fix src for financier

We accidentally used to rely on the src for financier not having been
garbage-collected.
This commit is contained in:
Martin Puppe 2020-09-21 10:42:34 +02:00
parent 25c955aac5
commit 98ab6e58f1
4 changed files with 10 additions and 4 deletions

View file

@ -3,14 +3,12 @@
}, system ? builtins.currentSystem}:
let
meta = import ./meta.nix;
derivations = import ./node2nix.nix {
inherit pkgs system;
};
in
derivations // {
package = derivations.package.overrideAttrs (oldAttrs: rec {
src = pkgs.fetchgit { inherit (meta) url rev sha256; };
# Puppeteer (a dependency for testing) would try to download Chromium
# during installation. Downloading Chromium would not work though because
# Nix builds are sandboxed and cannot download arbitrary things. We