Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1diff --git a/src/io.github.flattool.Ignition.in b/src/io.github.flattool.Ignition.in
2index 5c71c3c..0b2ec00 100644
3--- a/src/io.github.flattool.Ignition.in
4+++ b/src/io.github.flattool.Ignition.in
5@@ -1,7 +1,8 @@
6-#!@GJS@ -m
7+#!/usr/bin/env gjs -m
8
9 import { exit, programArgs, programInvocationName } from "system";
10
11+imports.package._findEffectiveEntryPointName = () => 'io.github.flattool.Ignition';
12 imports.package.init({
13 name: "@PACKAGE_NAME@",
14 version: "@PACKAGE_VERSION@",
15diff --git a/src/meson.build b/src/meson.build
16index 488fa06..751f8ed 100644
17--- a/src/meson.build
18+++ b/src/meson.build
19@@ -23,7 +23,6 @@ data_res = gnome.compile_resources('io.github.flattool.Ignition.data',
20 )
21
22 bin_conf = configuration_data()
23-bin_conf.set('GJS', find_program('gjs').full_path())
24 bin_conf.set('PACKAGE_VERSION', meson.project_version())
25 bin_conf.set('PACKAGE_NAME', meson.project_name())
26 bin_conf.set('prefix', get_option('prefix'))