deduplicate name/version
This commit is contained in:
parent
8cf96c4282
commit
d2aae92692
4 changed files with 9 additions and 11 deletions
|
|
@ -13,12 +13,13 @@
|
|||
|
||||
perSystem = { config, system, pkgs, lib, ... }:
|
||||
let
|
||||
packageJson = builtins.fromJSON (builtins.readFile ./package.json);
|
||||
runtimeDeps = [ ]; # e. g. pkgs.jq
|
||||
runtimePath = lib.makeSearchPath "bin" runtimeDeps;
|
||||
|
||||
basePackage = {
|
||||
pname = "name-placeholder";
|
||||
version = "0.1.0";
|
||||
pname = packageJson.name;
|
||||
version = packageJson.version;
|
||||
src = ./.;
|
||||
npmDepsHash = "sha256-EvM5ZyNQEW8RYFCfI7Bkju1qL+1y8nleXPAX3IKce78=";
|
||||
npmBuildScript = "build";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue