first
This commit is contained in:
23
flake.nix
23
flake.nix
@@ -22,9 +22,10 @@
|
||||
};
|
||||
|
||||
outputs =
|
||||
{ ... }@inputs:
|
||||
{ self, nixpkgs,... }@inputs:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
hydenixConfig = inputs.nixpkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
specialArgs = {
|
||||
@@ -39,5 +40,25 @@
|
||||
{
|
||||
nixosConfigurations.hydenix = hydenixConfig;
|
||||
nixosConfigurations.default = hydenixConfig;
|
||||
/*devShells.${system}.default = pkgs.mkShell {
|
||||
buildInputs = with pkgs; [
|
||||
python313
|
||||
python313Packages.pip
|
||||
python313Packages.venvShellHook
|
||||
stdenv.cc.cc.lib
|
||||
pkg-config
|
||||
gcc
|
||||
glib
|
||||
];
|
||||
|
||||
LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath [
|
||||
pkgs.stdenv.cc.cc.lib
|
||||
];
|
||||
|
||||
shellHook = ''
|
||||
echo " python $(python --version) ready"
|
||||
echo " Libraries in LD_LIBRARY_PATH: $LD_LIBRARY_PATH"
|
||||
'';
|
||||
};*/
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user