financier-nix/shell.nix
Martin Puppe 98ab6e58f1 Fix src for financier
We accidentally used to rely on the src for financier not having been
garbage-collected.
2020-09-21 10:47:08 +02:00

14 lines
No EOL
334 B
Nix

{ pkgs ? import <nixpkgs> {} }:
let
meta = import ./meta.nix;
src = (import ./helpers.nix).fetchFinancier { inherit (pkgs) fetchgit; inherit meta; };
in
pkgs.mkShell {
shellHook = ''
export FINANCIER_SRC="${src}"
export FINANCIER_NODE_VERSION="${meta.nodeVersion}"
'';
buildInputs = with pkgs; [
nodePackages.node2nix
];
}