about summary refs log tree commit diff
path: root/pkgs/misc/emulators/commanderx16/run.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/misc/emulators/commanderx16/run.nix')
-rw-r--r--pkgs/misc/emulators/commanderx16/run.nix37
1 files changed, 0 insertions, 37 deletions
diff --git a/pkgs/misc/emulators/commanderx16/run.nix b/pkgs/misc/emulators/commanderx16/run.nix
deleted file mode 100644
index 1f14fdb223c71..0000000000000
--- a/pkgs/misc/emulators/commanderx16/run.nix
+++ /dev/null
@@ -1,37 +0,0 @@
-{ runtimeShell
-, symlinkJoin
-, writeTextFile
-}:
-
-{ emulator, rom }:
-
-assert emulator.version == rom.version;
-
-let
-  runScript = writeTextFile {
-    name = "run-x16";
-    text = ''
-      #!${runtimeShell}
-
-      defaultRom="${rom}/share/x16-rom/rom.bin"
-
-      exec "${emulator}/bin/x16emu" -rom $defaultRom "$@"
-    '';
-    executable = true;
-    destination = "/bin/run-x16";
-  };
-in
-symlinkJoin {
-  name = "run-x16-${emulator.version}";
-
-  paths = [
-    emulator
-    rom
-    runScript
-  ];
-}
-# TODO [ AndersonTorres ]:
-
-# 1. Parse the command line in order to allow the user to set an optional
-# rom-file
-# 2. generate runScript based on symlinkJoin (maybe a postBuild?)