Add flake.nix
This commit is contained in:
parent
d1dacc08b7
commit
e9866b3b3c
|
@ -0,0 +1,26 @@
|
|||
{
|
||||
"nodes": {
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1701053011,
|
||||
"narHash": "sha256-8QQ7rFbKFqgKgLoaXVJRh7Ik5LtI3pyBBCfOnNOGkF0=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "5b528f99f73c4fad127118a8c1126b5e003b01a9",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"id": "nixpkgs",
|
||||
"ref": "nixos-23.05",
|
||||
"type": "indirect"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"nixpkgs": "nixpkgs"
|
||||
}
|
||||
}
|
||||
},
|
||||
"root": "root",
|
||||
"version": 7
|
||||
}
|
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
inputs.nixpkgs.url = "nixpkgs/nixos-23.05";
|
||||
outputs = { self, nixpkgs }: {
|
||||
apps = {
|
||||
ed_main_program = {
|
||||
type = "app";
|
||||
program = ./treewideMainProgram/ed_main_program.sh;
|
||||
};
|
||||
list_missing_main_programs = {
|
||||
type = "app";
|
||||
program = ./treewideMainProgram/list_missing_main_programs.sh;
|
||||
};
|
||||
verify_main_programs = {
|
||||
type = "app";
|
||||
program = ./treewideMainProgram/verify_main_programs.sh;
|
||||
};
|
||||
fix_hooks = {
|
||||
type = "app";
|
||||
program = ./treewidePrePostPhase/fix_hooks.py;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue