-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathflake.nix
More file actions
31 lines (27 loc) · 931 Bytes
/
flake.nix
File metadata and controls
31 lines (27 loc) · 931 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
description = "A modern, user-friendly tool for interacting with Qualcomm devices in Emergency Download (EDL) mode";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
systems.url = "github:nix-systems/default";
};
outputs = { self, ... }@inputs:
let
eachSystem = inputs.nixpkgs.lib.genAttrs (import inputs.systems);
in
{
packages = eachSystem (system: {
edl-ng = inputs.nixpkgs.legacyPackages.${system}.callPackage ./pkgs/edl-ng { };
default = self.packages.${system}.edl-ng;
});
devShells = eachSystem (system: {
default =
inputs.nixpkgs.legacyPackages.${system}.mkShellNoCC {
name = "edl-ng-shell";
inputsFrom = [
self.packages.${system}.default
];
};
});
formatter = eachSystem (system: inputs.nixpkgs.legacyPackages.${system}.nixpkgs-fmt);
};
}