sims2-nix/pkgs/disks.nix

33 lines
839 B
Nix
Raw Normal View History

2022-04-01 13:11:16 +00:00
# Raw ISO
2022-04-01 16:45:38 +00:00
{ stdenvNoCC, ... }:
2022-04-01 13:11:16 +00:00
let
build_iso = args: stdenvNoCC.mkDerivation ({
buildPhase = ''
echo "You need to manually add the iso to the nix store"
exit 1
'';
outputHashAlgo = "sha256";
outputHashMode = "flat";
} // args);
in
rec {
isos = {
sims2-cd1 = build_iso {
name = "Sims2_1.iso";
outputHash = "19l3xblr5ay3ym2iwfyaksfnxisbhk9cgz876j4hs0hr1876bpp5";
};
sims2-cd2 = build_iso {
name = "Sims2_2.iso";
outputHash = "1d4bn02fmanh3y42lbdg6212wdzkdyfwv9fzb3v06szy263ig567";
};
sims2-cd3 = build_iso {
name = "Sims2_3.iso";
outputHash = "0612rzmjzwmqkr2rdrc9pvbiwqbcv2220dlnwaxjcf4fiw3s070a";
};
sims2-cd4 = build_iso {
name = "Sims2_4.iso";
outputHash = "0g6pjwrfb8v7fc2bnflv35iz68scgylx4yd1pq8lj09560bh3iq0";
};
};
}