Some cleanup
This commit is contained in:
parent
f95bad2c2e
commit
4af7e9bad1
|
@ -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 = ''
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue