mirror of
https://codeberg.org/puppe/financier-nix.git
synced 2025-12-20 08:22:18 +01:00
Formatting (nixfmt)
This commit is contained in:
parent
e71e35cb55
commit
c0fd2b96a5
6 changed files with 32 additions and 41 deletions
26
shell.nix
26
shell.nix
|
|
@ -1,14 +1,14 @@
|
|||
{ pkgs ? import <nixpkgs> {} }:
|
||||
{ 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
|
||||
];
|
||||
}
|
||||
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 ];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue