Fix the way I was accessing the resume flake
This commit is contained in:
parent
ac011a40ef
commit
d2b99b10d3
@ -64,13 +64,13 @@
|
|||||||
"type": "indirect"
|
"type": "indirect"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"resumePackage": {
|
"resume-flake": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-utils": "flake-utils_2",
|
"flake-utils": "flake-utils_2",
|
||||||
"nixpkgs": "nixpkgs_2"
|
"nixpkgs": "nixpkgs_2"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1686992437,
|
"lastModified": 1686994769,
|
||||||
"narHash": "sha256-3b5wKPMx34uUt/rGgal8hvb+zrncFLkNXLOkFOxwPo0=",
|
"narHash": "sha256-3b5wKPMx34uUt/rGgal8hvb+zrncFLkNXLOkFOxwPo0=",
|
||||||
"path": "/home/greg/code/active/resume",
|
"path": "/home/greg/code/active/resume",
|
||||||
"type": "path"
|
"type": "path"
|
||||||
@ -84,7 +84,7 @@
|
|||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-utils": "flake-utils",
|
"flake-utils": "flake-utils",
|
||||||
"nixpkgs": "nixpkgs",
|
"nixpkgs": "nixpkgs",
|
||||||
"resumePackage": "resumePackage"
|
"resume-flake": "resume-flake"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"systems": {
|
"systems": {
|
||||||
|
@ -3,16 +3,17 @@
|
|||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
flake-utils.url = "github:numtide/flake-utils";
|
flake-utils.url = "github:numtide/flake-utils";
|
||||||
resumePackage.url = "path:/home/greg/code/active/resume";
|
resume-flake.url = "path:/home/greg/code/active/resume";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs, flake-utils, resumePackage }:
|
outputs = { self, nixpkgs, flake-utils, resume-flake }:
|
||||||
{
|
{
|
||||||
formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.nixpkgs-fmt;
|
formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.nixpkgs-fmt;
|
||||||
} //
|
} //
|
||||||
flake-utils.lib.eachDefaultSystem (system:
|
flake-utils.lib.eachDefaultSystem (system:
|
||||||
let
|
let
|
||||||
pkgs = import nixpkgs { inherit system; };
|
pkgs = import nixpkgs { inherit system; };
|
||||||
|
resume = resume-flake.packages.x86_64-linux.default;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
packages.default = pkgs.stdenv.mkDerivation {
|
packages.default = pkgs.stdenv.mkDerivation {
|
||||||
@ -28,7 +29,7 @@
|
|||||||
cp self.jpg $out
|
cp self.jpg $out
|
||||||
cp favicon.png $out
|
cp favicon.png $out
|
||||||
|
|
||||||
cp ${resumePackage}/*.pdf $out/resume
|
cp ${resume}/*.pdf $out/resume
|
||||||
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user