Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
romancitodev committed Sep 9, 2024
2 parents 6eda657 + 0b8afaf commit 15ac8c8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit 15ac8c8

Please sign in to comment.