diff options
| author | 2025-12-09 22:51:16 +0100 | |
|---|---|---|
| committer | 2025-12-09 22:51:16 +0100 | |
| commit | a2e191cf0b898ca7ff170f5ff66301bf2935e6fc (patch) | |
| tree | 254a564bcd4cee890551ff3c4c01908d6ee5a8b7 /flake.nix | |
| parent | user-config: make import path take precedence (diff) | |
| signature | ||
try to deflakify it (broken commit)
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 42 |
1 files changed, 9 insertions, 33 deletions
@@ -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; }; + }); } |
