stop using flake-utils

This commit is contained in:
alex 2023-06-21 19:52:04 -04:00
parent b8991b198e
commit ce298ecb40
2 changed files with 15 additions and 50 deletions

View File

@ -1,23 +1,5 @@
{ {
"nodes": { "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": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1687288566, "lastModified": 1687288566,
@ -36,24 +18,8 @@
}, },
"root": { "root": {
"inputs": { "inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs" "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", "root": "root",

View File

@ -1,12 +1,11 @@
{ {
inputs = { inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.05"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.05";
flake-utils.url = "github:numtide/flake-utils";
}; };
outputs = { self, nixpkgs, flake-utils }: outputs = { self, nixpkgs }:
flake-utils.lib.eachDefaultSystem (system:
let let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system}; pkgs = nixpkgs.legacyPackages.${system};
atauPkgs = { atauPkgs = {
atau-wallpapers = pkgs.callPackage ./atau-wallpapers/default.nix { }; atau-wallpapers = pkgs.callPackage ./atau-wallpapers/default.nix { };
@ -14,10 +13,10 @@
}; };
in in
{ {
packages = rec { packages.${system} = {
default = atauPkgs.theme-platinum9; default = atauPkgs.theme-platinum9;
} // atauPkgs; } // atauPkgs;
overlay = final: prev: { } // atauPkgs; overlays.default = final: prev: atauPkgs;
}); };
} }