Template : Add SOURCE_DATE_EPOCH.

This commit is contained in:
Dmitry Voronin 2024-05-07 22:45:53 +03:00
parent 2b1ca4f29a
commit b0fe4f6ec7
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k
4 changed files with 9 additions and 4 deletions

View file

@ -49,10 +49,11 @@
];
buildInputs = with pkgs; [];
GRADLE_OPTS = "-Dorg.gradle.project.android.aapt2FromMavenOverride=${androidSdk}/libexec/android-sdk/build-tools/${buildTools}/aapt2";
JAVA_HOME = "${jdk}";
LD_LIBRARY_PATH = "${lib.makeLibraryPath buildInputs}";
ANDROID_SDK_ROOT = "${androidSdk}/libexec/android-sdk/";
GRADLE_OPTS = "-Dorg.gradle.project.android.aapt2FromMavenOverride = ${androidSdk}/libexec/android-sdk/build-tools/${buildTools}/aapt2";
JAVA_HOME = "${jdk}";
LD_LIBRARY_PATH = "${lib.makeLibraryPath buildInputs}";
ANDROID_SDK_ROOT = "${androidSdk}/libexec/android-sdk/";
SOURCE_DATE_EPOCH = "${toString(self.lastModified)}";
};
};
};

View file

@ -14,6 +14,8 @@
default = pkgs.mkShell rec {
nativeBuildInputs = with pkgs; [ ];
buildInputs = with pkgs; [ ];
SOURCE_DATE_EPOCH = "${toString(self.lastModified)}";
};
};
};

View file

@ -47,6 +47,7 @@
tex
];
buildInputs = with pkgs; [ ];
SOURCE_DATE_EPOCH = "${toString(self.lastModified)}";
};
};
};

View file

@ -32,6 +32,7 @@
xorg.libXi
];
LD_LIBRARY_PATH = "${lib.makeLibraryPath buildInputs}";
SOURCE_DATE_EPOCH = "${toString(self.lastModified)}";
};
};
}