Add default build to flake outputs

This commit is contained in:
Jakub Kozłowski 2022-09-16 03:57:12 +02:00
parent d242895ff9
commit 85d774d3e9
No known key found for this signature in database
GPG Key ID: A1DC9B6A8B59D4D6
2 changed files with 5 additions and 3 deletions

View File

@ -1,9 +1,9 @@
{ rev ? "541a3ca27c9a8220b46f4feb7dd8e94336a77f42", # nixpkgs master
{ rev ? "a7855f2235a1876f97473a76151fec2afa02b287", # nixpkgs master. Keep up to date with flake.lock
nixpkgsSource ? builtins.fetchTarball {
url = "https://github.com/nixos/nixpkgs/tarball/${rev}";
sha256 = "sha256:1mxv0zigm98pawf05kd4s8ipvk1pvvdsn1yh978c5an97kz0ck5w";
sha256 = "sha256-5DGKX81wIPAAiLwUmUYECpA3vop94AHHR7WmGXSsQok=";
}, pkgs ? import nixpkgsSource { }
, cargoSha256 ? "sha256-treL2sWPcZ1NBwdab3FOb2FI2wT/Vt9tD4XRfJ8rYWA=", }:
, cargoSha256 ? "sha256-F6UOJZ5oDOZ+80z70A21VzDR0YtmgD0dnEcjPgpicpo=", }:
# we only this file to release a nix package, use flake.nix for development
let
rustPlatform = pkgs.rustPlatform;

View File

@ -128,5 +128,7 @@
};
formatter = pkgs.nixpkgs-fmt;
packages.default = import ./. { inherit pkgs; };
});
}