From 2a3777c4639383ed7aa84462d34ca6e1c959b797 Mon Sep 17 00:00:00 2001 From: "quentin@aristote.fr" Date: Sun, 16 Feb 2025 22:28:49 +0100 Subject: package source --- flake.nix | 1 + src.nix | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 src.nix diff --git a/flake.nix b/flake.nix index 8731e95..7a8a7e9 100644 --- a/flake.nix +++ b/flake.nix @@ -14,5 +14,6 @@ flake-parts.lib.mkFlake {inherit inputs;} { imports = builtins.attrValues {inherit (my-nixpkgs.flakeModules) personal;}; flake.lib.formatWith = attrs: import ./default.nix attrs; + perSystem = {pkgs, ...}: {packages.src = pkgs.callPackage ./src.nix {};}; }; } diff --git a/src.nix b/src.nix new file mode 100644 index 0000000..1d533fd --- /dev/null +++ b/src.nix @@ -0,0 +1,7 @@ +{lib, ...}: let + fs = lib.fileset; +in + fs.toSource { + root = ./.; + fileset = fs.unions [./default.nix ./basics ./education ./experience ./files ./languages ./publications ./software]; + } -- cgit v1.2.3