summaryrefslogtreecommitdiff
path: root/shell.nix
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2024-05-31 18:30:10 +0200
committerKlaus Aehlig <klaus.aehlig@huawei.com>2024-06-03 10:09:24 +0200
commit3626877554b6c567d43336ec49414cedfe487260 (patch)
treef80c51ec1867fea029b955d85e89e39017f920e3 /shell.nix
downloadhello-nix-3626877554b6c567d43336ec49414cedfe487260.tar.gz
Initial commit
Diffstat (limited to 'shell.nix')
-rw-r--r--shell.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/shell.nix b/shell.nix
new file mode 100644
index 0000000..b89488b
--- /dev/null
+++ b/shell.nix
@@ -0,0 +1,23 @@
+let
+
+ sources = import ./nix/sources.nix;
+
+ nixpkgs = sources."nixpkgs-unstable";
+
+ pkgs = import nixpkgs {};
+
+ nix-dependencies = import ./nix-dependencies { nixpkgs = pkgs; } ;
+
+in pkgs.mkShell rec {
+
+ name = "hello-nix";
+
+ buildInputs = with pkgs; [
+ niv
+ ];
+
+ shellHook = ''
+ alias just-mr="just-mr --rc ${nix-dependencies}/share/rc.json"
+ '';
+
+}