Nix-shell shebang: Difference between revisions

YoshiRulz (talk | contribs)
m C#: They improved the CLI in preview 6
YoshiRulz (talk | contribs)
C#: Add EntryPointFileDirectoryPath to sample, new in preview 6
 
Line 46: Line 46:


using Humanizer;
using Humanizer;
Environment.CurrentDirectory = (string) AppContext.GetData("EntryPointFileDirectoryPath")!; // equivalent of `cd $(dirname $0)`


var dotNet9Released = DateTimeOffset.Parse("2024-12-03");
var dotNet9Released = DateTimeOffset.Parse("2024-12-03");