-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
runtime-class-files: remove, calculate runtime hash from all files
Signed-off-by: Paul Meyer <[email protected]>
- Loading branch information
1 parent
a445f10
commit fdd49a3
Showing
9 changed files
with
125 additions
and
173 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Copyright 2024 Edgeless Systems GmbH | ||
# SPDX-License-Identifier: AGPL-3.0-only | ||
|
||
{ | ||
lib, | ||
stdenvNoCC, | ||
nix, | ||
}: | ||
|
||
{ name, dirs }: | ||
|
||
stdenvNoCC.mkDerivation { | ||
inherit name; | ||
dontUnpack = true; | ||
nativeBuildInputs = [ nix ]; | ||
buildPhase = '' | ||
nix --extra-experimental-features nix-command hash path ${lib.concatStringsSep " " dirs} | | ||
LC_ALL=C sort | | ||
sha256sum | | ||
cut -d' ' -f1 > $out | ||
''; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.