From a2e191cf0b898ca7ff170f5ff66301bf2935e6fc Mon Sep 17 00:00:00 2001 From: klea Date: Tue, 9 Dec 2025 22:51:16 +0100 Subject: try to deflakify it (broken commit) --- flake.nix | 42 +++++++++--------------------------------- 1 file changed, 9 insertions(+), 33 deletions(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index e3c2cfc..769fe49 100644 --- a/flake.nix +++ b/flake.nix @@ -1,37 +1,13 @@ { - description = "klea's archiveteam flake"; - inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; - inputs.systems.url = "github:nix-systems/default"; - inputs.flake-utils = { - url = "github:numtide/flake-utils"; - inputs.systems.follows = "systems"; + inputs = { + flake-utils.url = "github:numtide/flake-utils"; + nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; }; - outputs = - { nixpkgs, flake-utils, ... }: - flake-utils.lib.eachDefaultSystem ( - system: - let - pkgs = nixpkgs.legacyPackages.${system}; - in - { - devShells = { - default = pkgs.mkShellNoCC { - packages = (with pkgs; [ - (python3.withPackages (p: [ - p.requests - p.lxml - p.pywikibot - ])) - python3Packages.pywikibot - websocat # connect to websocket - jq - libfaketime # used by my fossil script - fossil git # scms - internetarchive # ia cmdline tool - ]); - }; - }; - } - ); + outputs = { self, flake-utils, nixpkgs }: + flake-utils.lib.eachDefaultSystem (system: + let pkgs = import nixpkgs { inherit system; }; + in { + legacyPackages = import ./. { inherit pkgs; }; + }); } -- cgit v1.3.1-10-gc9f91