diff --git a/default.nix b/default.nix index a37ae8c..3c243d7 100644 --- a/default.nix +++ b/default.nix @@ -24,10 +24,7 @@ in }: let # fenix: rustup replacement for reproducible builds - toolchain = fenix.${system}.fromToolchainFile { - file = ./rust-toolchain.toml; - sha256 = "sha256-6eN/GKzjVSjEhGO9FhWObkRFaE1Jf+uqMSdQnb8lcB4="; - }; + toolchain = fenix.${system}.stable.minimalToolchain; # crane: cargo and artifacts manager craneLib = crane.${system}.overrideToolchain toolchain; # cranix: extends crane building system with workspace bin building and Mold + Cranelift integrations @@ -57,8 +54,11 @@ in { # `nix run` apps = rec { - simpleCommits = simpleCommitsPkg.app; - default = simpleCommits; + simpleCommits = simpleCommitsPkg.pkg; + default = { + program = "${simpleCommits}/bin/sc"; + type = "app"; + }; }; # `nix build` packages = rec {