3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/yarn2nix-moretea
Silvan Mosberger 75ee18766a
yarn2nix: Don't pass yarnNix to mkDerivation (#92856)
The generated yarnNix file doesn't need to be part of the mkDerivation.
And doing so prevents other platforms from reproducibly instantiating
it. With this change you can e.g. do

  darwinPkgs.yarn2nix.mkYarnPackage {
    # ...
    yarnNix = pkgs.yarn2nix.mkYarnNix {
      yarnLock = ./yarn.lock;
    };
  }

Which is a darwin derivation, but can still be instantiated reproducibly on Linux.
2020-07-10 16:24:03 +00:00
..
yarn2nix yarn2nix: Don't pass yarnNix to mkDerivation (#92856) 2020-07-10 16:24:03 +00:00
fetch-source.nix yarn2nix-moretea: v1.0.0-36-g3f2dbb0 -> v1.0.0-39-g9e7279e (#73911) 2019-11-22 14:27:11 +00:00
generate.sh