stop using flake-utils
This commit is contained in:
parent
b8991b198e
commit
ce298ecb40
34
flake.lock
34
flake.lock
|
@ -1,23 +1,5 @@
|
|||
{
|
||||
"nodes": {
|
||||
"flake-utils": {
|
||||
"inputs": {
|
||||
"systems": "systems"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1687171271,
|
||||
"narHash": "sha256-BJlq+ozK2B1sJDQXS3tzJM5a+oVZmi1q0FlBK/Xqv7M=",
|
||||
"owner": "numtide",
|
||||
"repo": "flake-utils",
|
||||
"rev": "abfb11bd1aec8ced1c9bb9adfe68018230f4fb3c",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "numtide",
|
||||
"repo": "flake-utils",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1687288566,
|
||||
|
@ -36,24 +18,8 @@
|
|||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"flake-utils": "flake-utils",
|
||||
"nixpkgs": "nixpkgs"
|
||||
}
|
||||
},
|
||||
"systems": {
|
||||
"locked": {
|
||||
"lastModified": 1681028828,
|
||||
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
||||
"owner": "nix-systems",
|
||||
"repo": "default",
|
||||
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-systems",
|
||||
"repo": "default",
|
||||
"type": "github"
|
||||
}
|
||||
}
|
||||
},
|
||||
"root": "root",
|
||||
|
|
31
flake.nix
31
flake.nix
|
@ -1,23 +1,22 @@
|
|||
{
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.05";
|
||||
flake-utils.url = "github:numtide/flake-utils";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, flake-utils }:
|
||||
flake-utils.lib.eachDefaultSystem (system:
|
||||
let
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
atauPkgs = {
|
||||
atau-wallpapers = pkgs.callPackage ./atau-wallpapers/default.nix { };
|
||||
theme-platinum9 = pkgs.callPackage ./theme-platinum9/default.nix { };
|
||||
};
|
||||
in
|
||||
{
|
||||
packages = rec {
|
||||
default = atauPkgs.theme-platinum9;
|
||||
} // atauPkgs;
|
||||
outputs = { self, nixpkgs }:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
atauPkgs = {
|
||||
atau-wallpapers = pkgs.callPackage ./atau-wallpapers/default.nix { };
|
||||
theme-platinum9 = pkgs.callPackage ./theme-platinum9/default.nix { };
|
||||
};
|
||||
in
|
||||
{
|
||||
packages.${system} = {
|
||||
default = atauPkgs.theme-platinum9;
|
||||
} // atauPkgs;
|
||||
|
||||
overlay = final: prev: { } // atauPkgs;
|
||||
});
|
||||
overlays.default = final: prev: atauPkgs;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue