Compare commits
3 Commits
d4aacdc21b
...
0686b9b778
Author | SHA1 | Date | |
---|---|---|---|
0686b9b778 | |||
719efce1b2 | |||
dcd11dec49 |
@ -25,7 +25,7 @@ let
|
|||||||
stripJavaArchivesHook = final.makeSetupHook {
|
stripJavaArchivesHook = final.makeSetupHook {
|
||||||
name = "strip-java-archives-hook";
|
name = "strip-java-archives-hook";
|
||||||
propagatedBuildInputs = [ final.strip-nondeterminism ];
|
propagatedBuildInputs = [ final.strip-nondeterminism ];
|
||||||
} "${nixfiles.inputs.nixpkgs-unstable}/pkgs/build-support/setup-hooks/strip-java-archives.sh";
|
} ./strip-java-archives.sh;
|
||||||
|
|
||||||
in {
|
in {
|
||||||
vesktop = backport' "vesktop";
|
vesktop = backport' "vesktop";
|
||||||
|
16
overlays/strip-java-archives.sh
Normal file
16
overlays/strip-java-archives.sh
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
# This setup hook makes the fixup phase to repack all java archives in a
|
||||||
|
# deterministic fashion. The most important change being done is the resetting
|
||||||
|
# of the modification times of the archive entries
|
||||||
|
|
||||||
|
fixupOutputHooks+=('stripJavaArchivesIn $prefix')
|
||||||
|
|
||||||
|
stripJavaArchivesIn() {
|
||||||
|
local dir="$1"
|
||||||
|
echo "stripping java archives in $dir"
|
||||||
|
find $dir -type f -regextype posix-egrep -regex ".*\.(jar|war|hpi|apk)$" -print0 |
|
||||||
|
while IFS= read -rd '' f; do
|
||||||
|
echo "stripping java archive $f"
|
||||||
|
strip-nondeterminism --type jar "$f"
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
@ -10,6 +10,7 @@ in
|
|||||||
services = {
|
services = {
|
||||||
power-profiles-daemon.enable = mkDefault true;
|
power-profiles-daemon.enable = mkDefault true;
|
||||||
blueman.enable = mkDefault config.hardware.bluetooth.enable;
|
blueman.enable = mkDefault config.hardware.bluetooth.enable;
|
||||||
|
udisks2.enable = mkDefault true;
|
||||||
};
|
};
|
||||||
programs = {
|
programs = {
|
||||||
nm-applet.enable = mkDefault config.networking.networkmanager.enable;
|
nm-applet.enable = mkDefault config.networking.networkmanager.enable;
|
||||||
|
@ -99,6 +99,7 @@ in
|
|||||||
nix-du
|
nix-du
|
||||||
graphviz # for nix-du
|
graphviz # for nix-du
|
||||||
nvd
|
nvd
|
||||||
|
nix-diff
|
||||||
|
|
||||||
# secrets
|
# secrets
|
||||||
age
|
age
|
||||||
|
Loading…
x
Reference in New Issue
Block a user