nix/home/config/template/DevShell.nix

27 lines
577 B
Nix
Raw Normal View History

2024-03-10 11:42:33 +03:00
{
description = "";
2024-03-10 11:42:33 +03:00
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
};
2024-03-10 11:42:33 +03:00
outputs =
{ self, nixpkgs }@inputs:
let
system = "x86_64-linux";
lib = nixpkgs.lib;
pkgs = nixpkgs.legacyPackages.${system};
in
{
devShells.${system} = {
default = pkgs.mkShell rec {
nativeBuildInputs = with pkgs; [ ];
buildInputs = with pkgs; [ ];
2024-05-07 22:45:53 +03:00
LD_LIBRARY_PATH = "${lib.makeLibraryPath buildInputs}";
SOURCE_DATE_EPOCH = "${toString self.lastModified}";
};
};
};
2024-03-10 11:42:33 +03:00
}