Unverified Commit 0bc340c1 authored by Peder Bergebakken Sundt's avatar Peder Bergebakken Sundt Committed by GitHub
Browse files

treewide: use src.name in sourceRoot (#386589)

parents 4299463c 2aab1fc0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@ let
          hash = "sha256-VwIL1529CW9MLK4N9jHHddSSZD5RsJ5bWGWqGJ751C0=";
        };

        sourceRoot = "source/scripts";
        sourceRoot = "${self.src.name}/scripts";

        passthru = {
          updateScript = unstableGitUpdater { };
+2 −2
Original line number Diff line number Diff line
@@ -43,7 +43,7 @@ let
    pname = "authentik-website-deps";
    inherit src version meta;

    sourceRoot = "source/website";
    sourceRoot = "${src.name}/website";

    outputHash = "sha256-AnQpjCoCTzm28Wl/t3YHx0Kl0CuMHL2OgRjRB1Trrsw=";
    outputHashMode = "recursive";
@@ -75,7 +75,7 @@ let
      substituteInPlace package.json --replace-fail 'cross-env ' ""
    '';

    sourceRoot = "source/website";
    sourceRoot = "${src.name}/website";

    buildPhase = ''
      runHook preBuild
+1 −1
Original line number Diff line number Diff line
@@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
    pname = "bitbox-web";
    inherit version;
    inherit src;
    sourceRoot = "source/frontends/web";
    sourceRoot = "${src.name}/frontends/web";
    npmDepsHash = "sha256-eazc3OIusY8cbaF8RJOrVcyWPQexcz6lZYLLCpB1mHc=";
    installPhase = "cp -r build $out";
  };
+1 −1
Original line number Diff line number Diff line
@@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
    echo -n 'v${version} DEVELOPER=1 DEVOPTS=no-error USE_LIBPCRE=YesPlease NO_PERL=YesPlease NO_EXPAT=YesPlease NO_TCLTK=YesPlease NO_GETTEXT=YesPlease NO_PYTHON=YesPlease' > source/_build/deps/git-distribution.version
    echo -n 'v${version}' > source/_build/deps/git-distribution/version
  '';
  sourceRoot = "source";
  sourceRoot = src.name;

  buildFlags = [ "git" ];

+1 −1
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@ buildGoModule rec {

  vendorHash = "sha256-BucMDbubJ+gEb5tBBSOf+P0A+KkDnUSAJRALyL9uhXU=";

  sourceRoot = "source/src";
  sourceRoot = "${src.name}/src";

  ldflags = [
    "-s"
Loading