-
-
Notifications
You must be signed in to change notification settings - Fork 15.4k
mssql-server: init at 15.0.4003.23-3 #80609
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
6de5139
to
8250460
Compare
https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-faq?view=sql-server-ver15
@xavierzwirtz how does this work with the |
When I run However when run with sudo it launches and writes to |
You should probably create a I wonder if @jonringer has any experience running |
Unfortunately there are no config options to do that, it has to be done with |
mv usr $out | ||
fix_bash() | ||
{ | ||
substituteInPlace $1 \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
substituteInPlace $1 \ | |
substituteInPlace $@ \ |
and then you would be able to pass many file names:
fix_bash $out/opt/mssql/lib/mssql-conf/{invokesqlservr,checkinstall}.sh
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking at the source, I don't think I can do that:
substituteInPlace() {
local fileName="$1"
shift
substitute "$fileName" "$fileName" "$@"
}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Take a look at the latest version, I think it captures the spirit of this review.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I apologize, I really thought those helpers were able to take many arguments.
Don't really want to you churn on bike-shedding issues
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not a problem, the comment showed me things I didn't know about glob expansion.
8250460
to
c29f7a4
Compare
c29f7a4
to
ae6b33b
Compare
Seems like
I assume that if properly configured mutable state and immutable binaries+config can be achieved. A |
Could I get some clarification on what you mean by separate mutable state from binaries? Is the problem that |
@xavierzwirtz from your earlier posts I was under the impression |
No binaries in |
0d1b309
to
25008d4
Compare
Experimented some more with using |
0cebb1d
to
d3429b3
Compare
I marked this as stale due to inactivity. → More info |
Upstream released version 15.0.4249.2 |
@xavierzwirtz Are you still interested in pursuing this? |
Tentatively closing. Happy to reopen if you're still interested. |
Motivation for this change
Packages mssql-server for NixOS.
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)