20 lines
435 B
Nix
20 lines
435 B
Nix
|
{
|
||
|
inputs.nixpkgs.url = "github:nixos/nixpkgs";
|
||
|
outputs = { self, nixpkgs }:
|
||
|
let
|
||
|
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
||
|
my-python = pkgs.python3;
|
||
|
python-with-my-packages = my-python.withPackages (p: with p; [
|
||
|
tkinter
|
||
|
]);
|
||
|
in
|
||
|
{
|
||
|
devShell.x86_64-linux = pkgs.mkShell {
|
||
|
buildInputs = with pkgs; [
|
||
|
yad
|
||
|
python-with-my-packages
|
||
|
];
|
||
|
};
|
||
|
};
|
||
|
}
|