diff --git a/.envrc b/.envrc deleted file mode 100644 index c4f5ea4..0000000 --- a/.envrc +++ /dev/null @@ -1,7 +0,0 @@ -use_flake() { - watch_file flake.nix - watch_file flake.lock - eval "$(nix print-dev-env)" -} - -use flake diff --git a/.gitignore b/.gitignore index 2c1edb8..e1a507d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1 @@ /report.pdf -/result diff --git a/flake.lock b/flake.lock deleted file mode 100644 index b84cf74..0000000 --- a/flake.lock +++ /dev/null @@ -1,42 +0,0 @@ -{ - "nodes": { - "futils": { - "locked": { - "lastModified": 1618868421, - "narHash": "sha256-vyoJhLV6cJ8/tWz+l9HZLIkb9Rd9esE7p+0RL6zDR6Y=", - "owner": "numtide", - "repo": "flake-utils", - "rev": "eed214942bcfb3a8cc09eb3b28ca7d7221e44a94", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "flake-utils", - "type": "github" - } - }, - "nixpkgs": { - "locked": { - "lastModified": 1619180214, - "narHash": "sha256-wt1uDD9RAxc3wdWOQp8zM3+ZyLb2rbnGIeaIuXGzw80=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "112a3b08e9bcffa58e0f79af0072fc8273933b87", - "type": "github" - }, - "original": { - "owner": "NixOS", - "repo": "nixpkgs", - "type": "github" - } - }, - "root": { - "inputs": { - "futils": "futils", - "nixpkgs": "nixpkgs" - } - } - }, - "root": "root", - "version": 7 -} diff --git a/flake.nix b/flake.nix deleted file mode 100644 index 1bdafcf..0000000 --- a/flake.nix +++ /dev/null @@ -1,52 +0,0 @@ -{ - description = "Ambroisie's CV"; - - inputs = { - nixpkgs.url = "github:NixOS/nixpkgs"; - futils.url = "github:numtide/flake-utils"; - }; - - outputs = { self, nixpkgs, futils } @ inputs: - futils.lib.eachSystem futils.lib.allSystems (system: - let - inherit (nixpkgs) lib; - pkgs = nixpkgs.legacyPackages.${system}; - buildInputs = with pkgs; [ - gnumake - pandoc - (texlive.combine { - inherit (texlive) - scheme-small - # Extra packages needed - changepage - enumitem - placeins - ; - }) - ]; - in - { - devShell = pkgs.mkShell { - name = "report"; - inherit buildInputs; - }; - - defaultPackage = pkgs.stdenvNoCC.mkDerivation { - pname = "report"; - version = self.rev or "dirty"; - src = ./.; - - inherit buildInputs; - - buildPhase = '' - make - ''; - - installPhase = '' - mkdir -p $out - cp report.pdf $out/ - ''; - }; - } - ); -}