mirror of
https://codeberg.org/puppe/financier-nix.git
synced 2025-12-20 08:22:18 +01:00
Initial commit
This commit is contained in:
commit
0d00fa5123
7 changed files with 121 additions and 0 deletions
15
shell.nix
Normal file
15
shell.nix
Normal 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
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue