replace deb builder

This commit is contained in:
illustris 2023-10-19 09:06:57 +05:30
parent c3f96f137e
commit 99a7a28ba9
Signed by: illustris
GPG Key ID: 56C8FC0B899FEFA3
2 changed files with 24 additions and 21 deletions

38
flake.lock generated
View File

@ -2,37 +2,43 @@
"nodes": { "nodes": {
"debBundler": { "debBundler": {
"inputs": { "inputs": {
"flake-utils": "flake-utils", "home-manager": "home-manager",
"nixpkgs": [ "nixpkgs": [
"nixpkgs" "nixpkgs"
] ]
}, },
"locked": { "locked": {
"lastModified": 1632973430, "lastModified": 1697648434,
"narHash": "sha256-9G8zo+0nfYAALV5umCyQR/2hVUFNH10JropBkyxZGGw=", "narHash": "sha256-jG+JbJIfDYnHSsx2JPMSW1jy5qbIjE6i6Q4p8AR6whk=",
"owner": "juliosueiras-nix", "owner": "illustris",
"repo": "nix-utils", "repo": "flake",
"rev": "b44e1ffd726aa03056db9df469efb497d8b9871b", "rev": "56196374f8bc4bc5db1e73d8c0da79b21607c06f",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "juliosueiras-nix", "owner": "illustris",
"repo": "nix-utils", "repo": "flake",
"type": "github" "type": "github"
} }
}, },
"flake-utils": { "home-manager": {
"inputs": {
"nixpkgs": [
"debBundler",
"nixpkgs"
]
},
"locked": { "locked": {
"lastModified": 1623875721, "lastModified": 1697622055,
"narHash": "sha256-A8BU7bjS5GirpAUv4QA+QnJ4CceLHkcXdRp4xITDB0s=", "narHash": "sha256-t9rwzjlfgCnXDFGH3wsooYfAOA+XqQmgTojhzuNafZ4=",
"owner": "numtide", "owner": "nix-community",
"repo": "flake-utils", "repo": "home-manager",
"rev": "f7e004a55b120c02ecb6219596820fcd32ca8772", "rev": "84fa81c7acb018c3c5a504dcefbc28a182c933c2",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "numtide", "owner": "nix-community",
"repo": "flake-utils", "repo": "home-manager",
"type": "github" "type": "github"
} }
}, },

View File

@ -4,7 +4,7 @@ rec {
inputs = { inputs = {
nixpkgs.url = github:nixos/nixpkgs/nixos-unstable; nixpkgs.url = github:nixos/nixpkgs/nixos-unstable;
debBundler = { debBundler = {
url = github:juliosueiras-nix/nix-utils; url = github:illustris/flake;
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
}; };
@ -28,10 +28,7 @@ rec {
}; };
}; };
default = pvemon; default = pvemon;
deb = debBundler.bundlers.deb { deb = debBundler.bundlers.x86_64-linux.deb default;
inherit system;
program = "${default}/bin/${default.pname}";
};
updateRelease = writeScriptBin "update-release" (builtins.readFile ./utils/update-release.sh); updateRelease = writeScriptBin "update-release" (builtins.readFile ./utils/update-release.sh);
}; };