From 7ff82d6fb69f9854f3c6c48ccc6d129320210355 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Amy=20de=20Buitl=C3=A9ir?= Date: Tue, 28 Nov 2023 16:12:09 +0000 Subject: [PATCH] initial commit --- source/recipes/nixpkgs-pkg/cli/main.adoc0 | 9 +++++++ source/recipes/python-nixpkg/shell/Main.py | 8 +++++++ source/recipes/python-nixpkg/shell/main.adoc0 | 24 +++++++++++++++++++ source/recipes/python-nixpkg/shell/shell.nix | 9 +++++++ 4 files changed, 50 insertions(+) create mode 100644 source/recipes/nixpkgs-pkg/cli/main.adoc0 create mode 100644 source/recipes/python-nixpkg/shell/Main.py create mode 100644 source/recipes/python-nixpkg/shell/main.adoc0 create mode 100644 source/recipes/python-nixpkg/shell/shell.nix diff --git a/source/recipes/nixpkgs-pkg/cli/main.adoc0 b/source/recipes/nixpkgs-pkg/cli/main.adoc0 new file mode 100644 index 0000000..9dd549f --- /dev/null +++ b/source/recipes/nixpkgs-pkg/cli/main.adoc0 @@ -0,0 +1,9 @@ += From the command line + +.... +$# echo '$ nix-shell -p "[hello cowsay]"' +$# nix-shell -p "[hello cowsay]" --run bash < {}); +let + customPython = python3.withPackages (ps: with ps; [ html_sanitizer ]); +in +mkShell { + buildInputs = [ + customPython + ]; +}