nodePackages.expo-cli: use .override
generate.sh seems to remove changes to node-env.nix, fortunately .override seems to work so .overrideNodeAttrs does not actually seem necessary. Not sure why I did not use it before.
This commit is contained in:
@@ -59,8 +59,7 @@ let
|
||||
buildInputs = [ pkgs.phantomjs2 ];
|
||||
};
|
||||
|
||||
expo-cli = super."expo-cli".overrideNodeAttrs (attrs: {
|
||||
__acceptOverrideNodeAttrsCanBeDroppedAnytime = true;
|
||||
expo-cli = super."expo-cli".override (attrs: {
|
||||
# The traveling-fastlane-darwin optional dependency aborts build on Linux.
|
||||
dependencies = builtins.filter (d: d.packageName != "@expo/traveling-fastlane-${if stdenv.isLinux then "darwin" else "linux"}") attrs.dependencies;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user