From 4af7e9bad179a0f197557afa0e3b58316aacf015 Mon Sep 17 00:00:00 2001 From: Marty Sluijtman Date: Sat, 9 Mar 2024 02:39:58 +0100 Subject: [PATCH] Some cleanup --- latex/flake.nix | 6 +++--- trivial/flake.nix | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/latex/flake.nix b/latex/flake.nix index 2eb9126..692906f 100644 --- a/latex/flake.nix +++ b/latex/flake.nix @@ -1,8 +1,8 @@ # inspired by https://flyx.org/nix-flakes-latex/ { description = "A latex template"; inputs = { - nixpkgs.url = github:nixos/nixpkgs/nixos-unstable; - flake-utils.url = github:numtide/flake-utils; + nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; + flake-utils.url = "github:numtide/flake-utils"; }; outputs = { self, nixpkgs, flake-utils}: flake-utils.lib.eachDefaultSystem (system: @@ -20,7 +20,7 @@ pname = throw "put document name here"; version = "0.0"; src = ./src; - buildInputs = with pkgs; [ + buildInputs = [ tex ]; buildPhase = '' diff --git a/trivial/flake.nix b/trivial/flake.nix index f4aca62..3efbade 100644 --- a/trivial/flake.nix +++ b/trivial/flake.nix @@ -1,13 +1,13 @@ { description = "Extremely basic flake"; inputs = { - nixpkgs.url = github:nixos/nixpkgs/nixos-unstable; - flake-utils.url = github:numtide/flake-utils; + nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; + flake-utils.url = "github:numtide/flake-utils"; }; outputs = { self, nixpkgs, flake-utils}: flake-utils.lib.eachDefaultSystem (system: let pkgs = import nixpkgs { inherit system; }; in { - packages = rec { + packages = { default = throw "put derivation information here"; };