diff --git a/flake.lock b/flake.lock new file mode 100644 index 0000000..f2bbbd6 --- /dev/null +++ b/flake.lock @@ -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 +} diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..58ce461 --- /dev/null +++ b/flake.nix @@ -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; + }; + }; + }; +}