mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-09 14:33:22 +00:00
571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
26 lines
861 B
Diff
26 lines
861 B
Diff
From 40c81f684ec2014ea63a712329f61c52aebe4dba Mon Sep 17 00:00:00 2001
|
|
From: Valentin Boettcher <hiro@protagon.space>
|
|
Date: Wed, 4 Aug 2021 17:25:12 +0200
|
|
Subject: [PATCH] get image from environment
|
|
|
|
---
|
|
src/cmd-run-sbcl.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/src/cmd-run-sbcl.c b/src/cmd-run-sbcl.c
|
|
index a83b56c..dc472bb 100644
|
|
--- a/src/cmd-run-sbcl.c
|
|
+++ b/src/cmd-run-sbcl.c
|
|
@@ -12,7 +12,7 @@ char** cmd_run_sbcl(int argc,char** argv,struct sub_command* cmd) {
|
|
char* impl_path=impldir(arch,os,impl,version);
|
|
char* help=get_opt("help",0);
|
|
char* script=get_opt("script",0);
|
|
- char* image=get_opt("image",0);
|
|
+ char* image=get_opt("image",1);
|
|
char* program=get_opt("program",0);
|
|
char* dynamic_space_size=get_opt("dynamic-space-size",1);
|
|
char* control_stack_size=get_opt("control-stack-size",1);
|
|
--
|
|
2.32.0
|
|
|