financier-nix/shell.nix

15 lines
352 B
Nix
Raw Normal View History

2021-07-31 16:58:29 +02:00
{ pkgs ? import <nixpkgs> { } }:
2020-09-10 16:39:11 +02:00
let
2021-07-31 16:58:29 +02:00
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 ];
}