Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,31 @@
})
// {
format = treefmt.config.build.check self;
fetcher-assert-npm =
let
# force download debian for consistent hash across systems
binaryTargetBySystem = {
x86_64-linux = "debian";
aarch64-linux = "debian";
x86_64-darwin = "debian";
aarch64-darwin = "debian";
};
prisma-legacy = prisma-factory {
inherit pkgs binaryTargetBySystem;
hash = "sha256-R9PG286KQTbzF0r/PPcShUkMiYam2prRh/JICjmhCZA=";
};
prisma-new =
lockName: lockFile:
prisma-factory {
inherit pkgs binaryTargetBySystem;
hash = "sha256-R9PG286KQTbzF0r/PPcShUkMiYam2prRh/JICjmhCZA=";
${lockName} = lockFile;
};
in
assert
(prisma-legacy.fromNpmLock ./npm/package-lock.json).env
== (prisma-new "npmLock" ./npm/package-lock.json).env;
pkgs.hello;
};
packages.default =
(prisma-factory {
Expand Down
Loading