Template : Add SOURCE_DATE_EPOCH.
This commit is contained in:
parent
2b1ca4f29a
commit
b0fe4f6ec7
|
@ -49,10 +49,11 @@
|
||||||
];
|
];
|
||||||
buildInputs = with pkgs; [];
|
buildInputs = with pkgs; [];
|
||||||
|
|
||||||
GRADLE_OPTS = "-Dorg.gradle.project.android.aapt2FromMavenOverride=${androidSdk}/libexec/android-sdk/build-tools/${buildTools}/aapt2";
|
GRADLE_OPTS = "-Dorg.gradle.project.android.aapt2FromMavenOverride = ${androidSdk}/libexec/android-sdk/build-tools/${buildTools}/aapt2";
|
||||||
JAVA_HOME = "${jdk}";
|
JAVA_HOME = "${jdk}";
|
||||||
LD_LIBRARY_PATH = "${lib.makeLibraryPath buildInputs}";
|
LD_LIBRARY_PATH = "${lib.makeLibraryPath buildInputs}";
|
||||||
ANDROID_SDK_ROOT = "${androidSdk}/libexec/android-sdk/";
|
ANDROID_SDK_ROOT = "${androidSdk}/libexec/android-sdk/";
|
||||||
|
SOURCE_DATE_EPOCH = "${toString(self.lastModified)}";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -14,6 +14,8 @@
|
||||||
default = pkgs.mkShell rec {
|
default = pkgs.mkShell rec {
|
||||||
nativeBuildInputs = with pkgs; [ ];
|
nativeBuildInputs = with pkgs; [ ];
|
||||||
buildInputs = with pkgs; [ ];
|
buildInputs = with pkgs; [ ];
|
||||||
|
|
||||||
|
SOURCE_DATE_EPOCH = "${toString(self.lastModified)}";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -47,6 +47,7 @@
|
||||||
tex
|
tex
|
||||||
];
|
];
|
||||||
buildInputs = with pkgs; [ ];
|
buildInputs = with pkgs; [ ];
|
||||||
|
SOURCE_DATE_EPOCH = "${toString(self.lastModified)}";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -32,6 +32,7 @@
|
||||||
xorg.libXi
|
xorg.libXi
|
||||||
];
|
];
|
||||||
LD_LIBRARY_PATH = "${lib.makeLibraryPath buildInputs}";
|
LD_LIBRARY_PATH = "${lib.makeLibraryPath buildInputs}";
|
||||||
|
SOURCE_DATE_EPOCH = "${toString(self.lastModified)}";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue