mirror of
https://codeberg.org/puppe/financier-nix.git
synced 2025-12-20 00:12:17 +01:00
14 lines
302 B
Nix
14 lines
302 B
Nix
|
|
{ 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
|
||
|
|
];
|
||
|
|
}
|