Clean up flake source
This commit is contained in:
parent
881da90290
commit
02c0f24cd4
16
flake.nix
16
flake.nix
@ -1,19 +1,19 @@
|
|||||||
{
|
{
|
||||||
inputs = {
|
inputs = {
|
||||||
naersk.url = "github:nix-community/naersk/master";
|
|
||||||
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
||||||
utils.url = "github:numtide/flake-utils";
|
flake-utils.url = "github:numtide/flake-utils";
|
||||||
|
naersk.url = "github:nix-community/naersk/master";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs =
|
outputs =
|
||||||
{
|
{
|
||||||
self,
|
self,
|
||||||
nixpkgs,
|
nixpkgs,
|
||||||
utils,
|
flake-utils,
|
||||||
naersk,
|
naersk,
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
packageOutputs = utils.lib.eachDefaultSystem (
|
packageOutputs = flake-utils.lib.eachDefaultSystem (
|
||||||
system:
|
system:
|
||||||
let
|
let
|
||||||
pkgs = import nixpkgs { inherit system; };
|
pkgs = import nixpkgs { inherit system; };
|
||||||
@ -71,14 +71,6 @@
|
|||||||
|
|
||||||
RUST_SRC_PATH = rustPlatform.rustLibSrc;
|
RUST_SRC_PATH = rustPlatform.rustLibSrc;
|
||||||
};
|
};
|
||||||
|
|
||||||
# Only create hydra jobs for some systems
|
|
||||||
# pkgs.lib.optionalAttrs (builtins.elem system ["x86_64-linux" "aarch64-linux"]) {
|
|
||||||
# hydraJobs =
|
|
||||||
# {
|
|
||||||
# "music-reader" = defaultPackage;
|
|
||||||
# };
|
|
||||||
# };
|
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
in
|
in
|
||||||
|
Loading…
x
Reference in New Issue
Block a user