You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

default.nix 898B

1234567891011121314151617181920212223242526272829303132
  1. { callPackage }:
  2. let
  3. stableVersion = "2.2.0";
  4. previewVersion = "2.2.0";
  5. addVersion = args:
  6. let version = if args.stable then stableVersion else previewVersion;
  7. branch = if args.stable then "stable" else "preview";
  8. in args // { inherit version branch; };
  9. mkGui = args: callPackage (import ./gui.nix (addVersion args)) { };
  10. mkServer = args: callPackage (import ./server.nix (addVersion args)) { };
  11. guiSrcHash = "0xghldzk126ly49y7drp241w7c0h9fb0ags9blk0rlq99i72as78";
  12. serverSrcHash = "0iphs0w6r9s85cgd95bh6jd0224ywilrzb7a4jjwi38z7a7id4gk";
  13. in {
  14. guiStable = mkGui {
  15. stable = true;
  16. sha256Hash = guiSrcHash;
  17. };
  18. guiPreview = mkGui {
  19. stable = false;
  20. sha256Hash = guiSrcHash;
  21. };
  22. serverStable = mkServer {
  23. stable = true;
  24. sha256Hash = serverSrcHash;
  25. };
  26. serverPreview = mkServer {
  27. stable = false;
  28. sha256Hash = serverSrcHash;
  29. };
  30. }