From 7e7e7797a13516b9c56a48bd263719df1dc915d2 Mon Sep 17 00:00:00 2001 From: Tibo De Peuter Date: Thu, 22 Feb 2024 22:02:14 +0100 Subject: [PATCH] [latex] Add old flake --- latex/flake.lock | 61 ++++++++++++++++++++++++++++++++++++++++++++++++ latex/flake.nix | 23 ++++++++++++++++++ 2 files changed, 84 insertions(+) create mode 100644 latex/flake.lock create mode 100644 latex/flake.nix diff --git a/latex/flake.lock b/latex/flake.lock new file mode 100644 index 0000000..a875e69 --- /dev/null +++ b/latex/flake.lock @@ -0,0 +1,61 @@ +{ + "nodes": { + "flake-utils": { + "inputs": { + "systems": "systems" + }, + "locked": { + "lastModified": 1705309234, + "narHash": "sha256-uNRRNRKmJyCRC/8y1RqBkqWBLM034y4qN7EprSdmgyA=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "1ef2e671c3b0c19053962c07dbda38332dcebf26", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "nixpkgs": { + "locked": { + "lastModified": 1708564076, + "narHash": "sha256-KKkqoxlgx9n3nwST7O2kM8tliDOijiSSNaWuSkiozdQ=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "98b00b6947a9214381112bdb6f89c25498db4959", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixpkgs-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "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", + "version": 7 +} diff --git a/latex/flake.nix b/latex/flake.nix new file mode 100644 index 0000000..ad91ad4 --- /dev/null +++ b/latex/flake.nix @@ -0,0 +1,23 @@ +{ + description = "LaTeX Flake"; + + inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; + inputs.flake-utils.url = "github:numtide/flake-utils"; + + outputs = { self, nixpkgs, flake-utils}: + flake-utils.lib.eachDefaultSystem + (system: + let + pkgs = import nixpkgs { + inherit system; + }; + in { + devShells.default = pkgs.mkShell { + packages = with pkgs; [ + texlive.combined.scheme-small + pgfplots + ]; + }; + } + ); +}