diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 906b4cd19420a9e6db1e608656077e0c8f053ae9..612808366873893854330c0c0ec05f57f6eda568 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -33,7 +33,6 @@ native_Debian:
     - time cmake .. -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_PREFIX_PATH="$QTCMAKE" $CHECK_FLAGS
     - time make -j16
     - time ctest -j16 --output-on-failure
-    - time make package_source
     - time bash var/mk_wheel_multilinux.sh
     - time cpack -V -B ./installer
 
diff --git a/cmake/BornAgain/Pack.cmake b/cmake/BornAgain/Pack.cmake
index 50ae51513a3fe18caed4b344e6dcd001b301ff01..502b06201b52f672ed2723911410039b4c9712d5 100644
--- a/cmake/BornAgain/Pack.cmake
+++ b/cmake/BornAgain/Pack.cmake
@@ -52,30 +52,7 @@ elseif(APPLE)
     set(CPACK_GENERATOR "DragNDrop")
 
 elseif(UNIX)
-    # Source package:
-    set(CPACK_SOURCE_GENERATOR "TGZ")
-    set(CPACK_SOURCE_IGNORE_FILES
-        ~$
-        .pyc$
-        .log$
-        /CMakeLists.txt.user
-        /deploy
-        /devtools/release
-        /devtools/sandboxes
-        /__pycache__/
-        /.git/
-        /.gitignore
-        /.gitlab-ci.yml
-        /hugo/public/
-        /hugo/resources/
-        /build/
-        /qbuild/
-        /debug/
-    )
-
-    # Binary package (self-extracting tgz, file extension .sh;
-    #                 to preview the contents of the installer, run 'cpack -G TGZ'):
-    set(CPACK_GENERATOR STGZ)
+    set(CPACK_GENERATOR STGZ) # generates self-extracting tgz with file extension .sh
 
 endif()