about summary refs log tree commit diff
path: root/pkgs/development/lisp-modules-new-obsolete/examples/sbcl-with-bt.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/lisp-modules-new-obsolete/examples/sbcl-with-bt.nix')
-rw-r--r--pkgs/development/lisp-modules-new-obsolete/examples/sbcl-with-bt.nix31
1 files changed, 0 insertions, 31 deletions
diff --git a/pkgs/development/lisp-modules-new-obsolete/examples/sbcl-with-bt.nix b/pkgs/development/lisp-modules-new-obsolete/examples/sbcl-with-bt.nix
deleted file mode 100644
index c817a6838d9fc..0000000000000
--- a/pkgs/development/lisp-modules-new-obsolete/examples/sbcl-with-bt.nix
+++ /dev/null
@@ -1,31 +0,0 @@
-# To run this example from the command line, run this command:
-#  $ nix-build ./sbcl-with-bt.nix
-#  $ ls ./result/
-#
-# To run from a nix repl, run:
-#  $ nix repl
-#  nix-repl> sbcl-bt = import ./sbcl-with-bt.nix
-#  nix-repl> :b sbcl-bt
-#
-# In the `result/bin` directory you can find an `sbcl` executable
-# that, when started, is able to load the pre-compiled
-# bordeaux-threads from the Nix store:
-#  $ ./result/bin/sbcl
-#  * (require :asdf)
-#  * (asdf:load-system :bordeaux-threads)
-
-let
-
-  pkgs = import ../../../../default.nix {};
-
-  sbcl = "${pkgs.sbcl}/bin/sbcl --script";
-
-  bordeaux-threads = import ./bordeaux-threads.nix;
-
-  sbclPackages = { inherit bordeaux-threads; };
-
-  sbclWithPackages = pkgs.lispPackages_new.lispWithPackagesInternal sbclPackages;
-
-  sbcl-bt = sbclWithPackages (p: [ p.bordeaux-threads ]);
-
-in sbcl-bt