feat: add collecting nix derivation from source

This commit is contained in:
kp2pml30 2025-05-12 16:52:03 +04:00
parent 49cacfdb5e
commit 9dee6d3afc
Signed by: kp2pml30
GPG key ID: CD6528BAC23E3E34
4 changed files with 161 additions and 0 deletions

33
flake.nix Normal file
View file

@ -0,0 +1,33 @@
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11";
systems = {
url = "github:nix-systems/default";
inputs.nixpkgs.follows = "nixpkgs";
};
flake-utils = {
url = "github:numtide/flake-utils";
inputs.systems.follows = "systems";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = inputs@{ self, nixpkgs, flake-utils, ... }:
flake-utils.lib.eachDefaultSystem
(system:
let
pkgs = nixpkgs.legacyPackages.${system};
in
{
devShells.default = pkgs.mkShell {
packages = with pkgs; [
python312
pre-commit
];
shellHook = ''
'';
};
}
);
}