Skip to content
Unverified Commit 75ee1876 authored by Silvan Mosberger's avatar Silvan Mosberger Committed by GitHub
Browse files

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.
parent 0416089d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment