don't use a specific nodejs version but use nixpkgs default
This commit is contained in:
parent
9894330bff
commit
0cec96ee41
|
@ -55,9 +55,6 @@
|
|||
};
|
||||
|
||||
mobilizon-frontend =
|
||||
let
|
||||
nodejs = pkgs.nodejs-18_x;
|
||||
in
|
||||
napalm.legacyPackages."${system}".buildPackage
|
||||
(filter {
|
||||
root = ./.;
|
||||
|
@ -70,7 +67,7 @@
|
|||
] ++ unrelatedDirs;
|
||||
})
|
||||
{
|
||||
inherit nodejs;
|
||||
inherit (pkgs) nodejs;
|
||||
nativeBuildInputs = [ pkgs.imagemagick ];
|
||||
npmCommands = [ "npm install" "npm run build" ];
|
||||
# Keep this in sync with the content of ./patches/
|
||||
|
@ -104,7 +101,7 @@
|
|||
mix2nix
|
||||
cmake
|
||||
imagemagick
|
||||
nodejs-18_x
|
||||
nodejs
|
||||
];
|
||||
};
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue