1
0
Fork 0
This commit is contained in:
Lukas Wurzinger 2024-12-19 00:15:20 +01:00
parent 77eccec635
commit 16ea2e2d7c
No known key found for this signature in database
18 changed files with 407 additions and 15 deletions

View file

@ -14,15 +14,17 @@
flake-parts.lib.mkFlake {inherit inputs;} {
systems = nixpkgs.lib.systems.flakeExposed;
perSystem = {pkgs, ...}: {
devShells.default = pkgs.mkShellNoCC {
packages = [
(pkgs.writeShellApplication {
name = "plow";
perSystem = {
pkgs,
self',
...
}: {
packages.plow = pkgs.callPackage ./plow {};
text = builtins.readFile ./plow.sh;
})
];
devShells.default = pkgs.mkShellNoCC {
PLOW_FROM = "./home";
packages = [self'.packages.plow];
};
};
};