1
0
Fork 0
This commit is contained in:
Lukas Wurzinger 2025-04-13 13:25:58 +02:00
parent 9ee0270011
commit 8d54543fcf
No known key found for this signature in database
5 changed files with 16 additions and 306 deletions

View file

@ -4,25 +4,14 @@
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-parts.url = "github:hercules-ci/flake-parts";
devenv-root = {
url = "file+file:///dev/null";
flake = false;
};
devenv.url = "github:cachix/devenv";
};
outputs = {
self,
nixpkgs,
flake-parts,
devenv,
devenv-root,
} @ inputs:
flake-parts.lib.mkFlake {inherit inputs;} {
imports = [
devenv.flakeModule
];
systems = nixpkgs.lib.systems.flakeExposed;
flake = {
@ -32,19 +21,6 @@
};
perSystem = {pkgs, ...}: {
devenv.shells.default = {
devenv.root = let
devenvRootFileContent = builtins.readFile devenv-root.outPath;
in
pkgs.lib.mkIf (devenvRootFileContent != "") devenvRootFileContent;
name = "hxwrap";
imports = [
./devenv.nix
];
};
packages.default = pkgs.callPackage ./package.nix {};
};
};