diff --git a/flake.lock b/flake.lock index d0a78d0..4cbea42 100644 --- a/flake.lock +++ b/flake.lock @@ -1,12 +1,15 @@ { "nodes": { "futils": { + "inputs": { + "systems": "systems" + }, "locked": { - "lastModified": 1678901627, - "narHash": "sha256-U02riOqrKKzwjsxc/400XnElV+UtPUQWpANPlyazjH0=", + "lastModified": 1705309234, + "narHash": "sha256-uNRRNRKmJyCRC/8y1RqBkqWBLM034y4qN7EprSdmgyA=", "owner": "numtide", "repo": "flake-utils", - "rev": "93a2b84fc4b70d9e089d029deacc3583435c2ed6", + "rev": "1ef2e671c3b0c19053962c07dbda38332dcebf26", "type": "github" }, "original": { @@ -17,15 +20,16 @@ }, "nixpkgs": { "locked": { - "lastModified": 1679689661, - "narHash": "sha256-V0+vWTOKCv/N2GrbrCQOBTTFABAcR51k3vBysEBSXJg=", + "lastModified": 1707877513, + "narHash": "sha256-sp0w2apswd3wv0sAEF7StOGHkns3XUQaO5erhWFZWXk=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "8d709fdd24eaaa8c1c1fa660fc141b8dfc0beaa0", + "rev": "89653a03e0915e4a872788d10680e7eec92f8600", "type": "github" }, "original": { "owner": "NixOS", + "ref": "nixpkgs-unstable", "repo": "nixpkgs", "type": "github" } @@ -35,6 +39,21 @@ "futils": "futils", "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", diff --git a/flake.nix b/flake.nix index 07513cd..7bfc166 100644 --- a/flake.nix +++ b/flake.nix @@ -2,7 +2,7 @@ description = "Ambroisie's CV"; inputs = { - nixpkgs.url = "github:NixOS/nixpkgs"; + nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; futils.url = "github:numtide/flake-utils"; }; @@ -14,19 +14,16 @@ pkgs = nixpkgs.legacyPackages.${system}; buildInputs = with pkgs; [ gnumake - (texlive.combine { - inherit (texlive) - scheme-small - # Build script - latexmk - # Extra packages needed - clearsans - fontaxes - textpos - ifmtarg - marvosym - ; - }) + (texliveSmall.withPackages (ps: with ps; [ + # Build script + latexmk + # Extra packages needed + clearsans + fontaxes + textpos + ifmtarg + marvosym + ])) ]; in {