aboutsummaryrefslogtreecommitdiff
path: root/sem7/pp/prolog/shell.nix
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2021-11-25 08:47:19 +0100
committerJulian T <julian@jtle.dk>2021-11-25 08:47:19 +0100
commit890ad2bcee172ab2a4cbb319145f5b42ba38619a (patch)
treec7cc445410379cb5ee4b37b18f2d45a56e680b28 /sem7/pp/prolog/shell.nix
parent7f57150038a90f634dd27b25bd9bba05c461c22a (diff)
Add notes and assignment solution
Diffstat (limited to 'sem7/pp/prolog/shell.nix')
-rw-r--r--sem7/pp/prolog/shell.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/sem7/pp/prolog/shell.nix b/sem7/pp/prolog/shell.nix
new file mode 100644
index 0000000..45b9e32
--- /dev/null
+++ b/sem7/pp/prolog/shell.nix
@@ -0,0 +1,13 @@
+{ pkgs ? import <nixpkgs> {} }:
+let
+ pkgs_old = import (builtins.fetchTarball {
+ name = "nixpkgs-racket";
+ url = "https://github.com/nixos/nixpkgs/archive/1bf0327ef6d7e0959f3250758b4d33b4066a732b.tar.gz";
+ sha256 = "1pz4xaimpb1y8xmqz9c8a2g1nsr77jc7nxi6m8v4ph8q1r3c7pz9";
+ }) {};
+in
+pkgs.mkShell {
+ buildInputs = with pkgs; [
+ pkgs_old.racket swiProlog
+ ];
+}