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