Some cleanup
This commit is contained in:
parent
f95bad2c2e
commit
4af7e9bad1
|
@ -1,8 +1,8 @@
|
||||||
# inspired by https://flyx.org/nix-flakes-latex/
|
# inspired by https://flyx.org/nix-flakes-latex/
|
||||||
{ description = "A latex template";
|
{ description = "A latex template";
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = github:nixos/nixpkgs/nixos-unstable;
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||||
flake-utils.url = github:numtide/flake-utils;
|
flake-utils.url = "github:numtide/flake-utils";
|
||||||
};
|
};
|
||||||
outputs = { self, nixpkgs, flake-utils}:
|
outputs = { self, nixpkgs, flake-utils}:
|
||||||
flake-utils.lib.eachDefaultSystem (system:
|
flake-utils.lib.eachDefaultSystem (system:
|
||||||
|
@ -20,7 +20,7 @@
|
||||||
pname = throw "put document name here";
|
pname = throw "put document name here";
|
||||||
version = "0.0";
|
version = "0.0";
|
||||||
src = ./src;
|
src = ./src;
|
||||||
buildInputs = with pkgs; [
|
buildInputs = [
|
||||||
tex
|
tex
|
||||||
];
|
];
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
{ description = "Extremely basic flake";
|
{ description = "Extremely basic flake";
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = github:nixos/nixpkgs/nixos-unstable;
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||||
flake-utils.url = github:numtide/flake-utils;
|
flake-utils.url = "github:numtide/flake-utils";
|
||||||
};
|
};
|
||||||
outputs = { self, nixpkgs, flake-utils}:
|
outputs = { self, nixpkgs, flake-utils}:
|
||||||
flake-utils.lib.eachDefaultSystem (system:
|
flake-utils.lib.eachDefaultSystem (system:
|
||||||
let pkgs = import nixpkgs { inherit system; };
|
let pkgs = import nixpkgs { inherit system; };
|
||||||
in {
|
in {
|
||||||
packages = rec {
|
packages = {
|
||||||
default = throw "put derivation information here";
|
default = throw "put derivation information here";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue