don't use a specific nodejs version but use nixpkgs default

This commit is contained in:
778a69cd 2024-03-01 15:06:46 +01:00
parent 9894330bff
commit 0cec96ee41

View file

@ -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
];
};
});