fix: manage apl source via flake
This commit is contained in:
parent
6ece263d17
commit
2dad3d3b77
4 changed files with 29 additions and 10 deletions
17
flake.lock
17
flake.lock
|
@ -22,6 +22,22 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"apl386": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1646646198,
|
||||
"narHash": "sha256-oHk4e7NRgAjGtZzQmZToYz7wCZETaj7/yRwZMeeYF2M=",
|
||||
"owner": "abrudz",
|
||||
"repo": "APL386",
|
||||
"rev": "6332c9dbb588946a0e8c9d7984dd0c003eeea266",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "abrudz",
|
||||
"repo": "APL386",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"cmp-conventionalcommits": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
|
@ -247,6 +263,7 @@
|
|||
"root": {
|
||||
"inputs": {
|
||||
"agenix": "agenix",
|
||||
"apl386": "apl386",
|
||||
"cmp-conventionalcommits": "cmp-conventionalcommits",
|
||||
"cmp-git": "cmp-git",
|
||||
"copilot-cmp": "copilot-cmp",
|
||||
|
|
|
@ -10,6 +10,11 @@
|
|||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
apl386 = {
|
||||
url = "github:abrudz/APL386";
|
||||
flake = false;
|
||||
};
|
||||
|
||||
cmp-conventionalcommits = {
|
||||
url = "github:davidsierradz/cmp-conventionalcommits";
|
||||
flake = false;
|
||||
|
@ -76,7 +81,7 @@
|
|||
modules = [
|
||||
./fanya.nix
|
||||
|
||||
(_: {nixpkgs.overlays = [(import ./overlay) overlay-unstable];})
|
||||
(_: {nixpkgs.overlays = [(import ./overlay args) overlay-unstable];})
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
@ -1,18 +1,13 @@
|
|||
{
|
||||
inputs,
|
||||
lib,
|
||||
stdenvNoCC,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
stdenvNoCC.mkDerivation {
|
||||
pname = "apl386";
|
||||
version = "2022-03-07";
|
||||
version = "unstable";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "abrudz";
|
||||
repo = "APL386";
|
||||
rev = "6332c9dbb588946a0e8c9d7984dd0c003eeea266";
|
||||
sha256 = "sha256-oHk4e7NRgAjGtZzQmZToYz7wCZETaj7/yRwZMeeYF2M=";
|
||||
};
|
||||
src = inputs.apl386;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
self: super: {
|
||||
inputs: self: super: {
|
||||
inherit inputs;
|
||||
|
||||
apl386 = super.callPackage ./apl386 {};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue