Initial commit

This commit is contained in:
Martin Puppe 2020-09-10 16:39:11 +02:00
commit 0d00fa5123
7 changed files with 121 additions and 0 deletions

15
shell.nix Normal file
View file

@ -0,0 +1,15 @@
{ pkgs ? import <nixpkgs> {} }:
let
meta = import ./meta.nix;
src = pkgs.fetchgit { inherit (meta) url rev sha256; };
in
pkgs.mkShell {
shellHook = ''
export FINANCIER_SRC="${src}"
export FINANCIER_NODE_VERSION="${meta.nodeVersion}"
'';
buildInputs = with pkgs; [
nodePackages.node2nix
nix-prefetch-scripts
];
}