mirror of
https://codeberg.org/puppe/financier-nix.git
synced 2025-12-20 08:22:18 +01:00
Fix src for financier
We accidentally used to rely on the src for financier not having been garbage-collected.
This commit is contained in:
parent
25c955aac5
commit
98ab6e58f1
4 changed files with 10 additions and 4 deletions
|
|
@ -2,4 +2,8 @@ node2nix "-$FINCANCIER_NODE_VERSION" --development \
|
|||
--input "$FINANCIER_SRC/package.json" \
|
||||
--lock "$FINANCIER_SRC/package-lock.json" \
|
||||
--supplement-input supplement.json \
|
||||
--composition node2nix.nix
|
||||
--composition node2nix.nix
|
||||
|
||||
# Fix the src attribute for the financier package
|
||||
pattern='\(\s*\).*'$(echo $FINANCIER_SRC | sed 's/\//\\\//g')'.*'
|
||||
sed -i "s/$pattern/\1src = (import .\/helpers.nix).fetchFinancier { inherit fetchgit; };/" node-packages.nix
|
||||
Loading…
Add table
Add a link
Reference in a new issue