mirror of
https://github.com/thiloho/archtika.git
synced 2025-11-22 02:41:35 +01:00
Use Nix importNpmLock to not need to specify sha256 dependency hash
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
stdenv,
|
||||
buildNpmPackage,
|
||||
importNpmLock,
|
||||
symlinkJoin,
|
||||
}:
|
||||
|
||||
@@ -13,7 +14,10 @@ let
|
||||
inherit pname version;
|
||||
name = "archtika-web-app";
|
||||
src = ../web-app;
|
||||
npmDepsHash = "sha256-lO+4r/9jEbjkl6e2Dg84WJNin9zYgR7bmdPiBlHFxf0=";
|
||||
npmDeps = importNpmLock {
|
||||
npmRoot = ../web-app;
|
||||
};
|
||||
npmConfigHook = importNpmLock.npmConfigHook;
|
||||
npmFlags = [ "--legacy-peer-deps" ];
|
||||
installPhase = ''
|
||||
mkdir -p $out/web-app
|
||||
|
||||
Reference in New Issue
Block a user